Home
last modified time | relevance | path

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

1234

/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/ex/chips/src/com/android/ex/chips/recipientchip/
DVisibleRecipientChip.java86 public Rect getBounds() { in getBounds() method in VisibleRecipientChip
87 return getDrawable().getBounds(); in getBounds()
DDrawableRecipientChip.java30 Rect getBounds(); in getBounds() method
DInvisibleRecipientChip.java97 public Rect getBounds() { in getBounds() method in InvisibleRecipientChip
/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp200 const Rect b(newDirty.getBounds()); in flip()
298 dirty.set(getBounds()); in getDirtyRegion()
302 dirty.andSelf(getBounds()); in getDirtyRegion()
388 dirtyRegion.set(getBounds()); in setProjection()
419 mScissor.set(getBounds()); in setProjection()
DDisplayDevice.h128 Rect getBounds() const { in getBounds() function
131 inline Rect bounds() const { return getBounds(); } in bounds()
/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/core/java/android/view/
DViewOverlay.java144 invalidate(drawable.getBounds()); in add()
152 invalidate(drawable.getBounds()); in remove()
197 invalidate(drawable.getBounds()); in invalidateDrawable()
/frameworks/native/include/ui/
DRegion.h47 inline bool isEmpty() const { return getBounds().isEmpty(); } in isEmpty()
50 inline Rect getBounds() const { return mStorage[mStorage.size() - 1]; } in getBounds() function
51 inline Rect bounds() const { return getBounds(); } in bounds()
DGraphicBuffer.h89 Rect getBounds() const { return Rect(width, height); } in getBounds() function
/frameworks/base/services/input/
DPointerController.h50 virtual bool getBounds(float* outMinX, float* outMinY,
158 virtual bool getBounds(float* outMinX, float* outMinY,
/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/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()
358 final Rect r = getBounds(); in updateShape()
DColorDrawable.java88 canvas.drawRect(getBounds(), mPaint); in draw()
/frameworks/base/services/java/com/android/server/wm/
DDisplayMagnifier.java198 mTempRegion1.getBounds(touchableRegionBounds); in onWindowTransitionLocked()
351 accountedBounds.getBounds(accountedFrame); in recomputeBoundsLocked()
387 dirtyRegion.getBounds(dirtyRect); in recomputeBoundsLocked()
449 mMagnifiedBounds.getBounds(rect); in getMagnifiedFrameInContentCoordsLocked()
623 mBounds.getBounds(mDirtyRect); in drawIfNeeded()
681 mTempRegion.getBounds(info.mTouchableRegion); in obtain()
/frameworks/native/libs/ui/
DRegion.cpp195 outputRegion.mStorage.add(r.getBounds()); // to make region valid, mStorage must end with bounds in createTJunctionFreeRegion()
217 const Rect bounds(getBounds()); in makeBoundsSelf()
523 if (b != reg.getBounds()) { in validate()
528 reg.getBounds().left, reg.getBounds().top, in validate()
529 reg.getBounds().right, reg.getBounds().bottom); in validate()
/frameworks/base/core/jni/
Dandroid_view_Surface.cpp227 Rect dirtyBounds(dirtyRegion.getBounds()); in nativeLockCanvas()
259 const Rect b(dirtyRegion.getBounds()); in nativeLockCanvas()
273 const Rect& bounds(dirtyRegion.getBounds()); in nativeLockCanvas()
/frameworks/base/core/java/android/widget/
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/
DScreenMagnifier.java237 mMagnifiedBounds.getBounds(magnifiedFrame); in handleOnMagnifiedBoundsChanged()
260 mMagnifiedBounds.getBounds(magnifiedFrame); in handleOnRectangleOnScreenRequested()
318 mMagnifiedBounds.getBounds(rect); in getMagnifiedFrameInContentCoords()
1024 mMagnifiedBounds.getBounds(magnifiedFrame); in setScale()
1082 mMagnifiedBounds.getBounds(magnifiedFrame); in updateMagnificationSpec()
1096 mMagnifiedBounds.getBounds(magnifiedFrame); in getMinOffsetX()
1103 mMagnifiedBounds.getBounds(magnifiedFrame); in getMinOffsetY()
/frameworks/base/graphics/java/android/graphics/
DRegion.java135 public Rect getBounds() { in getBounds() method in Region
145 public boolean getBounds(Rect r) { in getBounds() method in Region
/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()

1234