Home
last modified time | relevance | path

Searched refs:inv (Results 1 – 25 of 47) sorted by relevance

12

/packages/apps/Launcher3/src/com/android/launcher3/
DDeviceProfile.java59 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 …]
DPartner.java110 … 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()
DDropTargetBar.java104 - (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/
DMockCallManager.java517 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()
DFakeTelecomManager.java80 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/
DOverlayManagerMocks.java101 (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/
DStaggeredWorkspaceAnim.java99 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/
DThemePreferenceControllerTest.java76 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/
DCircleView.kt158 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/
DIpReachabilityMonitorTest.kt167 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/
DNetworkStatsManagerTest.java117 .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/
DGarageModeTest.java143 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/
DConnectivityServiceIntegrationTest.kt211 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/
DBlockingAnswerTest.java46 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/
DInputHalServiceTest.java194 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/
DHotseatEduController.java129 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/
DBluetoothDeviceConnectionPolicyTest.java248 .filter(inv -> "connectDevices".equals(inv.getMethod().getName())) in getNumberOfConnectDevicesCalls()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/admin/
DPerUserCarDevicePolicyServiceTest.java106 doAnswer((inv) -> { in testShowWhenIntentReceived() argument
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/
DSecondaryDragLayer.java80 mWorkspace.setNumColumns(mActivity.getDeviceProfile().inv.numColumns); in onFinishInflate()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DNavigableAppWidgetHostView.java250 out.set(grid.inv.defaultWidgetPadding); in getWidgetInset()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DWeekdays.kt129 return Weekdays(if (on) bits or bit else bits and bit.inv()) in setBit()
/packages/apps/DeskClock/src/com/android/deskclock/
DScreensaverActivity.kt177 winParams.flags = winParams.flags and WINDOW_FLAGS.inv() in updateWakeLock()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserManagerUnitTest.java545 doAnswer((inv) -> { in testSetUserIdentificationAssociation_ok() argument
548 (AndroidFuture<UserIdentificationAssociationResponse>) inv in testSetUserIdentificationAssociation_ok()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPhotoView.java1008 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/
DAlphabeticalAppsList.java94 mNumAppsPerRow = mLauncher.getDeviceProfile().inv.numColumns; in AlphabeticalAppsList()

12