/packages/apps/Launcher3/src/com/android/launcher3/celllayout/ |
D | CellLayoutLayoutParams.java | 130 @Nullable Rect inset) { in setup() argument 152 if (inset != null) { in setup() 153 x += inset.left; in setup() 154 y += inset.top; in setup() 155 width -= inset.left + inset.right; in setup() 156 height -= inset.top + inset.bottom; in setup()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
D | TaskbarInsetsController.kt | 317 private fun getInsetsForGravityWithCutout(inset: Int, gravity: Int, rot: Int): Insets { in <lambda>() 320 val cutout = display.cutout ?: return getInsetsForGravity(inset, gravity) in <lambda>() 327 return Insets.of(0, 0, 0, maxOf(inset, rotatedCutout.safeInsetBottom)) in <lambda>() 332 val leftInset = if (isSeascape) maxOf(inset, rotatedCutout.safeInsetLeft) else 0 in <lambda>() 333 val rightInset = if (isSeascape) 0 else maxOf(inset, rotatedCutout.safeInsetRight) in <lambda>() 341 private fun getInsetsForGravity(inset: Int, gravity: Int): Insets { in <lambda>() 344 return Insets.of(0, 0, 0, inset) in <lambda>() 349 val leftInset = if (isSeascape) inset else 0 in <lambda>() 350 val rightInset = if (isSeascape) 0 else inset in <lambda>()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/bubbles/ |
D | BubbleView.java | 129 final int inset = (mBubbleSize - normalizedSize) / 2; in getOutline() local 130 outline.setOval(inset, inset, inset + normalizedSize, inset + normalizedSize); in getOutline()
|
/packages/services/Car/car-maps-placeholder/src/com/android/car/mapsplaceholder/ |
D | MapsPlaceholderActivity.java | 45 Insets inset = insets.getInsets(WindowInsets.Type.systemOverlays()); in onCreate() local 47 contentView.setPadding(0, inset.top, 0, inset.bottom); in onCreate()
|
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/ |
D | BaseIconFactory.java | 165 float inset = AdaptiveIconDrawable.getExtraInsetFraction(); in createShapedIconBitmap() local 166 inset = inset / (1 + 2 * inset); in createShapedIconBitmap() 168 new InsetDrawable(d, inset, inset, inset, inset)); in createShapedIconBitmap()
|
D | ThemedIconDrawable.java | 275 float inset = getExtraInsetFraction() / (1 + 2 * getExtraInsetFraction()); in getThemedDrawable() local 276 Drawable fg = new InsetDrawable(mThemeData.loadMonochromeDrawable(colors[1]), inset); in getThemedDrawable()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/ |
D | DisplayControllerTest.kt | 74 private val inset = 110 in <lambda>() constant 79 WindowBounds(Rect(0, 0, width, height), Rect(0, inset, 0, 0), Surface.ROTATION_0), in <lambda>() 80 WindowBounds(Rect(0, 0, height, width), Rect(0, inset, 0, 0), Surface.ROTATION_90), in <lambda>() 81 WindowBounds(Rect(0, 0, width, height), Rect(0, inset, 0, 0), Surface.ROTATION_180), in <lambda>() 82 WindowBounds(Rect(0, 0, height, width), Rect(0, inset, 0, 0), Surface.ROTATION_270) in <lambda>()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | CropImage.java | 241 srcRect.inset(Math.max(0, dx), Math.max(0, dy)); in onSaveClicked() 244 dstRect.inset(Math.max(0, -dx), Math.max(0, -dy)); in onSaveClicked() 443 faceRect.inset(-r, -r); 445 faceRect.inset(-faceRect.left, -faceRect.left); 449 faceRect.inset(-faceRect.top, -faceRect.top); 453 faceRect.inset(faceRect.right - imageRect.right, 458 faceRect.inset(faceRect.bottom - imageRect.bottom,
|
D | HighlightView.java | 284 invalRect.inset(-10, -10); in moveBy() 317 r.inset(-dx, -dy); in growBy() 322 r.inset(-(widthCap - r.width()) / 2F, 0F); in growBy() 328 r.inset(0F, -(heightCap - r.height()) / 2F); in growBy()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | RoundedLine.java | 87 mArc1.inset(-r1, -r1); in makePath() 89 mArc2.inset(-r2, -r2); in makePath()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | PreviewBackground.java | 355 float inset = 1f; in drawBackgroundStroke() local 357 getOffsetX() + inset, getOffsetY() + inset, getScaledRadius() - inset, mPaint); in drawBackgroundStroke()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | SectionDecorationHandler.java | 128 int inset = context.getResources().getDimensionPixelSize( in applyBackground() local 153 view.setBackground(new InsetDrawable(shape, inset)); in applyBackground()
|
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/ |
D | ItemFocusIndicatorHelper.java | 164 newRect.inset((int) (strokeWidth * 1.5), (int) (strokeWidth * 1.5)); in draw() 170 newRect.inset(-strokeWidth, -strokeWidth); in draw()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/ |
D | SafetyCenterTouchTarget.kt | 51 hitRect.inset(-adjustInsetBy, -adjustInsetBy) in configureSize()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | BaseContainerInterface.java | 286 potentialTaskRect.inset(insets); in calculateTaskSizeInternal() 295 potentialTaskRect.inset(outRect); in calculateTaskSizeInternal() 347 outRect.inset(Math.max(insets.left, sideMargin), insets.top + topMargin, in calculateGridSize()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/ |
D | MaterialProgressDrawable.java | 535 arcBounds.inset(mStrokeInset, mStrokeInset); in draw() 565 float inset = (int) mStrokeInset / 2 * mArrowScale; in drawTriangle() local 577 mArrow.offset(x - inset, y); in drawTriangle()
|
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/homeactivities/ |
D | BackgroundPanelBaseActivity.java | 53 return insets.inset(appliedInsets);
|
/packages/services/Car/car_product/distant_display/apps/CarDistantDisplaySystemUI/src/com/android/systemui/car/distantdisplay/activity/ |
D | NavigationTaskViewWallpaperActivity.java | 53 return insets.inset(appliedInsets);
|
D | RootTaskViewWallpaperActivity.java | 52 return insets.inset(appliedInsets);
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | TransformingTouchDelegate.java | 63 mTouchCheckBounds.inset(-mTouchExtension, -mTouchExtension); in updateTouchBounds()
|
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/calmmode/ |
D | PortraitCalmModeActivity.java | 76 return insets.inset(appliedInsets);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
D | MoreKeysKeyboardAccessibilityDelegate.java | 105 mMoreKeysKeyboardValidBounds.inset(CLOSING_INSET_IN_PIXEL, CLOSING_INSET_IN_PIXEL); in onHoverExit()
|
/packages/apps/Messaging/src/com/android/messaging/ui/attachmentchooser/ |
D | AttachmentGridItemView.java | 79 region.inset(-touchAreaIncrease, -touchAreaIncrease); in onFinishInflate()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/ |
D | PredictedAppIcon.java | 304 outBounds.inset(predictionInset, predictionInset); in getIconBounds() 390 bounds.inset(internalSize, internalSize); in getSourceVisualDragBounds()
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | DragView.java | 259 bounds.inset(blurMargin, blurMargin); in setItemInfo() 284 bounds.inset( in setItemInfo()
|