/packages/services/Car/tests/carservice_unit_test/src/com/android/car/am/ |
D | CarActivityServiceTaskMonitorUnitTest.java | 362 Rect outBounds = new Rect(); in testGetMirroredSurface_throwsExceptionForInvalidToken() local 364 () -> mService.getMirroredSurface(invalidToken, outBounds)); in testGetMirroredSurface_throwsExceptionForInvalidToken() 371 Rect outBounds = new Rect(); in testGetMirroredSurface_throwsExceptionForForgedToken() local 373 () -> mService.getMirroredSurface(forgedToken, outBounds)); in testGetMirroredSurface_throwsExceptionForForgedToken() 381 Rect outBounds = new Rect(); in testGetMirroredSurface_throwsExceptionForExpiredToken() local 386 () -> mService.getMirroredSurface(token, outBounds)); in testGetMirroredSurface_throwsExceptionForExpiredToken() 399 Rect outBounds = new Rect(); in testGetMirroredSurface_returnsNullForInvisibleToken() local 400 PollingCheck.waitFor(() -> mService.getMirroredSurface(token, outBounds) == null, in testGetMirroredSurface_returnsNullForInvisibleToken() 409 Rect outBounds = new Rect(); in testGetMirroredSurface_returnsSurface() local 411 SurfaceControl mirror = mService.getMirroredSurface(token, outBounds); in testGetMirroredSurface_returnsSurface() [all …]
|
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/ |
D | IconNormalizer.java | 136 public static float normalizeAdaptiveIcon(Drawable d, int size, @Nullable RectF outBounds) { in normalizeAdaptiveIcon() argument 147 if (outBounds != null) { in normalizeAdaptiveIcon() 149 outBounds.set( in normalizeAdaptiveIcon() 239 public synchronized float getScale(@NonNull Drawable d, @Nullable RectF outBounds, in getScale() argument 245 if (outBounds != null) { in getScale() 246 outBounds.set(mAdaptiveIconBounds); in getScale() 337 if (outBounds != null) { in getScale() 338 outBounds.set(((float) mBounds.left) / width, ((float) mBounds.top) / height, in getScale()
|
/packages/apps/Launcher3/src/com/android/launcher3/apppairs/ |
D | AppPairIconGraphic.kt | 121 fun getIconBounds(outBounds: Rect) { in getIconBounds() 122 outBounds.set(0, 0, drawParams.backgroundSize.toInt(), drawParams.backgroundSize.toInt()) in getIconBounds() 123 outBounds.offset( in getIconBounds()
|
D | AppPairIcon.java | 166 public void getWorkspaceVisualDragBounds(Rect outBounds) { in getWorkspaceVisualDragBounds() argument 167 mIconGraphic.getIconBounds(outBounds); in getWorkspaceVisualDragBounds()
|
/packages/services/Car/service/src/com/android/car/am/ |
D | CarActivityService.java | 420 protected abstract SurfaceControl getMirroredSurface(Rect outBounds); in getMirroredSurface() argument 452 protected SurfaceControl getMirroredSurface(Rect outBounds) { in getMirroredSurface() argument 459 outBounds.set(TaskInfoHelper.getBounds(taskInfo)); in getMirroredSurface() 477 protected SurfaceControl getMirroredSurface(Rect outBounds) { in getMirroredSurface() argument 481 outBounds.set(0, 0, point.x, point.y); in getMirroredSurface() 510 public SurfaceControl getMirroredSurface(IBinder token, Rect outBounds) { in getMirroredSurface() argument 520 return mirroringToken.getMirroredSurface(outBounds); in getMirroredSurface()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/ |
D | HvacPanelOverlayViewController.java | 181 Rect outBounds = new Rect(); in onTouchEvent() local 182 mHvacPanelView.getBoundsInWindow(outBounds, /* clipToParent= */ true); in onTouchEvent() 184 && isTouchOutside(outBounds, event.getX(), event.getY())) { in onTouchEvent()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | RoundedLine.java | 108 public void getBounds(final Rect outBounds) { in getBounds() argument 111 mArc1.roundOut(outBounds); in getBounds()
|
/packages/services/Car/car-lib/src/android/car/app/ |
D | CarActivityManager.java | 375 Rect outBounds = new Rect(); in getMirroredSurface() local 377 SurfaceControl sc = mService.getMirroredSurface(token, outBounds); in getMirroredSurface() 381 return Pair.create(sc, outBounds); in getMirroredSurface()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ |
D | SimpleIconFactory.java | 487 private synchronized float getScale(@NonNull Drawable d, @Nullable RectF outBounds) { in getScale() argument 490 if (outBounds != null) { in getScale() 491 outBounds.set(mAdaptiveIconBounds); in getScale() 593 if (outBounds != null) { in getScale() 594 outBounds.set(((float) mBounds.left) / width, ((float) mBounds.top) / height, in getScale()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | BubbleTextView.java | 730 public void getIconBounds(Rect outBounds) { in getIconBounds() argument 731 getIconBounds(mIconSize, outBounds); in getIconBounds() 737 public void getIconBounds(int iconSize, Rect outBounds) { in getIconBounds() argument 738 outBounds.set(0, 0, iconSize, iconSize); in getIconBounds() 742 outBounds.offsetTo(getWidth() - iconSize - getPaddingRight(), top); in getIconBounds() 744 outBounds.offsetTo(getPaddingLeft(), top); in getIconBounds() 747 outBounds.offset((getWidth() - iconSize) / 2, getPaddingTop()); in getIconBounds()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/ |
D | PredictedAppIcon.java | 300 public void getIconBounds(Rect outBounds) { in getIconBounds() argument 301 super.getIconBounds(outBounds); in getIconBounds() 304 outBounds.inset(predictionInset, predictionInset); in getIconBounds()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | PreviewBackground.java | 200 void getBounds(Rect outBounds) { in getBounds() argument 205 outBounds.set(left, top, right, bottom); in getBounds()
|
D | FolderIcon.java | 244 public void getPreviewBounds(Rect outBounds) { in getPreviewBounds() argument 246 mBackground.getBounds(outBounds); in getPreviewBounds() 248 Utilities.scaleRectAboutCenter(outBounds, ICON_OVERLAP_FACTOR); in getPreviewBounds()
|