/frameworks/base/core/java/android/view/ |
D | Gravity.java | 138 public static void apply(int gravity, int w, int h, Rect container, Rect outRect) { in apply() argument 139 apply(gravity, w, h, container, 0, 0, outRect); in apply() 160 Rect outRect, int layoutDirection) { in apply() argument 162 apply(absGravity, w, h, container, 0, 0, outRect); in apply() 187 int xAdj, int yAdj, Rect outRect) { in apply() argument 190 outRect.left = container.left in apply() 192 outRect.right = outRect.left + w; in apply() 195 if (outRect.left < container.left) { in apply() 196 outRect.left = container.left; in apply() 198 if (outRect.right > container.right) { in apply() [all …]
|
D | ActionMode.java | 360 public void onGetContentRect(ActionMode mode, View view, Rect outRect) { in onGetContentRect() argument 362 outRect.set(0, 0, view.getWidth(), view.getHeight()); in onGetContentRect() 364 outRect.set(0, 0, 0, 0); in onGetContentRect()
|
D | Display.java | 579 public void getOverscanInsets(Rect outRect) { in getOverscanInsets() argument 582 outRect.set(mDisplayInfo.overscanLeft, mDisplayInfo.overscanTop, in getOverscanInsets()
|
D | View.java | 5484 public void getHotspotBounds(Rect outRect) { in getHotspotBounds() argument 5487 background.getHotspotBounds(outRect); in getHotspotBounds() 5489 getBoundsOnScreen(outRect); in getHotspotBounds() 6088 public void getBoundsOnScreen(Rect outRect) { in getBoundsOnScreen() argument 6089 getBoundsOnScreen(outRect, false); in getBoundsOnScreen() 6099 public void getBoundsOnScreen(Rect outRect, boolean clipToParent) { in getBoundsOnScreen() argument 6142 outRect.set((int) (position.left + 0.5f), (int) (position.top + 0.5f), in getBoundsOnScreen() 9687 public void getWindowVisibleDisplayFrame(Rect outRect) { 9690 mAttachInfo.mSession.getDisplayFrame(mAttachInfo.mWindow, outRect); 9698 outRect.left += insets.left; [all …]
|
/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
D | BitmapUtils.java | 60 final Rect outRect) { in calculateCroppedSrcRect() argument 80 outRect.left = (int) (horizSliceFrac * (srcW - srcCroppedW)); in calculateCroppedSrcRect() 81 outRect.right = outRect.left + srcCroppedW; in calculateCroppedSrcRect() 93 outRect.top = centerV - srcCroppedH / 2; in calculateCroppedSrcRect() 94 outRect.bottom = outRect.top + srcCroppedH; in calculateCroppedSrcRect() 105 Rect outRect) { in calculateCroppedSrcRect() argument 106 calculateCroppedSrcRect(srcW, srcH, dstW, dstH, Integer.MAX_VALUE, outRect); in calculateCroppedSrcRect() 110 int sampleSize, Rect outRect) { in calculateCroppedSrcRect() argument 123 outRect.left = (srcW - srcCroppedW) / 2; in calculateCroppedSrcRect() 124 outRect.right = outRect.left + srcCroppedW; in calculateCroppedSrcRect() [all …]
|
/frameworks/support/v4/java/android/support/v4/view/ |
D | GravityCompat.java | 30 void apply(int gravity, int w, int h, Rect container, Rect outRect, int layoutDirection); in apply() argument 32 Rect outRect, int layoutDirection); in apply() argument 44 public void apply(int gravity, int w, int h, Rect container, Rect outRect, in apply() argument 46 Gravity.apply(gravity, w, h, container, outRect); in apply() 51 Rect outRect, int layoutDirection) { in apply() argument 52 Gravity.apply(gravity, w, h, container, xAdj, yAdj, outRect); in apply() 69 public void apply(int gravity, int w, int h, Rect container, Rect outRect, in apply() argument 71 GravityCompatJellybeanMr1.apply(gravity, w, h, container, outRect, layoutDirection); in apply() 76 Rect outRect, int layoutDirection) { in apply() argument 77 GravityCompatJellybeanMr1.apply(gravity, w, h, container, xAdj, yAdj, outRect, in apply() [all …]
|
D | ViewPager.java | 2667 private Rect getChildRectInPagerCoordinates(Rect outRect, View child) { 2668 if (outRect == null) { 2669 outRect = new Rect(); 2672 outRect.set(0, 0, 0, 0); 2673 return outRect; 2675 outRect.left = child.getLeft(); 2676 outRect.right = child.getRight(); 2677 outRect.top = child.getTop(); 2678 outRect.bottom = child.getBottom(); 2683 outRect.left += group.getLeft(); [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | ExpandableView.java | 346 public void getDrawingRect(Rect outRect) { in getDrawingRect() argument 347 super.getDrawingRect(outRect); in getDrawingRect() 348 outRect.left += getTranslationX(); in getDrawingRect() 349 outRect.right += getTranslationX(); in getDrawingRect() 350 outRect.bottom = (int) (outRect.top + getTranslationY() + getActualHeight()); in getDrawingRect() 351 outRect.top += getTranslationY() + getClipTopAmount(); in getDrawingRect() 355 public void getBoundsOnScreen(Rect outRect, boolean clipToParent) { in getBoundsOnScreen() argument 356 super.getBoundsOnScreen(outRect, clipToParent); in getBoundsOnScreen() 357 outRect.bottom = outRect.top + getActualHeight(); in getBoundsOnScreen() 358 outRect.top += getClipTopOptimization(); in getBoundsOnScreen()
|
D | DismissViewButton.java | 111 public void getDrawingRect(Rect outRect) { in getDrawingRect() argument 112 super.getDrawingRect(outRect); in getDrawingRect() 115 outRect.left += translationX; in getDrawingRect() 116 outRect.right += translationX; in getDrawingRect() 117 outRect.top += translationY; in getDrawingRect() 118 outRect.bottom += translationY; in getDrawingRect()
|
/frameworks/support/v4/jellybean-mr1/android/support/v4/view/ |
D | GravityCompatJellybeanMr1.java | 29 public static void apply(int gravity, int w, int h, Rect container, Rect outRect, in apply() argument 31 Gravity.apply(gravity, w, h, container, outRect, layoutDirection); in apply() 35 Rect outRect, int layoutDirection) { in apply() argument 36 Gravity.apply(gravity, w, h, container, xAdj, yAdj, outRect, layoutDirection); in apply()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplaySettings.java | 65 public void getOverscanLocked(String name, String uniqueId, Rect outRect) { in getOverscanLocked() argument 73 outRect.left = entry.overscanLeft; in getOverscanLocked() 74 outRect.top = entry.overscanTop; in getOverscanLocked() 75 outRect.right = entry.overscanRight; in getOverscanLocked() 76 outRect.bottom = entry.overscanBottom; in getOverscanLocked() 78 outRect.set(0, 0, 0, 0); in getOverscanLocked()
|
/frameworks/support/v4/api21/android/support/v4/graphics/drawable/ |
D | RoundedBitmapDrawable21.java | 52 Rect bounds, Rect outRect) { in gravityCompatApply() argument 54 bounds, outRect, View.LAYOUT_DIRECTION_LTR); in gravityCompatApply()
|
/frameworks/base/libs/hwui/ |
D | Outline.h | 94 bool getAsRoundRect(Rect* outRect, float* outRadius) const { in getAsRoundRect() argument 96 outRect->set(mBounds); in getAsRoundRect()
|
D | RenderProperties.h | 544 void getClippingRectForFlags(uint32_t flags, Rect* outRect) const { in getClippingRectForFlags() argument 546 outRect->set(0, 0, getWidth(), getHeight()); in getClippingRectForFlags() 548 outRect->intersect(mPrimitiveFields.mClipBounds); in getClippingRectForFlags() 551 outRect->set(mPrimitiveFields.mClipBounds); in getClippingRectForFlags()
|
D | SkiaCanvas.cpp | 77 virtual bool getClipBounds(SkRect* outRect) const override; 389 bool SkiaCanvas::getClipBounds(SkRect* outRect) const { in getClipBounds() 398 if (outRect) { in getClipBounds() 399 outRect->setEmpty(); in getClipBounds() 404 if (NULL != outRect) { in getClipBounds() 406 inverse.mapRect(outRect, r); in getClipBounds()
|
D | DisplayListCanvas.cpp | 189 bool DisplayListCanvas::getClipBounds(SkRect* outRect) const { in getClipBounds() 191 *outRect = SkRect::MakeLTRB(bounds.left, bounds.top, bounds.right, bounds.bottom); in getClipBounds() 192 return !(outRect->isEmpty()); in getClipBounds()
|
D | Canvas.h | 94 virtual bool getClipBounds(SkRect* outRect) const = 0;
|
/frameworks/support/v4/java/android/support/v4/graphics/drawable/ |
D | RoundedBitmapDrawableFactory.java | 56 Rect bounds, Rect outRect) { in gravityCompatApply() argument 58 bounds, outRect, ViewCompat.LAYOUT_DIRECTION_LTR); in gravityCompatApply()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | DrawableWrapper.java | 213 public void getHotspotBounds(@NonNull Rect outRect) { in getHotspotBounds() argument 215 mDrawable.getHotspotBounds(outRect); in getHotspotBounds() 217 outRect.set(getBounds()); in getHotspotBounds()
|
D | LayerDrawable.java | 1221 public void getHotspotBounds(Rect outRect) { in getHotspotBounds() argument 1223 outRect.set(mHotspotBounds); in getHotspotBounds() 1225 super.getHotspotBounds(outRect); in getHotspotBounds() 1426 final Rect outRect = mTmpOutRect; in updateLayerBounds() local 1465 Gravity.apply(gravity, w, h, container, outRect, layoutDirection); in updateLayerBounds() 1466 d.setBounds(outRect); in updateLayerBounds()
|
D | DrawableContainer.java | 305 public void getHotspotBounds(Rect outRect) { in getHotspotBounds() argument 307 outRect.set(mHotspotBounds); in getHotspotBounds() 309 super.getHotspotBounds(outRect); in getHotspotBounds()
|
D | Drawable.java | 629 public void getHotspotBounds(Rect outRect) { in getHotspotBounds() argument 630 outRect.set(getBounds()); in getHotspotBounds()
|
D | RippleDrawable.java | 638 public void getHotspotBounds(Rect outRect) { in getHotspotBounds() argument 639 outRect.set(mHotspotBounds); in getHotspotBounds()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ViewPager.java | 2540 private Rect getChildRectInPagerCoordinates(Rect outRect, View child) { 2541 if (outRect == null) { 2542 outRect = new Rect(); 2545 outRect.set(0, 0, 0, 0); 2546 return outRect; 2548 outRect.left = child.getLeft(); 2549 outRect.right = child.getRight(); 2550 outRect.top = child.getTop(); 2551 outRect.bottom = child.getBottom(); 2556 outRect.left += group.getLeft(); [all …]
|
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/ |
D | RoundedBitmapDrawable.java | 217 Rect bounds, Rect outRect) { in gravityCompatApply() argument
|