/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DeviceProfile.java | 59 public final InvariantDeviceProfile inv; field in DeviceProfile 214 DeviceProfile(Context context, InvariantDeviceProfile inv, Info info, WindowBounds windowBounds, in DeviceProfile() argument 218 this.inv = inv; in DeviceProfile() 225 isScalableGrid = inv.isScalable && !isVerticalBarLayout() && !isMultiWindowMode; in DeviceProfile() 287 setCellLayoutBorderSpacing(pxFromDp(inv.borderSpacing, mMetrics, 1f)); in DeviceProfile() 327 isTwoPanels ? inv.numDatabaseHotseatIcons : inv.numShownHotseatIcons; in DeviceProfile() 329 isTwoPanels ? inv.numDatabaseAllAppsColumns : inv.numAllAppsColumns; in DeviceProfile() 342 updateHotseatIconSize(pxFromDp(inv.iconSize, mMetrics, 1f)); in DeviceProfile() 363 if (isScalableGrid && inv.devicePaddings != null) { in DeviceProfile() 366 DevicePadding padding = inv.devicePaddings.getDevicePadding(unscaledExtraSpace); in DeviceProfile() [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 | 104 - (grid.inv.numColumns * grid.cellWidthPx)) in setInsets() 105 / (2 * (grid.inv.numColumns + 1))) in setInsets()
|
/packages/apps/Car/Dialer/framework/fake/src/com/android/car/dialer/framework/ |
D | MockCallManager.java | 517 public Void answer(InvocationOnMock inv) { in mockCallFunctions() 518 Call.Callback callback = inv.getArgument(0); in mockCallFunctions() 526 public Void answer(InvocationOnMock inv) { in mockCallFunctions() 527 Call.Callback callback = inv.getArgument(0); in mockCallFunctions() 535 public Void answer(InvocationOnMock inv) { in mockCallFunctions() 543 public Void answer(InvocationOnMock inv) { in mockCallFunctions() 551 public Void answer(InvocationOnMock inv) { in mockCallFunctions() 559 public Void answer(InvocationOnMock inv) { in mockCallFunctions() 567 public Void answer(InvocationOnMock inv) { in mockCallFunctions() 575 public Void answer(InvocationOnMock inv) { in mockCallFunctions()
|
D | FakeTelecomManager.java | 80 public Void answer(InvocationOnMock inv) { in FakeTelecomManager() 83 Uri uri = inv.getArgument(0); in FakeTelecomManager()
|
/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/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | StaggeredWorkspaceAnim.java | 99 int totalRows = grid.inv.numRows + (grid.isVerticalBarLayout() ? 0 : 2); in StaggeredWorkspaceAnim() 126 qsbRow = grid.inv.numRows + 1; in StaggeredWorkspaceAnim() 127 hotseatRow = grid.inv.numRows + 2; in StaggeredWorkspaceAnim() 129 hotseatRow = grid.inv.numRows + 1; in StaggeredWorkspaceAnim() 130 qsbRow = grid.inv.numRows + 2; in StaggeredWorkspaceAnim()
|
/packages/apps/Settings/tests/legacy_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/DeskClock/src/com/android/deskclock/widget/ |
D | CircleView.kt | 158 gravity = gravity and Gravity.HORIZONTAL_GRAVITY_MASK.inv() in setCenterX() 181 gravity = gravity and Gravity.VERTICAL_GRAVITY_MASK.inv() in setCenterY() 207 gravity = gravity and Gravity.FILL_HORIZONTAL.inv() in setRadius() 210 gravity = gravity and Gravity.FILL_VERTICAL.inv() in setRadius()
|
/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/modules/Connectivity/tests/unit/java/android/app/usage/ |
D | NetworkStatsManagerTest.java | 117 .then((InvocationOnMock inv) -> { in testQueryDetails() 118 NetworkTemplate template = inv.getArgument(0); in testQueryDetails() 128 .then((InvocationOnMock inv) -> { in testQueryDetails() 129 NetworkTemplate template = inv.getArgument(0); in testQueryDetails()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/garagemode/ |
D | GarageModeTest.java | 143 doAnswer(inv -> { in mockCarUserServiceStartUsersCall() 161 doAnswer(inv -> { in mockCarUserServiceStopUserCall() 162 int userId = (int) inv.getArguments()[0]; in mockCarUserServiceStopUserCall()
|
/packages/modules/Connectivity/tests/integration/src/com/android/server/net/integrationtests/ |
D | ConnectivityServiceIntegrationTest.kt | 211 doAnswer { inv -> in <lambda>() method 212 object : MultinetworkPolicyTracker(inv.getArgument(0), inv.getArgument(1), in <lambda>() 213 inv.getArgument(2)) { in <lambda>()
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/test/mocks/ |
D | BlockingAnswerTest.java | 46 BlockingAnswer<Integer> blockingAnswer = BlockingAnswer.forReturn(TIMEOUT_MS, inv -> { in testForReturn() 68 BlockingAnswer<Void> blockingAnswer = BlockingAnswer.forVoidReturn(TIMEOUT_MS, inv -> { in testForVoidReturn()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | InputHalServiceTest.java | 194 doAnswer(inv -> { in dispatchesInputEvent_multiple_toListener_mainDisplay() 195 KeyEvent event = inv.getArgument(0); in dispatchesInputEvent_multiple_toListener_mainDisplay() 218 doAnswer(inv -> { in dispatchesInputEvent_multiple_toListener_clusterDisplay() 219 KeyEvent event = inv.getArgument(0); in dispatchesInputEvent_multiple_toListener_clusterDisplay()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/ |
D | HotseatEduController.java | 129 InvariantDeviceProfile idp = mLauncher.getDeviceProfile().inv; in placeFoldersInWorkspace() 180 toRow = mLauncher.getDeviceProfile().inv.numRows - 1; in migrateHotseatWhole()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | BluetoothDeviceConnectionPolicyTest.java | 248 .filter(inv -> "connectDevices".equals(inv.getMethod().getName())) in getNumberOfConnectDevicesCalls()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/admin/ |
D | PerUserCarDevicePolicyServiceTest.java | 106 doAnswer((inv) -> { in testShowWhenIntentReceived() argument
|
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/ |
D | SecondaryDragLayer.java | 80 mWorkspace.setNumColumns(mActivity.getDeviceProfile().inv.numColumns); in onFinishInflate()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | NavigableAppWidgetHostView.java | 250 out.set(grid.inv.defaultWidgetPadding); in getWidgetInset()
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | Weekdays.kt | 129 return Weekdays(if (on) bits or bit else bits and bit.inv()) in setBit()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | ScreensaverActivity.kt | 177 winParams.flags = winParams.flags and WINDOW_FLAGS.inv() in updateWakeLock()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | CarUserManagerUnitTest.java | 545 doAnswer((inv) -> { in testSetUserIdentificationAssociation_ok() argument 548 (AndroidFuture<UserIdentificationAssociationResponse>) inv in testSetUserIdentificationAssociation_ok()
|
/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/ |
D | AlphabeticalAppsList.java | 94 mNumAppsPerRow = mLauncher.getDeviceProfile().inv.numColumns; in AlphabeticalAppsList()
|