Searched refs:AppMetaData (Results 1 – 11 of 11) sorted by relevance
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/ |
D | AppMetaData.java | 34 public final class AppMetaData { class 59 public AppMetaData( in AppMetaData() method in AppMetaData 126 if (!(o instanceof AppMetaData)) { in equals() 129 return ((AppMetaData) o).getComponentName().equals(mComponentName) in equals() 130 && ((AppMetaData) o).getIsMirroring() == mIsMirroring in equals() 131 && ((AppMetaData) o).getIsDisabledByTos() == mIsDisabledByTos in equals() 132 && ((AppMetaData) o).getIsDistractionOptimized() == mIsDistractionOptimized; in equals()
|
D | AppLauncherUtils.java | 110 static final Comparator<AppMetaData> ALPHABETICAL_COMPARATOR = Comparator 111 .comparing(AppMetaData::getDisplayName, String::compareToIgnoreCase); 128 private final Map<ComponentName, AppMetaData> mLaunchables; 133 LauncherAppsInfo(@NonNull Map<ComponentName, AppMetaData> launchablesMap, in LauncherAppsInfo() 153 AppMetaData getAppMetaData(ComponentName componentName) { in getAppMetaData() 159 List<AppMetaData> getLaunchableComponentsList() { in getLaunchableComponentsList() 241 Map<ComponentName, AppMetaData> launchablesMap = new HashMap<>(launchablesSize); in getLauncherApps() 265 AppMetaData appMetaData = new AppMetaData( in getLauncherApps() 304 AppMetaData appMetaData = new AppMetaData( in getLauncherApps() 341 AppMetaData appMetaData = new AppMetaData( in getLauncherApps() [all …]
|
D | AppItem.java | 27 private AppMetaData mAppMetaData; 30 @Nullable AppMetaData appMetaData) { in AppItem() 35 public AppItem(AppMetaData appMetaData) { in AppItem() 61 public AppMetaData getAppMetaData() { in getAppMetaData()
|
D | LauncherViewModel.java | 66 List<AppMetaData> appMetaDataList = launcherAppsInfo.getLaunchableComponentsList(); in processAppsInfoFromPlatform() 67 for (AppMetaData appMetaData : appMetaDataList) { in processAppsInfoFromPlatform() 90 public void setAppPosition(int position, AppMetaData app) { in setAppPosition()
|
D | RecentAppsRowViewHolder.java | 52 public void bind(@Nullable List<AppMetaData> apps, boolean isDistractionOptimizationRequired) { in bind()
|
/packages/apps/Car/Launcher/libs/appgrid/lib/tests/src/com/android/car/carlauncher/ |
D | LauncherViewModelTest.java | 56 private List<AppMetaData> mApps; 64 AppMetaData app1 = createTestAppMetaData("App1", "A"); in setUp() 65 AppMetaData app2 = createTestAppMetaData("App2", "B"); in setUp() 66 AppMetaData app3 = createTestAppMetaData("App3", "C"); in setUp() 87 private AppMetaData createTestAppMetaData(String displayName, String componentName) { in createTestAppMetaData() 88 return new AppMetaData(displayName, new ComponentName(componentName, componentName), in createTestAppMetaData()
|
D | AppLauncherUtilsTest.java | 188 List<AppMetaData> appMetaData = launcherAppsInfo.getLaunchableComponentsList(); in testGetLauncherApps_MediaCenterAppSwitcher() 236 List<AppMetaData> appMetaData = launcherAppsInfo.getLaunchableComponentsList(); in testGetLauncherApps_Launcher() 288 List<AppMetaData> appMetaData = launcherAppsInfo.getLaunchableComponentsList(); in testGetLauncherAppsWithEnableAndTosDisabledApps() 330 List<AppMetaData> appMetaData = launcherAppsInfo.getLaunchableComponentsList(); in testGetLauncherAppsWithEnableAndTosDisabledDistractionOptimizedApps() 556 private void launchAllApps(List<AppMetaData> appMetaData) { in launchAllApps() 557 for (AppMetaData meta : appMetaData) { in launchAllApps()
|
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/apporder/ |
D | AppOrderController.java | 27 import com.android.car.carlauncher.AppMetaData; 206 public void setAppPosition(int position, AppMetaData app) { in setAppPosition() 232 AppMetaData metaData = ((AppItem) item).getAppMetaData(); in updateMirroringItem() 235 item.getDisplayName(), new AppMetaData(metaData.getDisplayName(), in updateMirroringItem() 248 item.getDisplayName(), new AppMetaData(metaData.getDisplayName(), in updateMirroringItem()
|
/packages/apps/Car/Launcher/libs/appgrid/lib/tests/src/com/android/car/carlauncher/apporder/ |
D | AppOrderControllerTest.java | 35 import com.android.car.carlauncher.AppMetaData; 162 AppMetaData mockApp3MetaData = mock(AppMetaData.class); in setAppPosition_postValue()
|
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/repositories/ |
D | AppGridRepository.kt | 25 import com.android.car.carlauncher.AppMetaData in <lambda>() 233 val metaData = AppMetaData( in toAppItem()
|
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/recyclerview/ |
D | AppItemViewHolder.java | 53 import com.android.car.carlauncher.AppMetaData; 156 public void bind(@Nullable AppMetaData app, @NonNull BindInfo bindInfo) { in bind() 393 private void startDragAndDrop(AppMetaData app, float eventX, float eventY) {
|