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.java6232 public final void offsetDescendantRectToMyCoords(View descendant, Rect rect) { in offsetDescendantRectToMyCoords() argument
6233 offsetRectBetweenParentAndChild(descendant, rect, true, false); in offsetDescendantRectToMyCoords()
6242 public final void offsetRectIntoDescendantCoords(View descendant, Rect rect) { in offsetRectIntoDescendantCoords() argument
6243 offsetRectBetweenParentAndChild(descendant, rect, false, false); in offsetRectIntoDescendantCoords()
6250 void offsetRectBetweenParentAndChild(View descendant, Rect rect, in offsetRectBetweenParentAndChild() argument
6254 if (descendant == this) { in offsetRectBetweenParentAndChild()
6258 ViewParent theParent = descendant.mParent; in offsetRectBetweenParentAndChild()
6266 rect.offset(descendant.mLeft - descendant.mScrollX, in offsetRectBetweenParentAndChild()
6267 descendant.mTop - descendant.mScrollY); in offsetRectBetweenParentAndChild()
6285 rect.offset(descendant.mScrollX - descendant.mLeft, in offsetRectBetweenParentAndChild()
[all …]
DViewRootImpl.java2485 public void onDescendantInvalidated(@NonNull View child, @NonNull View descendant) { in onDescendantInvalidated() argument
2489 if ((descendant.mPrivateFlags & PFLAG_DRAW_ANIMATION) != 0) { in onDescendantInvalidated()
/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java1314 private boolean isOffScreen(View descendant) { in isOffScreen() argument
1315 return !isWithinDeltaOfScreen(descendant, 0); in isOffScreen()
1322 private boolean isWithinDeltaOfScreen(View descendant, int delta) { in isWithinDeltaOfScreen() argument
1323 descendant.getDrawingRect(mTempRect); in isWithinDeltaOfScreen()
1324 offsetDescendantRectToMyCoords(descendant, mTempRect); in isWithinDeltaOfScreen()
DScrollView.java1397 private boolean isOffScreen(View descendant) { in isOffScreen() argument
1398 return !isWithinDeltaOfScreen(descendant, 0, getHeight()); in isOffScreen()
1405 private boolean isWithinDeltaOfScreen(View descendant, int delta, int height) { in isWithinDeltaOfScreen() argument
1406 descendant.getDrawingRect(mTempRect); in isWithinDeltaOfScreen()
1407 offsetDescendantRectToMyCoords(descendant, mTempRect); in isWithinDeltaOfScreen()
DListView.java3234 private int distanceToView(View descendant) {
3236 descendant.getDrawingRect(mTempRect);
3237 offsetDescendantRectToMyCoords(descendant, mTempRect);
/frameworks/base/packages/SystemUI/docs/
Dphysics-animation-layout.md117 The layout itself is a FrameLayout descendant with a few extra methods:
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java5233 final RecyclerView descendant = findNestedRecyclerView(child); in findNestedRecyclerView() local
5234 if (descendant != null) { in findNestedRecyclerView()
5235 return descendant; in findNestedRecyclerView()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...