Home
last modified time | relevance | path

Searched refs:descendant (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/
DButtonsWithTallTextViewInBetweenTest.java54 private int getTopWithinScrollView(View descendant) { in getTopWithinScrollView() argument
55 descendant.getDrawingRect(mTempRect); in getTopWithinScrollView()
56 mScrollView.offsetDescendantRectToMyCoords(descendant, mTempRect); in getTopWithinScrollView()
60 private int getBottomWithinScrollView(View descendant) { in getBottomWithinScrollView() argument
61 descendant.getDrawingRect(mTempRect); in getBottomWithinScrollView()
62 mScrollView.offsetDescendantRectToMyCoords(descendant, mTempRect); in getBottomWithinScrollView()
/frameworks/base/core/java/android/view/
DViewGroup.java6071 public final void offsetDescendantRectToMyCoords(View descendant, Rect rect) { in offsetDescendantRectToMyCoords() argument
6072 offsetRectBetweenParentAndChild(descendant, rect, true, false); in offsetDescendantRectToMyCoords()
6081 public final void offsetRectIntoDescendantCoords(View descendant, Rect rect) { in offsetRectIntoDescendantCoords() argument
6082 offsetRectBetweenParentAndChild(descendant, rect, false, false); in offsetRectIntoDescendantCoords()
6089 void offsetRectBetweenParentAndChild(View descendant, Rect rect, in offsetRectBetweenParentAndChild() argument
6093 if (descendant == this) { in offsetRectBetweenParentAndChild()
6097 ViewParent theParent = descendant.mParent; in offsetRectBetweenParentAndChild()
6105 rect.offset(descendant.mLeft - descendant.mScrollX, in offsetRectBetweenParentAndChild()
6106 descendant.mTop - descendant.mScrollY); in offsetRectBetweenParentAndChild()
6124 rect.offset(descendant.mScrollX - descendant.mLeft, in offsetRectBetweenParentAndChild()
[all …]
DViewRootImpl.java1432 public void onDescendantInvalidated(@NonNull View child, @NonNull View descendant) { in onDescendantInvalidated() argument
1435 if ((descendant.mPrivateFlags & PFLAG_DRAW_ANIMATION) != 0) { in onDescendantInvalidated()
/frameworks/base/core/java/android/widget/
DScrollView.java1278 private boolean isOffScreen(View descendant) { in isOffScreen() argument
1279 return !isWithinDeltaOfScreen(descendant, 0, getHeight()); in isOffScreen()
1286 private boolean isWithinDeltaOfScreen(View descendant, int delta, int height) { in isWithinDeltaOfScreen() argument
1287 descendant.getDrawingRect(mTempRect); in isWithinDeltaOfScreen()
1288 offsetDescendantRectToMyCoords(descendant, mTempRect); in isWithinDeltaOfScreen()
DHorizontalScrollView.java1256 private boolean isOffScreen(View descendant) { in isOffScreen() argument
1257 return !isWithinDeltaOfScreen(descendant, 0); in isOffScreen()
1264 private boolean isWithinDeltaOfScreen(View descendant, int delta) { in isWithinDeltaOfScreen() argument
1265 descendant.getDrawingRect(mTempRect); in isWithinDeltaOfScreen()
1266 offsetDescendantRectToMyCoords(descendant, mTempRect); in isWithinDeltaOfScreen()
DListView.java3240 private int distanceToView(View descendant) {
3242 descendant.getDrawingRect(mTempRect);
3243 offsetDescendantRectToMyCoords(descendant, mTempRect);
/frameworks/base/packages/SystemUI/docs/
Dphysics-animation-layout.md97 The layout itself is a FrameLayout descendant with a few extra methods:
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java5112 final RecyclerView descendant = findNestedRecyclerView(child); in findNestedRecyclerView() local
5113 if (descendant != null) { in findNestedRecyclerView()
5114 return descendant; in findNestedRecyclerView()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...