Searched refs:descendant (Results 1 – 23 of 23) sorted by relevance
64 static void offsetDescendantRect(ViewGroup parent, View descendant, Rect rect) { in offsetDescendantRect() argument65 IMPL.offsetDescendantRect(parent, descendant, rect); in offsetDescendantRect()75 static void getDescendantRect(ViewGroup parent, View descendant, Rect out) { in getDescendantRect() argument76 out.set(0, 0, descendant.getWidth(), descendant.getHeight()); in getDescendantRect()77 offsetDescendantRect(parent, descendant, out); in getDescendantRect()
578 void getDescendantRect(View descendant, Rect out) { in getDescendantRect() argument579 ViewGroupUtils.getDescendantRect(this, descendant, out); in getDescendantRect()
54 private int getTopWithinScrollView(View descendant) { in getTopWithinScrollView() argument55 descendant.getDrawingRect(mTempRect); in getTopWithinScrollView()56 mScrollView.offsetDescendantRectToMyCoords(descendant, mTempRect); in getTopWithinScrollView()60 private int getBottomWithinScrollView(View descendant) { in getBottomWithinScrollView() argument61 descendant.getDrawingRect(mTempRect); in getBottomWithinScrollView()62 mScrollView.offsetDescendantRectToMyCoords(descendant, mTempRect); in getBottomWithinScrollView()
45 public static float mapCoordInDescendentToSelf(View descendant, View root, in mapCoordInDescendentToSelf() argument51 View v = descendant; in mapCoordInDescendentToSelf()64 if (v0 != descendant || includeRootScroll) { in mapCoordInDescendentToSelf()81 public static float mapCoordInSelfToDescendent(View descendant, View root, in mapCoordInSelfToDescendent() argument87 View v = descendant; in mapCoordInSelfToDescendent()
22 …<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…
74 <dt><strong><a href="descendant.html">Implementing Descendant Navigation</a></strong></dt>
22 …<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
179 are implementing a <a href="descendant.html#master-detail">master/detail flow</a> on a handset by
37 …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"
7 previous.link=descendant-lateral.html32 <p>Now that users can navigate <a href="descendant-lateral.html">deep into</a> the application's
38 …<dt><strong><a href="descendant-lateral.html">Providing Descendant and Lateral Navigation</a></str…
9 next.link=descendant-lateral.html116 <p>In the next lesson we discuss <em>descendant</em> and <em>lateral</em> navigation, and explore m…
5262 public final void offsetDescendantRectToMyCoords(View descendant, Rect rect) { in offsetDescendantRectToMyCoords() argument5263 offsetRectBetweenParentAndChild(descendant, rect, true, false); in offsetDescendantRectToMyCoords()5272 public final void offsetRectIntoDescendantCoords(View descendant, Rect rect) { in offsetRectIntoDescendantCoords() argument5273 offsetRectBetweenParentAndChild(descendant, rect, false, false); in offsetRectIntoDescendantCoords()5280 void offsetRectBetweenParentAndChild(View descendant, Rect rect, in offsetRectBetweenParentAndChild() argument5284 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 …]
1133 private boolean isOffScreen(View descendant) { in isOffScreen() argument1134 return !isWithinDeltaOfScreen(descendant, 0); in isOffScreen()1141 private boolean isWithinDeltaOfScreen(View descendant, int delta) { in isWithinDeltaOfScreen() argument1142 descendant.getDrawingRect(mTempRect); in isWithinDeltaOfScreen()1143 offsetDescendantRectToMyCoords(descendant, mTempRect); in isWithinDeltaOfScreen()
1151 private boolean isOffScreen(View descendant) { in isOffScreen() argument1152 return !isWithinDeltaOfScreen(descendant, 0, getHeight()); in isOffScreen()1159 private boolean isWithinDeltaOfScreen(View descendant, int delta, int height) { in isWithinDeltaOfScreen() argument1160 descendant.getDrawingRect(mTempRect); in isWithinDeltaOfScreen()1161 offsetDescendantRectToMyCoords(descendant, mTempRect); in isWithinDeltaOfScreen()
3047 private int distanceToView(View descendant) {3049 descendant.getDrawingRect(mTempRect);3050 offsetDescendantRectToMyCoords(descendant, mTempRect);
1209 private boolean isOffScreen(View descendant) { in isOffScreen() argument1210 return !isWithinDeltaOfScreen(descendant, 0, getHeight()); in isOffScreen()1217 private boolean isWithinDeltaOfScreen(View descendant, int delta, int height) { in isWithinDeltaOfScreen() argument1218 descendant.getDrawingRect(mTempRect); in isWithinDeltaOfScreen()1219 offsetDescendantRectToMyCoords(descendant, mTempRect); in isWithinDeltaOfScreen()
1231 <li><a href="<?cs var:toroot ?>training/design-navigation/descendant-lateral.html">1271 <li><a href="<?cs var:toroot ?>training/implementing-navigation/descendant.html">
342 actions and each descendant class inherits the menu behaviors.343 If you want to add menu items to one of the descendant activities,
114 <p>To start, extend the {@link android.view.View} class (or descendant thereof) and define
760 descendant views inherit the optical bounds layout mode unless you override it for a group by
437 http://developer.android.com/training/design-navigation/descendant-lateral.html444 http://developer.android.com/training/implementing-navigation/descendant.html
META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...