Home
last modified time | relevance | path

Searched refs:getBounds (Results 1 – 25 of 59) sorted by relevance

123

/packages/apps/DevCamera/src/com/android/devcamera/
DNormalizedFace.java50 if (face.getBounds() != null) { in NormalizedFace()
52 bounds.left = (float) (face.getBounds().left - offX) / dX; in NormalizedFace()
53 bounds.top = (float) (face.getBounds().top - offY) / dY; in NormalizedFace()
54 bounds.right = (float) (face.getBounds().right - offX) / dX; in NormalizedFace()
55 bounds.bottom = (float) (face.getBounds().bottom - offY) / dY; in NormalizedFace()
/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/
DCaretDrawable.java85 final float width = getBounds().width() - mShadowPaint.getStrokeWidth(); in draw()
86 final float height = getBounds().height() - mShadowPaint.getStrokeWidth(); in draw()
87 final float left = getBounds().left + (mShadowPaint.getStrokeWidth() / 2); in draw()
88 final float top = getBounds().top + (mShadowPaint.getStrokeWidth() / 2); in draw()
DPageIndicatorCaretLandscape.java61 Rect drawableBounds = getCaretDrawable().getBounds(); in onDraw()
/packages/services/Car/car-support-lib/src/android/support/car/ui/
DFabDrawable.java197 int normalRadius = Math.min(getBounds().width(), getBounds().height()) / 2 - mStrokeWidth; in updateRadius()
206 int cx = getBounds().width() / 2; in updateOutline()
207 int cy = getBounds().height() / 2; in updateOutline()
DCircleBitmapDrawable.java122 Rect bounds = getBounds(); in toBitmap()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DPreloadIconDrawable.java173 canvas.drawBitmap(mShadowBitmap, getBounds().left, getBounds().top, mProgressPaint); in draw()
178 Rect bounds = getBounds(); in draw()
191 updateInternalState(level * 0.01f, getBounds().width() > 0, false); in onLevelChange()
DFixedScaleDrawable.java34 getBounds().exactCenterX(), getBounds().exactCenterY()); in draw()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DBandSelectionUiTest.java41 Rect dirListBounds = bots.directory.findDocumentsList().getBounds(); in testBandSelection_allFiles()
51 Rect dirListBounds = bots.directory.findDocumentsList().getBounds(); in testBandSelection_someFiles()
52 Rect startDoc = bots.directory.findDocument(fileName2).getBounds(); in testBandSelection_someFiles()
DContextMenuUiTest.java110 Rect dirListBounds = bots.directory.findDocumentsList().getBounds(); in testContextMenu_onEmptyArea()
/packages/apps/Dialer/java/com/android/contacts/common/lettertiles/
DLetterTileDrawable.java182 final Rect bounds = getBounds(); in draw()
203 final Rect bounds = getBounds(); in drawLetterTile()
288 outline.setOval(getBounds()); in getOutline()
290 outline.setRect(getBounds()); in getOutline()
/packages/apps/Launcher3/src/com/android/launcher3/
DFastBitmapDrawable.java121 canvas.drawBitmap(mBitmap, null, getBounds(), mPaint); in drawInternal()
170 return getBounds().width(); in getMinimumWidth()
175 return getBounds().height(); in getMinimumHeight()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DLetterTileDrawable.java106 final Rect bounds = getBounds(); in draw()
142 final Rect bounds = getBounds(); in drawLetterTile()
271 Rect bounds = getBounds(); in toBitmap()
/packages/apps/Gallery2/src/com/android/photos/shims/
DBitmapJobDrawable.java85 Rect bounds = getBounds(); in draw()
100 Rect bounds = getBounds(); in updateDrawMatrix()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsBackgroundDrawable.java86 public Rect getBounds() { in getBounds() method in AllAppsBackgroundDrawable.TransformedImageDrawable
87 return mImage.getBounds(); in getBounds()
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
DAbstractAvatarDrawable.java91 final Rect bounds = getBounds(); in draw()
112 final Rect bounds = getBounds(); in drawBitmap()
DContactDrawable.java89 final Rect bounds = getBounds(); in drawLetterTile()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DGestureBot.java58 Rect startCoord = findDocument(startLabel).getBounds(); in gestureSelectFiles()
59 Rect endCoord = findDocument(endLabel).getBounds(); in gestureSelectFiles()
/packages/apps/Contacts/src/com/android/contacts/lettertiles/
DLetterTileDrawable.java102 final Rect bounds = getBounds(); in draw()
142 final Rect bounds = getBounds(); in drawLetterTile()
/packages/apps/Settings/src/com/android/settings/
DActivityPicker.java397 mOldBounds.set(icon.getBounds()); in createIconThumbnail()
412 mOldBounds.set(icon.getBounds()); in createIconThumbnail()
/packages/apps/Camera2/src/com/android/camera/stats/
DCamera2FaceProxy.java36 Camera2FaceProxy convertedFace = new Camera2FaceProxy(face.getBounds(), face.getScore()); in from()
/packages/apps/UnifiedEmail/src/com/android/mail/graphics/
DPageMarginDrawable.java43 canvas.drawRect(getBounds(), mPaint); in draw()
/packages/apps/Calendar/src/com/android/calendar/
DDayOfMonthDrawable.java53 Rect bounds = getBounds(); in draw()
/packages/apps/Launcher2/src/com/android/launcher2/
DFastBitmapDrawable.java47 final Rect r = getBounds(); in draw()
/packages/apps/Messaging/src/com/android/messaging/ui/
DOrientedBitmapDrawable.java83 Gravity.apply(getGravity(), getIntrinsicWidth(), getIntrinsicHeight(), getBounds(), in draw()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DGLCanvas.java216 public abstract void getBounds(Rect bounds, int x, int y, int width, int height); in getBounds() method

123