/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | GridLayoutManager.java | 2420 public boolean requestChildRectangleOnScreen(RecyclerView parent, View view, Rect rect, argument 2422 if (DEBUG) Log.v(getTag(), "requestChildRectangleOnScreen " + view + " " + rect);
|
/frameworks/support/v4/api21/android/support/v4/view/ |
H A D | ViewCompatLollipop.java | 259 Rect rect = sThreadLocalRect.get(); 260 if (rect == null) { 261 rect = new Rect(); 262 sThreadLocalRect.set(rect); 264 rect.setEmpty(); 265 return rect;
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | DrawerLayout.java | 2350 final Rect rect = mTmpRect; 2352 src.getBoundsInParent(rect); 2353 dest.setBoundsInParent(rect); 2355 src.getBoundsInScreen(rect); 2356 dest.setBoundsInScreen(rect);
|
H A D | NestedScrollView.java | 1466 * If rect is off screen, scroll just enough to get it (or at least the 1469 * @param rect The rectangle. 1473 private boolean scrollToChildRect(Rect rect, boolean immediate) { argument 1474 final int delta = computeScrollDeltaToGetChildRectOnScreen(rect); 1491 * @param rect The rect. 1494 protected int computeScrollDeltaToGetChildRectOnScreen(Rect rect) { argument 1503 // leave room for top fading edge as long as rect isn't at very top 1504 if (rect.top > 0) { 1508 // leave room for bottom fading edge as long as rect is [all...] |
H A D | SlidingPaneLayout.java | 1613 final Rect rect = mTmpRect; 1615 src.getBoundsInParent(rect); 1616 dest.setBoundsInParent(rect); 1618 src.getBoundsInScreen(rect); 1619 dest.setBoundsInScreen(rect);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | SearchView.java | 886 private void getChildBoundsWithinSearchView(View view, Rect rect) { argument 891 rect.set(left, top, left + view.getWidth(), top + view.getHeight()); 1780 * view. This rect is used for initial hit testing. 1786 * view. This rect is used for event coordinate mapping. 1791 * mTargetBounds inflated to include some slop. This rect is to track whether the motion events
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/ |
H A D | ListPopupWindowTest.java | 133 final Rect rect = new Rect(); 138 mListPopupWindow.getBackground().getPadding(rect); 142 popupOnScreenXY[1] + rect.top); 182 final Rect rect = new Rect(); 184 mListPopupWindow.getBackground().getPadding(rect); 186 int emulatedTapX = popupOnScreenXY[0] - rect.left - 20; 188 rect.top + rect.bottom + 20;
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | RecyclerView.java | 2265 public boolean requestChildRectangleOnScreen(View child, Rect rect, boolean immediate) { argument 2266 return mLayout.requestChildRectangleOnScreen(this, child, rect, immediate); 8062 * @param outBounds A rect that will receive the bounds of the element including its 8257 * to bring the given rect into view, within the padded area of the RecyclerView.</p> 8260 * @param rect The rectangle in the child's coordinates the child 8266 public boolean requestChildRectangleOnScreen(RecyclerView parent, View child, Rect rect, argument 8272 final int childLeft = child.getLeft() + rect.left - child.getScrollX(); 8273 final int childTop = child.getTop() + rect.top - child.getScrollY(); 8274 final int childRight = childLeft + rect.width(); 8275 final int childBottom = childTop + rect [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | BaseWrapContentTest.java | 226 for (Rect rect : expected) { 227 boundingBox.union(rect); 463 Rect rect = new Rect(layoutManager.getDecoratedLeft(child) - lp.leftMargin, 468 rect.offset(mOffsetX, mOffsetY); 470 return rect;
|
H A D | RecyclerViewLayoutTest.java | 358 Rect rect = new Rect(); 359 mRecyclerView.getLayoutManager().getTransformedBoundingBox(child, true, rect); 360 return rect;
|
H A D | StaggeredGridLayoutManagerBaseConfigSetTest.java | 436 for (Rect rect : itemRectMap.values()) { 437 usedLayoutBounds.union(rect); 693 // offset rect
|
H A D | TestResizingRelayoutWithAutoMeasure.java | 116 Rect rect = endPositions.get(entry.getKey()); 117 assertThat("view for position " + entry.getKey() + " at" + entry.getValue(), rect, 119 assertThat("rect for position " + entry.getKey(), entry.getValue(), is(rect));
|
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/ |
H A D | FindRegion.java | 166 RectF rect = new RectF(); 167 rect.set(minx, miny, maxx, maxy); 168 return rect;
|
H A D | find_region.rs | 83 void calcBounds(rs_allocation xy, rs_allocation rect) { 85 rsSetElementAt_float2(rect, r.xy, 0); 86 rsSetElementAt_float2(rect, r.zw, 1);
|
/frameworks/support/design/base/android/support/design/widget/ |
H A D | CircularBorderDrawable.java | 182 final Rect rect = mRect; 183 copyBounds(rect); 185 final float borderRatio = mBorderWidth / rect.height(); 206 0, rect.top, 207 0, rect.bottom,
|
H A D | FloatingActionButtonImpl.java | 109 Rect rect = mTmpRect; 110 getPadding(rect); 111 onPaddingUpdated(rect); 112 mShadowViewDelegate.setShadowPadding(rect.left, rect.top, rect.right, rect.bottom); 115 abstract void getPadding(Rect rect); argument
|
/frameworks/support/design/eclair-mr1/android/support/design/widget/ |
H A D | FloatingActionButtonEclairMr1.java | 220 void getPadding(Rect rect) { argument 221 mShadowDrawable.getPadding(rect);
|
/frameworks/support/design/honeycomb/android/support/design/widget/ |
H A D | ViewGroupUtilsHoneycomb.java | 31 public static void offsetDescendantRect(ViewGroup group, View child, Rect rect) { argument 46 rectF.set(rect); 48 rect.set((int) (rectF.left + 0.5f), (int) (rectF.top + 0.5f),
|
/frameworks/support/design/lollipop/android/support/design/widget/ |
H A D | FloatingActionButtonLollipop.java | 159 void getPadding(Rect rect) { argument 167 rect.set(hPadding, vPadding, hPadding, vPadding); 169 rect.set(0, 0, 0, 0);
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | FloatingActionButton.java | 463 * Return in {@code rect} the bounds of the actual floating action button content in view-local 466 * @return true if this view actually has been laid out and has a content rect, else false. 468 public boolean getContentRect(@NonNull Rect rect) { argument 470 rect.set(0, 0, getWidth(), getHeight()); 471 rect.left += mShadowPadding.left; 472 rect.top += mShadowPadding.top; 473 rect.right -= mShadowPadding.right; 474 rect.bottom -= mShadowPadding.bottom; 608 // First, let's get the visible rect of the dependency 609 final Rect rect [all...] |
H A D | ViewGroupUtils.java | 27 void offsetDescendantRect(ViewGroup parent, View child, Rect rect); argument 32 public void offsetDescendantRect(ViewGroup parent, View child, Rect rect) { argument 33 parent.offsetDescendantRectToMyCoords(child, rect); 35 // We need to reverse it here so that we get the rect of the view itself rather 37 rect.offset(child.getScrollX(), child.getScrollY()); 43 public void offsetDescendantRect(ViewGroup parent, View child, Rect rect) { argument 44 ViewGroupUtilsHoneycomb.offsetDescendantRect(parent, child, rect); 63 * will be the bounding rect of the real transformed rect. 65 * @param descendant view defining the original coordinate system of rect 68 offsetDescendantRect(ViewGroup parent, View descendant, Rect rect) argument [all...] |
/frameworks/support/graphics/drawable/static/tests/src/android/support/graphics/drawable/tests/ |
H A D | VectorDrawableTest.java | 339 Rect rect = vectorDrawable.getBounds(); 340 assertEquals("Bounds should be same value for setBound(int ...)", rect, expectedRect); 343 rect = vectorDrawable.getBounds(); 344 assertEquals("Bounds should be same value for setBound(Rect)", rect, expectedRect); 346 vectorDrawable.copyBounds(rect); 347 assertEquals("Bounds should be same value for copyBounds", rect, expectedRect);
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | RecipientEditTextView.java | 3176 Rect rect = mChip.getBounds(); 3177 shadowSize.set(rect.width(), rect.height()); 3178 shadowTouchPoint.set(rect.centerX(), rect.centerY());
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
H A D | MonthView.java | 512 * @param startX The left boundary of the day number rect 513 * @param stopX The right boundary of the day number rect 514 * @param startY The top boundary of the day number rect 515 * @param stopY The bottom boundary of the day number rect 772 * @param rect The rectangle in which to store the bounds 774 protected void getItemBounds(int day, Rect rect) { argument 785 rect.set(x, y, (x + cellWidth), (y + cellHeight));
|
/frameworks/native/include/android/ |
H A D | native_activity.h | 222 void (*onContentRectChanged)(ANativeActivity* activity, const ARect* rect);
|