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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DDismissViewButton.java51 * @param outRect The (scrolled) drawing bounds of the view.
54 public void getDrawingRect(Rect outRect) { argument
55 super.getDrawingRect(outRect);
58 outRect.left += translationX;
59 outRect.right += translationX;
60 outRect.top += translationY;
61 outRect.bottom += translationY;
/frameworks/base/core/java/com/android/internal/widget/
H A DNotificationExpandButton.java55 public void getBoundsOnScreen(Rect outRect, boolean clipToParent) { argument
56 super.getBoundsOnScreen(outRect, clipToParent);
57 extendRectToMinTouchSize(outRect);
/frameworks/opt/bitmap/src/com/android/bitmap/util/
H A DBitmapUtils.java25 * 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/support/core-utils/api21/android/support/v4/graphics/drawable/
H A DRoundedBitmapDrawable21.java54 Rect bounds, Rect outRect) {
56 bounds, outRect, View.LAYOUT_DIRECTION_LTR);
53 gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight, Rect bounds, Rect outRect) argument
/frameworks/base/core/java/com/android/internal/policy/
H A DDockedDividerUtils.java34 public static void calculateBoundsForPosition(int position, int dockSide, Rect outRect, argument
36 outRect.set(0, 0, displayWidth, displayHeight);
39 outRect.right = position;
42 outRect.bottom = position;
45 outRect.left = position + dividerSize;
48 outRect.top = position + dividerSize;
51 sanitizeStackBounds(outRect, dockSide == DOCKED_LEFT || dockSide == DOCKED_TOP);
/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplaySettings.java70 public void getOverscanLocked(String name, String uniqueId, Rect outRect) { argument
78 outRect.left = entry.overscanLeft;
79 outRect.top = entry.overscanTop;
80 outRect.right = entry.overscanRight;
81 outRect.bottom = entry.overscanBottom;
83 outRect.set(0, 0, 0, 0);
H A DPinnedStackController.java432 private void getInsetBounds(Rect outRect) { argument
436 outRect.set(mTmpInsets.left + mScreenEdgeInsets.x, mTmpInsets.top + mScreenEdgeInsets.y,
/frameworks/support/compat/java/android/support/v4/view/
H A DGravityCompat.java55 * @param outRect Receives the computed frame of the object in its
63 Rect outRect, int layoutDirection) {
65 Gravity.apply(gravity, w, h, container, outRect, layoutDirection);
67 Gravity.apply(gravity, w, h, container, outRect);
89 * @param outRect Receives the computed frame of the object in its
97 int xAdj, int yAdj, Rect outRect, int layoutDirection) {
99 Gravity.apply(gravity, w, h, container, xAdj, yAdj, outRect, layoutDirection);
101 Gravity.apply(gravity, w, h, container, xAdj, yAdj, outRect);
62 apply(int gravity, int w, int h, Rect container, Rect outRect, int layoutDirection) argument
96 apply(int gravity, int w, int h, Rect container, int xAdj, int yAdj, Rect outRect, int layoutDirection) argument
/frameworks/support/core-utils/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/v7/recyclerview/src/android/support/v7/widget/
H A DDividerItemDecoration.java168 public void getItemOffsets(Rect outRect, View view, RecyclerView parent, argument
171 outRect.set(0, 0, 0, 0);
175 outRect.set(0, 0, 0, mDivider.getIntrinsicHeight());
177 outRect.set(0, 0, mDivider.getIntrinsicWidth(), 0);
/frameworks/base/graphics/java/android/graphics/
H A DOutline.java216 * @param outRect the rect to populate with the outline bounds, if set
220 public boolean getRect(@NonNull Rect outRect) { argument
224 outRect.set(mRect);
/frameworks/base/libs/hwui/
H A DOutline.h117 bool getAsRoundRect(Rect* outRect, float* outRadius) const { argument
119 outRect->set(mBounds);
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/
H A DDividerItemDecoration.java123 public void getItemOffsets(Rect outRect, View view, RecyclerView parent, argument
126 outRect.bottom = mDividerHeight != 0 ? mDividerHeight : mDividerIntrinsicHeight;
/frameworks/base/core/java/android/view/
H A DActionMode.java356 * @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 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.java694 public void getOverscanInsets(Rect outRect) { argument
697 outRect.set(mDisplayInfo.overscanLeft, mDisplayInfo.overscanTop,
/frameworks/opt/setupwizard/library/eclair-mr1/src/com/android/setupwizardlib/util/
H A DLinkAccessibilityHelper.java294 private Rect getBoundsForSpan(ClickableSpan span, Rect outRect) { argument
296 outRect.setEmpty();
307 layout.getLineBounds(lineStart, outRect);
311 outRect.left = (int) Math.min(xStart, xEnd);
312 outRect.right = (int) Math.max(xStart, xEnd);
319 outRect.right = (int) xStart;
321 outRect.left = (int) xStart;
326 outRect.offset(mView.getTotalPaddingLeft(), mView.getTotalPaddingTop());
329 return outRect;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarWindowView.java495 public void onGetContentRect(ActionMode mode, View view, Rect outRect) { argument
497 ((ActionMode.Callback2) mWrapped).onGetContentRect(mode, view, outRect);
499 super.onGetContentRect(mode, view, outRect);
/frameworks/support/core-utils/gingerbread/android/support/v4/graphics/drawable/
H A DRoundedBitmapDrawable.java219 Rect bounds, Rect outRect) {
218 gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight, Rect bounds, Rect outRect) argument
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawableWrapper.java264 public void getHotspotBounds(@NonNull Rect outRect) { argument
266 mDrawable.getHotspotBounds(outRect);
268 outRect.set(getBounds());
H A DAdaptiveIconDrawable.java320 final Rect outRect = mTmpOutRect;
321 outRect.set(cX - insetWidth, cY - insetHeight, cX + insetWidth, cY + insetHeight);
323 d.setBounds(outRect);
632 public void getHotspotBounds(Rect outRect) { argument
634 outRect.set(mHotspotBounds);
636 super.getHotspotBounds(outRect);
H A DDrawable.java700 * Populates {@code outRect} with the hotspot bounds.
702 * @param outRect the rect to populate with the hotspot bounds
705 public void getHotspotBounds(@NonNull Rect outRect) { argument
706 outRect.set(getBounds());
H A DRippleDrawable.java643 public void getHotspotBounds(Rect outRect) { argument
644 outRect.set(mHotspotBounds);
/frameworks/support/v14/preference/src/android/support/v14/preference/
H A DPreferenceFragment.java807 public void getItemOffsets(Rect outRect, View view, RecyclerView parent, argument
810 outRect.bottom = mDividerHeight;
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DPreferenceFragmentCompat.java795 public void getItemOffsets(Rect outRect, View view, RecyclerView parent, argument
798 outRect.bottom = mDividerHeight;

Completed in 1381 milliseconds

12