Searched defs:bounds (Results 1 - 25 of 142) sorted by last modified time

123456

/frameworks/support/v4/api21/android/support/v4/graphics/drawable/
H A DRoundedBitmapDrawable21.java52 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 DDrawableWrapperDonut.java92 protected void onBoundsChange(Rect bounds) { argument
94 mDrawable.setBounds(bounds);
H A DRoundedBitmapDrawable.java128 * Get the gravity used to position/stretch the bitmap within its bounds.
139 * Set the gravity used to position/stretch the bitmap within its bounds.
217 Rect bounds, Rect outRect) {
337 protected void onBoundsChange(Rect bounds) { argument
338 super.onBoundsChange(bounds);
216 gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight, Rect bounds, Rect outRect) argument
/frameworks/support/v4/ics/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompatIcs.java144 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 DRoundedBitmapDrawableFactory.java56 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 DAccessibilityNodeInfoCompat.java520 public void setBoundsInParent(Object info, Rect bounds); argument
522 public void setBoundsInScreen(Object info, Rect bounds); argument
835 public void setBoundsInParent(Object info, Rect bounds) { argument
840 public void setBoundsInScreen(Object info, Rect bounds) { argument
1396 public void setBoundsInParent(Object info, Rect bounds) { argument
1397 AccessibilityNodeInfoCompatIcs.setBoundsInParent(info, bounds);
1401 public void setBoundsInScreen(Object info, Rect bounds) { argument
1402 AccessibilityNodeInfoCompatIcs.setBoundsInScreen(info, bounds);
2738 * Gets the node bounds in parent coordinates.
2740 * @param outBounds The output node bounds
2757 setBoundsInParent(Rect bounds) argument
2781 setBoundsInScreen(Rect bounds) argument
[all...]
/frameworks/support/v4/java/android/support/v4/widget/
H A DMaterialProgressDrawable.java227 final Rect bounds = getBounds();
229 c.rotate(mRotation, bounds.exactCenterX(), bounds.exactCenterY());
230 mRing.draw(c, bounds);
528 public void draw(Canvas c, Rect bounds) { argument
530 arcBounds.set(bounds);
540 drawTriangle(c, startAngle, sweepAngle, bounds);
545 c.drawCircle(bounds.exactCenterX(), bounds.exactCenterY(), bounds
550 drawTriangle(Canvas c, float startAngle, float sweepAngle, Rect bounds) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/
H A DDrawableWrapper.java51 protected void onBoundsChange(Rect bounds) { argument
52 mDrawable.setBounds(bounds);
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
H A DMenuPopup.java63 * Specifies the anchor-relative bounds of the popup's transition
66 * @param bounds anchor-relative bounds
68 public void setEpicenterBounds(Rect bounds) { argument
69 mEpicenterBounds = bounds;
73 * @return anchor-relative bounds of the popup's transition epicenter
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DListPopupWindow.java143 * Optional anchor-relative bounds to be used as the transition epicenter.
144 * When {@code null}, the anchor bounds are used as the epicenter.
501 * Specifies the anchor-relative bounds of the popup's transition
504 * @param bounds anchor-relative bounds
507 public void setEpicenterBounds(Rect bounds) { argument
508 mEpicenterBounds = bounds;
1086 * outside of its bounds will open the popup window. Lifting will select the
/frameworks/support/v7/cardview/api21/android/support/v7/widget/
H A DRoundRectDrawable.java104 private void updateBounds(Rect bounds) { argument
105 if (bounds == null) {
106 bounds = getBounds();
108 mBoundsF.set(bounds.left, bounds.top, bounds.right, bounds.bottom);
109 mBoundsI.set(bounds);
114 // to make sure they have same bounds.
120 protected void onBoundsChange(Rect bounds) { argument
[all...]
/frameworks/support/v7/cardview/eclair-mr1/android/support/v7/widget/
H A DRoundRectDrawableWithShadow.java138 protected void onBoundsChange(Rect bounds) { argument
139 super.onBoundsChange(bounds);
334 private void buildComponents(Rect bounds) { argument
339 mCardBounds.set(bounds.left + mRawMaxShadowSize, bounds.top + verticalOffset,
340 bounds.right - mRawMaxShadowSize, bounds.bottom - verticalOffset);
390 void drawRoundRect(Canvas canvas, RectF bounds, float cornerRadius, Paint paint); argument
/frameworks/rs/
H A DrsFont.cpp139 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
745 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
783 measureText(const char *text, uint32_t len, Font::Rect *bounds) argument
[all...]
/frameworks/support/design/base/android/support/design/widget/
H A DCircularBorderDrawable.java96 // We need to inset the oval bounds by half the border width. This is because stroke draws
153 protected void onBoundsChange(Rect bounds) { argument
H A DShadowDrawableWrapper.java119 protected void onBoundsChange(Rect bounds) { argument
319 private void buildComponents(Rect bounds) { argument
324 mContentBounds.set(bounds.left + mRawMaxShadowSize, bounds.top + verticalOffset,
325 bounds.right - mRawMaxShadowSize, bounds.bottom - verticalOffset);
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/
H A DAnimatedVectorDrawableCompat.java203 protected void onBoundsChange(Rect bounds) { argument
205 mDelegateDrawable.setBounds(bounds);
208 mAnimatedVectorState.mVectorDrawable.setBounds(bounds);
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
H A DVectorDrawableCommon.java78 protected void onBoundsChange(Rect bounds) { argument
80 mDelegateDrawable.setBounds(bounds);
83 super.onBoundsChange(bounds);
H A DVectorDrawableCompat.java154 // We will offset the bounds for drawBitmap, so copyBounds() here instead
167 // size first. This bitmap size is determined by the bounds and the
667 protected void onBoundsChange(Rect bounds) { argument
669 mDelegateDrawable.setBounds(bounds);
800 // The bitmap's size is the same as the bounds.
/frameworks/native/include/ui/
H A DRegion.h52 inline Rect bounds() const { return getBounds(); } function in class:android::Region
57 // the region becomes its bounds
175 // bounds of the region. However, if the region is
/frameworks/native/libs/ui/
H A DGraphicBufferMapper.cpp81 uint32_t usage, const Rect& bounds, void** vaddr)
87 bounds.left, bounds.top, bounds.width(), bounds.height(),
95 uint32_t usage, const Rect& bounds, android_ycbcr *ycbcr)
105 bounds.left, bounds.top, bounds.width(), bounds
80 lock(buffer_handle_t handle, uint32_t usage, const Rect& bounds, void** vaddr) argument
94 lockYCbCr(buffer_handle_t handle, uint32_t usage, const Rect& bounds, android_ycbcr *ycbcr) argument
123 lockAsync(buffer_handle_t handle, uint32_t usage, const Rect& bounds, void** vaddr, int fenceFd) argument
147 lockAsyncYCbCr(buffer_handle_t handle, uint32_t usage, const Rect& bounds, android_ycbcr *ycbcr, int fenceFd) argument
[all...]
H A DRegion.cpp201 outputRegion.mStorage.add(r.getBounds()); // to make region valid, mStorage must end with bounds
223 const Rect bounds(getBounds());
225 mStorage.add(bounds);
420 Rect bounds; member in class:android::Region::rasterizer
428 : bounds(INT_MAX, 0, INT_MIN, 0), storage(reg.mStorage), head(), tail(), cur() {
451 bounds.top = storage.itemAt(0).top;
452 bounds.bottom = storage.top().bottom;
457 bounds.left = 0;
458 bounds.right = 0;
460 storage.add(bounds);
[all...]
/frameworks/native/opengl/libagl/
H A Dcontext.h192 GLsizei bounds; member in struct:android::gl::array_t
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.h168 inline Rect bounds() const { return getBounds(); } function in class:android::DisplayDevice
H A DLayer.cpp388 // subtract the transparent region and snap to the bounds
429 // display bounds.
434 // subtract the transparent region and snap to the bounds
565 // display bounds.
794 // Subtract the transparent region and snap to the bounds
795 Rect bounds = reduce(win, s.activeTransparentRegion); local
796 Rect frame(s.active.transform.transform(bounds));
843 // subtract the transparent region and snap to the bounds
844 Rect bounds = reduce(win, s.activeTransparentRegion); local
845 Rect frame(s.active.transform.transform(bounds));
[all...]
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DExtendedBitmapDrawable.java109 Rect bounds = mOpts.placeholder.getBounds();
110 if (bounds.width() != 0) {
111 placeholderWidth = bounds.width();
115 if (bounds.height() != 0) {
116 placeholderHeight = bounds.height();
272 final Rect bounds = getBounds();
273 if (bounds.isEmpty()) {
320 protected void onBoundsChange(Rect bounds) { argument
321 super.onBoundsChange(bounds);
322 if (mPlaceholder != null) mPlaceholder.setBounds(bounds);
[all...]

Completed in 595 milliseconds

123456