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

1 2 3

  /frameworks/support/design/src/android/support/design/widget/
ViewGroupUtils.java 36 * @param descendant view defining the original coordinate system of rect
37 * @param rect (in/out) the rect to offset from descendant to this view's coordinate system
39 static void offsetDescendantRect(ViewGroup parent, View descendant, Rect rect) {
48 offsetDescendantMatrix(parent, descendant, m);
62 * Retrieve the transformed bounding rect of an arbitrary descendant view.
65 * @param descendant descendant view to reference
66 * @param out rect to set to the bounds of the descendant view
68 static void getDescendantRect(ViewGroup parent, View descendant, Rect out) {
69 out.set(0, 0, descendant.getWidth(), descendant.getHeight())
    [all...]
CollapsingToolbarLayout.java 379 private View findDirectChild(final View descendant) {
380 View directChild = descendant;
381 for (ViewParent p = descendant.getParent(); p != this && p != null; p = p.getParent()) {
    [all...]
CoordinatorLayout.java 101 * to an arbitrary descendant of the CoordinatorLayout, but it may not be the anchored child itself
102 * or a descendant of the anchored child. This can be used to place floating views relative to
684 * Retrieve the transformed bounding rect of an arbitrary descendant view.
687 * @param descendant descendant view to reference
688 * @param out rect to set to the bounds of the descendant view
690 void getDescendantRect(View descendant, Rect out) {
691 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/dragndrop/
DragLayer.java 379 * Determine the rect of the descendant in this DragLayer's coordinates
381 * @param descendant The descendant whose coordinates we want to find.
383 * @return The factor by which this descendant is scaled relative to this DragLayer.
385 public float getDescendantRectRelativeToSelf(View descendant, Rect r) {
388 float scale = getDescendantCoordRelativeToSelf(descendant, mTmpXY);
391 (int) (mTmpXY[0] + scale * descendant.getMeasuredWidth()),
392 (int) (mTmpXY[1] + scale * descendant.getMeasuredHeight()));
402 public float getDescendantCoordRelativeToSelf(View descendant, int[] coord) {
403 return getDescendantCoordRelativeToSelf(descendant, coord, false)
    [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());
  /packages/apps/Launcher3/src/com/android/launcher3/
Utilities.java 152 * Given a coordinate relative to the descendant, find the coordinate in a parent view's
155 * @param descendant The descendant to which the passed coordinate is relative.
158 * @param includeRootScroll Whether or not to account for the scroll of the descendant:
159 * sometimes this is relevant as in a child's coordinates within the descendant.
160 * @return The factor by which this descendant is scaled relative to this DragLayer. Caution
165 View descendant, View ancestor, int[] coord, boolean includeRootScroll) {
170 View v = descendant;
174 if (v != descendant || includeRootScroll) {
195 public static void mapCoordInSelfToDescendant(View descendant, View root, int[] coord)
    [all...]
  /frameworks/base/core/java/android/view/
ViewGroup.java 687 * Gets the descendant focusability of this view group. The descendant
705 * Set the descendant focusability of this view group. This defines the relationship
    [all...]
ViewRootImpl.java     [all...]
  /frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
PlaybackTransportRowPresenterTest.java 217 static boolean isDescendant(View view, View descendant) {
218 while (descendant != view) {
219 ViewParent p = descendant.getParent();
223 descendant = (View) p;
  /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...]
  /prebuilts/go/darwin-x86/src/cmd/compile/internal/ssa/
sparsetreemap.go 84 // Within a sparse tree, the two entries added bracket all their descendant
  /prebuilts/go/linux-x86/src/cmd/compile/internal/ssa/
sparsetreemap.go 84 // Within a sparse tree, the two entries added bracket all their descendant
  /external/clang/bindings/python/clang/
cindex.py     [all...]
  /prebuilts/sdk/current/support/design/libs/
android-support-design.jar 
  /prebuilts/sdk/current/support/core-ui/
android-support-core-ui.jar 
  /frameworks/base/core/java/com/android/internal/widget/
RecyclerView.java 5110 final RecyclerView descendant = findNestedRecyclerView(child); local
    [all...]
  /frameworks/support/v7/recyclerview/src/android/support/v7/widget/
RecyclerView.java 5313 final RecyclerView descendant = findNestedRecyclerView(child); local
    [all...]
  /external/guice/extensions/persist/lib/
jaxen-1.1-beta-7.jar 

Completed in 1153 milliseconds

1 2 3