/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | SlidingPaneLayout.java | 62 * If the content of the dragged child view is itself horizontally scrollable, the user may 84 * the use of the layout parameter <code>layout_weight</code> on child views to determine 147 * The child view that can slide, if any. 218 * @param panel The child view that was moved 225 * @param panel The child view that was slid to an open position, revealing other panes 232 * @param panel The child view that was slid to a closed position 380 final View child = getChildAt(i); 382 if (child == panel) { 388 startBound), child.getLeft()); 389 final int clampedChildTop = Math.max(topBound, child 756 requestChildFocus(View child, View focused) argument 999 drawChild(Canvas canvas, View child, long drawingTime) argument 1252 isDimmed(View child) argument 1313 tryCaptureView(View child, int pointerId) argument 1370 getViewHorizontalDragRange(View child) argument 1375 clampViewPositionHorizontal(View child, int left, int dx) argument 1393 clampViewPositionVertical(View child, int top, int dy) argument 1493 invalidateChildRegion(SlidingPaneLayout parent, View child) argument 1497 invalidateChildRegion(SlidingPaneLayout parent, View child) argument 1530 invalidateChildRegion(SlidingPaneLayout parent, View child) argument 1549 invalidateChildRegion(SlidingPaneLayout parent, View child) argument 1594 onRequestSendAccessibilityEvent(ViewGroup host, View child, AccessibilityEvent event) argument 1602 filter(View child) argument [all...] |
H A D | DrawerLayout.java | 69 * attribute on child views corresponding to which side of the view you want the drawer 76 * <p>To use a DrawerLayout, position your primary content view as the first child with 78 * Add drawers as child views after the main content view and set the <code>layout_gravity</code> 244 * @param drawerView The child view that was moved 297 void dispatchChildInsets(View child, Object insets, int drawerGravity); argument 308 public void dispatchChildInsets(View child, Object insets, int drawerGravity) { argument 331 public void dispatchChildInsets(View child, Object insets, int drawerGravity) { argument 332 DrawerLayoutCompatApi21.dispatchChildInsets(child, insets, drawerGravity); 415 View child = getChildAt(i); 416 if (isDrawerView(child)) { 1351 drawChild(Canvas canvas, View child, long drawingTime) argument 1414 isContentView(View child) argument 1418 isDrawerView(View child) argument 1968 addView(View child, int index, ViewGroup.LayoutParams params) argument 1991 includeChildForAccessibility(View child) argument 2073 tryCaptureView(View child, int pointerId) argument 2196 getViewHorizontalDragRange(View child) argument 2201 clampViewPositionHorizontal(View child, int left, int dx) argument 2211 clampViewPositionVertical(View child, int top, int dy) argument 2325 onRequestSendAccessibilityEvent(ViewGroup host, View child, AccessibilityEvent event) argument 2377 onInitializeAccessibilityNodeInfo(View child, AccessibilityNodeInfoCompat info) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | UriMatcher.java | 182 UriMatcher child; 185 child = children.get(j); 186 if (token.equals(child.mText)) { 187 node = child; 193 child = new UriMatcher(); 195 child.mWhich = NUMBER; 197 child.mWhich = TEXT; 199 child.mWhich = EXACT; 201 child.mText = token; 202 node.mChildren.add(child); [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | AbsoluteLayout.java | 68 // Find rightmost and bottom-most child 70 View child = getChildAt(i); 71 if (child.getVisibility() != GONE) { 76 = (AbsoluteLayout.LayoutParams) child.getLayoutParams(); 78 childRight = lp.x + child.getMeasuredWidth(); 79 childBottom = lp.y + child.getMeasuredHeight(); 115 View child = getChildAt(i); 116 if (child.getVisibility() != GONE) { 119 (AbsoluteLayout.LayoutParams) child.getLayoutParams(); 123 child [all...] |
H A D | TabWidget.java | 147 void measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, argument 156 super.measureChildBeforeLayout(child, childIndex, 180 final View child = getChildAt(i); 181 if (child.getVisibility() == GONE) continue; 190 final View child = getChildAt(i); 191 if (child.getVisibility() == GONE) continue; 192 final int childWidth = child.getMeasuredWidth(); 199 mImposedTabsHeight = Math.max(mImposedTabsHeight, child.getMeasuredHeight()); 348 public void childDrawableStateChanged(View child) { argument 349 if (getTabCount() > 0 && child 485 addView(View child) argument [all...] |
H A D | TableLayout.java | 55 * <code>layout_height</code> attribute can be defined by a child; default value 56 * is {@link android.widget.TableLayout.LayoutParams#WRAP_CONTENT}. If the child 62 * a child cell, it will autoincrement to the next available column. If you skip 66 * <p>Although the typical child of a TableLayout is a TableRow, you can 67 * actually use any View subclass as a direct child of TableLayout. The View 369 * upon child insertion.</p> 374 * @param child the newly added child 376 private void trackCollapsedColumns(View child) { argument 377 if (child instanceo 398 addView(View child) argument 407 addView(View child, int index) argument 416 addView(View child, ViewGroup.LayoutParams params) argument 425 addView(View child, int index, ViewGroup.LayoutParams params) argument 452 measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, int heightMeasureSpec, int totalHeight) argument 757 onChildViewAdded(View parent, View child) argument 768 onChildViewRemoved(View parent, View child) argument [all...] |
H A D | RadioGroup.java | 127 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument 128 if (child instanceof RadioButton) { 129 final RadioButton button = (RadioButton) child; 140 super.addView(child, index, params); 255 * for a list of all child view attributes that this class supports.</p> 295 * <p>Fixes the child's width to 296 * {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT} and the child's 367 public void onChildViewAdded(View parent, View child) { argument 368 if (parent == RadioGroup.this && child instanceof RadioButton) { 369 int id = child 387 onChildViewRemoved(View parent, View child) argument [all...] |
/frameworks/base/packages/Osu/src/com/android/hotspot2/asn1/ |
H A D | Asn1Constructed.java | 32 for (Asn1Object child : mChildren) { 33 if (child.isConstructed()) { 34 ((Asn1Constructed) child).toString(level + 1, sb); 36 sb.append(indent(level + 1)).append(child.toString()).append('\n');
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | DragDownHelper.java | 163 private void handleExpansion(float heightDelta, ExpandableView child) { argument 167 boolean expandable = child.isContentExpandable(); 173 && (rubberband + child.getCollapsedHeight()) > child.getMaxContentHeight()) { 175 (rubberband + child.getCollapsedHeight()) - child.getMaxContentHeight(); 179 child.setActualHeight((int) (child.getCollapsedHeight() + rubberband)); 182 private void cancelExpansion(final ExpandableView child) { argument 183 if (child [all...] |
/frameworks/base/tests/RenderThreadTest/src/com/example/renderthread/ |
H A D | SubActivity.java | 45 View child = container.getChildAt(i); 46 int dir = child.getId() == R.id.from_left ? 1 : -1; 47 child.setTranslationX(dx * dir); 48 child.animate().translationX(0).setDuration(MainActivity.DURATION);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | BrowseFrameLayout.java | 40 * Interface for managing child focus in a BrowseFrameLayout. 53 void onRequestChildFocus(View child, View focused); argument 121 public void requestChildFocus(View child, View focused) { argument 122 super.requestChildFocus(child, focused); 124 mOnChildFocusListener.onRequestChildFocus(child, focused);
|
H A D | OnChildViewHolderSelectedListener.java | 22 * Interface for receiving notification when a child of this 27 * Callback method to be invoked when a child of this ViewGroup has been 31 * @param child The ViewHolder within the RecyclerView that is selected, or null if no 38 public void onChildViewHolderSelected(RecyclerView parent, RecyclerView.ViewHolder child, argument
|
H A D | ScaleFrameLayout.java | 75 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument 76 super.addView(child, index, params); 77 child.setScaleX(mChildScale); 78 child.setScaleY(mChildScale); 82 protected boolean addViewInLayout (View child, int index, ViewGroup.LayoutParams params, argument 84 boolean ret = super.addViewInLayout(child, index, params, preventRequestLayout); 86 child.setScaleX(mChildScale); 87 child.setScaleY(mChildScale); 122 final View child = getChildAt(i); 123 if (child [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
H A D | ListSetSelectionTest.java | 76 View child = mListView.getChildAt(i); 77 if (child.getId() == targetPosition) { 107 View child = mListView.getChildAt(i); 108 if (child.getId() == targetPosition) { 109 target = child; 142 View child = mListView.getChildAt(i); 143 if (child.getId() == 0 && i == 0) {
|
H A D | ListTouchManyTest.java | 68 assertEquals("Item zero not the first child in the list", 0, firstChild.getId()); 105 View child = mListView.getChildAt(i); 106 if ((child.getTop() >= mListView.getListPaddingTop()) 107 && (child.getBottom() <= 109 TouchUtils.clickView(this, child); 133 View child = mListView.getChildAt(i); 134 if ((child.getTop() >= mListView.getListPaddingTop()) 135 && (child.getBottom() <= 137 TouchUtils.longClickView(this, child);
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | ChildHelper.java | 55 * Marks a child view as hidden 57 * @param child View to hide. 59 private void hideViewInternal(View child) { argument 60 mHiddenViews.add(child); 61 mCallback.onEnteredHiddenState(child); 65 * Unmarks a child view as hidden. 67 * @param child View to hide. 69 private boolean unhideViewInternal(View child) { argument 70 if (mHiddenViews.remove(child)) { 71 mCallback.onLeftHiddenState(child); 84 addView(View child, boolean hidden) argument 96 addView(View child, int index, boolean hidden) argument 227 attachViewToParent(View child, int index, ViewGroup.LayoutParams layoutParams, boolean hidden) argument 296 indexOfChild(View child) argument 517 addView(View child, int index) argument 529 attachViewToParent(View child, int index, ViewGroup.LayoutParams layoutParams) argument 533 onEnteredHiddenState(View child) argument 535 onLeftHiddenState(View child) argument [all...] |
/frameworks/base/core/java/android/animation/ |
H A D | LayoutTransition.java | 714 * For every child in the parent, we create a change animation of the appropriate 716 * target view. We add layout listeners to all child views and listen for changes. For 769 final View child = parent.getChildAt(i); 772 if (child != newView) { 773 setupChangeAnimation(parent, changeReason, baseAnimator, duration, child); 825 Animator baseAnimator, final long duration, final View child) { 827 // If we already have a listener for this child, then we've already set up the 828 // changing animation we need. Multiple calls for a child may occur when several 831 if (layoutChangeListenerMap.get(child) != null) { 839 if (child 824 setupChangeAnimation(final ViewGroup parent, final int changeReason, Animator baseAnimator, final long duration, final View child) argument 1147 runAppearingTransition(final ViewGroup parent, final View child) argument 1195 runDisappearingTransition(final ViewGroup parent, final View child) argument 1251 addChild(ViewGroup parent, View child, boolean changesLayout) argument 1317 addChild(ViewGroup parent, View child) argument 1325 showChild(ViewGroup parent, View child) argument 1340 showChild(ViewGroup parent, View child, int oldVisibility) argument 1356 removeChild(ViewGroup parent, View child, boolean changesLayout) argument 1395 removeChild(ViewGroup parent, View child) argument 1403 hideChild(ViewGroup parent, View child) argument 1418 hideChild(ViewGroup parent, View child, int newVisibility) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | ViewOverlay.java | 115 * redirect is necessary because the overlay is not a child of the host view 177 public void add(@NonNull View child) { argument 178 if (child == null) { 182 if (child.getParent() instanceof ViewGroup) { 183 ViewGroup parent = (ViewGroup) child.getParent(); 186 // Moving to different container; figure out how to position child such that 192 child.offsetLeftAndRight(parentLocation[0] - hostViewLocation[0]); 193 child.offsetTopAndBottom(parentLocation[1] - hostViewLocation[1]); 195 parent.removeView(child); 197 // LayoutTransition will cause the child t 322 damageChild(View child, final Rect dirty) argument [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | ChildHelperTest.java | 115 public void addView(View child, int index) { argument 116 mViews.add(index, child); 154 public void attachViewToParent(View child, int index, ViewGroup.LayoutParams layoutParams) { argument 155 assertTrue(mDetached.remove(child)); 156 addView(child, index); 165 public void onEnteredHiddenState(View child) { argument 166 mOnEnteredHiddenState.add(child); 170 public void onLeftHiddenState(View child) { argument 171 mOnExitedHiddenState.add(child);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | AlertDialogLayout.java | 80 final View child = getChildAt(i); 81 if (child.getVisibility() == View.GONE) { 85 final int id = child.getId(); 88 topPanel = child; 91 buttonPanel = child; 99 middlePanel = child; 102 // Unknown top-level child. Abort! 191 // Compute desired width as maximum child width. 194 final View child = getChildAt(i); 195 if (child [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | NotificationChildrenContainer.java | 47 * A container containing child notifications 119 View child = mChildren.get(i); 122 child.layout(0, 0, child.getMeasuredWidth(), child.getMeasuredHeight()); 157 ExpandableNotificationRow child = mChildren.get(i); 161 child.setSingleLineWidthIndention(isOverflow && mOverflowNumber != null 164 child.measure(widthMeasureSpec, newHeightSpec); 168 if (child.getVisibility() != GONE) { 169 height += child 530 updateChildStateForExpandedGroup(ExpandableNotificationRow child, int parentHeight, StackViewState childState, int yPosition) argument [all...] |
H A D | StackScrollState.java | 58 ExpandableView child = (ExpandableView) mHostView.getChildAt(i); 59 resetViewState(child); 61 // handling reset for child notifications 62 if (child instanceof ExpandableNotificationRow) { 63 ExpandableNotificationRow row = (ExpandableNotificationRow) child; 94 public void removeViewStateForView(View child) { argument 95 mStateMap.remove(child); 105 ExpandableView child = (ExpandableView) mHostView.getChildAt(i); 106 StackViewState state = mStateMap.get(child); 107 if (!applyState(child, stat [all...] |
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
H A D | ViewGroupBindingAdapter.java | 56 public void onChildViewAdded(View parent, View child) { 58 added.onChildViewAdded(parent, child); 63 public void onChildViewRemoved(View parent, View child) { 65 removed.onChildViewRemoved(parent, child); 105 void onChildViewAdded(View parent, View child); argument 109 void onChildViewRemoved(View parent, View child); argument
|
/frameworks/base/core/java/android/app/ |
H A D | FragmentBreadCrumbs.java | 202 final View child = getChildAt(0); 205 final int childBottom = mPaddingTop + child.getMeasuredHeight() - mPaddingBottom; 215 childLeft = childRight - child.getMeasuredWidth(); 219 childLeft = mPaddingLeft + (mRight - mLeft - child.getMeasuredWidth()) / 2; 220 childRight = childLeft + child.getMeasuredWidth(); 226 childRight = childLeft + child.getMeasuredWidth(); 238 child.layout(childLeft, childTop, childRight, childBottom); 249 // Find rightmost and bottom-most child 251 final View child = getChildAt(i); 252 if (child [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QuickTileLayout.java | 22 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument 26 super.addView(child, index, params);
|