Searched defs:outRect (Results 1 - 21 of 21) sorted by relevance

/frameworks/opt/bitmap/src/com/android/bitmap/util/
H A DBitmapUtils.java25 * parameters. The output rectangle to use is written in the given outRect.
52 * @param outRect a Rect to write the resulting crop coordinates into
56 final boolean absoluteFrac, final float verticalMultiplier, final Rect outRect) {
76 outRect.left = (srcW - srcCroppedW) / 2;
77 outRect.right = outRect.left + srcCroppedW;
89 outRect.top = centerV - srcCroppedH / 2;
90 outRect.bottom = outRect.top + srcCroppedH;
98 * @param outRect
54 calculateCroppedSrcRect(final int srcW, final int srcH, final int dstW, final int dstH, final int dstSliceH, int sampleSize, final float vertSliceFrac, final boolean absoluteFrac, final float verticalMultiplier, final Rect outRect) argument
100 calculateCroppedSrcRect(int srcW, int srcH, int dstW, int dstH, Rect outRect) argument
105 calculateCroppedSrcRect(int srcW, int srcH, int dstW, int dstH, int sampleSize, Rect outRect) argument
[all...]
/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/jellybean-mr1/android/support/v4/view/
H A DGravityCompatJellybeanMr1.java29 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/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DDismissViewButton.java112 * @param outRect The (scrolled) drawing bounds of the view.
115 public void getDrawingRect(Rect outRect) { argument
116 super.getDrawingRect(outRect);
119 outRect.left += translationX;
120 outRect.right += translationX;
121 outRect.top += translationY;
122 outRect.bottom += translationY;
H A DExpandableView.java290 * @param outRect The (scrolled) drawing bounds of the view.
293 public void getDrawingRect(Rect outRect) { argument
294 super.getDrawingRect(outRect);
295 outRect.left += getTranslationX();
296 outRect.right += getTranslationX();
297 outRect.bottom = (int) (outRect.top + getTranslationY() + getActualHeight());
298 outRect.top += getTranslationY() + getClipTopAmount();
/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplaySettings.java64 public void getOverscanLocked(String name, String uniqueId, Rect outRect) { argument
72 outRect.left = entry.overscanLeft;
73 outRect.top = entry.overscanTop;
74 outRect.right = entry.overscanRight;
75 outRect.bottom = entry.overscanBottom;
77 outRect.set(0, 0, 0, 0);
/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/
H A DGravityCompat.java30 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 DViewPager.java2584 private Rect getChildRectInPagerCoordinates(Rect outRect, View child) { argument
2585 if (outRect == null) {
2586 outRect = new Rect();
2589 outRect.set(0, 0, 0, 0);
2590 return outRect;
2592 outRect.left = child.getLeft();
2593 outRect.right = child.getRight();
2594 outRect.top = child.getTop();
2595 outRect.bottom = child.getBottom();
2600 outRect
[all...]
/frameworks/base/libs/hwui/
H A DOutline.h88 bool getAsRoundRect(Rect* outRect, float* outRadius) const { argument
90 outRect->set(mBounds);
/frameworks/base/core/java/android/view/
H A DGravity.java135 * @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 DDisplay.java552 public void getOverscanInsets(Rect outRect) { argument
555 outRect.set(mDisplayInfo.overscanLeft, mDisplayInfo.overscanTop,
H A DView.java4968 * Populates <code>outRect</code> with the hotspot bounds. By default,
4971 * @param outRect rect to populate with hotspot bounds
4974 public void getHotspotBounds(Rect outRect) { argument
4977 background.getHotspotBounds(outRect);
4979 getBoundsOnScreen(outRect);
5558 * @param outRect The output location
5561 public void getBoundsOnScreen(Rect outRect) { argument
5562 getBoundsOnScreen(outRect, false);
5568 * @param outRect The output location
5572 public void getBoundsOnScreen(Rect outRect, boolea argument
8831 getWindowVisibleDisplayFrame(Rect outRect) argument
10022 getDrawingRect(Rect outRect) argument
11254 getHitRect(Rect outRect) argument
[all...]
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/
H A DRoundedBitmapDrawable.java214 Rect bounds, Rect outRect) {
213 gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight, Rect bounds, Rect outRect) argument
/frameworks/base/graphics/java/android/graphics/drawable/
H A DInsetDrawable.java282 public void getHotspotBounds(Rect outRect) { argument
283 mState.mDrawable.getHotspotBounds(outRect);
H A DDrawable.java548 public void getHotspotBounds(Rect outRect) { argument
549 outRect.set(getBounds());
H A DLayerDrawable.java621 public void getHotspotBounds(Rect outRect) { argument
623 outRect.set(mHotspotBounds);
625 super.getHotspotBounds(outRect);
H A DRippleDrawable.java582 public void getHotspotBounds(Rect outRect) { argument
583 outRect.set(mHotspotBounds);
H A DDrawableContainer.java306 public void getHotspotBounds(Rect outRect) { argument
308 outRect.set(mHotspotBounds);
310 super.getHotspotBounds(outRect);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLES20Canvas.java592 private static void copyTextureCoordinates(BasicTexture texture, RectF outRect) { argument
603 outRect.set(left, top, right, bottom);
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DRecyclerView.java6026 * @param outRect The Rect to hold result values
6028 public void calculateItemDecorationsForChild(View child, Rect outRect) { argument
6030 outRect.set(0, 0, 0, 0);
6034 outRect.set(insets);
6866 public void getItemOffsets(Rect outRect, int itemPosition, RecyclerView parent) { argument
6867 outRect.set(0, 0, 0, 0);
6871 * Retrieve any offsets for the given item. Each field of <code>outRect</code> specifies
6873 * The default implementation sets the bounds of outRect to 0 and returns.
6877 * all four fields of <code>outRect</code> (left, top, right, bottom) to zero
6885 * @param outRect Rec
6890 getItemOffsets(Rect outRect, View view, RecyclerView parent, State state) argument
[all...]

Completed in 3184 milliseconds