Searched refs:rect (Results 251 - 272 of 272) sorted by relevance

<<11

/frameworks/base/services/core/java/com/android/server/policy/
H A DWindowManagerPolicy.java458 * the given {@code rect}.
460 default boolean isLetterboxedOverlappingWith(Rect rect) { argument
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DRecyclerView.java2720 public boolean requestChildRectangleOnScreen(View child, Rect rect, boolean immediate) { argument
2721 return mLayout.requestChildRectangleOnScreen(this, child, rect, immediate);
4832 * @param outBounds A rect that will receive the bounds of the element including its
9323 * @param outBounds A rect that will receive the bounds of the element including its
9514 * Returns the scroll amount that brings the given rect in child's coordinate system within
9518 * @param rect The rectangle in the child's coordinates the child
9523 * given rect into RV's padded area.
9526 Rect rect, boolean immediate) {
9532 final int childLeft = child.getLeft() + rect.left - child.getScrollX();
9533 final int childTop = child.getTop() + rect
9525 getChildRectangleOnScreenScrollAmount(RecyclerView parent, View child, Rect rect, boolean immediate) argument
9577 requestChildRectangleOnScreen(@onNull RecyclerView parent, @NonNull View child, @NonNull Rect rect, boolean immediate) argument
9596 requestChildRectangleOnScreen(@onNull RecyclerView parent, @NonNull View child, @NonNull Rect rect, boolean immediate, boolean focusedChildVisible) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DSearchView.java838 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/native/libs/gui/tests/
H A DSurfaceTextureClient_test.cpp502 android_native_rect_t rect = {-2, -13, 40, 18}; local
503 native_window_set_crop(mANW.get(), &rect);
/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java3399 Rect rect = mChip.getBounds();
3400 shadowSize.set(rect.width(), rect.height());
3401 shadowTouchPoint.set(rect.centerX(), rect.centerY());
/frameworks/base/core/java/com/android/internal/policy/
H A DDecorView.java1345 final Rect rect = mTempRect;
1349 mWindow.mContentParent.computeSystemWindowInsets(insets, rect);
1350 final int newMargin = rect.top == 0 ? insets.getSystemWindowInsetTop() : 0;
/frameworks/base/core/java/com/android/internal/widget/
H A DFloatingToolbar.java192 public FloatingToolbar setContentRect(Rect rect) { argument
193 mContentRect.set(Preconditions.checkNotNull(rect));
716 // There is enough space at the top of the content rect for the overflow.
723 // There is enough space at the top of the content rect for the main panel
730 // There is enough space at the bottom of the content rect for the overflow.
737 // There is enough space at the bottom of the content rect for the main panel
H A DRecyclerView.java2411 public boolean requestChildRectangleOnScreen(View child, Rect rect, boolean immediate) { argument
2412 return mLayout.requestChildRectangleOnScreen(this, child, rect, immediate);
4482 * @param outBounds A rect that will receive the bounds of the element including its
8731 * @param outBounds A rect that will receive the bounds of the element including its
8921 * to bring the given rect into view, within the padded area of the RecyclerView.</p>
8924 * @param rect The rectangle in the child's coordinates the child
8930 public boolean requestChildRectangleOnScreen(RecyclerView parent, View child, Rect rect, argument
8936 final int childLeft = child.getLeft() + rect.left - child.getScrollX();
8937 final int childTop = child.getTop() + rect.top - child.getScrollY();
8938 final int childRight = childLeft + rect
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DAppWindowToken.java1795 // Determine the visible rect to calculate the thumbnail clip
2251 * the given {@code rect}.
2253 boolean isLetterboxOverlappingWith(Rect rect) { argument
2254 return mLetterbox != null && mLetterbox.isOverlappingWith(rect);
H A DWindowState.java1425 * @param bounds The rect which gets the bounds.
3159 public boolean isLetterboxedOverlappingWith(Rect rect) { argument
3160 return mAppToken != null && mAppToken.isLetterboxOverlappingWith(rect);
4309 * the system decor rect (see #calculateSystemDecorRect), but we also have some
4334 * The system decor rect is the region of the window which is not covered
4345 // Initialize the decor rect to the entire frame.
4372 // Intersect with the decor rect, offsetted by window position.
4379 // scaling to the crop rect. We aren't using the standard rect
4381 // always round to a larger rect t
[all...]
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DSearchView.java849 private void getChildBoundsWithinSearchView(View view, Rect rect) { argument
854 rect.set(left, top, left + view.getWidth(), top + view.getHeight());
1731 * view. This rect is used for initial hit testing.
1737 * view. This rect is used for event coordinate mapping.
1742 * mTargetBounds inflated to include some slop. This rect is to track whether the motion events
/frameworks/base/core/java/android/view/
H A DWindow.java636 * @param rect The area where caption content is positioned, relative to the top view.
638 void onRestrictedCaptionAreaChanged(Rect rect); argument
/frameworks/base/libs/hwui/tests/unit/
H A DFrameBuilderTests.cpp417 EXPECT_EQ(mIndex++, 0) << "Should be one rect";
419 << "Last rect should occlude others.";
965 EXPECT_EQ(Rect(400, 400), op.unmappedBounds); // inner rect
967 EXPECT_EQ(Rect(800, 800), op.unmappedBounds); // outer rect
1092 << "Bounds rect should round out";
1099 << "Bounds rect should round out";
1175 << "Expect 4 copyTos, 4 copyFroms, 1 clear SimpleRects, and 1 rect.";
1189 << "Expect dirty rect as clip";
1191 EXPECT_EQ(Rect(50, 50, 150, 150), state.computedState.clipState->rect);
1210 // draw with partial screen dirty, and assert we see that rect late
[all...]
/frameworks/ex/common/java/com/android/ex/editstyledtext/
H A DEditStyledText.java2714 Rect rect = new Rect(0, 9, mWidth, 11);
2715 canvas.drawRect(rect, getPaint());
/frameworks/base/core/jni/
H A Dandroid_view_SurfaceControl.cpp403 const SkIRect& r(it.rect());
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DRecyclerViewLayoutTest.java1012 Rect rect = new Rect();
1013 mRecyclerView.getLayoutManager().getTransformedBoundingBox(child, true, rect);
1014 return rect;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DNotificationStackScrollLayout.java4858 Rect rect = new Rect(x, y, x + view.getWidth(), y + height);
4859 boolean ret = rect.contains(rx, ry);
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DGridLayoutManager.java2885 public boolean requestChildRectangleOnScreen(RecyclerView parent, View view, Rect rect, argument
2887 if (DEBUG) Log.v(getTag(), "requestChildRectangleOnScreen " + view + " " + rect);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskStackView.java141 // The stable layout algorithm is only used to calculate the task rect with the stable bounds
600 if (transform.rect.top <= mLayoutAlgorithm.mStackRect.top) {
1949 // Convert the dragging task view back to its final layout-space rect
1967 // Convert the dragging task view back to its final layout-space rect
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java10899 Rect rect = new Rect();
10906 return rect;
10911 task.getWindowContainerBounds(rect);
10916 rect.set(task.getBounds());
10918 rect.set(task.mLastNonFullscreenBounds);
10925 return rect;
[all...]
/frameworks/native/vulkan/include/vulkan/
H A Dvulkan_core.h2631 VkRect2D rect; member in struct:VkClearRect
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 984 milliseconds

<<11