Home
last modified time | relevance | path

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

/frameworks/support/design/src/android/support/design/widget/
DViewGroupUtils.java64 static void offsetDescendantRect(ViewGroup parent, View descendant, Rect rect) { in offsetDescendantRect() argument
65 IMPL.offsetDescendantRect(parent, descendant, rect); in offsetDescendantRect()
75 static void getDescendantRect(ViewGroup parent, View descendant, Rect out) { in getDescendantRect() argument
76 out.set(0, 0, descendant.getWidth(), descendant.getHeight()); in getDescendantRect()
77 offsetDescendantRect(parent, descendant, out); in getDescendantRect()
DCoordinatorLayout.java578 void getDescendantRect(View descendant, Rect out) { in getDescendantRect() argument
579 ViewGroupUtils.getDescendantRect(this, descendant, out); in getDescendantRect()
/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/packages/SystemUI/src/com/android/systemui/recents/misc/
DUtilities.java45 public static float mapCoordInDescendentToSelf(View descendant, View root, in mapCoordInDescendentToSelf() argument
51 View v = descendant; in mapCoordInDescendentToSelf()
64 if (v0 != descendant || includeRootScroll) { in mapCoordInDescendentToSelf()
81 public static float mapCoordInSelfToDescendent(View descendant, View root, in mapCoordInSelfToDescendent() argument
87 View v = descendant; in mapCoordInSelfToDescendent()
/frameworks/base/docs/html/training/implementing-navigation/
Ddescendant.jd22 …<li><a href="{@docRoot}training/design-navigation/descendant-lateral.html">Providing Descendant an…
39 …hy. This is described in <a href="{@docRoot}training/design-navigation/descendant-lateral.html">De…
41 … This lesson covers other interesting cases that arise when implementing descendant navigation.</p>
45 …ng navigation from the master screen to the detail screen is one form of descendant navigation.</p>
47 …at a time: the master on the left, and the detail to the right). Here, descendant navigation is us…
Dindex.jd74 <dt><strong><a href="descendant.html">Implementing Descendant Navigation</a></strong></dt>
Dlateral.jd22 …<li><a href="{@docRoot}training/design-navigation/descendant-lateral.html">Providing Descendant an…
47 as described in <a href="{@docRoot}training/design-navigation/descendant-lateral.html">Designing
Dtemporal.jd179 are implementing a <a href="descendant.html#master-detail">master/detail flow</a> on a handset by
/frameworks/base/docs/html/training/design-navigation/
Ddescendant-lateral.jd37 …ns is to expose hierarchical navigation. In this lesson we discuss <em>descendant navigation</em>,…
40 <img src="{@docRoot}images/training/app-navigation-descendant-lateral-desc.png"
49 <img src="{@docRoot}images/training/app-navigation-descendant-lateral-children.png"
69 <img src="{@docRoot}images/training/app-navigation-descendant-lateral-buttons.png"
92 <img src="{@docRoot}images/training/app-navigation-descendant-lateral-lists.png"
114 <img src="{@docRoot}images/training/app-navigation-descendant-lateral-tabs.png"
152 <img src="{@docRoot}images/training/app-navigation-descendant-lateral-paging.png"
161 <img src="{@docRoot}images/training/app-navigation-descendant-lateral-paging-companion.png"
Dancestral-temporal.jd7 previous.link=descendant-lateral.html
32 <p>Now that users can navigate <a href="descendant-lateral.html">deep into</a> the application's
Dindex.jd38 …<dt><strong><a href="descendant-lateral.html">Providing Descendant and Lateral Navigation</a></str…
Dmultiple-sizes.jd9 next.link=descendant-lateral.html
116 <p>In the next lesson we discuss <em>descendant</em> and <em>lateral</em> navigation, and explore m…
/frameworks/base/core/java/android/view/
DViewGroup.java5262 public final void offsetDescendantRectToMyCoords(View descendant, Rect rect) { in offsetDescendantRectToMyCoords() argument
5263 offsetRectBetweenParentAndChild(descendant, rect, true, false); in offsetDescendantRectToMyCoords()
5272 public final void offsetRectIntoDescendantCoords(View descendant, Rect rect) { in offsetRectIntoDescendantCoords() argument
5273 offsetRectBetweenParentAndChild(descendant, rect, false, false); in offsetRectIntoDescendantCoords()
5280 void offsetRectBetweenParentAndChild(View descendant, Rect rect, in offsetRectBetweenParentAndChild() argument
5284 if (descendant == this) { in offsetRectBetweenParentAndChild()
5288 ViewParent theParent = descendant.mParent; in offsetRectBetweenParentAndChild()
5296 rect.offset(descendant.mLeft - descendant.mScrollX, in offsetRectBetweenParentAndChild()
5297 descendant.mTop - descendant.mScrollY); in offsetRectBetweenParentAndChild()
5315 rect.offset(descendant.mScrollX - descendant.mLeft, in offsetRectBetweenParentAndChild()
[all …]
/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java1133 private boolean isOffScreen(View descendant) { in isOffScreen() argument
1134 return !isWithinDeltaOfScreen(descendant, 0); in isOffScreen()
1141 private boolean isWithinDeltaOfScreen(View descendant, int delta) { in isWithinDeltaOfScreen() argument
1142 descendant.getDrawingRect(mTempRect); in isWithinDeltaOfScreen()
1143 offsetDescendantRectToMyCoords(descendant, mTempRect); in isWithinDeltaOfScreen()
DScrollView.java1151 private boolean isOffScreen(View descendant) { in isOffScreen() argument
1152 return !isWithinDeltaOfScreen(descendant, 0, getHeight()); in isOffScreen()
1159 private boolean isWithinDeltaOfScreen(View descendant, int delta, int height) { in isWithinDeltaOfScreen() argument
1160 descendant.getDrawingRect(mTempRect); in isWithinDeltaOfScreen()
1161 offsetDescendantRectToMyCoords(descendant, mTempRect); in isWithinDeltaOfScreen()
DListView.java3047 private int distanceToView(View descendant) {
3049 descendant.getDrawingRect(mTempRect);
3050 offsetDescendantRectToMyCoords(descendant, mTempRect);
/frameworks/support/v4/java/android/support/v4/widget/
DNestedScrollView.java1209 private boolean isOffScreen(View descendant) { in isOffScreen() argument
1210 return !isWithinDeltaOfScreen(descendant, 0, getHeight()); in isOffScreen()
1217 private boolean isWithinDeltaOfScreen(View descendant, int delta, int height) { in isWithinDeltaOfScreen() argument
1218 descendant.getDrawingRect(mTempRect); in isWithinDeltaOfScreen()
1219 offsetDescendantRectToMyCoords(descendant, mTempRect); in isWithinDeltaOfScreen()
/frameworks/base/docs/html/training/
Dtraining_toc.cs1231 <li><a href="<?cs var:toroot ?>training/design-navigation/descendant-lateral.html">
1271 <li><a href="<?cs var:toroot ?>training/implementing-navigation/descendant.html">
/frameworks/base/docs/html/guide/topics/ui/
Dmenus.jd342 actions and each descendant class inherits the menu behaviors.
343 If you want to add menu items to one of the descendant activities,
/frameworks/base/docs/html/guide/topics/graphics/
D2d-graphics.jd114 <p>To start, extend the {@link android.view.View} class (or descendant thereof) and define
/frameworks/base/docs/html/about/versions/
Dandroid-4.3.jd760 descendant views inherit the optical bounds layout mode unless you override it for a group by
/frameworks/base/docs/html/
Dsitemap.txt437 http://developer.android.com/training/design-navigation/descendant-lateral.html
444 http://developer.android.com/training/implementing-navigation/descendant.html
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...