/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DeviceProfile.java | 40 public final InvariantDeviceProfile inv; field in DeviceProfile 143 DeviceProfile(Context context, InvariantDeviceProfile inv, DefaultDisplay.Info info, in DeviceProfile() argument 148 this.inv = inv; in DeviceProfile() 220 hotseatBarSizePx = ResourceUtils.pxFromDp(inv.iconSize, mInfo.metrics) in DeviceProfile() 255 return new Builder(context, inv, mInfo) in toBuilder() 304 return isLandscape ? inv.landscapeProfile : inv.portraitProfile; in getFullScreenProfile() 332 float usedHeight = (cellHeightPx * inv.numRows); in updateAvailableDimensions() 349 float invIconSizeDp = isVerticalLayout ? inv.landscapeIconSize : inv.iconSize; in updateIconSize() 352 iconTextSizePx = (int) (Utilities.pxFromSp(inv.iconTextSize, mInfo.metrics) * scale); in updateIconSize() 370 allAppsIconSizePx = ResourceUtils.pxFromDp(inv.allAppsIconSize, mInfo.metrics); in updateIconSize() [all …]
|
D | Partner.java | 110 … public void applyInvariantDeviceProfileOverrides(InvariantDeviceProfile inv, DisplayMetrics dm) { in applyInvariantDeviceProfileOverrides() argument 140 inv.numRows = numRows; in applyInvariantDeviceProfileOverrides() 141 inv.numColumns = numColumns; in applyInvariantDeviceProfileOverrides() 145 inv.iconSize = iconSize; in applyInvariantDeviceProfileOverrides()
|
D | DropTargetBar.java | 103 - (grid.inv.numColumns * grid.cellWidthPx)) in setInsets() 104 / (2 * (grid.inv.numColumns + 1))) in setInsets() 107 gap = grid.desiredWorkspaceLeftRightMarginPx - grid.inv.defaultWidgetPadding.right; in setInsets()
|
D | AppWidgetResizeFrame.java | 41 InvariantDeviceProfile inv = LauncherAppState.getIDP(c); 42 return new Point[] {inv.landscapeProfile.getCellSize(), 43 inv.portraitProfile.getCellSize()};
|
D | Hotseat.java | 73 InvariantDeviceProfile idp = mActivity.getDeviceProfile().inv; in resetLayout()
|
D | Launcher.java | 523 onIdpChanged(mDeviceProfile.inv); in onConfigurationChanged() 629 if (new FolderGridOrganizer(getDeviceProfile().inv) in invalidateParent() 2449 mDeviceProfile.inv.numFolderColumns * mDeviceProfile.inv.numFolderRows); in finishBindingItems()
|
/packages/apps/ThemePicker/robolectric_tests/src/com/android/customization/testutils/ |
D | OverlayManagerMocks.java | 101 (Answer<String>) inv -> in setUpMock() 104 mockOverlay.targetPackage.equals(inv.getArgument(0)) in setUpMock() 105 && mockOverlay.category.equals(inv.getArgument(1))) in setUpMock() 123 (Answer<Map<String, String>>) inv -> in setUpMock() 126 Arrays.asList(inv.getArguments()) in setUpMock()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/display/ |
D | ThemePreferenceControllerTest.java | 76 when(mMockPackageManager.getApplicationInfo(any(), anyInt())).thenAnswer(inv -> { in testUpdateState() 78 if ("com.android.Theme1".equals(inv.getArguments()[0])) { in testUpdateState() 112 when(mMockPackageManager.getApplicationInfo(any(), anyInt())).thenAnswer(inv -> { in testUpdateState_withStaticOverlay() 114 if ("com.android.Theme1".equals(inv.getArguments()[0])) { in testUpdateState_withStaticOverlay()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/hybridhotseat/ |
D | HotseatEduController.java | 100 for (int i = 0; i < mLauncher.getDeviceProfile().inv.numHotseatIcons; i++) { in migrateToFolder() 137 InvariantDeviceProfile idp = mLauncher.getDeviceProfile().inv; in placeFoldersInWorkspace() 188 toRow = mLauncher.getDeviceProfile().inv.numRows - 1; in migrateHotseatWhole() 199 for (int i = 0; i < mLauncher.getDeviceProfile().inv.numHotseatIcons; i++) { in migrateHotseatWhole() 235 < mLauncher.getDeviceProfile().inv.numHotseatIcons) { in showDimissTip()
|
D | HotseatEduDialog.java | 92 mSampleHotseat.setGridSize(grid.inv.numHotseatIcons, 1); in onFinishInflate() 192 for (int i = 0; i < mLauncher.getDeviceProfile().inv.numHotseatIcons; i++) { in populatePreview() 208 || predictions.size() < mLauncher.getDeviceProfile().inv.numHotseatIcons in show()
|
D | HotseatRestoreHelper.java | 48 InvariantDeviceProfile idp = mLauncher.getDeviceProfile().inv; in createBackup() 73 InvariantDeviceProfile idp = mLauncher.getDeviceProfile().inv; in restoreBackup()
|
D | HotseatPredictionController.java | 146 mHotSeatItemsCount = mLauncher.getDeviceProfile().inv.numHotseatIcons; in HotseatPredictionController() 147 launcher.getDeviceProfile().inv.addOnChangeListener(this); in HotseatPredictionController() 290 mLauncher.getDeviceProfile().inv.removeOnChangeListener(this); in destroy()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | IpReachabilityMonitorTest.kt | 167 doAnswer { inv -> in setUp() method 168 val handler = inv.getArgument<Handler>(0) in setUp() 169 val log = inv.getArgument<SharedLog>(1) in setUp() 170 val cb = inv.getArgument<IpNeighborMonitor.NeighborEventConsumer>(2) in setUp()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/ |
D | StaggeredWorkspaceAnim.java | 103 int totalRows = grid.inv.numRows + (grid.isVerticalBarLayout() ? 0 : 2); in StaggeredWorkspaceAnim() 123 addStaggeredAnimationForView(child, grid.inv.numRows + 1, totalRows); in StaggeredWorkspaceAnim() 129 grid.inv.numRows + 2, totalRows); in StaggeredWorkspaceAnim()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | CarUserNoticeServiceTest.java | 235 .thenAnswer(inv -> { in mockBindService() 244 doAnswer(inv -> { in mockUnbindService() 256 .thenAnswer(inv -> { in mockKeySettings()
|
D | CarUserManagerUnitTest.java | 441 doAnswer((inv) -> { in testSetUserIdentificationAssociation_ok() argument 444 (AndroidFuture<UserIdentificationAssociationResponse>) inv.getArguments()[3]; in testSetUserIdentificationAssociation_ok()
|
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/ |
D | SecondaryDragLayer.java | 81 mWorkspace.setNumColumns(mActivity.getDeviceProfile().inv.numColumns); in onFinishInflate() 112 InvariantDeviceProfile idp = grid.inv; in onMeasure()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | InputHalServiceTest.java | 152 doAnswer(inv -> { in dispatchesInputEvent_multiple_toListener() 153 KeyEvent event = inv.getArgument(0); in dispatchesInputEvent_multiple_toListener()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | PhotoView.java | 1008 Matrix inv = new Matrix(); in onSingleTapUp() local 1009 m.invert(inv); in onSingleTapUp() 1011 inv.mapPoints(pts); in onSingleTapUp()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/ |
D | AppsSearchContainerLayout.java | 110 int cellWidth = DeviceProfile.calculateCellWidth(rowWidth, dp.inv.numHotseatIcons); in onMeasure()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AlphabeticalAppsList.java | 147 mNumAppsPerRow = mLauncher.getDeviceProfile().inv.numColumns; in AlphabeticalAppsList()
|
D | AllAppsGridAdapter.java | 204 setAppsPerRow(mLauncher.getDeviceProfile().inv.numAllAppsColumns); in AllAppsGridAdapter()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/ |
D | PredictionRowView.java | 235 mNumPredictedAppsPerRow = dp.inv.numAllAppsColumns; in onDeviceProfileChanged()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderAnimationManager.java | 96 mPreviewVerifier = new FolderGridOrganizer(mLauncher.getDeviceProfile().inv); in FolderAnimationManager()
|
D | Folder.java | 989 mLauncher.getDeviceProfile().inv).setFolderInfo(mInfo); in updateItemLocationsInDatabaseBatch() 1359 mLauncher.getDeviceProfile().inv).setFolderInfo(mInfo); in onAdd()
|