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

123

/frameworks/ex/chips/src/com/android/ex/chips/recipientchip/
H A DDrawableRecipientChip.java30 Rect getBounds(); method in interface:DrawableRecipientChip
H A DVisibleRecipientChip.java86 public Rect getBounds() { method in class:VisibleRecipientChip
87 return getDrawable().getBounds();
H A DInvisibleRecipientChip.java97 public Rect getBounds() { method in class:InvisibleRecipientChip
/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/core/java/android/view/
H A DViewOverlay.java144 invalidate(drawable.getBounds());
152 invalidate(drawable.getBounds());
197 invalidate(drawable.getBounds());
/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 DMipmapDrawable.java115 onBoundsChange(getBounds());
H A DScaleDrawable.java197 onBoundsChange(getBounds());
204 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.h128 Rect getBounds() const { function in class:android::DisplayDevice
131 inline Rect bounds() const { return getBounds(); }
H A DDisplayDevice.cpp200 const Rect b(newDirty.getBounds());
298 dirty.set(getBounds());
302 dirty.andSelf(getBounds());
388 dirtyRegion.set(getBounds());
419 mScissor.set(getBounds());
/frameworks/native/include/ui/
H A DRegion.h47 inline bool isEmpty() const { return getBounds().isEmpty(); }
50 inline Rect getBounds() const { return mStorage[mStorage.size() - 1]; } function in class:android::Region
51 inline Rect bounds() const { return getBounds(); }
H A DGraphicBuffer.h89 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/graphics/java/android/graphics/
H A DRegion.java135 public Rect getBounds() { method in class:Region
145 public boolean getBounds(Rect r) { method in class:Region
/frameworks/base/services/java/com/android/server/accessibility/
H A DScreenMagnifier.java237 mMagnifiedBounds.getBounds(magnifiedFrame);
260 mMagnifiedBounds.getBounds(magnifiedFrame);
318 mMagnifiedBounds.getBounds(rect);
1024 mMagnifiedBounds.getBounds(magnifiedFrame);
1082 mMagnifiedBounds.getBounds(magnifiedFrame);
1096 mMagnifiedBounds.getBounds(magnifiedFrame);
1103 mMagnifiedBounds.getBounds(magnifiedFrame);
/frameworks/native/libs/ui/
H A DRegion.cpp195 outputRegion.mStorage.add(r.getBounds()); // to make region valid, mStorage must end with bounds
217 const Rect bounds(getBounds());
523 if (b != reg.getBounds()) {
528 reg.getBounds().left, reg.getBounds().top,
529 reg.getBounds().right, reg.getBounds().bottom);
/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/core/jni/
H A Dandroid_view_Surface.cpp227 Rect dirtyBounds(dirtyRegion.getBounds());
259 const Rect b(dirtyRegion.getBounds());
273 const Rect& bounds(dirtyRegion.getBounds());
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DRecentApplicationsBackground.java124 canvas.drawRect(background.getBounds(), p);

Completed in 727 milliseconds

123