/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
H A D | BitmapUtils.java | 25 * rectangle to use is written in the given outRect. 55 * @param outRect a Rect to write the resulting crop coordinates into 60 final Rect outRect) { 80 outRect.left = (int) (horizSliceFrac * (srcW - srcCroppedW)); 81 outRect.right = outRect.left + srcCroppedW; 93 outRect.top = centerV - srcCroppedH / 2; 94 outRect.bottom = outRect.top + srcCroppedH; 102 * @param outRect 57 calculateCroppedSrcRect(final int srcW, final int srcH, final int dstW, final int dstH, final int dstSliceH, int sampleSize, final float horizSliceFrac, final float vertSliceFrac, final boolean absoluteFrac, final float verticalMultiplier, final Rect outRect) argument 104 calculateCroppedSrcRect(int srcW, int srcH, int dstW, int dstH, Rect outRect) argument 109 calculateCroppedSrcRect(int srcW, int srcH, int dstW, int dstH, int sampleSize, Rect outRect) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | Gravity.java | 135 * @param outRect Receives the computed frame of the object in its 138 public static void apply(int gravity, int w, int h, Rect container, Rect outRect) { argument 139 apply(gravity, w, h, container, 0, 0, outRect); 152 * @param outRect Receives the computed frame of the object in its 160 Rect outRect, int layoutDirection) { 162 apply(absGravity, w, h, container, 0, 0, outRect); 183 * @param outRect Receives the computed frame of the object in its 187 int xAdj, int yAdj, Rect outRect) { 190 outRect.left = container.left 192 outRect 159 apply(int gravity, int w, int h, Rect container, Rect outRect, int layoutDirection) argument 186 apply(int gravity, int w, int h, Rect container, int xAdj, int yAdj, Rect outRect) argument 296 apply(int gravity, int w, int h, Rect container, int xAdj, int yAdj, Rect outRect, int layoutDirection) argument [all...] |
H A D | ActionMode.java | 356 * @param outRect The Rect to be populated with the content position. Use this to specify 360 public void onGetContentRect(ActionMode mode, View view, Rect outRect) { argument 362 outRect.set(0, 0, view.getWidth(), view.getHeight()); 364 outRect.set(0, 0, 0, 0);
|
H A D | Display.java | 584 public void getOverscanInsets(Rect outRect) { argument 587 outRect.set(mDisplayInfo.overscanLeft, mDisplayInfo.overscanTop,
|
H A D | View.java | 5484 * Populates <code>outRect</code> with the hotspot bounds. By default, 5487 * @param outRect rect to populate with hotspot bounds 5490 public void getHotspotBounds(Rect outRect) { argument 5493 background.getHotspotBounds(outRect); 5495 getBoundsOnScreen(outRect); 6091 * @param outRect The output location 6094 public void getBoundsOnScreen(Rect outRect) { argument 6095 getBoundsOnScreen(outRect, false); 6101 * @param outRect The output location 6105 public void getBoundsOnScreen(Rect outRect, boolea argument 9693 getWindowVisibleDisplayFrame(Rect outRect) argument 10906 getDrawingRect(Rect outRect) argument 12168 getHitRect(Rect outRect) argument 15752 getClipBounds(Rect outRect) argument [all...] |
/frameworks/support/v4/jellybean-mr1/android/support/v4/view/ |
H A D | GravityCompatJellybeanMr1.java | 29 public static void apply(int gravity, int w, int h, Rect container, Rect outRect, argument 31 Gravity.apply(gravity, w, h, container, outRect, layoutDirection); 35 Rect outRect, int layoutDirection) { 36 Gravity.apply(gravity, w, h, container, xAdj, yAdj, outRect, layoutDirection); 34 apply(int gravity, int w, int h, Rect container, int xAdj, int yAdj, Rect outRect, int layoutDirection) argument
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | GravityCompat.java | 30 void apply(int gravity, int w, int h, Rect container, Rect outRect, int layoutDirection); argument 32 Rect outRect, int layoutDirection); 44 public void apply(int gravity, int w, int h, Rect container, Rect outRect, argument 46 Gravity.apply(gravity, w, h, container, outRect); 51 Rect outRect, int layoutDirection) { 52 Gravity.apply(gravity, w, h, container, xAdj, yAdj, outRect); 69 public void apply(int gravity, int w, int h, Rect container, Rect outRect, argument 71 GravityCompatJellybeanMr1.apply(gravity, w, h, container, outRect, layoutDirection); 76 Rect outRect, int layoutDirection) { 77 GravityCompatJellybeanMr1.apply(gravity, w, h, container, xAdj, yAdj, outRect, 31 apply(int gravity, int w, int h, Rect container, int xAdj, int yAdj, Rect outRect, int layoutDirection) argument 50 apply(int gravity, int w, int h, Rect container, int xAdj, int yAdj, Rect outRect, int layoutDirection) argument 75 apply(int gravity, int w, int h, Rect container, int xAdj, int yAdj, Rect outRect, int layoutDirection) argument 130 apply(int gravity, int w, int h, Rect container, Rect outRect, int layoutDirection) argument 160 apply(int gravity, int w, int h, Rect container, int xAdj, int yAdj, Rect outRect, int layoutDirection) argument [all...] |
H A D | ViewPager.java | 2667 private Rect getChildRectInPagerCoordinates(Rect outRect, View child) { argument 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 [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | DismissViewButton.java | 108 * @param outRect The (scrolled) drawing bounds of the view. 111 public void getDrawingRect(Rect outRect) { argument 112 super.getDrawingRect(outRect); 115 outRect.left += translationX; 116 outRect.right += translationX; 117 outRect.top += translationY; 118 outRect.bottom += translationY;
|
H A D | ExpandableView.java | 343 * @param outRect The (scrolled) drawing bounds of the view. 346 public void getDrawingRect(Rect outRect) { argument 347 super.getDrawingRect(outRect); 348 outRect.left += getTranslationX(); 349 outRect.right += getTranslationX(); 350 outRect.bottom = (int) (outRect.top + getTranslationY() + getActualHeight()); 351 outRect.top += getTranslationY() + getClipTopAmount(); 355 public void getBoundsOnScreen(Rect outRect, boolean clipToParent) { argument 356 super.getBoundsOnScreen(outRect, clipToParen [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/base/libs/hwui/ |
H A D | Outline.h | 94 bool getAsRoundRect(Rect* outRect, float* outRadius) const { argument 96 outRect->set(mBounds);
|
H A D | RenderProperties.h | 544 void getClippingRectForFlags(uint32_t flags, Rect* outRect) const { 546 outRect->set(0, 0, getWidth(), getHeight()); 548 outRect->intersect(mPrimitiveFields.mClipBounds); 551 outRect->set(mPrimitiveFields.mClipBounds);
|
H A D | Canvas.h | 94 virtual bool getClipBounds(SkRect* outRect) const = 0;
|
H A D | SkiaCanvas.cpp | 77 virtual bool getClipBounds(SkRect* outRect) const override; 389 bool SkiaCanvas::getClipBounds(SkRect* outRect) const { 398 if (outRect) { 399 outRect->setEmpty(); 404 if (NULL != outRect) { 406 inverse.mapRect(outRect, r);
|
H A D | DisplayListCanvas.cpp | 189 bool DisplayListCanvas::getClipBounds(SkRect* outRect) const { 191 *outRect = SkRect::MakeLTRB(bounds.left, bounds.top, bounds.right, bounds.bottom); 192 return !(outRect->isEmpty());
|
/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/base/services/core/java/com/android/server/wm/ |
H A D | DisplaySettings.java | 65 public void getOverscanLocked(String name, String uniqueId, Rect outRect) { argument 73 outRect.left = entry.overscanLeft; 74 outRect.top = entry.overscanTop; 75 outRect.right = entry.overscanRight; 76 outRect.bottom = entry.overscanBottom; 78 outRect.set(0, 0, 0, 0);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | DrawableWrapper.java | 213 public void getHotspotBounds(@NonNull Rect outRect) { argument 215 mDrawable.getHotspotBounds(outRect); 217 outRect.set(getBounds());
|
H A D | LayerDrawable.java | 1221 public void getHotspotBounds(Rect outRect) { argument 1223 outRect.set(mHotspotBounds); 1225 super.getHotspotBounds(outRect); 1426 final Rect outRect = mTmpOutRect; 1465 Gravity.apply(gravity, w, h, container, outRect, layoutDirection); 1466 d.setBounds(outRect);
|
H A D | Drawable.java | 624 * Populates {@code outRect} with the hotspot bounds. 626 * @param outRect the rect to populate with the hotspot bounds 629 public void getHotspotBounds(Rect outRect) { argument 630 outRect.set(getBounds());
|
H A D | RippleDrawable.java | 644 public void getHotspotBounds(Rect outRect) { argument 645 outRect.set(mHotspotBounds);
|
H A D | DrawableContainer.java | 305 public void getHotspotBounds(Rect outRect) { argument 307 outRect.set(mHotspotBounds); 309 super.getHotspotBounds(outRect);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ViewPager.java | 2540 private Rect getChildRectInPagerCoordinates(Rect outRect, View child) { argument 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 [all...] |
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/ |
H A D | RoundedBitmapDrawable.java | 217 Rect bounds, Rect outRect) { 216 gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight, Rect bounds, Rect outRect) argument
|