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

1 2 3

  /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...]
CollapsingToolbarLayout.java 374 private View findDirectChild(final View descendant) {
375 View directChild = descendant;
376 for (ViewParent p = descendant.getParent(); p != this && p != null; p = p.getParent()) {
    [all...]
CoordinatorLayout.java 97 * to an arbitrary descendant of the CoordinatorLayout, but it may not be the anchored child itself
98 * or a descendant of the anchored child. This can be used to place floating views relative to
665 * Retrieve the transformed bounding rect of an arbitrary descendant view.
668 * @param descendant descendant view to reference
669 * @param out rect to set to the bounds of the descendant view
671 void getDescendantRect(View descendant, Rect out) {
672 ViewGroupUtils.getDescendantRect(this, descendant, out);
    [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...]
  /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...]
  /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...]
Utilities.java 305 * Given a coordinate relative to the descendant, find the coordinate in a parent view's
308 * @param descendant The descendant to which the passed coordinate is relative.
311 * @param includeRootScroll Whether or not to account for the scroll of the descendant:
312 * sometimes this is relevant as in a child's coordinates within the descendant.
313 * @return The factor by which this descendant is scaled relative to this DragLayer. Caution
317 public static float getDescendantCoordRelativeToParent(View descendant, View root,
323 View v = descendant;
336 if (v0 != descendant || includeRootScroll) {
355 public static float mapCoordInSelfToDescendent(View descendant, View root
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
GLView.java 404 * Gets the bounds of the given descendant that relative to this view.
406 public boolean getBoundsOf(GLView descendant, Rect out) {
409 GLView view = descendant;
417 out.set(xoffset, yoffset, xoffset + descendant.getWidth(),
418 yoffset + descendant.getHeight());
  /external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/
Group.java 409 /** Converts coordinates for this group to those of a descendant actor. The descendant does not need to be a direct child.
410 * @throws IllegalArgumentException if the specified actor is not a descendant of this group. */
411 public Vector2 localToDescendantCoordinates (Actor descendant, Vector2 localCoords) {
412 Group parent = descendant.parent;
413 if (parent == null) throw new IllegalArgumentException("Child is not a descendant: " + descendant);
416 // Then from each parent down to the descendant.
417 descendant.parentToLocalCoordinates(localCoords);
  /frameworks/base/core/java/android/view/
ViewGroup.java 671 * Gets the descendant focusability of this view group. The descendant
689 * Set the descendant focusability of this view group. This defines the relationship
    [all...]
  /external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/
element.py 827 for descendant in self.descendants:
829 (types is None and not isinstance(descendant, NavigableString))
831 (types is not None and type(descendant) not in types)):
834 descendant = descendant.strip()
835 if len(descendant) == 0:
837 yield descendant
    [all...]
  /frameworks/base/core/java/android/widget/
HorizontalScrollView.java     [all...]
ScrollView.java     [all...]
ListView.java     [all...]
  /frameworks/support/core-ui/java/android/support/v4/widget/
NestedScrollView.java     [all...]
  /external/parameter-framework/upstream/tools/coverage/
coverage.py 102 for descendant in child._getDescendants() :
103 yield descendant
    [all...]
  /external/v8/test/mjsunit/es6/
promises.js 1075 "subclass/resolve/descendant"); var vow = Vow.resolve();
1079 "subclass/resolve/descendant with transplanted own constructor");
  /prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kdoc/0.12.613/
kdoc-0.12.613.jar 
  /external/clang/bindings/python/clang/
cindex.py     [all...]
  /prebuilts/sdk/current/support/design/libs/
android-support-design.jar 
  /external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rjsmin/bench/
knockout-2.0.0.js 56 r.c[s];w&&8===a.nodeType&&!r.f.C[s]&&c(Error("The binding '"+s+"' cannot be used with virtual elements"));if(w&&"function"==typeof w.init&&(w=(0,w.init)(a,i(s),j,v,q))&&w.controlsDescendantBindings)t!==l&&c(Error("Multiple bindings ("+t+" and "+s+") are trying to control descendant bindings of the same element. You cannot use these bindings together on the same element.")),t=s}k=2}if(2===k)for(s in n)(w=r.c[s])&&"function"==typeof w.update&&(0,w.update)(a,i(s),j,v,q)}},o,{disposeWhenNodeIsRemoved:a});
    [all...]
  /external/guice/extensions/persist/lib/
jaxen-1.1-beta-7.jar 
  /external/owasp/sanitizer/tools/findbugs/lib/
jaxen-1.1.6.jar 
  /prebuilts/tools/common/m2/repository/jaxen/jaxen/1.1.1/
jaxen-1.1.1.jar 

Completed in 1200 milliseconds

1 2 3