Searched defs:child (Results 51 - 75 of 223) sorted by relevance

123456789

/frameworks/base/core/java/com/android/internal/widget/
H A DWatchListDecorLayout.java36 * Use with one ListView child. The top and bottom panels will track the ListView's scrolling.
37 * If there is no ListView child, it will act like a normal FrameLayout.
77 View child = getChildAt(i);
78 if (child instanceof ListView) {
80 throw new IllegalArgumentException("only one ListView child allowed");
82 mListView = (ListView) child;
88 int gravity = (((LayoutParams) child.getLayoutParams()).gravity
91 mTopPanel = child;
93 mBottomPanel = child;
112 private void applyMeasureToChild(View child, in argument
146 measureAndGetHeight(View child, int widthMeasureSpec, int heightMeasureSpec) argument
[all...]
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 DWatchHeaderListView.java56 public void addView(View child, ViewGroup.LayoutParams params) { argument
58 setTopPanel(child);
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/
H A DOMAConstructed.java28 OMANode child = value != null ?
31 mChildren.put(name, child);
32 return child;
41 throw new IOException("No child node '" + element + "' in " + getPathString());
43 throw new IOException("Cannot add child to leaf node: " + getPathString());
54 public void addChild(OMANode child) { argument
55 mChildren.put(child.getName(), child.reparent(this));
63 OMANode child = mChildren.get(tag);
64 if (child !
[all...]
H A DXMLNode.java89 public void addChild(XMLNode child) { argument
90 mChildren.add(child);
138 throw new OMAException("Expected exactly one child to " + mTag);
192 for (XMLNode child : mChildren) {
193 child.toString(subIndent, sb);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DDisplayListLayersActivity.java60 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);
H A DTransformsAndAnimationsActivity.java193 protected boolean getChildStaticTransformation(View child, Transformation t) { argument
/frameworks/base/tools/bit/
H A Dmake.cpp131 const Json::Value& child = value[i]; local
132 if (child.isString()) {
133 result->push_back(child.asString());
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
H A DTemplateLayout.java48 * The container of the actual content. This will be a view in the template, which child views
128 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
129 mContainer.addView(child, index, params);
132 private void addViewInternal(View child) { argument
133 super.addView(child, -1, generateDefaultLayoutParams());
205 * template instead of for child views.
/frameworks/support/compat/java/android/support/v4/view/
H A DAccessibilityDelegateCompat.java76 public boolean onRequestSendAccessibilityEvent(ViewGroup host, View child,
78 return compat.onRequestSendAccessibilityEvent(host, child, event);
136 public boolean onRequestSendAccessibilityEvent(ViewGroup host, View child,
138 return compat.onRequestSendAccessibilityEvent(host, child, event);
333 * Called when a child of the host View has requested sending an
344 * @param child The child which requests sending the event.
351 public boolean onRequestSendAccessibilityEvent(ViewGroup host, View child, argument
353 return DEFAULT_DELEGATE.onRequestSendAccessibilityEvent(host, child, event);
H A DViewParentCompat.java37 public boolean onStartNestedScroll(ViewParent parent, View child, View target, argument
40 return ((NestedScrollingParent) parent).onStartNestedScroll(child, target,
46 public void onNestedScrollAccepted(ViewParent parent, View child, View target, argument
49 ((NestedScrollingParent) parent).onNestedScrollAccepted(child, target,
93 public void notifySubtreeAccessibilityStateChanged(ViewParent parent, View child, argument
102 public void notifySubtreeAccessibilityStateChanged(ViewParent parent, View child, argument
104 parent.notifySubtreeAccessibilityStateChanged(child, source, changeType);
111 public boolean onStartNestedScroll(ViewParent parent, View child, View target, argument
114 return parent.onStartNestedScroll(child, target, nestedScrollAxes);
123 public void onNestedScrollAccepted(ViewParent parent, View child, Vie argument
227 requestSendAccessibilityEvent( ViewParent parent, View child, AccessibilityEvent event) argument
246 onStartNestedScroll(ViewParent parent, View child, View target, int nestedScrollAxes) argument
263 onNestedScrollAccepted(ViewParent parent, View child, View target, int nestedScrollAxes) argument
339 onStartNestedScroll(ViewParent parent, View child, View target, int nestedScrollAxes, int type) argument
369 onNestedScrollAccepted(ViewParent parent, View child, View target, int nestedScrollAxes, int type) argument
533 notifySubtreeAccessibilityStateChanged(ViewParent parent, View child, View source, int changeType) argument
[all...]
/frameworks/support/core-ui/java/android/support/v4/view/
H A DNestedScrollingChildHelper.java31 * Helper class for implementing nested scrolling child views compatible with Android platform
150 View child = mView;
152 if (ViewParentCompat.onStartNestedScroll(p, child, mView, axes, type)) {
154 ViewParentCompat.onNestedScrollAccepted(p, child, mView, axes, type);
158 child = (View) p;
369 * Called when a nested scrolling child stops its current nested scroll operation.
375 * @param child Child view stopping its nested scroll. This may not be a direct child view.
377 public void onStopNestedScroll(@NonNull View child) { argument
/frameworks/support/design/src/android/support/design/widget/
H A DHeaderScrollingViewBehavior.java52 public boolean onMeasureChild(CoordinatorLayout parent, View child, argument
55 final int childLpHeight = child.getLayoutParams().height;
61 final List<View> dependencies = parent.getDependencies(child);
65 && !ViewCompat.getFitsSystemWindows(child)) {
68 ViewCompat.setFitsSystemWindows(child, true);
70 if (ViewCompat.getFitsSystemWindows(child)) {
72 child.requestLayout();
91 parent.onMeasureChild(child, parentWidthMeasureSpec,
101 protected void layoutChild(final CoordinatorLayout parent, final View child, argument
103 final List<View> dependencies = parent.getDependencies(child);
[all...]
/frameworks/support/design/tests/src/android/support/design/widget/
H A DCoordinatorLayoutTest.java238 View child, View dependency) {
239 child.setLayoutParams(lpChild);
241 return lpChild.dependsOn(col, child, dependency);
389 public void onDependentViewRemoved(CoordinatorLayout parent, View child,
391 parent.getDependencies(child);
439 public boolean getInsetDodgeRect(CoordinatorLayout parent, View child, Rect rect) {
529 eq(imageView), // child
531 any(View.class), // direct child target
537 eq(imageView), // child
539 any(View.class), // direct child targe
236 dependsOn(CoordinatorLayout.LayoutParams lpChild, CoordinatorLayout.LayoutParams lpDependency, CoordinatorLayout col, View child, View dependency) argument
728 onStartNestedScroll(CoordinatorLayout coordinatorLayout, View child, View directTargetChild, View target, int nestedScrollAxes) argument
737 getInsetDodgeRect(CoordinatorLayout parent, View child, Rect rect) 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 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 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...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
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...]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DChildHelperTest.java119 public void addView(View child, int index) { argument
120 mViews.add(index, child);
158 public void attachViewToParent(View child, int index, ViewGroup.LayoutParams layoutParams) { argument
159 assertTrue(mDetached.remove(child));
160 addView(child, index);
169 public void onEnteredHiddenState(View child) { argument
170 mOnEnteredHiddenState.add(child);
174 public void onLeftHiddenState(View child) { argument
175 mOnExitedHiddenState.add(child);
/frameworks/support/wear/src/android/support/wear/widget/
H A DCurvingLayoutCallback.java60 public void onLayoutFinished(View child, RecyclerView parent) { argument
71 mAnchorOffsetXY[1] = child.getHeight() / 2.0f;
72 adjustAnchorOffsetXY(child, mAnchorOffsetXY);
73 float minCenter = -(float) child.getHeight() / 2;
74 float maxCenter = mLayoutHeight + (float) child.getHeight() / 2;
76 float verticalAnchor = (float) child.getTop() + mAnchorOffsetXY[1];
87 // Continue offsetting the child along the straight-line part of the curve, if it
96 child.offsetLeftAndRight(newLeft - child.getLeft());
98 child
114 adjustAnchorOffsetXY(View child, float[] anchorOffsetXY) argument
[all...]
/frameworks/base/core/java/android/preference/
H A DGenericInflater.java64 public void addItemFromInflater(T child); argument
/frameworks/base/core/java/android/widget/
H A DRadioGroup.java69 // Indicates whether the child was set from resources or dynamically, so it can be used
142 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
143 if (child instanceof RadioButton) {
144 final RadioButton button = (RadioButton) child;
155 super.addView(child, index, params);
274 * for a list of all child view attributes that this class supports.</p>
314 * <p>Fixes the child's width to
315 * {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT} and the child's
388 public void onChildViewAdded(View parent, View child) { argument
389 if (parent == RadioGroup.this && child instanceo
409 onChildViewRemoved(View parent, View child) argument
[all...]
H A DViewAnimator.java96 * 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/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
H A DQSIconViewImpl.java205 protected final void layout(View child, int left, int top) { argument
206 child.layout(left, top, left + child.getMeasuredWidth(), top + child.getMeasuredHeight());

Completed in 595 milliseconds

123456789