Home
last modified time | relevance | path

Searched refs:inset (Results 1 – 25 of 32) sorted by relevance

12

/packages/apps/Car/Messenger/src/com/android/car/messenger/impl/datamodels/util/
DAvatarUtil.java286 float inset = in generateDestRectArray() local
312 float diameter = (float) ((2 - Math.sqrt(2)) * ((float) desiredWidth - inset)); in generateDestRectArray()
313 destArray[0] = new RectF(inset, inset, diameter, diameter); in generateDestRectArray()
318 /* right= */ (float) desiredWidth - inset, in generateDestRectArray()
319 /* bottom= */ (float) desiredHeight - inset); in generateDestRectArray()
358 float radius = cropToCircle ? (halfHeight - inset) / 2 : (float) desiredHeight / 4F; in generateDestRectArray()
362 float imageZeroTop = imageZeroCenterY - radius - 2 * inset; in generateDestRectArray()
363 float imageZeroBottom = imageZeroCenterY + radius - 2 * inset; in generateDestRectArray()
370 inset, in generateDestRectArray()
371 /* top= */ halfHeight - inset, in generateDestRectArray()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DOverviewActionsView.java270 int inset = dp.getInsets().bottom; in getOverviewActionsBottomMarginPx() local
273 return inset; in getOverviewActionsBottomMarginPx()
277 return dp.overviewActionsMarginThreeButtonPx + inset; in getOverviewActionsBottomMarginPx()
280 return dp.overviewActionsMarginGesturePx + inset; in getOverviewActionsBottomMarginPx()
/packages/apps/Gallery/src/com/android/camera/
DCropImage.java241 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,
DHighlightView.java284 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/apps/Launcher3/src/com/android/launcher3/folder/
DPreviewBackground.java334 float inset = 1f; in drawBackgroundStroke() local
336 getOffsetX() + inset, getOffsetY() + inset, getScaledRadius() - inset, mPaint); in drawBackgroundStroke()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DRoundedLine.java87 mArc1.inset(-r1, -r1); in makePath()
89 mArc2.inset(-r2, -r2); in makePath()
DGestureTrailDrawingPoints.java212 mRoundedLineBounds.inset(shadowInset, shadowInset); in drawGestureTrailLocked()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DBaseActivityInterface.java255 potentialTaskRect.inset(insets.left, insets.top, insets.right, insets.bottom); in calculateTaskSizeInternal()
256 potentialTaskRect.inset( in calculateTaskSizeInternal()
310 outRect.inset(Math.max(insets.left, sideMargin), Math.max(insets.top, topMargin), in calculateGridSize()
334 gridRect.inset(0, dp.overviewTaskThumbnailTopMarginPx, 0, 0); in calculateGridTaskSize()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DMaterialProgressDrawable.java535 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/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java2745 int rowCount, int borderSpacing, @Nullable Rect inset) { in setup() argument
2747 borderSpacing, inset); in setup()
2759 @Nullable Rect inset) { in setup() argument
2781 if (inset != null) { in setup()
2782 x -= inset.left; in setup()
2783 y -= inset.top; in setup()
2784 width += inset.left + inset.right; in setup()
2785 height += inset.top + inset.bottom; in setup()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DPredictedAppIcon.java151 outBounds.inset(predictionInset, predictionInset); in getIconBounds()
225 bounds.inset(internalSize, internalSize); in getSourceVisualDragBounds()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DTransformingTouchDelegate.java63 mTouchCheckBounds.inset(-mTouchExtension, -mTouchExtension); in updateTouchBounds()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DMoreKeysKeyboardAccessibilityDelegate.java105 mMoreKeysKeyboardValidBounds.inset(CLOSING_INSET_IN_PIXEL, CLOSING_INSET_IN_PIXEL); in onHoverExit()
/packages/apps/Messaging/src/com/android/messaging/ui/attachmentchooser/
DAttachmentGridItemView.java79 region.inset(-touchAreaIncrease, -touchAreaIncrease); in onFinishInflate()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarDragLayer.java137 boundingBox.inset(mFolderMargin, mFolderMargin); in getFolderBoundingBox()
DTaskbarView.java264 mDelegateSlopBounds.inset(-mTouchSlop, -mTouchSlop); in delegateTouchIfNecessary()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragView.java232 bounds.inset(blurMargin, blurMargin); in setItemInfo()
267 bounds.inset( in setItemInfo()
/packages/modules/Permission/PermissionController/src/android/support/wearable/view/
DProgressDrawable.java109 mInnerCircleBounds.inset(mCircleBorderWidth / 2.0f, mCircleBorderWidth / 2.0f); in draw()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DWorkspaceTouchListener.java99 mTempRect.inset(dp.edgeMarginPx, dp.edgeMarginPx); in onTouch()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java410 bounds.inset(blurSizeOutline / 2, blurSizeOutline / 2); in getOffsetForIconBounds()
417 bounds.inset( in getOffsetForIconBounds()
DClipIconView.java296 mFinalDrawableBounds.inset(iconOffset - blurMargin, iconOffset - blurMargin); in setIcon()
/packages/apps/Car/Cluster/ClusterHomeSample/src/com/android/car/cluster/home/
DClusterHomeApplication.java170 unobscured.inset(mClusterState.insets); in startClusterActivity()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropView.java300 mScreenBounds.inset(mMargin, mMargin); in onDraw()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DSwipePipToHomeAnimator.java401 mAppBounds.inset(mDisplayCutoutInsets);
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/osdouble/
DClusterOsDoubleActivity.java172 mBounds.inset(/* dx= */ 12, /* dy= */ 12);

12