Home
last modified time | relevance | path

Searched refs:iconBounds (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/
DDotRenderer.java106 Rect iconBounds = params.iconBounds; in draw() local
108 float dotCenterX = iconBounds.left + iconBounds.width() * dotPosition[0]; in draw()
109 float dotCenterY = iconBounds.top + iconBounds.height() * dotPosition[1]; in draw()
135 public Rect iconBounds = new Rect(); field in DotRenderer.DrawParams
DBaseIconFactory.java261 RectF iconBounds = new RectF(); in createScaledBitmapWithoutShadow() local
263 icon = normalizeAndWrapToAdaptiveIcon(icon, shrinkNonAdaptiveIcons, iconBounds, scale); in createScaledBitmapWithoutShadow()
265 Math.min(scale[0], ShadowGenerator.getScaleForBounds(iconBounds))); in createScaledBitmapWithoutShadow()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DCachingPipeline.java266 Rect iconBounds = request.getIconBounds(); in render() local
268 if (iconBounds.width() > source.getWidth() * 2) { in render()
271 if (iconBounds != null) { in render()
272 bitmap = mEnvironment.getBitmap(iconBounds.width(), in render()
273 iconBounds.height(), BitmapCache.ICON); in render()
277 float maxSize = Math.max(iconBounds.width(), iconBounds.height()); in render()
280 float dx = (iconBounds.width() - (source.getWidth() * scale))/2.0f; in render()
281 float dy = (iconBounds.height() - (source.getHeight() * scale))/2.0f; in render()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarInsetsController.kt144 val iconBounds = in <lambda>() constant
147 iconBounds.left, in <lambda>()
148 iconBounds.top, in <lambda>()
149 iconBounds.right, in <lambda>()
150 iconBounds.bottom in <lambda>()
168 val iconBounds = in <lambda>() constant
170 defaultTouchableRegion.op(iconBounds, Region.Op.UNION) in <lambda>()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderIcon.java625 Rect iconBounds = mDotParams.iconBounds; in drawDot() local
628 iconBounds.left = (getWidth() - iconSize) / 2; in drawDot()
629 iconBounds.right = iconBounds.left + iconSize; in drawDot()
630 iconBounds.top = getPaddingTop(); in drawDot()
631 iconBounds.bottom = iconBounds.top + iconSize; in drawDot()
634 Utilities.scaleRectAboutCenter(iconBounds, iconScale); in drawDot()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DAllApps.java101 final Rect iconBounds = mLauncher.getVisibleBounds(icon); in hasClickableIcon() local
102 LauncherInstrumentation.log("hasClickableIcon: icon bounds: " + iconBounds); in hasClickableIcon()
103 if (iconBounds.height() < mIconHeight / 2) { in hasClickableIcon()
116 if (iconBounds.bottom > displayBottom) { in hasClickableIcon()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/bubbles/
DBubbleView.java177 mDrawParams.iconBounds = mTempBounds; in dispatchDraw()
/packages/apps/Launcher3/src/com/android/launcher3/
DBubbleTextView.java675 getIconBounds(mDotParams.iconBounds); in drawDotIfNecessary()
676 Utilities.scaleRectAboutCenter(mDotParams.iconBounds, in drawDotIfNecessary()