use of com.android.launcher3.util.LooperExecutor in project android_packages_apps_Trebuchet by LineageOS.
the class RecentTasksListTest method setup.
@Before
public void setup() {
LooperExecutor mockMainThreadExecutor = mock(LooperExecutor.class);
KeyguardManagerCompat mockKeyguardManagerCompat = mock(KeyguardManagerCompat.class);
mockActivityManagerWrapper = mock(ActivityManagerWrapper.class);
mRecentTasksList = new RecentTasksList(mockMainThreadExecutor, mockKeyguardManagerCompat, mockActivityManagerWrapper);
}
use of com.android.launcher3.util.LooperExecutor in project Neo-Launcher by NeoApplications.
the class AppSearchProvider method onCreate.
public boolean onCreate() {
mLooper = new LooperExecutor(MODEL_EXECUTOR.getLooper());
mApp = LauncherAppState.getInstance(getContext());
return true;
}
use of com.android.launcher3.util.LooperExecutor in project Neo-Launcher by NeoApplications.
the class RecentTasksListTest method setup.
@Before
public void setup() {
LooperExecutor mockMainThreadExecutor = mock(LooperExecutor.class);
KeyguardManagerCompat mockKeyguardManagerCompat = mock(KeyguardManagerCompat.class);
mockActivityManagerWrapper = mock(ActivityManagerWrapper.class);
mRecentTasksList = new RecentTasksList(mockMainThreadExecutor, mockKeyguardManagerCompat, mockActivityManagerWrapper);
}
use of com.android.launcher3.util.LooperExecutor in project android_packages_apps_Launcher3 by ArrowOS.
the class RecentTasksListTest method setup.
@Before
public void setup() {
MockitoAnnotations.initMocks(this);
LooperExecutor mockMainThreadExecutor = mock(LooperExecutor.class);
KeyguardManagerCompat mockKeyguardManagerCompat = mock(KeyguardManagerCompat.class);
mRecentTasksList = new RecentTasksList(mockMainThreadExecutor, mockKeyguardManagerCompat, mockSystemUiProxy);
}
use of com.android.launcher3.util.LooperExecutor in project android_packages_apps_404Launcher by P-404.
the class RecentTasksListTest method setup.
@Before
public void setup() {
MockitoAnnotations.initMocks(this);
LooperExecutor mockMainThreadExecutor = mock(LooperExecutor.class);
KeyguardManagerCompat mockKeyguardManagerCompat = mock(KeyguardManagerCompat.class);
mRecentTasksList = new RecentTasksList(mockMainThreadExecutor, mockKeyguardManagerCompat, mockSystemUiProxy);
}
Aggregations