Home
last modified time | relevance | path

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

123

/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/widget/
DLauncherAppWidgetProviderInfoTest.java29 import com.android.launcher3.InvariantDeviceProfile;
63 InvariantDeviceProfile idp = createIDP(); in initSpans_minWidthSmallerThanCellWidth_shouldInitializeSpansToOne()
76 InvariantDeviceProfile idp = createIDP(); in initSpans_minWidthLargerThanCellWidth_shouldInitializeSpans()
90 InvariantDeviceProfile idp = createIDP(); in initSpans_minWidthLargerThanGridColumns_shouldInitializeSpansToAtMostTheGridColumns()
103 InvariantDeviceProfile idp = createIDP(); in initSpans_minHeightLargerThanGridRows_shouldInitializeSpansToAtMostTheGridRows()
114 InvariantDeviceProfile idp = createIDP(); in initSpans_minResizeWidthUnspecified_shouldInitializeMinSpansToOne()
129 InvariantDeviceProfile idp = createIDP(); in initSpans_minResizeWidthSmallerThanCellWidth_shouldInitializeMinSpansToOne()
144 InvariantDeviceProfile idp = createIDP(); in initSpans_minResizeWidthLargerThanCellWidth_shouldInitializeMinSpans()
154 InvariantDeviceProfile idp = createIDP(); in initSpans_minResizeWidthWithCellSpacingAndWidgetInset_shouldInitializeMinSpans()
177 InvariantDeviceProfile idp = createIDP(); in initSpans_minResizeWidthWithCellSpacingAndNoWidgetInset_shouldInitializeMinSpans()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DInvariantDeviceProfile.java64 public class InvariantDeviceProfile { class
68 public static final MainThreadInitializedObject<InvariantDeviceProfile> INSTANCE =
69 new MainThreadInitializedObject<>(InvariantDeviceProfile::new);
156 public InvariantDeviceProfile() {} in InvariantDeviceProfile() method in InvariantDeviceProfile
158 private InvariantDeviceProfile(InvariantDeviceProfile p) { in InvariantDeviceProfile() method in InvariantDeviceProfile
187 private InvariantDeviceProfile(Context context) { in InvariantDeviceProfile() method in InvariantDeviceProfile
209 public InvariantDeviceProfile(Context context, String gridName) { in InvariantDeviceProfile() method in InvariantDeviceProfile
219 public InvariantDeviceProfile(Context context, Display display) { in InvariantDeviceProfile() method in InvariantDeviceProfile
586 void onIdpChanged(InvariantDeviceProfile profile);
DLauncherAppState.java68 private final InvariantDeviceProfile mInvariantDeviceProfile;
138 mInvariantDeviceProfile = InvariantDeviceProfile.INSTANCE.get(context); in LauncherAppState()
188 public InvariantDeviceProfile getInvariantDeviceProfile() { in getInvariantDeviceProfile()
195 public static InvariantDeviceProfile getIDP(Context context) { in getIDP()
196 return InvariantDeviceProfile.INSTANCE.get(context); in getIDP()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DGridCustomizationsProvider.java28 import com.android.launcher3.InvariantDeviceProfile;
29 import com.android.launcher3.InvariantDeviceProfile.GridOption;
96 InvariantDeviceProfile idp = InvariantDeviceProfile.INSTANCE.get(getContext()); in query()
170 InvariantDeviceProfile.INSTANCE.get(getContext()) in update()
DLauncherPreviewRenderer.java62 import com.android.launcher3.InvariantDeviceProfile;
124 LauncherAppState.INSTANCE, InvariantDeviceProfile.INSTANCE,
127 private final InvariantDeviceProfile mIdp;
134 public PreviewContext(Context base, InvariantDeviceProfile idp) { in PreviewContext()
137 mObjectMap.put(InvariantDeviceProfile.INSTANCE, idp); in PreviewContext()
201 private final InvariantDeviceProfile mIdp;
212 InvariantDeviceProfile idp, in LauncherPreviewRenderer()
DPreviewSurfaceRenderer.java41 import com.android.launcher3.InvariantDeviceProfile;
76 private final InvariantDeviceProfile mIdp;
94 gridName = InvariantDeviceProfile.getCurrentGridName(context); in PreviewSurfaceRenderer()
97 mIdp = new InvariantDeviceProfile(context, gridName); in PreviewSurfaceRenderer()
/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.java32 import com.android.launcher3.InvariantDeviceProfile;
61 private InvariantDeviceProfile mIdp;
70 mIdp = InvariantDeviceProfile.INSTANCE.get(mTargetContext); in setup()
163 DeviceProfile dp = InvariantDeviceProfile.INSTANCE in createScrollEvent()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
DHotseatRestoreHelper.java24 import com.android.launcher3.InvariantDeviceProfile;
45 InvariantDeviceProfile idp = LauncherAppState.getIDP(context); in createBackup()
70 InvariantDeviceProfile idp = LauncherAppState.getIDP(context); in restoreBackup()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/
DQuickstepModelDelegate.java46 import com.android.launcher3.InvariantDeviceProfile;
47 import com.android.launcher3.InvariantDeviceProfile.OnIDPChangeListener;
87 private final InvariantDeviceProfile mIDP;
95 mIDP = InvariantDeviceProfile.INSTANCE.get(context); in QuickstepModelDelegate()
254 public void onIdpChanged(InvariantDeviceProfile profile) { in onIdpChanged()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/secondarydisplay/
DSDWorkModeTest.java29 import com.android.launcher3.InvariantDeviceProfile;
59 private InvariantDeviceProfile mIdp;
66 mIdp = InvariantDeviceProfile.INSTANCE.get(mTargetContext); in setup()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DBackupRestoreTest.java42 import com.android.launcher3.InvariantDeviceProfile;
72 private InvariantDeviceProfile mIdp;
81 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()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/widget/picker/
DWidgetsListHeaderViewHolderBinderTest.java35 import com.android.launcher3.InvariantDeviceProfile;
71 private InvariantDeviceProfile mTestProfile;
90 mTestProfile = new InvariantDeviceProfile(); in setUp()
DWidgetsListSearchHeaderViewHolderBinderTest.java35 import com.android.launcher3.InvariantDeviceProfile;
71 private InvariantDeviceProfile mTestProfile;
90 mTestProfile = new InvariantDeviceProfile(); in setUp()
DWidgetsListTableViewHolderBinderTest.java39 import com.android.launcher3.InvariantDeviceProfile;
76 private InvariantDeviceProfile mTestProfile;
97 mTestProfile = new InvariantDeviceProfile(); in setUp()
DWidgetsListAdapterTest.java35 import com.android.launcher3.InvariantDeviceProfile;
72 private InvariantDeviceProfile mTestProfile;
80 mTestProfile = new InvariantDeviceProfile(); in setup()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/widget/picker/util/
DWidgetsTableUtilsTest.java32 import com.android.launcher3.InvariantDeviceProfile;
61 private InvariantDeviceProfile mTestProfile;
78 mTestProfile = new InvariantDeviceProfile(); in setUp()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/widget/picker/search/
DSimpleWidgetsSearchAlgorithmTest.java36 import com.android.launcher3.InvariantDeviceProfile;
69 private InvariantDeviceProfile mTestProfile;
91 mTestProfile = new InvariantDeviceProfile(); in setUp()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/widget/picker/model/
DWidgetsListContentEntryTest.java28 import com.android.launcher3.InvariantDeviceProfile;
64 private InvariantDeviceProfile mTestProfile;
75 mTestProfile = new InvariantDeviceProfile(); in setUp()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DWidgetItem.java10 import com.android.launcher3.InvariantDeviceProfile;
31 InvariantDeviceProfile idp, IconCache iconCache) { in WidgetItem()
/packages/apps/Launcher3/src/com/android/launcher3/widget/custom/
DCustomAppWidgetProviderInfo.java25 import com.android.launcher3.InvariantDeviceProfile;
61 public void initSpans(Context context, InvariantDeviceProfile idp) { } in initSpans()
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/
DSecondaryDisplayLauncher.java29 import com.android.launcher3.InvariantDeviceProfile;
90 InvariantDeviceProfile currentDisplayIdp = new InvariantDeviceProfile( in initUi()
/packages/apps/Launcher3/src/com/android/launcher3/provider/
DLossyScreenMigrationTask.java24 import com.android.launcher3.InvariantDeviceProfile;
43 Context context, InvariantDeviceProfile idp, SQLiteDatabase db) { in LossyScreenMigrationTask()

123