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

12345678

/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.java94 public Rect getBounds() { method in class:VisibleRecipientChip
95 return super.getBounds();
H A DInvisibleRecipientChip.java108 public Rect getBounds() { method in class:InvisibleRecipientChip
/frameworks/support/compat/tests/java/android/support/v4/widget/
H A DTextViewCompatTest.java156 drawablesAbsolute[0].getBounds().width(), 20);
158 drawablesAbsolute[0].getBounds().height(), 20);
162 drawablesAbsolute[1].getBounds().width(), 30);
164 drawablesAbsolute[1].getBounds().height(), 25);
168 drawablesAbsolute[2].getBounds().width(), 25);
170 drawablesAbsolute[2].getBounds().height(), 20);
201 drawablesAbsolute[0].getBounds().width(), 25);
203 drawablesAbsolute[0].getBounds().height(), 20);
207 drawablesAbsolute[1].getBounds().width(), 30);
209 drawablesAbsolute[1].getBounds()
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyButtonRipple.java94 final float w = getBounds().width();
95 final float h = getBounds().height();
137 return getBounds().width() > getBounds().height();
295 return isHorizontal() ? getBounds().width() : getBounds().height();
299 int size = isHorizontal() ? getBounds().width() : getBounds().height();
324 mBottomProp = CanvasProperty.createFloat(getBounds().height());
325 mRxProp = CanvasProperty.createFloat(getBounds()
[all...]
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/graphics/
H A DCompositeDrawableTest.java56 Rect adjustedBounds = drawable.getBounds();
76 Rect adjustedBounds = drawable.getBounds();
86 adjustedBounds = drawable.getBounds();
96 adjustedBounds = drawable.getBounds();
107 adjustedBounds = drawable.getBounds();
121 assertEquals(HEIGHT, drawable.getBounds().height());
122 assertEquals(WIDTH, drawable.getBounds().width());
134 Rect adjustedBounds = drawable.getBounds();
145 adjustedBounds = drawable.getBounds();
155 adjustedBounds = drawable.getBounds();
[all...]
/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
/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());
299 EXPECT_EQ(SkIRect::MakeLTRB(100, 100, 300, 300), clipRegion->region.getBounds());
306 EXPECT_EQ(SkIRect::MakeLTRB(1, 2, 3, 4), region.getBounds());
315 EXPECT_EQ(SkIRect::MakeLTRB(11, 22, 13, 24), region.getBounds());
324 EXPECT_EQ(SkIRect::MakeLTRB(2, 6, 6, 12), region.getBounds());
334 EXPECT_EQ(SkIRect::MakeLTRB(12, 26, 16, 32), region.getBounds());
343 EXPECT_EQ(SkIRect::MakeLTRB(-4, 1, -2, 3), 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.java126 onBoundsChange(getBounds());
141 onBoundsChange(getBounds());
155 onBoundsChange(getBounds());
174 onBoundsChange(getBounds());
179 onBoundsChange(getBounds());
188 onBoundsChange(getBounds());
203 onBoundsChange(getBounds());
209 onBoundsChange(getBounds());
331 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/minikin/tests/unittest/
H A DLayoutTest.cpp83 layout.getBounds(&rect);
102 layout.getBounds(&rect);
121 layout.getBounds(&rect);
140 layout.getBounds(&rect);
174 layout.getBounds(&rect);
193 layout.getBounds(&rect);
216 layout.getBounds(&rect);
237 layout.getBounds(&rect);
273 layout.getBounds(&rect);
292 layout.getBounds(
[all...]
/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/packages/SystemUI/src/com/android/systemui/pip/phone/
H A DPipTouchHandler.java168 mMenuController.showMenu(MENU_STATE_FULL, mMotionHelper.getBounds(),
209 mMenuController.showMenu(MENU_STATE_FULL, mMotionHelper.getBounds(),
230 mMenuController.showMenu(MENU_STATE_CLOSE, mMotionHelper.getBounds(),
327 mMenuController.showMenu(MENU_STATE_FULL, mMotionHelper.getBounds(),
410 Rect bounds = mMotionHelper.getBounds();
548 mStartedOnLeft = mMotionHelper.getBounds().left < mMovementBounds.centerX();
581 mTmpBounds.set(mMotionHelper.getBounds());
635 && mMotionHelper.isGestureToDismissArea(mMotionHelper.getBounds(), vel.x,
642 mMotionHelper.animateDismiss(mMotionHelper.getBounds(), vel.x,
679 mMenuController.showMenu(mMenuState, mMotionHelper.getBounds(),
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DPictureDrawable.java65 Rect bounds = 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);
H A DSaveLayerInterleaveActivity.java59 Rect bounds = getBounds();
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
H A DGlifPatternDrawableTest.java99 drawable.scaleCanvasToBounds(canvas, mockBitmapCache, drawable.getBounds());
115 drawable.scaleCanvasToBounds(canvas, mockBitmapCache, drawable.getBounds());
132 drawable.scaleCanvasToBounds(canvas, mockBitmapCache, drawable.getBounds());
149 drawable.scaleCanvasToBounds(canvas, mockBitmapCache, drawable.getBounds());
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/
H A DCompositeDrawable.java268 clone.setBounds(dr.getBounds());
309 updateBounds(mParent.getBounds());
332 return obj.mParent.getBounds().top;
358 return obj.mParent.getBounds().bottom;
385 return obj.mParent.getBounds().left;
411 return obj.mParent.getBounds().right;
/frameworks/support/compat/tests/java/android/support/v4/graphics/
H A DDrawableCompatTest.java73 assertEquals(bounds, drawable.getBounds());
88 assertEquals(bounds, wrapper.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

Completed in 500 milliseconds

12345678