/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | GridLayoutManager.java | 2019 public boolean requestChildRectangleOnScreen(RecyclerView parent, View view, Rect rect, argument 2021 if (DEBUG) Log.v(getTag(), "requestChildRectangleOnScreen " + view + " " + rect);
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | DrawerLayout.java | 1882 final Rect rect = mTmpRect; 1884 src.getBoundsInParent(rect); 1885 dest.setBoundsInParent(rect); 1887 src.getBoundsInScreen(rect); 1888 dest.setBoundsInScreen(rect);
|
H A D | SlidingPaneLayout.java | 1597 final Rect rect = mTmpRect; 1599 src.getBoundsInParent(rect); 1600 dest.setBoundsInParent(rect); 1602 src.getBoundsInScreen(rect); 1603 dest.setBoundsInScreen(rect);
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | RecyclerView.java | 1326 public boolean requestChildRectangleOnScreen(View child, Rect rect, boolean immediate) { argument 1327 return mLayout.requestChildRectangleOnScreen(this, child, rect, immediate); 5734 * to bring the given rect into view, within the padded area of the RecyclerView.</p> 5737 * @param rect The rectangle in the child's coordinates the child 5743 public boolean requestChildRectangleOnScreen(RecyclerView parent, View child, Rect rect, argument 5749 final int childLeft = child.getLeft() + rect.left; 5750 final int childTop = child.getTop() + rect.top; 5751 final int childRight = childLeft + rect.right; 5752 final int childBottom = childTop + rect.bottom; 5760 // of a large rect int [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | StaggeredGridLayoutManagerTest.java | 612 for (Rect rect : itemRectMap.values()) { 613 usedLayoutBounds.union(rect); 1175 // offset rect
|
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/action/ |
H A D | ScrollToAction.java | 59 Rect rect = new Rect(); 60 view.getDrawingRect(rect); 61 if (!view.requestRectangleOnScreen(rect, true /* immediate */)) {
|
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiObject.java | 239 Rect rect = getVisibleBounds(); 240 if(rect.height() <= SWIPE_MARGIN_LIMIT * 2) 242 return getInteractionController().swipe(rect.centerX(), 243 rect.bottom - SWIPE_MARGIN_LIMIT, rect.centerX(), rect.top + SWIPE_MARGIN_LIMIT, 267 Rect rect = getVisibleBounds(); 268 if(rect.height() <= SWIPE_MARGIN_LIMIT * 2) 270 return getInteractionController().swipe(rect.centerX(), 271 rect [all...] |
H A D | UiScrollable.java | 418 Rect rect = new Rect(); 419 node.getBoundsInScreen(rect); 429 int swipeAreaAdjust = (int)(rect.height() * getSwipeDeadZonePercentage()); 431 downX = rect.centerX(); 432 downY = rect.bottom - swipeAreaAdjust; 433 upX = rect.centerX(); 434 upY = rect.top + swipeAreaAdjust; 436 int swipeAreaAdjust = (int)(rect.width() * getSwipeDeadZonePercentage()); 439 downX = rect.right - swipeAreaAdjust; 440 downY = rect [all...] |
/frameworks/webview/chromium/java/com/android/webview/chromium/ |
H A D | WebViewChromium.java | 1979 public boolean requestChildRectangleOnScreen(final View child, final Rect rect, argument 1986 return requestChildRectangleOnScreen(child, rect, immediate); 1991 return mAwContents.requestChildRectangleOnScreen(child, rect, immediate);
|
/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
H A D | RectUtils.java | 47 // Then translate so that the upper left corner of the rotated full rect is at (0,0). 59 public static void rotateRect(final int degrees, final int px, final int py, final Rect rect) { argument 60 final RectF rectF = new RectF(rect); 64 rect.set((int) rectF.left, (int) rectF.top, (int) rectF.right, (int) rectF.bottom);
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | RecipientEditTextView.java | 2991 Rect rect = mChip.getBounds(); 2992 shadowSize.set(rect.width(), rect.height()); 2993 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/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | AndroidCamera2Settings.java | 290 Rect rectangle = source.rect; 572 // Round the rect corners towards the nearest integer values
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
H A D | EditStyledText.java | 2714 Rect rect = new Rect(0, 9, mWidth, 11); 2715 canvas.drawRect(rect, getPaint());
|
/frameworks/minikin/include/minikin/ |
H A D | Layout.h | 101 void getBounds(MinikinRect* rect);
|
/frameworks/native/include/android/ |
H A D | native_activity.h | 211 void (*onContentRectChanged)(ANativeActivity* activity, const ARect* rect);
|
H A D | native_window.h | 20 #include <android/rect.h>
|
/frameworks/native/include/gui/ |
H A D | Surface.h | 170 virtual int setCrop(Rect const* rect);
|
/frameworks/native/include/media/editor/ |
H A D | II420ColorConverter.h | 22 #include <android/rect.h>
|
/frameworks/native/include/private/ui/ |
H A D | RegionHelper.h | 64 virtual void operator()(const RECT& rect) = 0;
|
/frameworks/native/include/ui/ |
H A D | GraphicBuffer.h | 98 status_t lock(uint32_t usage, const Rect& rect, void** vaddr); 101 status_t lockYCbCr(uint32_t usage, const Rect& rect, android_ycbcr *ycbcr); 104 status_t lockAsync(uint32_t usage, const Rect& rect, void** vaddr, int fenceFd); 106 status_t lockAsyncYCbCr(uint32_t usage, const Rect& rect, android_ycbcr *ycbcr, int fenceFd);
|
H A D | Rect.h | 24 #include <android/rect.h> 70 // an empty rect has a zero width or height, or is invalid 99 // the following 4 functions return the 4 corners of the rect as Point
|
/frameworks/native/libs/gui/ |
H A D | Surface.cpp | 474 android_native_rect_t const* rect = va_arg(args, android_native_rect_t*); local 475 return setCrop(reinterpret_cast<Rect const*>(rect)); 606 int Surface::setCrop(Rect const* rect) argument 611 if (rect == NULL || rect->isEmpty()) { 614 realRect = *rect; 617 ALOGV("Surface::setCrop rect=[%d %d %d %d]",
|
/frameworks/native/libs/gui/tests/ |
H A D | CpuConsumer_test.cpp | 448 const android_native_rect_t& rect);
|
H A D | FillBuffer.cpp | 55 const android_native_rect_t& rect) { 64 bool inside = rect.left <= x && x < rect.right && 65 rect.top <= y && y < rect.bottom; 68 bool inside = rect.left <= 2*x && 2*x < rect.right && 69 rect.top <= 2*y && 2*y < rect.bottom; 54 fillYV12BufferRect(uint8_t* buf, int w, int h, int stride, const android_native_rect_t& rect) argument
|