/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | BaseCanvas_Delegate.java | 728 protected int saveLayerAlpha(RectF rect, int alpha, int saveFlags) { argument 731 return saveLayer(rect, paint, saveFlags); 734 protected int saveLayer(RectF rect, Paint_Delegate paint, int saveFlags) { argument 738 mSnapshot = mSnapshot.saveLayer(rect, paint, saveFlags);
|
H A D | Path_Delegate.java | 189 /*package*/ static boolean nIsRect(long nPath, RectF rect) { argument 195 // create an Area that can test if the path is a rect 198 if (rect != null) { 199 pathDelegate.fillBounds(rect); 629 Rectangle2D rect = mPath.getBounds2D(); 630 bounds.left = (float)rect.getMinX(); 631 bounds.right = (float)rect.getMaxX(); 632 bounds.top = (float)rect.getMinY(); 633 bounds.bottom = (float)rect.getMaxY();
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcTestLib.cpp | 184 hwc_rect rect; local 186 rect.left = rect.top = 0; 188 rect.right = this->_w; 189 rect.bottom = this->_h; 191 return rect; 195 string hwcTestRect2str(const struct hwc_rect& rect) argument 200 out << rect.left << ", "; 201 out << rect.top << ", "; 202 out << rect 212 struct hwc_rect rect; local [all...] |
/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/base/core/java/android/content/res/ |
H A D | Configuration.java | 1744 public void setAppBounds(Rect rect) { argument 1745 if (rect == null) { 1750 setAppBounds(rect.left, rect.top, rect.right, rect.bottom);
|
/frameworks/base/core/java/android/view/ |
H A D | RenderNode.java | 289 public boolean setClipBounds(@Nullable Rect rect) { argument 290 if (rect == null) { 293 return nSetClipBounds(mNativeRenderNode, rect.left, rect.top, rect.right, rect.bottom);
|
H A D | Window.java | 639 * @param rect The area where caption content is positioned, relative to the top view. 641 void onRestrictedCaptionAreaChanged(Rect rect); argument
|
/frameworks/base/core/java/android/widget/ |
H A D | ListView.java | 659 public boolean requestChildRectangleOnScreen(View child, Rect rect, boolean immediate) { argument 661 int rectTopWithinChild = rect.top; 663 // offset so rect is in coordinates of the this view 664 rect.offset(child.getLeft(), child.getTop()); 665 rect.offset(-child.getScrollX(), -child.getScrollY()); 673 // leave room for top fading edge as long as rect isn't at very top 683 // leave room for bottom fading edge as long as rect isn't at very bottom 685 || (rect.bottom < (bottomOfBottomChild - fadingEdge))) { 692 if (rect.bottom > listUnfadedBottom && rect [all...] |
H A D | ScrollView.java | 1385 * If rect is off screen, scroll just enough to get it (or at least the 1388 * @param rect The rectangle. 1392 private boolean scrollToChildRect(Rect rect, boolean immediate) { argument 1393 final int delta = computeScrollDeltaToGetChildRectOnScreen(rect); 1410 * @param rect The rect. 1413 protected int computeScrollDeltaToGetChildRectOnScreen(Rect rect) { argument 1422 // leave room for top fading edge as long as rect isn't at very top 1423 if (rect.top > 0) { 1427 // leave room for bottom fading edge as long as rect is [all...] |
H A D | SearchView.java | 838 private void getChildBoundsWithinSearchView(View view, Rect rect) { argument 843 rect.set(left , top, left + view.getWidth(), top + view.getHeight()); 1791 * view. This rect is used for initial hit testing. 1797 * view. This rect is used for event coordinate mapping. 1802 * mTargetBounds inflated to include some slop. This rect is to track whether the motion events
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | FloatingToolbar.java | 158 public FloatingToolbar setContentRect(Rect rect) { argument 159 mContentRect.set(Preconditions.checkNotNull(rect)); 670 // There is enough space at the top of the content rect for the overflow. 677 // There is enough space at the top of the content rect for the main panel 684 // There is enough space at the bottom of the content rect for the overflow. 691 // There is enough space at the bottom of the content rect for the main panel
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Paint.cpp | 357 minikin::MinikinRect rect; local 358 layout.getBounds(&rect); 359 r.fLeft = rect.mLeft; 360 r.fTop = rect.mTop; 361 r.fRight = rect.mRight; 362 r.fBottom = rect.mBottom;
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 749 * @param rect The rect to intersect with the current clip 760 public boolean clipRect(@NonNull RectF rect, @NonNull Region.Op op) { argument 761 return nClipRect(mNativeCanvasWrapper, rect.left, rect.top, rect.right, rect.bottom, 769 * @param rect The rectangle to intersect with the current clip. 780 public boolean clipRect(@NonNull Rect rect, @NonNull Region.Op op) { argument 781 return nClipRect(mNativeCanvasWrapper, rect 792 clipRect(@onNull RectF rect) argument 804 clipOutRect(@onNull RectF rect) argument 816 clipRect(@onNull Rect rect) argument 828 clipOutRect(@onNull Rect rect) argument 1062 quickReject(@onNull RectF rect, @NonNull EdgeType type) argument 1729 drawRect(@onNull RectF rect, @NonNull Paint paint) argument 1779 drawRoundRect(@onNull RectF rect, float rx, float ry, @NonNull Paint paint) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | SkiaCanvas.cpp | 206 Clip(const SkRect& rect, SkClipOp op, const SkMatrix& m) argument 207 : mType(Type::Rect), mOp(op), mMatrix(m), mRRect(SkRRect::MakeRect(rect)) {} 217 canvas->clipRect(mRRect.rect(), mOp); 386 SkRect rect = SkRect::MakeLTRB(left, top, right, bottom); local 387 this->recordClip(rect, op); 388 mCanvas->clipRect(rect, op); 497 SkRect rect = SkRect::MakeLTRB(left, top, right, bottom); 498 mCanvas->drawRoundRect(rect, rx, ry, paint); 665 // We can expect the framework to give us a color for every distinct rect. 666 // Skia requires a flag for every rect [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
H A D | DividerView.java | 901 private void alignTopLeft(Rect containingRect, Rect rect) { argument 902 int width = rect.width(); 903 int height = rect.height(); 904 rect.set(containingRect.left, containingRect.top, 908 private void alignBottomRight(Rect containingRect, Rect rect) { argument 909 int width = rect.width(); 910 int height = rect.height(); 911 rect.set(containingRect.right - width, containingRect.bottom - height,
|
/frameworks/native/libs/gui/ |
H A D | Surface.cpp | 692 for (auto rect : mDirtyRegion) { 693 int left = rect.left; 694 int right = rect.right; 695 int top = height - rect.bottom; // Flip from OpenGL convention 696 int bottom = height - rect.top; // Flip from OpenGL convention 988 android_native_rect_t const* rect = va_arg(args, android_native_rect_t*); local 989 return setCrop(reinterpret_cast<Rect const*>(rect)); 1288 int Surface::setCrop(Rect const* rect) argument 1293 if (rect == NULL || rect [all...] |
/frameworks/support/core-ui/java/android/support/v4/widget/ |
H A D | NestedScrollView.java | 1519 * If rect is off screen, scroll just enough to get it (or at least the 1522 * @param rect The rectangle. 1526 private boolean scrollToChildRect(Rect rect, boolean immediate) { argument 1527 final int delta = computeScrollDeltaToGetChildRectOnScreen(rect); 1544 * @param rect The rect. 1547 protected int computeScrollDeltaToGetChildRectOnScreen(Rect rect) { argument 1556 // leave room for top fading edge as long as rect isn't at very top 1557 if (rect.top > 0) { 1561 // leave room for bottom fading edge as long as rect is [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | SearchView.java | 848 private void getChildBoundsWithinSearchView(View view, Rect rect) { argument 853 rect.set(left, top, left + view.getWidth(), top + view.getHeight()); 1730 * view. This rect is used for initial hit testing. 1736 * view. This rect is used for event coordinate mapping. 1741 * mTargetBounds inflated to include some slop. This rect is to track whether the motion events
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewProvider.java | 409 public boolean requestChildRectangleOnScreen(View child, Rect rect, boolean immediate); argument
|
H A D | WebView.java | 2864 public boolean requestChildRectangleOnScreen(View child, Rect rect, boolean immediate) { argument 2865 return mProvider.getViewDelegate().requestChildRectangleOnScreen(child, rect, immediate);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | AppTransition.java | 584 * rect on screen to a larger rect. The pivot point varies depending on 663 // Entering app zooms out from the center of the initial rect. 712 private void getDefaultNextAppTransitionStartRect(Rect rect) { argument 714 mDefaultNextAppTransitionAnimationSpec.rect == null) { 715 Slog.e(TAG, "Starting rect for app requested, but none available", new Throwable()); 716 rect.setEmpty(); 718 rect.set(mDefaultNextAppTransitionAnimationSpec.rect); 722 void getNextAppTransitionStartRect(int taskId, Rect rect) { argument [all...] |
/frameworks/native/libs/hwc2on1adapter/ |
H A D | HWC2On1Adapter.cpp | 1376 static std::string rectString(hwc_rect_t rect) { argument 1378 output << "[" << rect.left << ", " << rect.top << ", "; 1379 output << rect.right << ", " << rect.bottom << "]";
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | CoordinatorLayout.java | 153 Rect rect = sRectPool.acquire(); 154 if (rect == null) { 155 rect = new Rect(); 157 return rect; 160 private static void releaseTempRect(@NonNull Rect rect) { argument 161 rect.setEmpty(); 162 sRectPool.release(rect); 679 * Retrieve the transformed bounding rect of an arbitrary descendant view. 683 * @param out rect to set to the bounds of the descendant view 894 * Mark the last known child position rect fo 2649 getInsetDodgeRect(@onNull CoordinatorLayout parent, @NonNull V child, @NonNull Rect rect) argument [all...] |
/frameworks/base/core/java/android/hardware/ |
H A D | Camera.java | 1742 * is 800x480. The rect passed from the driver is (-1000, -1000, 0, 0). 1743 * The corresponding viewfinder rect should be (0, 0, 400, 240). It is 1771 public Rect rect; field in class:Camera.Face 1799 * the same space as the ones for {@link #rect}. This is an optional 1808 * in the same space as the ones for {@link #rect}.This is an optional 1817 * the same space as the ones for {@link #rect}. This is an optional 2029 * @param rect the bounds of the area. 2032 public Area(Rect rect, int weight) { argument 2033 this.rect = rect; 2067 public Rect rect; field in class:Camera.Area [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | GridLayoutManager.java | 2793 public boolean requestChildRectangleOnScreen(RecyclerView parent, View view, Rect rect, argument 2795 if (DEBUG) Log.v(getTag(), "requestChildRectangleOnScreen " + view + " " + rect);
|