Home
last modified time | relevance | path

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

123

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DRegion_Delegate.java217 regionDelegate.mArea.getBounds().intersects( in quickReject()
218 targetRegionDelegate.mArea.getBounds()) == false; in quickReject()
304 return dstRegion.mArea.getBounds().isEmpty() == false; in nativeSetRect()
326 return dstRegion.mArea.getBounds().isEmpty() == false; in nativeSetPath()
336 Rectangle bounds = region.mArea.getBounds(); in nativeGetBounds()
386 return region.mArea.getBounds().isEmpty() == false; in nativeOp()
404 return region.mArea.getBounds().isEmpty() == false; in nativeOp()
432 return dstRegion.mArea.getBounds().isEmpty() == false; in nativeOp()
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/
DPlaybackView.java82 canvas.drawText(Integer.toString(tile.level), getBounds().left, in draw()
83 getBounds().bottom, levelPaint); in draw()
84 canvas.drawText(label, getBounds().left, in draw()
85 ((getBounds().bottom + getBounds().top) / 2), in draw()
/frameworks/base/services/surfaceflinger/DisplayHardware/
DDisplayHardware.h87 Rect getBounds() const { in getBounds() function
90 inline Rect bounds() const { return getBounds(); } in bounds()
DDisplayHardware.cpp372 const Rect b(newDirty.getBounds()); in flip()
379 mNativeWindow->setUpdateRectangle(dirty.getBounds()); in flip()
/frameworks/base/core/java/android/text/style/
DDynamicDrawableSpan.java81 Rect rect = d.getBounds(); in getSize()
101 int transY = bottom - b.getBounds().bottom; in draw()
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/drawable/
DMipmapDrawableTest.java108 mMipmapDrawable.setBounds(mMipmapDrawable.getBounds()); in testSetBoundsOneItem()
113 mMipmapDrawable.setBounds(new Rect(0, 0, 0, mMipmapDrawable.getBounds().height() + 1)); in testSetBoundsOneItem()
123 mMipmapDrawable.setBounds(new Rect(0, 0, 0, mMipmapDrawable.getBounds().height() + 1)); in testSetBoundsOneItem()
/frameworks/base/services/input/
DPointerController.h49 virtual bool getBounds(float* outMinX, float* outMinY,
157 virtual bool getBounds(float* outMinX, float* outMinY,
/frameworks/base/core/java/android/widget/
DAbsSeekBar.java282 Rect oldBounds = thumb.getBounds();
339 invalidate(mThumb.getBounds()); // This may be within the padding region
355 invalidate(mThumb.getBounds()); // This may be within the padding region
DScrollBarDrawable.java113 Rect r = getBounds(); in draw()
/frameworks/base/graphics/java/android/graphics/drawable/
DRotateDrawable.java76 Rect bounds = mState.mDrawable.getBounds(); in draw()
159 onBoundsChange(getBounds()); in onStateChange()
166 onBoundsChange(getBounds()); in onLevelChange()
DPictureDrawable.java69 Rect bounds = getBounds(); in draw()
DScaleDrawable.java198 onBoundsChange(getBounds()); in onStateChange()
205 onBoundsChange(getBounds()); in onLevelChange()
DNinePatchDrawable.java189 mNinePatch.draw(canvas, getBounds(), mPaint); in draw()
325 return mNinePatch.getTransparentRegion(getBounds()); in getTransparentRegion()
DShapeDrawable.java214 Rect r = getBounds(); in draw()
355 final Rect r = getBounds(); in updateShape()
DColorDrawable.java70 canvas.drawRect(getBounds(), mPaint); in draw()
DLayerDrawable.java285 Rect bounds = layers[i].mDrawable.getBounds(); in setDrawableByLayerId()
460 onBoundsChange(getBounds()); in onStateChange()
481 onBoundsChange(getBounds()); in onLevelChange()
DMipmapDrawable.java115 onBoundsChange(getBounds()); in onDrawableAdded()
/frameworks/base/graphics/java/android/graphics/
DRegion.java127 public Rect getBounds() { in getBounds() method in Region
137 public boolean getBounds(Rect r) { in getBounds() method in Region
/frameworks/base/include/ui/
DRegion.h47 inline Rect getBounds() const { return mBounds; } in getBounds() function
48 inline Rect bounds() const { return getBounds(); } in bounds()
DGraphicBuffer.h89 Rect getBounds() const { return Rect(width, height); } in getBounds() function
/frameworks/base/libs/ui/
DRegion.cpp356 if (b != reg.getBounds()) { in validate()
360 reg.getBounds().left, reg.getBounds().top, in validate()
361 reg.getBounds().right, reg.getBounds().bottom); in validate()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DGcSnapshot.java492 return currentClip != null && currentClip.getBounds().isEmpty() == false; in clip()
513 return currentClip != null && currentClip.getBounds().isEmpty() == false; in clip()
521 return mClip.getBounds().isEmpty() == false; in clip()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DRecentApplicationsBackground.java124 canvas.drawRect(background.getBounds(), p); in draw()
/frameworks/base/core/java/android/app/
DLauncherActivity.java310 mOldBounds.set(icon.getBounds()); in createIconThumbnail()
323 mOldBounds.set(icon.getBounds()); in createIconThumbnail()
/frameworks/base/libs/hwui/
DLayer.h66 const android::Rect& bounds = region.getBounds(); in setRegionAsRect()

123