HomeSort by relevance Sort by last modified time
    Searched full:descendant (Results 1 - 25 of 326) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/support/design/src/android/support/design/widget/
ViewGroupUtils.java 65 * @param descendant view defining the original coordinate system of rect
66 * @param rect (in/out) the rect to offset from descendant to this view's coordinate system
68 static void offsetDescendantRect(ViewGroup parent, View descendant, Rect rect) {
69 IMPL.offsetDescendantRect(parent, descendant, rect);
73 * Retrieve the transformed bounding rect of an arbitrary descendant view.
76 * @param descendant descendant view to reference
77 * @param out rect to set to the bounds of the descendant view
79 static void getDescendantRect(ViewGroup parent, View descendant, Rect out) {
80 out.set(0, 0, descendant.getWidth(), descendant.getHeight())
    [all...]
ThemeUtils.java 37 + "(or descendant) with the design library.");
  /external/libxml2/test/XPath/tests/
simplebase 10 /child::EXAMPLE/attribute::prop1/descendant-or-self::node()
11 /child::EXAMPLE/attribute::prop1/descendant-or-self::*
14 /descendant::title
15 /descendant::p/ancestor::chapter
chaptersbase 8 /descendant::title
9 /descendant::p/ancestor::chapter
  /frameworks/base/docs/html/training/implementing-navigation/
descendant.jd 1 page.title=Implementing Descendant Navigation
22 <li><a href="{@docRoot}training/design-navigation/descendant-lateral.html">Providing Descendant and Lateral Navigation</a></li>
39 <p><em>Descendant navigation</em> is navigation down the application's information hierarchy. This is described in <a href="{@docRoot}training/design-navigation/descendant-lateral.html">Designing Effective Navigation</a> and also covered in <a href="{@docRoot}design/patterns/app-structure.html">Android Design: Application Structure</a>.</p>
41 <p>Descendant navigation is usually implemented using {@link android.content.Intent} objects and {@link android.content.Context#startActivity startActivity()}, or by adding fragments to an activity using {@link android.app.FragmentTransaction} objects. This lesson covers other interesting cases that arise when implementing descendant navigation.</p>
45 <p>In a <em>master/detail</em> navigation flow, a <em>master</em> screen contains a list of items in a collection, and a <em>detail</em> screen shows detailed information about a specific item within that collection. Implementing navigation from the master screen to the detail screen is one form of descendant navigation.</p>
47 <p>Handset touchscreens are most suitable for displaying one screen at a time (either the master or the detail screen); this concern is further discussed in <a href="{@docRoot}training/design-navigation/multiple-sizes.html">Planning for Multiple Touchscreen Sizes</a>. Descendant navigation in this case is often implemented using an {@link android.content.Intent} that starts an activity representing the detail screen. On the other hand, tablet displays, especially when viewed in the landscape orientation, are best suited for showing multiple content panes at a time: the master on the left, and the detail to the right). Here, descendant navigation is usually implemented using a {@link android.app.FragmentTransaction} that adds, remov (…)
    [all...]
  /frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/
ButtonsWithTallTextViewInBetweenTest.java 54 private int getTopWithinScrollView(View descendant) {
55 descendant.getDrawingRect(mTempRect);
56 mScrollView.offsetDescendantRectToMyCoords(descendant, mTempRect);
60 private int getBottomWithinScrollView(View descendant) {
61 descendant.getDrawingRect(mTempRect);
62 mScrollView.offsetDescendantRectToMyCoords(descendant, mTempRect);
  /external/guava/guava-tests/test/com/google/common/collect/
FauxveridesTest.java 112 private void doHasAllFauxveridesTest(Class<?> descendant, Class<?> ancestor) {
114 Set<MethodSignature> found = getAllFauxveridden(descendant, ancestor);
126 Class<?> descendant, Class<?> ancestor) {
127 return getPublicStaticMethodsBetween(descendant, ancestor);
131 Class<?> descendant, Class<?> ancestor) {
133 for (Class<?> clazz : getClassesBetween(descendant, ancestor)) {
152 /** [descendant, ancestor) */
154 Class<?> descendant, Class<?> ancestor) {
157 while (!descendant.equals(ancestor)) {
158 classes.add(descendant);
    [all...]
  /external/apache-xml/src/main/java/org/apache/xml/dtm/
Axis.java 25 * <p>The ancestor, descendant, following, preceding and self axes partition a
58 * The descendant axis contains the descendants of the context node;
59 * a descendant is a child or a child of a child and so on; thus the
60 * descendant axis never contains attribute or namespace nodes.
62 public static final int DESCENDANT = 4;
65 * The descendant-or-self axis contains the context node and the
170 false, // descendant
171 false, // descendant-or-self
189 "descendant", // 4
190 "descendant-or-self", //
    [all...]
  /libcore/dom/src/test/java/org/w3c/domts/level1/core/
elementgetelementsbytagname.java 32 * of all descendant Elements with the given tag name.
34 * Create a NodeList of all the descendant elements
37 * "0" since there are not any descendant elements
hc_elementgetelementsbytagname.java 32 * of all descendant Elements with the given tag name.
34 * Create a NodeList of all the descendant elements
37 * "0" since there are not any descendant elements
elementgetelementsbytagnamenomatch.java 32 * of all descendant Elements with the given tag name.
33 * Create a NodeList of all the descendant elements
hc_elementgetelementsbytagnamenomatch.java 32 * of all descendant Elements with the given tag name.
33 * Create a NodeList of all the descendant elements
  /frameworks/base/core/java/android/view/accessibility/
AccessibilityNodeProvider.java 79 * i.e. a descendant of the host View, with the given <code>virtualViewId</code>
82 * A virtual descendant is an imaginary View that is reported as a part of the view
94 * @return A populated {@link AccessibilityNodeInfo} for a virtual descendant or the
105 * Performs an accessibility action on a virtual view, i.e. a descendant of the
124 * containment. The search is relative to the virtual view, i.e. a descendant of the
142 * Find the virtual view, i.e. a descendant of the host View, that has the
  /frameworks/base/docs/html/training/design-navigation/
descendant-lateral.jd 1 page.title=Providing Descendant and Lateral Navigation
37 <p>One way of providing access to the full range of an application's screens is to expose hierarchical navigation. In this lesson we discuss <em>descendant navigation</em>, allowing users to descend 'down' a screen hierarchy into a child screen, and <em>lateral navigation</em>, allowing users to access sibling screens.</p>
40 <img src="{@docRoot}images/training/app-navigation-descendant-lateral-desc.png"
41 alt="Descendant and lateral navigation" id="figure-desc">
43 <p class="img-caption"><strong>Figure 1.</strong> Descendant and lateral navigation.</p>
49 <img src="{@docRoot}images/training/app-navigation-descendant-lateral-children.png"
55 <p>Descendant and lateral navigation can be provided using lists, tabs, and other user interface patterns. <em>User interface patterns</em>, much like software design patterns, are generalized, common solutions to recurring interaction design problems. We explore a few common lateral navigation patterns in the sections below.</p>
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
    [all...]
  /external/droiddriver/src/io/appium/droiddriver/scroll/
DynamicSentinelStrategy.java 61 * String attribute of a descendant element of the sentinel (or itself).
68 * its descendant or self which contains a unique String.
75 * @param uniqueStringElement the descendant or self that contains the
126 * descendant element of the sentinel (or itself).
141 * description of a descendant element of the sentinel (or itself).
156 * descendant element of the sentinel (often itself). This is useful when the
Scroller.java 30 * which is a descendant of {@code containerFinder}.
42 * which is a descendant of {@code containerFinder}.
  /frameworks/support/compat/java/android/support/v4/view/accessibility/
AccessibilityNodeProviderCompat.java 190 * i.e. a descendant of the host View, with the given <code>virtualViewId</code>
193 * A virtual descendant is an imaginary View that is reported as a part of the view
205 * @return A populated {@link AccessibilityNodeInfoCompat} for a virtual descendant
216 * Performs an accessibility action on a virtual view, i.e. a descendant of the
234 * containment. The search is relative to the virtual view, i.e. a descendant of the
253 * Find the virtual view, i.e. a descendant of the host View, that has the
  /external/droiddriver/src/io/appium/droiddriver/helpers/
ScrollerHelper.java 42 * {@code itemFinder}, which is a descendant of {@code containerFinder}.
55 * {@code itemFinder}, which is a descendant of {@code containerFinder}.
  /packages/apps/Launcher2/src/com/android/launcher2/
DragLayer.java 291 * Determine the rect of the descendant in this DragLayer's coordinates
293 * @param descendant The descendant whose coordinates we want to find.
295 * @return The factor by which this descendant is scaled relative to this DragLayer.
297 public float getDescendantRectRelativeToSelf(View descendant, Rect r) {
300 float scale = getDescendantCoordRelativeToSelf(descendant, mTmpXY);
302 mTmpXY[0] + descendant.getWidth(), mTmpXY[1] + descendant.getHeight());
313 * Given a coordinate relative to the descendant, find the coordinate in this DragLayer's
316 * @param descendant The descendant to which the passed coordinate is relative
    [all...]
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/drawable/
DrawableResource.java 12 * <b>Suggested usages only include {@code T}s where the new drawable is of the same or descendant class.</b>
  /external/libxml2/result/XPath/tests/
simplebase 76 Expression: /child::EXAMPLE/attribute::prop1/descendant-or-self::node()
84 Expression: /child::EXAMPLE/attribute::prop1/descendant-or-self::*
117 Expression: /descendant::title
124 Expression: /descendant::p/ancestor::chapter
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
Util.java 26 * Returns true if child == parent or is descendant of the parent.
  /packages/apps/Launcher3/src/com/android/launcher3/
DragLayer.java 365 * Determine the rect of the descendant in this DragLayer's coordinates
367 * @param descendant The descendant whose coordinates we want to find.
369 * @return The factor by which this descendant is scaled relative to this DragLayer.
371 public float getDescendantRectRelativeToSelf(View descendant, Rect r) {
374 float scale = getDescendantCoordRelativeToSelf(descendant, mTmpXY);
377 (int) (mTmpXY[0] + scale * descendant.getMeasuredWidth()),
378 (int) (mTmpXY[1] + scale * descendant.getMeasuredHeight()));
388 public float getDescendantCoordRelativeToSelf(View descendant, int[] coord) {
389 return getDescendantCoordRelativeToSelf(descendant, coord, false)
    [all...]
  /developers/build/prebuilts/gradle/SwipeRefreshMultipleViews/Application/src/main/java/com/example/android/swiperefreshmultipleviews/
MultiSwipeRefreshLayout.java 27 * A descendant of {@link android.support.v4.widget.SwipeRefreshLayout} which supports multiple
45 * views need to be a descendant of this view.
  /developers/samples/android/ui/views/SwipeRefreshLayout/SwipeRefreshMultipleViews/Application/src/main/java/com/example/android/swiperefreshmultipleviews/
MultiSwipeRefreshLayout.java 27 * A descendant of {@link android.support.v4.widget.SwipeRefreshLayout} which supports multiple
45 * views need to be a descendant of this view.

Completed in 1229 milliseconds

1 2 3 4 5 6 7 8 91011>>