/packages/apps/Launcher3/tests/src/com/android/launcher3/widget/ |
D | LauncherAppWidgetProviderInfoTest.java | 34 import com.android.launcher3.InvariantDeviceProfile; 66 InvariantDeviceProfile idp = createIDP(); in initSpans_minWidthSmallerThanCellWidth_shouldInitializeSpansToOne() 79 InvariantDeviceProfile idp = createIDP(); in initSpans_minWidthLargerThanCellWidth_shouldInitializeSpans() 93 InvariantDeviceProfile idp = createIDP(); in initSpans_minWidthLargerThanGridColumns_shouldInitializeSpansToAtMostTheGridColumns() 106 InvariantDeviceProfile idp = createIDP(); in initSpans_minHeightLargerThanGridRows_shouldInitializeSpansToAtMostTheGridRows() 117 InvariantDeviceProfile idp = createIDP(); in initSpans_minResizeWidthUnspecified_shouldInitializeMinSpansToOne() 132 InvariantDeviceProfile idp = createIDP(); in initSpans_minResizeWidthSmallerThanCellWidth_shouldInitializeMinSpansToOne() 147 InvariantDeviceProfile idp = createIDP(); in initSpans_minResizeWidthLargerThanCellWidth_shouldInitializeMinSpans() 157 InvariantDeviceProfile idp = createIDP(); in initSpans_minResizeWidthWithCellSpacingAndWidgetInset_shouldInitializeMinSpans() 180 InvariantDeviceProfile idp = createIDP(); in initSpans_minResizeWidthWithCellSpacingAndNoWidgetInset_shouldInitializeMinSpans() [all …]
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ |
D | FakeInvariantDeviceProfileTest.kt | 43 protected var inv: InvariantDeviceProfile? = null 99 InvariantDeviceProfile().apply { in newDP() 106 deviceType = InvariantDeviceProfile.TYPE_PHONE in newDP() 181 InvariantDeviceProfile().apply { in initializeVarsForTablet() 188 deviceType = InvariantDeviceProfile.TYPE_TABLET in initializeVarsForTablet() 264 InvariantDeviceProfile().apply { in initializeVarsForTwoPanel() 271 deviceType = InvariantDeviceProfile.TYPE_MULTI_DISPLAY in initializeVarsForTwoPanel()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | GridCustomizationsProvider.java | 25 import com.android.launcher3.InvariantDeviceProfile; 26 import com.android.launcher3.InvariantDeviceProfile.GridOption; 87 InvariantDeviceProfile idp = InvariantDeviceProfile.INSTANCE.get(getContext()); in query() 130 InvariantDeviceProfile idp = InvariantDeviceProfile.INSTANCE.get(getContext()); in update()
|
D | LauncherPreviewRenderer.java | 69 import com.android.launcher3.InvariantDeviceProfile; 137 private final InvariantDeviceProfile mIdp; 141 public PreviewContext(Context base, InvariantDeviceProfile idp) { in PreviewContext() 143 LauncherAppState.INSTANCE, InvariantDeviceProfile.INSTANCE, in PreviewContext() 147 mObjectMap.put(InvariantDeviceProfile.INSTANCE, idp); in PreviewContext() 183 private final InvariantDeviceProfile mIdp; 197 InvariantDeviceProfile idp, in LauncherPreviewRenderer() 209 mDpOrig = new InvariantDeviceProfile(tempContext, InvariantDeviceProfile in LauncherPreviewRenderer()
|
D | PreviewSurfaceRenderer.java | 46 import com.android.launcher3.InvariantDeviceProfile; 79 private final InvariantDeviceProfile mIdp; 99 gridName = InvariantDeviceProfile.getCurrentGridName(context); in PreviewSurfaceRenderer() 103 mIdp = new InvariantDeviceProfile(context, gridName); in PreviewSurfaceRenderer()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherAppState.java | 74 private final InvariantDeviceProfile mInvariantDeviceProfile; 154 mInvariantDeviceProfile = InvariantDeviceProfile.INSTANCE.get(context); in LauncherAppState() 200 public InvariantDeviceProfile getInvariantDeviceProfile() { in getInvariantDeviceProfile() 207 public static InvariantDeviceProfile getIDP(Context context) { in getIDP() 208 return InvariantDeviceProfile.INSTANCE.get(context); in getIDP()
|
/packages/apps/Launcher3/src/com/android/launcher3/icons/ |
D | LauncherIcons.java | 24 import com.android.launcher3.InvariantDeviceProfile; 59 InvariantDeviceProfile idp = InvariantDeviceProfile.INSTANCE.get(context); in obtain()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/ |
D | HotseatRestoreHelper.java | 24 import com.android.launcher3.InvariantDeviceProfile; 45 InvariantDeviceProfile idp = LauncherAppState.getIDP(context); in createBackup() 70 InvariantDeviceProfile idp = LauncherAppState.getIDP(context); in restoreBackup()
|
/packages/apps/Launcher3/src/com/android/launcher3/provider/ |
D | RestoreDbTask.java | 19 import static com.android.launcher3.InvariantDeviceProfile.TYPE_MULTI_DISPLAY; 40 import com.android.launcher3.InvariantDeviceProfile; 88 InvariantDeviceProfile idp = InvariantDeviceProfile.INSTANCE.get(context); in restoreIfNeeded() 133 InvariantDeviceProfile idp = LauncherAppState.getIDP(context); in backupWorkspace() 141 final InvariantDeviceProfile idp = LauncherAppState.getIDP(context); in restoreWorkspace()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | DeviceGridState.java | 19 import static com.android.launcher3.InvariantDeviceProfile.DeviceType; 33 import com.android.launcher3.InvariantDeviceProfile; 55 public DeviceGridState(InvariantDeviceProfile idp) { in DeviceGridState()
|
D | WidgetItem.java | 10 import com.android.launcher3.InvariantDeviceProfile; 31 InvariantDeviceProfile idp, IconCache iconCache) { in WidgetItem()
|
D | WorkspaceItemSpaceFinder.java | 22 import com.android.launcher3.InvariantDeviceProfile; 105 InvariantDeviceProfile profile = app.getInvariantDeviceProfile(); in findNextAvailableIconSpaceInScreen()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/ |
D | AbstractWorkspaceModelTest.kt | 22 import com.android.launcher3.InvariantDeviceProfile in <lambda>() 42 protected lateinit var mIdp: InvariantDeviceProfile in <lambda>() 52 mIdp = InvariantDeviceProfile.INSTANCE[mTargetContext] in <lambda>()
|
D | BackupRestoreTest.java | 50 import com.android.launcher3.InvariantDeviceProfile; 80 private InvariantDeviceProfile mIdp; 103 mIdp = InvariantDeviceProfile.INSTANCE.get(mModelHelper.sandboxContext); in setUp()
|
D | LoaderCursorTest.java | 62 import com.android.launcher3.InvariantDeviceProfile; 87 private InvariantDeviceProfile mIDP; 96 mIDP = InvariantDeviceProfile.INSTANCE.get(mContext); in setup()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/widget/picker/ |
D | WidgetsListTableViewHolderBinderTest.java | 43 import com.android.launcher3.InvariantDeviceProfile; 74 private InvariantDeviceProfile mTestProfile; 87 mTestProfile = new InvariantDeviceProfile(); in setUp()
|
D | WidgetsListHeaderViewHolderBinderTest.java | 41 import com.android.launcher3.InvariantDeviceProfile; 71 private InvariantDeviceProfile mTestProfile; 83 mTestProfile = new InvariantDeviceProfile(); in setUp()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/ |
D | ActivityContextWrapper.java | 24 import com.android.launcher3.InvariantDeviceProfile; 43 mProfile = InvariantDeviceProfile.INSTANCE.get(base).getDeviceProfile(base).copy(base); in ActivityContextWrapper()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/celllayout/ |
D | ReorderWidgets.java | 27 import com.android.launcher3.InvariantDeviceProfile; 97 InvariantDeviceProfile idp = InvariantDeviceProfile.INSTANCE.get(mTargetContext); in printCurrentWorkspace()
|
/packages/apps/Launcher3/src/com/android/launcher3/testing/ |
D | TestInformationHandler.java | 37 import com.android.launcher3.InvariantDeviceProfile; 73 mDeviceProfile = InvariantDeviceProfile.INSTANCE. in init() 206 InvariantDeviceProfile.INSTANCE.get(mContext).numColumns, in call() 207 InvariantDeviceProfile.INSTANCE.get(mContext).numRows) in call()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/custom/ |
D | CustomAppWidgetProviderInfo.java | 25 import com.android.launcher3.InvariantDeviceProfile; 61 public void initSpans(Context context, InvariantDeviceProfile idp) { } in initSpans()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/widget/picker/search/ |
D | SimpleWidgetsSearchAlgorithmTest.java | 41 import com.android.launcher3.InvariantDeviceProfile; 70 private InvariantDeviceProfile mTestProfile; 92 mTestProfile = new InvariantDeviceProfile(); in setUp()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/widget/picker/model/ |
D | WidgetsListContentEntryTest.java | 34 import com.android.launcher3.InvariantDeviceProfile; 68 private InvariantDeviceProfile mTestProfile; 78 mTestProfile = new InvariantDeviceProfile(); in setUp()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/widget/picker/util/ |
D | WidgetsTableUtilsTest.java | 40 import com.android.launcher3.InvariantDeviceProfile; 75 private InvariantDeviceProfile mTestInvariantProfile; 92 mTestInvariantProfile = new InvariantDeviceProfile(); in setUp()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/nonquickstep/ |
D | DeviceProfileDumpTest.kt | 22 import com.android.launcher3.InvariantDeviceProfile 1676 return InvariantDeviceProfile(context, gridName).getDeviceProfile(context) in getDeviceProfileForGrid()
|