Home
last modified time | relevance | path

Searched refs:InvariantDeviceProfile (Results 1 – 25 of 52) sorted by relevance

123

/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherAppState.java19 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()
DInvariantDeviceProfile.java64 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 …]
DDeviceProfile.java40 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/
DGridOptionsProvider.java15 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()
DPreviewSurfaceRenderer.java36 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()
DLauncherPreviewRenderer.java57 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/
DPredictionAppTracker.java18 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()
DPredictionUiStateManager.java33 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/
DLauncherIcons.java21 import com.android.launcher3.InvariantDeviceProfile;
60 InvariantDeviceProfile idp = InvariantDeviceProfile.INSTANCE.get(context); in obtain()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/ui/
DLauncherUIScrollTest.java33 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/
DHotseatRestoreHelper.java22 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/
DSDWorkModeTest.java30 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/
DWidgetsListAdapterTest.java32 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/
DBackupRestoreTest.java41 import com.android.launcher3.InvariantDeviceProfile;
75 private InvariantDeviceProfile mIdp;
86 mIdp = InvariantDeviceProfile.INSTANCE.get(RuntimeEnvironment.application); in setUp()
DAddWorkspaceItemsTaskTest.java16 import com.android.launcher3.InvariantDeviceProfile;
52 private InvariantDeviceProfile mIdp;
64 mIdp = InvariantDeviceProfile.INSTANCE.get(mTargetContext); in setup()
DLoaderCursorTest.java52 import com.android.launcher3.InvariantDeviceProfile;
78 private InvariantDeviceProfile mIDP;
86 mIDP = InvariantDeviceProfile.INSTANCE.get(mContext); in setup()
DGridSizeMigrationTaskV2Test.java38 import com.android.launcher3.InvariantDeviceProfile;
60 private InvariantDeviceProfile mIdp;
92 mIdp = InvariantDeviceProfile.INSTANCE.get(mContext); in setUp()
DGridSizeMigrationTaskTest.java17 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/
DWidgetItem.java6 import com.android.launcher3.InvariantDeviceProfile;
27 InvariantDeviceProfile idp, IconCache iconCache) { in WidgetItem()
DModelUtils.java18 import com.android.launcher3.InvariantDeviceProfile;
83 public static void sortWorkspaceItemsSpatially(InvariantDeviceProfile profile, in sortWorkspaceItemsSpatially()
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/
DSecondaryDisplayLauncher.java32 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/
DWidgetsModel.java19 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/
DLossyScreenMigrationTask.java24 import com.android.launcher3.InvariantDeviceProfile;
43 Context context, InvariantDeviceProfile idp, SQLiteDatabase db) { in LossyScreenMigrationTask()
DRestoreDbTask.java35 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/
DFolderGridOrganizer.java23 import com.android.launcher3.InvariantDeviceProfile;
48 public FolderGridOrganizer(InvariantDeviceProfile profile) { in FolderGridOrganizer()

123