Searched defs:child (Results 1 - 25 of 222) sorted by last modified time

123456789

/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/libs/
H A Dgson-1.7.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/gson/ com/google/gson/annotations/ ...
/frameworks/support/samples/SupportLeanbackShowcase/libs/
H A Dgson-1.7.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/gson/ com/google/gson/annotations/ ...
/frameworks/support/transition/api14/android/support/transition/
H A DViewOverlayApi14.java70 View child = contentView.getChildAt(i);
71 if (child instanceof OverlayViewGroup) {
72 return ((OverlayViewGroup) child).mViewOverlay;
122 * redirect is necessary because the overlay is not a child of the host view
200 public void add(View child) { argument
201 if (child.getParent() instanceof ViewGroup) {
202 ViewGroup parent = (ViewGroup) child.getParent();
205 // Moving to different container; figure out how to position child such that
211 ViewCompat.offsetLeftAndRight(child, parentLocation[0] - hostViewLocation[0]);
212 ViewCompat.offsetTopAndBottom(child, parentLocatio
291 invalidateChildFast(View child, final Rect dirty) argument
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DBrowseFrameLayout.java41 * Interface for managing child focus in a BrowseFrameLayout.
56 void onRequestChildFocus(View child, View focused); argument
127 public void requestChildFocus(View child, View focused) { argument
129 mOnChildFocusListener.onRequestChildFocus(child, focused);
131 super.requestChildFocus(child, focused);
H A DBrowseRowsFrameLayout.java25 * 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);
H A DControlBar.java28 public void onChildFocusedListener(View child, View focused); argument
86 public void requestChildFocus (View child, View focused) { argument
87 super.requestChildFocus(child, focused);
88 mLastFocusIndex = indexOfChild(child);
90 mOnChildFocusedListener.onChildFocusedListener(child, focused);
H A DGridLayoutManager.java389 // Represents whether child views are temporarily sliding out
451 * skip non-focusable child and adjust mFocusPosition.
495 * Force a full layout under certain situations. E.g. Rows change, jump to invisible child.
505 * override child visibility
563 * How to position child in secondary direction.
633 * True if prune child, might be disabled during transition.
871 void fireOnChildViewHolderSelected(RecyclerView parent, RecyclerView.ViewHolder child, argument
877 mChildViewHolderSelectedListeners.get(i).onChildViewHolderSelected(parent, child,
883 child, int position, int subposition) {
889 child, positio
882 fireOnChildViewHolderSelectedAndPositioned(RecyclerView parent, RecyclerView.ViewHolder child, int position, int subposition) argument
1060 getDecoratedLeft(View child) argument
1065 getDecoratedTop(View child) argument
1070 getDecoratedRight(View child) argument
1076 getDecoratedBottom(View child) argument
1476 measureChild(View child) argument
2778 onRequestChildFocus(RecyclerView parent, View child, View focused) argument
[all...]
H A DOnChildViewHolderSelectedListener.java20 * Interface for receiving notification when a child of this ViewGroup has been selected.
35 * Callback method to be invoked when a child of this ViewGroup has been selected. Listener
36 * might change the size of the child and the position of the child is not finalized. To get
37 * the final layout position of child, overide {@link #onChildViewHolderSelectedAndPositioned(
41 * @param child The ViewHolder within the RecyclerView that is selected, or null if no
48 public void onChildViewHolderSelected(RecyclerView parent, RecyclerView.ViewHolder child, argument
53 * Callback method to be invoked when a child of this ViewGroup has been selected and
57 * @param child The ViewHolder within the RecyclerView that is selected, or null if no
65 RecyclerView.ViewHolder child, in
64 onChildViewHolderSelectedAndPositioned(RecyclerView parent, RecyclerView.ViewHolder child, int position, int subposition) argument
[all...]
H A DPersistentFocusWrapper.java98 // Select a child in requestFocus
104 public void requestChildFocus(View child, View focused) { argument
105 super.requestChildFocus(child, focused);
107 while (view != null && view.getParent() != child) {
110 mSelectedPosition = view == null ? -1 : ((ViewGroup) child).indexOfChild(view);
H A DScaleFrameLayout.java79 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
80 super.addView(child, index, params);
81 child.setScaleX(mChildScale);
82 child.setScaleY(mChildScale);
86 protected boolean addViewInLayout (View child, int index, ViewGroup.LayoutParams params, argument
88 boolean ret = super.addViewInLayout(child, index, params, preventRequestLayout);
90 child.setScaleX(mChildScale);
91 child.setScaleY(mChildScale);
126 final View child = getChildAt(i);
127 if (child
[all...]
H A DUtil.java30 * Returns true if child == parent or is descendant of the parent.
32 public static boolean isDescendant(ViewGroup parent, View child) { argument
33 while (child != null) {
34 if (child == parent) {
37 ViewParent p = child.getParent();
41 child = (View) p;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/
H A DPicker.java429 public void onChildViewHolderSelected(RecyclerView parent, RecyclerView.ViewHolder child,
436 if (child != null) {
595 public void requestChildFocus(View child, View focused) { argument
596 super.requestChildFocus(child, focused);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DAbsActionBarView.java243 protected int measureChildView(View child, int availableWidth, int childSpecHeight, argument
245 child.measure(MeasureSpec.makeMeasureSpec(availableWidth, MeasureSpec.AT_MOST),
248 availableWidth -= child.getMeasuredWidth();
258 protected int positionChild(View child, int x, int y, int contentHeight, boolean reverse) { argument
259 int childWidth = child.getMeasuredWidth();
260 int childHeight = child.getMeasuredHeight();
264 child.layout(x - childWidth, childTop, x, childTop + childHeight);
266 child.layout(x, childTop, x + childWidth, childTop + childHeight);
H A DActionBarContainer.java239 public android.view.ActionMode startActionModeForChild(View child, argument
241 // No starting an action mode for an action bar child! (Where would it go?)
246 public android.view.ActionMode startActionModeForChild(View child, argument
249 return super.startActionModeForChild(child, callback, type);
H A DActionBarOverlayLayout.java433 final View child = getChildAt(i);
434 if (child.getVisibility() != GONE) {
435 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
437 final int width = child.getMeasuredWidth();
438 final int height = child.getMeasuredHeight();
443 child.layout(childLeft, childTop, childLeft + width, childTop + height);
467 public boolean onStartNestedScroll(View child, View target, int axes) { argument
475 public void onNestedScrollAccepted(View child, View target, int axes) { argument
476 mParentHelper.onNestedScrollAccepted(child, target, axes);
H A DActionMenuView.java167 final View child = getChildAt(i);
168 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
213 final View child = getChildAt(i);
214 if (child.getVisibility() == GONE) continue;
216 final boolean isGeneratedItem = child instanceof ActionMenuItemView;
222 child.setPadding(mGeneratedItemPadding, 0, mGeneratedItemPadding, 0);
225 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
232 lp.preventEdgeOffset = isGeneratedItem && ((ActionMenuItemView) child).hasText();
237 final int cellsUsed = measureChildForCells(child, cellSize, cellsAvailable,
245 maxChildHeight = Math.max(maxChildHeight, child
401 measureChildForCells(View child, int cellSize, int cellsRemaining, int parentHeightMeasureSpec, int parentHeightPadding) argument
[all...]
H A DAlertDialogLayout.java76 final View child = getChildAt(i);
77 if (child.getVisibility() == View.GONE) {
81 final int id = child.getId();
83 topPanel = child;
85 buttonPanel = child;
91 middlePanel = child;
93 // Unknown top-level child. Abort!
182 // Compute desired width as maximum child width.
185 final View child = getChildAt(i);
186 if (child
346 setChildFrame(View child, int left, int top, int width, int height) argument
[all...]
H A DDropDownListView.java123 final View child = getChildAt(position - getFirstVisiblePosition());
124 setPressedItem(child, position, x, y);
128 clickPressedItem(child, position);
156 private void clickPressedItem(final View child, final int position) { argument
158 performItemClick(child, position, id);
189 private void setPressedItem(View child, int position, float x, float y) { argument
200 // Next, run layout to stabilize child positions.
207 if (motionView != null && motionView != child && motionView.isPressed()) {
213 // Offset for child coordinates.
214 final float childX = x - child
[all...]
H A DLinearLayoutCompat.java45 * You can also specify gravity, which specifies the alignment of all the child elements by
104 * use the child at this index as the baseline.
112 * The additional offset to the child's baseline.
297 final View child = getVirtualChildAt(i);
299 if (child != null && child.getVisibility() != GONE) {
301 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
302 final int top = child.getTop() - lp.topMargin - mDividerHeight;
309 final View child = getVirtualChildAt(count - 1);
311 if (child
1346 getChildrenSkipCount(View child, int index) argument
1374 measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, int heightMeasureSpec, int totalHeight) argument
1388 getLocationOffset(View child) argument
1400 getNextLocationOffset(View child) argument
1644 setChildFrame(View child, int left, int top, int width, int height) argument
[all...]
H A DToolbar.java93 * <li><em>One or more custom views.</em> The application may add arbitrary child views
94 * to the Toolbar. They will appear at this position within the layout. If a child view's
1503 private void measureChildConstrained(View child, int parentWidthSpec, int widthUsed, argument
1505 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams();
1521 child.measure(childWidthSpec, childHeightSpec);
1527 private int measureChildCollapseMargins(View child, argument
1530 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams();
1546 child.measure(childWidthMeasureSpec, childHeightMeasureSpec);
1547 return child.getMeasuredWidth() + hMargins;
1551 * Returns true if the Toolbar is collapsible and has no child view
1939 layoutChildLeft(View child, int left, int[] collapsingMargins, int alignmentHeight) argument
1952 layoutChildRight(View child, int right, int[] collapsingMargins, int alignmentHeight) argument
1965 getChildTop(View child, int alignmentHeight) argument
2102 isCustomView(View child) argument
2137 isChildOrHidden(View child) argument
[all...]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java83 * If a child does not specify the row and column indices of the cell it
116 * {@link LayoutParams#setGravity(int) gravity} property of the child's layout parameters.
442 * based on the child's visual characteristics. Each of the
692 private int getTotalMargin(View child, boolean horizontal) { argument
693 return getMargin(child, horizontal, true) + getMargin(child, horizontal, false);
902 private void measureChildWithMargins2(View child, int parentWidthSpec, int parentHeightSpec, argument
905 getTotalMargin(child, true), childWidth);
907 getTotalMargin(child, false), childHeight);
908 child
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DChildHelper.java55 * 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...]
H A DGridLayoutManager.java687 Log.d(TAG, "laid out child at position " + getPosition(view) + ", with l:"
702 * Measures a child with currently known information. This is not necessarily the child's final
705 * @param view The child view to be measured
750 private void measureChildWithDecorationsAndMargin(View child, int widthSpec, int heightSpec, argument
752 RecyclerView.LayoutParams lp = (RecyclerView.LayoutParams) child.getLayoutParams();
755 measure = shouldReMeasureChild(child, widthSpec, heightSpec, lp);
757 measure = shouldMeasureChild(child, widthSpec, heightSpec, lp);
760 child.measure(widthSpec, heightSpec);
1005 // LinearLayoutManager finds the last child
[all...]
H A DLinearLayoutManager.java404 final View child = getChildAt(viewPosition);
405 if (getPosition(child) == position) {
406 return child; // in pre-layout, this may not match
524 // if the child is visible and we are going to move it around, we should layout
753 * Finds an anchor child from existing Views. Most of the time, this is the view closest to
756 * If a child has focus, it is given priority.
776 // If all visible views are removed in 1 pass, reference child might be out of bounds.
779 // validate this child is at least partially visible. if not, offset it to start
814 // if child is visible, try to make it a reference child an
2390 isViewValidAsAnchor(View child, RecyclerView.State state) argument
2396 assignFromViewAndKeepVisibleRect(View child) argument
2443 assignFromView(View child) argument
[all...]
H A DRecyclerView.java96 * <li><em>Index:</em> The index of an attached child view as used in a call to
98 * <li><em>Binding:</em> The process of preparing a child view to display data corresponding
104 * <li><em>Scrap (view):</em> A child view that has entered into a temporarily detached
108 * <li><em>Dirty (view):</em> A child view that must be rebound by the adapter before
198 * on API 15-, a focused child can still be considered a focused child of RV even after
200 * child is detached, the reference to this child is not removed in clearFocus. API 16 and above
202 * to request focus on a new child, which will clear the focus on the old (detached) child a
2510 requestChildFocus(View child, View focused) argument
2526 requestChildOnScreen(@onNull View child, @Nullable View focused) argument
2555 requestChildRectangleOnScreen(View child, Rect rect, boolean immediate) argument
3889 removeDetachedView(View child, boolean animate) argument
4322 getChildViewHolder(View child) argument
4369 getChildViewHolderInt(View child) argument
4381 getChildPosition(View child) argument
4391 getChildAdapterPosition(View child) argument
4406 getChildLayoutPosition(View child) argument
4417 getChildItemId(View child) argument
4578 drawChild(Canvas canvas, View child, long drawingTime) argument
4605 onChildAttachedToWindow(View child) argument
4617 onChildDetachedFromWindow(View child) argument
4653 getItemDecorInsetsForChild(View child) argument
6935 dispatchChildDetached(View child) argument
6949 dispatchChildAttached(View child) argument
7911 addDisappearingView(View child) argument
7929 addDisappearingView(View child, int index) argument
7940 addView(View child) argument
7952 addView(View child, int index) argument
7956 addViewInt(View child, int index, boolean disappearing) argument
8018 removeView(View child) argument
8154 detachView(View child) argument
8196 attachView(View child, int index, LayoutParams lp) argument
8217 attachView(View child, int index) argument
8228 attachView(View child) argument
8238 removeDetachedView(View child) argument
8267 detachAndScrapView(View child, Recycler recycler) argument
8292 removeAndRecycleView(View child, Recycler recycler) argument
8642 measureChild(View child, int widthUsed, int heightUsed) argument
8665 shouldReMeasureChild(View child, int widthSpec, int heightSpec, LayoutParams lp) argument
8679 shouldMeasureChild(View child, int widthSpec, int heightSpec, LayoutParams lp) argument
8741 measureChildWithMargins(View child, int widthUsed, int heightUsed) argument
8872 getDecoratedMeasuredWidth(View child) argument
8886 getDecoratedMeasuredHeight(View child) argument
8921 layoutDecorated(View child, int left, int top, int right, int bottom) argument
8956 layoutDecoratedWithMargins(View child, int left, int top, int right, int bottom) argument
8976 getTransformedBoundingBox(View child, boolean includeDecorInsets, Rect out) argument
9021 getDecoratedLeft(View child) argument
9033 getDecoratedTop(View child) argument
9045 getDecoratedRight(View child) argument
9057 getDecoratedBottom(View child) argument
9078 calculateItemDecorationsForChild(View child, Rect outRect) argument
9098 getTopDecorationHeight(View child) argument
9113 getBottomDecorationHeight(View child) argument
9128 getLeftDecorationWidth(View child) argument
9143 getRightDecorationWidth(View child) argument
9207 getChildRectangleOnScreenScrollAmount(RecyclerView parent, View child, Rect rect, boolean immediate) argument
9259 requestChildRectangleOnScreen(RecyclerView parent, View child, Rect rect, boolean immediate) argument
9278 requestChildRectangleOnScreen(RecyclerView parent, View child, Rect rect, boolean immediate, boolean focusedChildVisible) argument
9317 isViewPartiallyVisible(@onNull View child, boolean completelyVisible, boolean acceptEndPointInclusion) argument
9363 onRequestChildFocus(RecyclerView parent, View child, View focused) argument
9385 onRequestChildFocus(RecyclerView parent, State state, View child, View focused) argument
11262 onChildAttachedToWindow(View child) argument
[all...]

Completed in 2774 milliseconds

123456789