/frameworks/support/v7/cardview/api21/android/support/v7/widget/ |
H A D | RoundRectDrawable.java | 74 private void updateBounds(Rect bounds) { argument 75 if (bounds == null) { 76 bounds = getBounds(); 78 mBoundsF.set(bounds.left, bounds.top, bounds.right, bounds.bottom); 79 mBoundsI.set(bounds); 84 // to make sure they have same bounds. 90 protected void onBoundsChange(Rect bounds) { argument [all...] |
/frameworks/support/v7/cardview/eclair-mr1/android/support/v7/widget/ |
H A D | RoundRectDrawableWithShadow.java | 128 protected void onBoundsChange(Rect bounds) { argument 129 super.onBoundsChange(bounds); 300 private void buildComponents(Rect bounds) { argument 305 mCardBounds.set(bounds.left + mRawMaxShadowSize, bounds.top + verticalOffset, 306 bounds.right - mRawMaxShadowSize, bounds.bottom - verticalOffset); 352 void drawRoundRect(Canvas canvas, RectF bounds, float cornerRadius, Paint paint); argument
|
/frameworks/rs/ |
H A D | rsFont.cpp | 139 void Font::measureCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y, Rect *bounds) { argument 147 if (bounds->bottom < nPenY) { 148 bounds->bottom = nPenY; 150 if (bounds->left > nPenX) { 151 bounds->left = nPenX; 153 if (bounds->right < nPenX + width) { 154 bounds->right = nPenX + width; 156 if (bounds->top > nPenY - height) { 157 bounds->top = nPenY - height; 163 RenderMode mode, Rect *bounds, 161 renderUTF(const char *text, uint32_t len, int32_t x, int32_t y, uint32_t start, int32_t numGlyphs, RenderMode mode, Rect *bounds, uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH) argument 749 renderText(const char *text, uint32_t len, int32_t x, int32_t y, uint32_t startIndex, int32_t numGlyphs, Font::RenderMode mode, Font::Rect *bounds, uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH) argument 787 measureText(const char *text, uint32_t len, Font::Rect *bounds) argument [all...] |
/frameworks/support/v4/api21/android/support/v4/graphics/drawable/ |
H A D | RoundedBitmapDrawable21.java | 52 Rect bounds, Rect outRect) { 54 bounds, outRect, View.LAYOUT_DIRECTION_LTR); 51 gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight, Rect bounds, Rect outRect) argument
|
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/ |
H A D | RoundedBitmapDrawable.java | 125 * Get the gravity used to position/stretch the bitmap within its bounds. 136 * Set the gravity used to position/stretch the bitmap within its bounds. 214 Rect bounds, Rect outRect) { 213 gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight, Rect bounds, Rect outRect) argument
|
/frameworks/support/v4/ics/android/support/v4/view/accessibility/ |
H A D | AccessibilityNodeInfoCompatIcs.java | 144 public static void setBoundsInParent(Object info, Rect bounds) { argument 145 ((AccessibilityNodeInfo) info).setBoundsInParent(bounds); 148 public static void setBoundsInScreen(Object info, Rect bounds) { argument 149 ((AccessibilityNodeInfo) info).setBoundsInScreen(bounds);
|
/frameworks/support/v4/java/android/support/v4/graphics/drawable/ |
H A D | RoundedBitmapDrawableFactory.java | 56 Rect bounds, Rect outRect) { 58 bounds, outRect, ViewCompat.LAYOUT_DIRECTION_LTR); 55 gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight, Rect bounds, Rect outRect) argument
|
/frameworks/support/v4/java/android/support/v4/view/accessibility/ |
H A D | AccessibilityNodeInfoCompat.java | 217 public void setBoundsInParent(Object info, Rect bounds); argument 219 public void setBoundsInScreen(Object info, Rect bounds); argument 481 public void setBoundsInParent(Object info, Rect bounds) { argument 486 public void setBoundsInScreen(Object info, Rect bounds) { argument 879 public void setBoundsInParent(Object info, Rect bounds) { argument 880 AccessibilityNodeInfoCompatIcs.setBoundsInParent(info, bounds); 884 public void setBoundsInScreen(Object info, Rect bounds) { argument 885 AccessibilityNodeInfoCompatIcs.setBoundsInScreen(info, bounds); 1958 * Gets the node bounds in parent coordinates. 1960 * @param outBounds The output node bounds 1977 setBoundsInParent(Rect bounds) argument 2001 setBoundsInScreen(Rect bounds) argument [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | MaterialProgressDrawable.java | 219 final Rect bounds = getBounds(); 221 c.rotate(mRotation, bounds.exactCenterX(), bounds.exactCenterY()); 222 mRing.draw(c, bounds); 457 public void draw(Canvas c, Rect bounds) { argument 459 arcBounds.set(bounds); 469 drawTriangle(c, startAngle, sweepAngle, bounds); 474 c.drawCircle(bounds.exactCenterX(), bounds.exactCenterY(), bounds 479 drawTriangle(Canvas c, float startAngle, float sweepAngle, Rect bounds) argument [all...] |
/frameworks/native/include/ui/ |
H A D | Region.h | 51 inline Rect bounds() const { return getBounds(); } function in class:android::Region 56 // the region becomes its bounds 178 // bounds of the region. However, if the region is
|
/frameworks/native/libs/ui/ |
H A D | GraphicBufferMapper.cpp | 76 int usage, const Rect& bounds, void** vaddr) 82 bounds.left, bounds.top, bounds.width(), bounds.height(), 90 int usage, const Rect& bounds, android_ycbcr *ycbcr) 100 bounds.left, bounds.top, bounds.width(), bounds 75 lock(buffer_handle_t handle, int usage, const Rect& bounds, void** vaddr) argument 89 lockYCbCr(buffer_handle_t handle, int usage, const Rect& bounds, android_ycbcr *ycbcr) argument 118 lockAsync(buffer_handle_t handle, int usage, const Rect& bounds, void** vaddr, int fenceFd) argument 140 lockAsyncYCbCr(buffer_handle_t handle, int usage, const Rect& bounds, android_ycbcr *ycbcr, int fenceFd) argument [all...] |
H A D | Region.cpp | 196 outputRegion.mStorage.add(r.getBounds()); // to make region valid, mStorage must end with bounds 218 const Rect bounds(getBounds()); 220 mStorage.add(bounds); 409 Rect bounds; member in class:android::Region::rasterizer 417 : bounds(INT_MAX, 0, INT_MIN, 0), storage(reg.mStorage), head(), tail(), cur() { 426 bounds.top = storage.itemAt(0).top; 427 bounds.bottom = storage.top().bottom; 432 bounds.left = 0; 433 bounds.right = 0; 435 storage.add(bounds); [all...] |
/frameworks/native/opengl/libagl/ |
H A D | context.h | 192 GLsizei bounds; member in struct:android::gl::array_t
|
/frameworks/native/services/surfaceflinger/ |
H A D | DisplayDevice.h | 143 inline Rect bounds() const { return getBounds(); } function in class:android::DisplayDevice
|
H A D | Layer.cpp | 306 // subtract the transparent region and snap to the bounds 340 // display bounds. 343 // subtract the transparent region and snap to the bounds 444 // display bounds. 557 // subtract the transparent region and snap to the bounds 558 Rect bounds = reduce(win, s.activeTransparentRegion); local 559 Rect frame(s.transform.transform(bounds)); 575 onDraw(hw, Region(hw->bounds()), useIdentityTransform); 579 onDraw(hw, Region(hw->bounds()), false); 791 // subtract the transparent region and snap to the bounds [all...] |
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
H A D | ExtendedBitmapDrawable.java | 106 Rect bounds = mOpts.placeholder.getBounds(); 107 if (bounds.width() != 0) { 108 placeholderWidth = bounds.width(); 112 if (bounds.height() != 0) { 113 placeholderHeight = bounds.height(); 254 final Rect bounds = getBounds(); 255 if (bounds.isEmpty()) { 302 protected void onBoundsChange(Rect bounds) { argument 303 super.onBoundsChange(bounds); 304 if (mPlaceholder != null) mPlaceholder.setBounds(bounds); [all...] |
H A D | StyledCornersBitmapDrawable.java | 39 * {@link #CORNER_STYLE_FLAP} corners have a colored flap drawn within the bounds. 210 protected void onBoundsChange(Rect bounds) { argument 211 super.onBoundsChange(bounds); 222 final Rect bounds = getBounds(); 223 if (bounds.isEmpty()) { 240 float left = bounds.left + mBorderWidth / 2; 241 float top = bounds.top + mBorderWidth / 2; 242 float right = bounds.right - mBorderWidth / 2; 243 float bottom = bounds.bottom - mBorderWidth / 2; 282 final Rect bounds [all...] |
H A D | TileDrawable.java | 76 protected void onBoundsChange(Rect bounds) { argument 77 super.onBoundsChange(bounds); 83 if (bounds.isEmpty()) { 86 final int l = bounds.left + (bounds.width() / 2) - (mInnerWidth / 2); 87 final int t = bounds.top + (bounds.height() / 2) - (mInnerHeight / 2);
|
/frameworks/minikin/libs/minikin/ |
H A D | Layout.cpp | 870 void Layout::getBounds(MinikinRect* bounds) { argument 871 bounds->set(mBounds);
|
H A D | MinikinFontFreeType.cpp | 56 void MinikinFontFreeType::GetBounds(MinikinRect* bounds, uint32_t glyph_id, argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Canvas_Delegate.java | 436 Rect bounds) { 445 bounds.left = rect.x; 446 bounds.top = rect.y; 447 bounds.right = rect.x + rect.width; 448 bounds.bottom = rect.y + rect.height; 975 RectF bounds = paintDelegate.measureText(text, index, count, null, 0, 977 float m = bounds.right - bounds.left; 435 native_getClipBounds(long nativeCanvas, Rect bounds) argument
|
H A D | Paint_Delegate.java | 607 RectF bounds = delegate.measureText(text, index, count, null, 0, bidiFlags); 608 return bounds.right - bounds.left; 646 RectF bounds = delegate.measureText(text, start, end - start + 1, null, 0, bidiFlags); 647 float res = bounds.right - bounds.left; 973 RectF bounds = delegate.measureText(text, index, count, widths, 0, bidiFlags); 974 return ((int) (bounds.right - bounds.left)); 1010 RectF bounds 1062 nativeGetStringBounds(long nativePaint, long native_typeface, String text, int start, int end, int bidiFlags, Rect bounds) argument 1069 nativeGetCharArrayBounds(long nativePaint, long native_typeface, char[] text, int index, int count, int bidiFlags, Rect bounds) argument [all...] |
H A D | Path_Delegate.java | 202 /*package*/ static void native_computeBounds(long nPath, RectF bounds) { argument 208 pathDelegate.fillBounds(bounds); 565 * Fills the given {@link RectF} with the path bounds. 566 * @param bounds the RectF to be filled. 568 private void fillBounds(RectF bounds) { argument 570 bounds.left = (float)rect.getMinX(); 571 bounds.right = (float)rect.getMaxX(); 572 bounds.top = (float)rect.getMinY(); 573 bounds.bottom = (float)rect.getMaxY();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | FakeShadowDrawable.java | 105 protected void onBoundsChange(Rect bounds) { argument 106 super.onBoundsChange(bounds); 265 private void buildComponents(Rect bounds) { argument 270 mCardBounds.set(bounds.left + mMaxShadowSize, bounds.top + verticalOffset, 271 bounds.right - mMaxShadowSize, bounds.bottom - verticalOffset);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | BarTransitions.java | 168 protected void onBoundsChange(Rect bounds) { argument 169 super.onBoundsChange(bounds); 170 mGradient.setBounds(bounds);
|