Searched refs:iconBounds (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/ |
D | DotRenderer.java | 106 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
|
D | BaseIconFactory.java | 186 RectF iconBounds = new RectF(); in createScaledBitmapWithoutShadow() local 188 icon = normalizeAndWrapToAdaptiveIcon(icon, shrinkNonAdaptiveIcons, iconBounds, scale); in createScaledBitmapWithoutShadow() 190 Math.min(scale[0], ShadowGenerator.getScaleForBounds(iconBounds))); in createScaledBitmapWithoutShadow()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
D | CachingPipeline.java | 350 Rect iconBounds = request.getIconBounds(); in render() local 352 if (iconBounds.width() > source.getWidth() * 2) { in render() 355 if (iconBounds != null) { in render() 356 bitmap = mEnvironment.getBitmap(iconBounds.width(), in render() 357 iconBounds.height(), BitmapCache.ICON); in render() 361 float maxSize = Math.max(iconBounds.width(), iconBounds.height()); in render() 364 float dx = (iconBounds.width() - (source.getWidth() * scale))/2.0f; in render() 365 float dy = (iconBounds.height() - (source.getHeight() * scale))/2.0f; in render()
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | FloatingIconView.java | 355 Rect iconBounds = new Rect(); in getLocationBoundsForView() local 357 ((BubbleTextView) v).getIconBounds(iconBounds); in getLocationBoundsForView() 359 ((FolderIcon) v).getPreviewBounds(iconBounds); in getLocationBoundsForView() 361 iconBounds.set(0, 0, v.getWidth(), v.getHeight()); in getLocationBoundsForView() 364 float[] points = new float[] {iconBounds.left, iconBounds.top, iconBounds.right, in getLocationBoundsForView() 365 iconBounds.bottom}; in getLocationBoundsForView()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderIcon.java | 513 Rect iconBounds = mDotParams.iconBounds; 514 BubbleTextView.getIconBounds(this, iconBounds, 516 float iconScale = (float) mBackground.previewSize / iconBounds.width(); 517 Utilities.scaleRectAboutCenter(iconBounds, iconScale);
|
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/ |
D | AllApps.java | 63 final Rect iconBounds = icon.getVisibleBounds(); in hasClickableIcon() local 64 LauncherInstrumentation.log("hasClickableIcon: icon bounds: " + iconBounds); in hasClickableIcon()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | BubbleTextView.java | 409 getIconBounds(mDotParams.iconBounds); in drawDotIfNecessary() 410 … Utilities.scaleRectAboutCenter(mDotParams.iconBounds, IconShape.getNormalizationScale()); in drawDotIfNecessary()
|