Searched refs:getBounds (Results 1 - 25 of 69) sorted by relevance

123

/frameworks/base/core/java/android/text/style/
H A DDynamicDrawableSpan.java81 Rect rect = d.getBounds();
101 int transY = bottom - b.getBounds().bottom;
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/
H A DPlaybackView.java82 canvas.drawText(Integer.toString(tile.level), getBounds().left,
83 getBounds().bottom, levelPaint);
84 canvas.drawText(label, getBounds().left,
85 ((getBounds().bottom + getBounds().top) / 2),
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DRegion_Delegate.java217 regionDelegate.mArea.getBounds().intersects(
218 targetRegionDelegate.mArea.getBounds()) == false;
304 return dstRegion.mArea.getBounds().isEmpty() == false;
326 return dstRegion.mArea.getBounds().isEmpty() == false;
336 Rectangle bounds = region.mArea.getBounds();
386 return region.mArea.getBounds().isEmpty() == false;
404 return region.mArea.getBounds().isEmpty() == false;
432 return dstRegion.mArea.getBounds().isEmpty() == false;
/frameworks/base/graphics/java/android/graphics/drawable/
H A DPictureDrawable.java69 Rect bounds = getBounds();
H A DRotateDrawable.java76 Rect bounds = mState.mDrawable.getBounds();
159 onBoundsChange(getBounds());
166 onBoundsChange(getBounds());
H A DColorDrawable.java88 canvas.drawRect(getBounds(), mPaint);
H A DScaleDrawable.java197 onBoundsChange(getBounds());
204 onBoundsChange(getBounds());
H A DMipmapDrawable.java115 onBoundsChange(getBounds());
H A DShapeDrawable.java214 Rect r = getBounds();
355 final Rect r = getBounds();
H A DLayerDrawable.java285 Rect bounds = layers[i].mDrawable.getBounds();
460 onBoundsChange(getBounds());
481 onBoundsChange(getBounds());
/frameworks/base/services/input/
H A DPointerController.h50 virtual bool getBounds(float* outMinX, float* outMinY,
158 virtual bool getBounds(float* outMinX, float* outMinY,
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.h123 Rect getBounds() const { function in class:android::DisplayDevice
126 inline Rect bounds() const { return getBounds(); }
H A DDisplayDevice.cpp201 const Rect b(newDirty.getBounds());
306 dirty.set(getBounds());
310 dirty.andSelf(getBounds());
/frameworks/native/include/ui/
H A DRegion.h45 inline bool isEmpty() const { return getBounds().isEmpty(); }
48 inline Rect getBounds() const { return mStorage[mStorage.size() - 1]; } function in class:android::Region
49 inline Rect bounds() const { return getBounds(); }
H A DGraphicBuffer.h90 Rect getBounds() const { return Rect(width, height); } function in class:android::GraphicBuffer
H A DRect.h78 inline Rect getBounds() const { function in class:android::Rect
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/drawable/
H A DMipmapDrawableTest.java108 mMipmapDrawable.setBounds(mMipmapDrawable.getBounds());
113 mMipmapDrawable.setBounds(new Rect(0, 0, 0, mMipmapDrawable.getBounds().height() + 1));
123 mMipmapDrawable.setBounds(new Rect(0, 0, 0, mMipmapDrawable.getBounds().height() + 1));
/frameworks/base/libs/hwui/
H A DPathCache.cpp31 const SkRect& bounds = path->getBounds();
/frameworks/base/graphics/java/android/graphics/
H A DRegion.java127 public Rect getBounds() { method in class:Region
137 public boolean getBounds(Rect r) { method in class:Region
/frameworks/base/core/java/android/widget/
H A DAbsSeekBar.java299 Rect oldBounds = thumb.getBounds();
369 invalidate(mThumb.getBounds()); // This may be within the padding region
385 invalidate(mThumb.getBounds()); // This may be within the padding region
/frameworks/base/services/java/com/android/server/accessibility/
H A DScreenMagnifier.java287 && mViewport.getBounds().contains((int) eventX, (int) eventY)) {
488 if (mViewport.getBounds().contains((int) eventX, (int) eventY)) {
562 if (!mViewport.getBounds().contains((int) event.getX(),
604 if (!mViewport.getBounds().contains((int) event.getX(), (int) event.getY())) {
1079 if (!Rect.intersects(rectangle, mViewport.getBounds())) {
1305 mTempRect.set(mViewport.getBounds());
1422 final int viewportWidth = mViewport.getBounds().width();
1423 final int viewportHeight = mViewport.getBounds().height();
1622 public Rect getBounds() { method in class:ScreenMagnifier.Viewport
1623 return mViewportFrame.getBounds();
1769 public Rect getBounds() { method in class:ScreenMagnifier.Viewport.ViewportWindow
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DRecentApplicationsBackground.java124 canvas.drawRect(background.getBounds(), p);
/frameworks/native/libs/ui/
H A DRegion.cpp85 const Rect bounds(getBounds());
387 if (b != reg.getBounds()) {
392 reg.getBounds().left, reg.getBounds().top,
393 reg.getBounds().right, reg.getBounds().bottom);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java492 return currentClip != null && currentClip.getBounds().isEmpty() == false;
513 return currentClip != null && currentClip.getBounds().isEmpty() == false;
521 return mClip.getBounds().isEmpty() == false;
/frameworks/base/core/java/android/app/
H A DLauncherActivity.java306 // If we were to do oldBounds = icon.getBounds(),
310 mOldBounds.set(icon.getBounds());
323 mOldBounds.set(icon.getBounds());

Completed in 553 milliseconds

123