/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/statusbar/stack/ |
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/base/core/tests/coretests/src/android/widget/listview/touch/ |
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/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);
|
/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/compat/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...] |
/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...] |
/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/compat/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/core-ui/java/android/support/v4/view/ |
H A D | NestedScrollingParentHelper.java | 58 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 112 View child = mView; 114 if (ViewParentCompat.onStartNestedScroll(p, child, mView, axes)) { 116 ViewParentCompat.onNestedScrollAccepted(p, child, mView, axes); 120 child = (View) p; 272 * Called when a nested scrolling child stops its current nested scroll operation. 278 * @param child Child view stopping its nested scroll. This may not be a direct child view. 280 public void onStopNestedScroll(View child) { argument
|
/frameworks/support/design/tests/src/android/support/design/testutils/ |
H A D | CoordinatorLayoutUtils.java | 32 public boolean layoutDependsOn(CoordinatorLayout parent, View child, View dependency) { argument
|
/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);
|
H A D | BrowseRowsFrameLayout.java | 25 * Customized FrameLayout excludes margin of child from calculating the child size. 47 protected void measureChildWithMargins(View child, argument 50 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); 55 child.measure(childWidthMeasureSpec, childHeightMeasureSpec);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ActionMenuView.java | 168 final View child = getChildAt(i); 169 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 214 final View child = getChildAt(i); 215 if (child.getVisibility() == GONE) continue; 217 final boolean isGeneratedItem = child instanceof ActionMenuItemView; 223 child.setPadding(mGeneratedItemPadding, 0, mGeneratedItemPadding, 0); 226 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 233 lp.preventEdgeOffset = isGeneratedItem && ((ActionMenuItemView) child).hasText(); 238 final int cellsUsed = measureChildForCells(child, cellSize, cellsAvailable, 246 maxChildHeight = Math.max(maxChildHeight, child 402 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...] |
/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/compat/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
|