/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/ |
H A D | AdapterItem.java | 43 void addChild(AdapterItem child) { argument 48 mChildren.add(child);
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | NestedScrollingParent.java | 27 * that wish to support scrolling operations delegated by a nested child view. 55 * @param child Direct child of this ViewParent containing target 61 public boolean onStartNestedScroll(View child, View target, int nestedScrollAxes); argument 72 * @param child Direct child of this ViewParent containing target 79 public void onNestedScrollAccepted(View child, View target, int nestedScrollAxes); argument 97 * <p>This method will be called when the ViewParent's current nested scrolling child view 104 * position of multiple child elements, for example. The unconsumed portion may be used to 122 * to consume the scroll before the nested scrolling child doe [all...] |
H A D | NestedScrollingParentHelper.java | 57 public void onNestedScrollAccepted(View child, View target, int axes) { argument
|
H A D | NestedScrollingChildHelper.java | 24 * Helper class for implementing nested scrolling child views compatible with Android platform 111 View child = mView; 113 if (ViewParentCompat.onStartNestedScroll(p, child, mView, axes)) { 115 ViewParentCompat.onNestedScrollAccepted(p, child, mView, axes); 119 child = (View) p; 271 * Called when a nested scrolling child stops its current nested scroll operation. 277 * @param child Child view stopping its nested scroll. This may not be a direct child view. 279 public void onStopNestedScroll(View child) { argument
|
H A D | ViewPager.java | 381 * {@link LayoutParams#isDecor} on the child's layout params.</p> 442 // ViewGroup dispatchApplyWindowInsets since if child 0 consumes them, 554 final View child = getChildAt(i); 555 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 1070 final View child = getChildAt(i); 1071 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 1241 final View child = getChildAt(i); 1242 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 1246 final ItemInfo ii = infoForChild(child); 1260 View child 1458 addView(View child, int index, ViewGroup.LayoutParams params) argument 1498 infoForChild(View child) argument 1508 infoForAnyChild(View child) argument 2819 getChildRectInPagerCoordinates(Rect outRect, View child) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | Gallery.java | 81 * How long the transition animation should run when a child view changes 92 * Left most edge of a child seen so far during layout. 97 * Right most edge of a child seen so far during layout. 144 * The currently selected item's child. 180 * If true, mFirstPosition is the position of the rightmost child, and 186 * Offset between the center of the selected child view and the center of the Gallery. 274 * Sets how long the transition animation should run when a child view 309 protected boolean getChildStaticTransformation(View child, Transformation t) { argument 312 t.setAlpha(child == mSelectedChild ? 1.0f : mUnselectedAlpha); 373 int getChildHeight(View child) { argument 896 setUpChild(View child, int offset, int x, boolean fromLeft) argument 943 calculateTop(View child, boolean duringLayout) argument 1120 dispatchPress(View child) argument [all...] |
H A D | ActionMenuView.java | 163 final View child = getChildAt(i); 164 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 209 final View child = getChildAt(i); 210 if (child.getVisibility() == GONE) continue; 212 final boolean isGeneratedItem = child instanceof ActionMenuItemView; 218 child.setPadding(mGeneratedItemPadding, 0, mGeneratedItemPadding, 0); 221 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 228 lp.preventEdgeOffset = isGeneratedItem && ((ActionMenuItemView) child).hasText(); 233 final int cellsUsed = measureChildForCells(child, cellSize, cellsAvailable, 241 maxChildHeight = Math.max(maxChildHeight, child 397 measureChildForCells(View child, int cellSize, int cellsRemaining, int parentHeightMeasureSpec, int parentHeightPadding) argument [all...] |
H A D | ViewAnimator.java | 96 * Sets which child view will be displayed. 98 * @param whichChild the index of the child view to display 118 * Returns the index of the currently displayed child view. 125 * Manually shows the next child. 133 * Manually shows the previous child. 141 * Shows only the specified child. The other displays Views exit the screen, 143 * the specified child enters the screen, optionally with the 146 * @param childIndex The index of the child to be shown. 153 final View child = getChildAt(i); 156 child 182 addView(View child, int index, ViewGroup.LayoutParams params) argument [all...] |
H A D | DropDownListView.java | 200 final View child = getChildAt(position - getFirstVisiblePosition()); 201 setPressedItem(child, position, x, y); 206 performItemClick(child, position, id); 252 private void setPressedItem(@NonNull View child, int position, float x, float y) { argument 261 // Next, run layout if we need to stabilize child positions. 269 if (motionView != null && motionView != child && motionView.isPressed()) { 274 // Offset for child coordinates. 275 final float childX = x - child.getLeft(); 276 final float childY = y - child.getTop(); 277 child [all...] |
H A D | ListView.java | 217 View child; 222 child = getChildAt(0); 223 delta = child.getTop() - mListPadding.top; 235 child = getChildAt(childCount - 1); 236 delta = child.getBottom() - (getHeight() - mListPadding.bottom); 544 final View child = infos.get(i).view; 545 final LayoutParams p = (LayoutParams) child.getLayoutParams(); 577 public boolean requestChildRectangleOnScreen(View child, Rect rect, boolean immediate) { argument 582 rect.offset(child.getLeft(), child 1241 measureScrapChild(View child, int position, int widthMeasureSpec, int heightHint) argument 1921 isDirectChildHeaderOrFooter(View child) argument 1994 setupChild(View child, int position, int y, boolean flowDown, int childrenLeft, boolean selected, boolean recycled) argument 2753 measureAndAdjustDown(View child, int childIndex, int numChildren) argument 2773 measureItem(View child) argument 2799 relayoutMeasuredItem(View child) argument 3079 isViewAncestorOf(View child, View parent) argument 3498 drawChild(Canvas canvas, View child, long drawingTime) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
H A D | ListItemFocusablesFarApartTest.java | 46 * Get the child of a list item. 48 * @param index The index of the child. 57 View child = listItem.getChildAt(index); 58 return child.getTop() + listItem.getTop(); 63 View child = listItem.getChildAt(index); 64 return child.getBottom() + listItem.getTop();
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | ControlBar.java | 25 public void onChildFocusedListener(View child, View focused); argument 58 public void requestChildFocus (View child, View focused) { argument 59 super.requestChildFocus(child, focused); 61 mOnChildFocusedListener.onChildFocusedListener(child, focused);
|
/frameworks/support/v4/api21/android/support/v4/view/ |
H A D | ViewParentCompatLollipop.java | 27 public static boolean onStartNestedScroll(ViewParent parent, View child, View target, argument 30 return parent.onStartNestedScroll(child, target, nestedScrollAxes); 38 public static void onNestedScrollAccepted(ViewParent parent, View child, View target, argument 41 parent.onNestedScrollAccepted(child, target, nestedScrollAxes);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ActionMenuView.java | 166 final View child = getChildAt(i); 167 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 212 final View child = getChildAt(i); 213 if (child.getVisibility() == GONE) continue; 215 final boolean isGeneratedItem = child instanceof ActionMenuItemView; 221 child.setPadding(mGeneratedItemPadding, 0, mGeneratedItemPadding, 0); 224 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 231 lp.preventEdgeOffset = isGeneratedItem && ((ActionMenuItemView) child).hasText(); 236 final int cellsUsed = measureChildForCells(child, cellSize, cellsAvailable, 244 maxChildHeight = Math.max(maxChildHeight, child 400 measureChildForCells(View child, int cellSize, int cellsRemaining, int parentHeightMeasureSpec, int parentHeightPadding) argument [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ResolverDrawerLayout.java | 442 final View child = getChildAt(i); 443 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 445 child.offsetTopAndBottom((int) dy); 525 final View child = parent.getChildAt(i); 526 if (isChildUnder(child, x, y)) { 527 return child; 555 private boolean isDescendantClipped(View child) { argument 556 mTempRect.set(0, 0, child.getWidth(), child.getHeight()); 557 offsetDescendantRectToMyCoords(child, mTempRec 585 isChildUnder(View child, float x, float y) argument 594 requestChildFocus(View child, View focused) argument 615 onStartNestedScroll(View child, View target, int nestedScrollAxes) argument 620 onNestedScrollAccepted(View child, View target, int axes) argument 625 onStopNestedScroll(View child) argument 788 getHeightUsed(View child) argument [all...] |
H A D | TextProgressBar.java | 82 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument 83 super.addView(child, index, params); 85 int childId = child.getId(); 86 if (childId == CHRONOMETER_ID && child instanceof Chronometer) { 87 mChronometer = (Chronometer) child; 95 } else if (childId == PROGRESSBAR_ID && child instanceof ProgressBar) { 96 mProgressBar = (ProgressBar) child; 116 throw new RuntimeException("Expecting child ProgressBar with id " + 135 "Expecting child ProgressBar with id 'android.R.id.progress'");
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | NotificationMessagingTemplateViewWrapper.java | 47 // Only consider the first child - transforming to a position other than the first 49 View child = messagingContainer.getChildAt(0); 50 if (child.getId() == messagingContainer.getContractedChildId()) { 51 mContractedMessage = child;
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
H A D | ButtonBarItem.java | 106 public void addChild(ItemHierarchy child) { argument 107 if (child instanceof ButtonItem) { 108 mButtons.add((ButtonItem) child);
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
H A D | BottomScrollView.java | 73 final View child = getChildAt(0); 74 if (child != null) { 75 mScrollThreshold = Math.max(0, child.getMeasuredHeight() - b + t - getPaddingBottom());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationHeaderUtil.java | 46 public boolean compare(View parent, View child, Object parentData, 53 public boolean compare(View parent, View child, Object parentData, 112 public boolean compare(View parent, View child, Object parentData, 174 private void sanitizeChild(View child) { argument 175 if (child != null) { 176 NotificationHeaderView header = (NotificationHeaderView) child.findViewById( 190 View child = rowHeader.getChildAt(i); 191 if (child instanceof TextView 192 && child.getVisibility() != View.GONE 193 && !mDividers.contains(Integer.valueOf(child 313 compare(View parent, View child, Object parentData, Object childData) argument 323 compare(View parent, View child, Object parentData, Object childData) argument 337 compare(View parent, View child, Object parentData, Object childData) argument [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | DisplayListLayersActivity.java | 60 View child = root.getChildAt(i); 61 if (child != v) { 62 child.invalidate(); 71 private void addChild(LinearLayout root, View child, int width, int height) { argument 75 root.addView(child, params);
|
/frameworks/support/v4/ics/android/support/v4/view/ |
H A D | AccessibilityDelegateCompatIcs.java | 35 public boolean onRequestSendAccessibilityEvent(ViewGroup host, View child, argument 68 public boolean onRequestSendAccessibilityEvent(ViewGroup host, View child, 70 return bridge.onRequestSendAccessibilityEvent(host, child, event); 106 View child, AccessibilityEvent event) { 107 return ((AccessibilityDelegate) delegate).onRequestSendAccessibilityEvent(host, child, 105 onRequestSendAccessibilityEvent(Object delegate, ViewGroup host, View child, AccessibilityEvent event) argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | NotificationStackScrollLayout.java | 505 View child = getChildAt(i); 508 float width = child.getMeasuredWidth(); 509 float height = child.getMeasuredHeight(); 510 child.layout((int) (centerX - width / 2.0f), 542 * Returns the location the given child is currently rendered at. 544 * @param child the child to get the location for 547 public int getChildLocation(View child) { argument 548 StackViewState childViewState = mCurrentStackScrollState.getViewStateForView(child); 588 ExpandableView child 1133 dismissViewAnimated(View child, Runnable endRunnable, int delay, long duration) argument 1138 snapViewIfNeeded(ExpandableNotificationRow child) argument 2227 onViewRemoved(View child) argument 2244 onViewRemovedInternal(View child, ViewGroup container) argument 2291 isChildInGroup(View child) argument 2303 generateRemoveAnimation(View child) argument 2328 isClickedHeadsUp(View child) argument 2337 removeRemovedChildFromHeadsUpChangeAnimations(View child) argument 2360 isChildInInvisibleGroup(View child) argument 2442 onViewAdded(View child) argument 2461 onViewAddedInternal(View child) argument 2469 updateHideSensitiveForChild(View child) argument 2499 updateAnimationState(View child) argument 2505 updateAnimationState(boolean running, View child) argument 2522 generateAddAnimation(View child, boolean fromMoreCard) argument 2543 changeViewPosition(View child, int newIndex) argument 2915 clearChildFocus(View child) argument 3025 updateChronometerForChild(View child) argument 3325 getNotGoneIndex(View child) argument [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardSecurityViewFlipper.java | 62 View child = getChildAt(i); 63 if (child.getVisibility() == View.VISIBLE) { 64 offsetRectIntoDescendantCoords(child, mTempRect); 66 result = child.dispatchTouchEvent(ev) || result; 74 View child = getChildAt(getDisplayedChild()); 75 if (child instanceof KeyguardSecurityView) { 76 return (KeyguardSecurityView) child; 209 final View child = getChildAt(i); 210 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 228 final View child [all...] |
/frameworks/ex/widget/java/com/android/ex/widget/ |
H A D | StaggeredGridView.java | 68 * - Any child index can be translated to an adapter position by adding mFirstPosition. 69 * - Any adapter position can be translated to a child index by subtracting mFirstPosition. 270 * a child view of this grid. 464 * are required to maintain the invariant that child view with index i 472 final View child = getChildAt(i); 473 if (child.getTop() <= clearBelow) { 485 mRecycler.addScrap(child); 489 final View child = getChildAt(0); 490 if (child.getBottom() >= clearAbove) { 502 mRecycler.addScrap(child); [all...] |