/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherAppState.java | 19 import static com.android.launcher3.InvariantDeviceProfile.CHANGE_FLAG_ICON_PARAMS; 60 private final InvariantDeviceProfile mInvariantDeviceProfile; 128 mInvariantDeviceProfile = InvariantDeviceProfile.INSTANCE.get(context); in LauncherAppState() 142 private void onIdpChanged(int changeFlags, InvariantDeviceProfile idp) { in onIdpChanged() 196 public InvariantDeviceProfile getInvariantDeviceProfile() { in getInvariantDeviceProfile() 203 public static InvariantDeviceProfile getIDP(Context context) { in getIDP() 204 return InvariantDeviceProfile.INSTANCE.get(context); in getIDP()
|
D | InvariantDeviceProfile.java | 64 public class InvariantDeviceProfile { class 68 public static final MainThreadInitializedObject<InvariantDeviceProfile> INSTANCE = 69 new MainThreadInitializedObject<>(InvariantDeviceProfile::new); 141 public InvariantDeviceProfile() {} in InvariantDeviceProfile() method in InvariantDeviceProfile 143 private InvariantDeviceProfile(InvariantDeviceProfile p) { in InvariantDeviceProfile() method in InvariantDeviceProfile 165 private InvariantDeviceProfile(Context context) { in InvariantDeviceProfile() method in InvariantDeviceProfile 184 public InvariantDeviceProfile(Context context, String gridName) { in InvariantDeviceProfile() method in InvariantDeviceProfile 194 public InvariantDeviceProfile(Context context, Display display) { in InvariantDeviceProfile() method in InvariantDeviceProfile 196 InvariantDeviceProfile originalProfile = INSTANCE.get(context); in InvariantDeviceProfile() 342 InvariantDeviceProfile oldProfile = new InvariantDeviceProfile(this); in onConfigChanged() [all …]
|
D | DeviceProfile.java | 40 public final InvariantDeviceProfile inv; 143 DeviceProfile(Context context, InvariantDeviceProfile inv, DefaultDisplay.Info info, in DeviceProfile() 664 private InvariantDeviceProfile mInv; 675 public Builder(Context context, InvariantDeviceProfile inv, DefaultDisplay.Info info) { in Builder()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | GridOptionsProvider.java | 15 import com.android.launcher3.InvariantDeviceProfile; 16 import com.android.launcher3.InvariantDeviceProfile.GridOption; 71 InvariantDeviceProfile idp = InvariantDeviceProfile.INSTANCE.get(getContext()); in query() 137 InvariantDeviceProfile.INSTANCE.get(getContext()).setCurrentGrid(getContext(), gridName); in update()
|
D | PreviewSurfaceRenderer.java | 36 import com.android.launcher3.InvariantDeviceProfile; 55 private final InvariantDeviceProfile mIdp; 69 gridName = InvariantDeviceProfile.getCurrentGridName(context); in PreviewSurfaceRenderer() 71 mIdp = new InvariantDeviceProfile(context, gridName); in PreviewSurfaceRenderer()
|
D | LauncherPreviewRenderer.java | 57 import com.android.launcher3.InvariantDeviceProfile; 128 LauncherAppState.INSTANCE, InvariantDeviceProfile.INSTANCE, 131 private final InvariantDeviceProfile mIdp; 136 public PreviewContext(Context base, InvariantDeviceProfile idp) { in PreviewContext() 168 if (mainThreadInitializedObject == InvariantDeviceProfile.INSTANCE) { in getObject() 206 private final InvariantDeviceProfile mIdp; 213 public LauncherPreviewRenderer(Context context, InvariantDeviceProfile idp, boolean migrated) { in LauncherPreviewRenderer()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/ |
D | PredictionAppTracker.java | 18 import static com.android.launcher3.InvariantDeviceProfile.CHANGE_FLAG_GRID; 41 import com.android.launcher3.InvariantDeviceProfile; 77 InvariantDeviceProfile.INSTANCE.get(mContext).addOnChangeListener(this::onIdpChanged); in PredictionAppTracker() 87 private void onIdpChanged(int changeFlags, InvariantDeviceProfile profile) { in onIdpChanged() 143 int count = InvariantDeviceProfile.INSTANCE.get(mContext).numAllAppsColumns; in handleMessage()
|
D | PredictionUiStateManager.java | 33 import com.android.launcher3.InvariantDeviceProfile; 34 import com.android.launcher3.InvariantDeviceProfile.OnIDPChangeListener; 113 InvariantDeviceProfile idp = LauncherAppState.getIDP(context); in PredictionUiStateManager() 129 public void onIdpChanged(int changeFlags, InvariantDeviceProfile profile) { in onIdpChanged()
|
/packages/apps/Launcher3/src/com/android/launcher3/icons/ |
D | LauncherIcons.java | 21 import com.android.launcher3.InvariantDeviceProfile; 60 InvariantDeviceProfile idp = InvariantDeviceProfile.INSTANCE.get(context); in obtain()
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/ui/ |
D | LauncherUIScrollTest.java | 33 import com.android.launcher3.InvariantDeviceProfile; 63 private InvariantDeviceProfile mIdp; 72 mIdp = InvariantDeviceProfile.INSTANCE.get(mTargetContext); in setup() 167 DeviceProfile dp = InvariantDeviceProfile.INSTANCE in createScrollEvent()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/hybridhotseat/ |
D | HotseatRestoreHelper.java | 22 import com.android.launcher3.InvariantDeviceProfile; 49 InvariantDeviceProfile idp = mLauncher.getDeviceProfile().inv; in createBackup() 75 InvariantDeviceProfile idp = mLauncher.getDeviceProfile().inv; in restoreBackup()
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/secondarydisplay/ |
D | SDWorkModeTest.java | 30 import com.android.launcher3.InvariantDeviceProfile; 62 private InvariantDeviceProfile mIdp; 71 mIdp = InvariantDeviceProfile.INSTANCE.get(mTargetContext); in setup()
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/widget/ |
D | WidgetsListAdapterTest.java | 32 import com.android.launcher3.InvariantDeviceProfile; 62 private InvariantDeviceProfile mTestProfile; 69 mTestProfile = new InvariantDeviceProfile(); in setup()
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/ |
D | BackupRestoreTest.java | 41 import com.android.launcher3.InvariantDeviceProfile; 75 private InvariantDeviceProfile mIdp; 86 mIdp = InvariantDeviceProfile.INSTANCE.get(RuntimeEnvironment.application); in setUp()
|
D | AddWorkspaceItemsTaskTest.java | 16 import com.android.launcher3.InvariantDeviceProfile; 52 private InvariantDeviceProfile mIdp; 64 mIdp = InvariantDeviceProfile.INSTANCE.get(mTargetContext); in setup()
|
D | LoaderCursorTest.java | 52 import com.android.launcher3.InvariantDeviceProfile; 78 private InvariantDeviceProfile mIDP; 86 mIDP = InvariantDeviceProfile.INSTANCE.get(mContext); in setup()
|
D | GridSizeMigrationTaskV2Test.java | 38 import com.android.launcher3.InvariantDeviceProfile; 60 private InvariantDeviceProfile mIdp; 92 mIdp = InvariantDeviceProfile.INSTANCE.get(mContext); in setUp()
|
D | GridSizeMigrationTaskTest.java | 17 import com.android.launcher3.InvariantDeviceProfile; 44 private InvariantDeviceProfile mIdp; 54 mIdp = InvariantDeviceProfile.INSTANCE.get(mContext); in setUp()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | WidgetItem.java | 6 import com.android.launcher3.InvariantDeviceProfile; 27 InvariantDeviceProfile idp, IconCache iconCache) { in WidgetItem()
|
D | ModelUtils.java | 18 import com.android.launcher3.InvariantDeviceProfile; 83 public static void sortWorkspaceItemsSpatially(InvariantDeviceProfile profile, in sortWorkspaceItemsSpatially()
|
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/ |
D | SecondaryDisplayLauncher.java | 32 import com.android.launcher3.InvariantDeviceProfile; 92 InvariantDeviceProfile currentDisplayIdp = in initUi() 93 new InvariantDeviceProfile(this, getWindow().getDecorView().getDisplay()); in initUi()
|
/packages/apps/Launcher3/src_shortcuts_overrides/com/android/launcher3/model/ |
D | WidgetsModel.java | 19 import com.android.launcher3.InvariantDeviceProfile; 98 InvariantDeviceProfile idp = app.getInvariantDeviceProfile(); in update() 172 InvariantDeviceProfile idp = app.getInvariantDeviceProfile(); in setWidgetsAndShortcuts()
|
/packages/apps/Launcher3/src/com/android/launcher3/provider/ |
D | LossyScreenMigrationTask.java | 24 import com.android.launcher3.InvariantDeviceProfile; 43 Context context, InvariantDeviceProfile idp, SQLiteDatabase db) { in LossyScreenMigrationTask()
|
D | RestoreDbTask.java | 35 import com.android.launcher3.InvariantDeviceProfile; 105 InvariantDeviceProfile idp = LauncherAppState.getIDP(context); in backupWorkspace() 113 final InvariantDeviceProfile idp = LauncherAppState.getIDP(context); in restoreWorkspace()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderGridOrganizer.java | 23 import com.android.launcher3.InvariantDeviceProfile; 48 public FolderGridOrganizer(InvariantDeviceProfile profile) { in FolderGridOrganizer()
|