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

123456

/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/
H A DDrawableRecipientChip.java30 Rect getBounds(); method in interface:DrawableRecipientChip
H A DReplacementDrawableSpan.java33 final Rect bounds = getBounds();
47 return getBounds().right;
54 int transY = (bottom - mDrawable.getBounds().bottom + top) / 2;
60 protected Rect getBounds() { method in class:ReplacementDrawableSpan
61 return mDrawable.getBounds();
H A DVisibleRecipientChip.java93 public Rect getBounds() { method in class:VisibleRecipientChip
94 return super.getBounds();
H A DInvisibleRecipientChip.java107 public Rect getBounds() { method in class:InvisibleRecipientChip
/frameworks/support/v4/tests/java/android/support/v4/widget/
H A DTextViewCompatTest.java151 drawablesAbsolute[0].getBounds().width(), 20);
153 drawablesAbsolute[0].getBounds().height(), 20);
157 drawablesAbsolute[1].getBounds().width(), 30);
159 drawablesAbsolute[1].getBounds().height(), 25);
163 drawablesAbsolute[2].getBounds().width(), 25);
165 drawablesAbsolute[2].getBounds().height(), 20);
197 drawablesAbsolute[0].getBounds().width(), 25);
199 drawablesAbsolute[0].getBounds().height(), 20);
203 drawablesAbsolute[1].getBounds().width(), 30);
205 drawablesAbsolute[1].getBounds()
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyButtonRipple.java87 final float w = getBounds().width();
88 final float h = getBounds().height();
130 return getBounds().width() > getBounds().height();
275 return isHorizontal() ? getBounds().width() : getBounds().height();
279 int size = isHorizontal() ? getBounds().width() : getBounds().height();
304 mBottomProp = CanvasProperty.createFloat(getBounds().height());
305 mRxProp = CanvasProperty.createFloat(getBounds()
[all...]
H A DKeyguardUserSwitcherScrim.java57 Rect bounds = getBounds();
/frameworks/base/libs/hwui/
H A DRevealClip.h50 void getBounds(Rect* outBounds) const { function in class:android::uirenderer::RevealClip
H A DOutline.h75 mBounds.set(outline->getBounds());
136 const Rect& getBounds() const { function in class:android::uirenderer::Outline::Type
H A DClipArea.cpp167 tr.getBounds(), tr.getTransform());
346 mClipRect.set(mClipRegion.getBounds());
384 serialization->rect.set(mClipRegion.getBounds());
487 regionClip->rect.set(regionClip->region.getBounds());
504 rectList.intersectWith(tr.getBounds(), totalTransform);
526 clipRectWithTransform(tr.getBounds(), &totalTransform, SkRegion::kIntersect_Op);
/frameworks/base/libs/hwui/tests/unit/
H A DBakedOpRendererTests.cpp41 //ALOGD("bounds %d %d %d %d", RECT_ARGS(layer.region.getBounds()));
42 EXPECT_EQ(android::Rect(100, 0, 200, 200), layer.region.getBounds())
H A DClipAreaTests.cpp107 auto skRect(clipRegion.getBounds());
167 EXPECT_EQ(SkIRect::MakeWH(200, 200), clipRegion->region.getBounds())
251 EXPECT_EQ(SkIRect::MakeLTRB(60, 20, 160, 200), clipRegion->region.getBounds());
/frameworks/native/services/inputflinger/
H A DPointerControllerInterface.h43 virtual bool getBounds(float* outMinX, float* outMinY,
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
H A DUserIconDrawable.java125 onBoundsChange(getBounds());
140 onBoundsChange(getBounds());
154 onBoundsChange(getBounds());
173 onBoundsChange(getBounds());
178 onBoundsChange(getBounds());
187 onBoundsChange(getBounds());
202 onBoundsChange(getBounds());
208 onBoundsChange(getBounds());
325 canvas.drawCircle(getBounds().exactCenterX(), getBounds()
[all...]
/frameworks/base/core/java/android/text/style/
H A DDynamicDrawableSpan.java78 Rect rect = d.getBounds();
98 int transY = bottom - b.getBounds().bottom;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DRegion_Delegate.java217 regionDelegate.mArea.getBounds().intersects(
218 targetRegionDelegate.mArea.getBounds()) == false;
303 return dstRegion.mArea.getBounds().isEmpty() == false;
325 return dstRegion.mArea.getBounds().isEmpty() == false;
335 Rectangle bounds = region.mArea.getBounds();
385 return region.mArea.getBounds().isEmpty() == false;
403 return region.mArea.getBounds().isEmpty() == false;
431 return dstRegion.mArea.getBounds().isEmpty() == false;
/frameworks/base/graphics/java/android/graphics/drawable/
H A DPictureDrawable.java65 Rect bounds = getBounds();
H A DRippleDrawable.java358 final Rect drawableBounds = getBounds();
748 final Rect bounds = getBounds();
857 final Rect bounds = getBounds();
931 activeRipples[i].getBounds(rippleBounds);
938 background.getBounds(rippleBounds);
947 return getBounds();
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DRestrictedLockImageSpan.java56 float transY = (bottom - drawable.getBounds().bottom) / 2.0f;
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A DFullscreenOverdrawActivity.java52 canvas.drawRect(getBounds(), paint);
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.cpp237 const Rect b(newDirty.getBounds());
386 dirty.set(getBounds());
390 dirty.andSelf(getBounds());
470 dirtyRegion.set(getBounds());
520 dirtyRegion.set(getBounds());
551 mScissor = getBounds();
H A DDisplayDevice.h165 Rect getBounds() const { function in class:android::DisplayDevice
168 inline Rect bounds() const { return getBounds(); }
/frameworks/base/core/java/android/hardware/camera2/params/
H A DFace.java147 public Rect getBounds() { method in class:Face
199 * the same space as the ones for {@link #getBounds}. This is an
215 * in the same space as the ones for {@link #getBounds}.This is an
231 * the same space as the ones for {@link #getBounds}. This is an optional
/frameworks/base/core/java/android/view/
H A DViewOverlay.java156 invalidate(drawable.getBounds());
167 invalidate(drawable.getBounds());
236 invalidate(drawable.getBounds());
/frameworks/native/include/ui/
H A DRegion.h48 inline bool isEmpty() const { return getBounds().isEmpty(); }
51 inline Rect getBounds() const { return mStorage[mStorage.size() - 1]; } function in class:android::Region
52 inline Rect bounds() const { return getBounds(); }

Completed in 5561 milliseconds

123456