Home
last modified time | relevance | path

Searched refs:getBounds (Results 1 – 25 of 66) 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/core/java/android/text/style/
DDynamicDrawableSpan.java81 Rect rect = d.getBounds(); in getSize()
101 int transY = bottom - b.getBounds().bottom; in draw()
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/
DUiObject.java173 Rect rect = getBounds(); in swipeUp()
193 Rect rect = getBounds(); in swipeDown()
213 Rect rect = getBounds(); in swipeLeft()
232 Rect rect = getBounds(); in swipeRight()
669 public Rect getBounds() throws UiObjectNotFoundException { in getBounds() method in UiObject
/frameworks/native/services/surfaceflinger/DisplayHardware/
DDisplayHardware.h107 Rect getBounds() const { in getBounds() function
110 inline Rect bounds() const { return getBounds(); } in bounds()
DDisplayHardware.cpp444 const Rect b(newDirty.getBounds()); in flip()
451 mNativeWindow->setUpdateRectangle(dirty.getBounds()); in flip()
/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.h50 virtual bool getBounds(float* outMinX, float* outMinY,
158 virtual bool getBounds(float* outMinX, float* outMinY,
/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.java197 onBoundsChange(getBounds()); in onStateChange()
204 onBoundsChange(getBounds()); in onLevelChange()
DShapeDrawable.java214 Rect r = getBounds(); in draw()
355 final Rect r = getBounds(); in updateShape()
DColorDrawable.java70 canvas.drawRect(getBounds(), mPaint); in draw()
DNinePatchDrawable.java221 mNinePatch.draw(canvas, getBounds(), mPaint); in draw()
378 return mNinePatch.getTransparentRegion(getBounds()); in getTransparentRegion()
DLayerDrawable.java285 Rect bounds = layers[i].mDrawable.getBounds(); in setDrawableByLayerId()
460 onBoundsChange(getBounds()); in onStateChange()
481 onBoundsChange(getBounds()); in onLevelChange()
/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/core/java/android/widget/
DAbsSeekBar.java295 Rect oldBounds = thumb.getBounds();
352 invalidate(mThumb.getBounds()); // This may be within the padding region
368 invalidate(mThumb.getBounds()); // This may be within the padding region
/frameworks/native/libs/ui/
DRegion.cpp374 if (b != reg.getBounds()) { in validate()
378 reg.getBounds().left, reg.getBounds().top, in validate()
379 reg.getBounds().right, reg.getBounds().bottom); in validate()
/frameworks/native/include/ui/
DRegion.h47 inline Rect getBounds() const { return mBounds; } in getBounds() function
48 inline Rect bounds() const { return getBounds(); } in bounds()
DGraphicBuffer.h90 Rect getBounds() const { return Rect(width, height); } in getBounds() function
DRect.h77 inline Rect getBounds() const { in getBounds() function
/frameworks/base/libs/hwui/
DPathCache.cpp31 const SkRect& bounds = path->getBounds(); in computePathBounds()
/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()

123