Searched refs:child (Results 126 - 150 of 337) sorted by relevance

1234567891011>>

/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DPostDevDataResponse.java24 for (XMLNode child : root.getChildren()) {
25 mOSUCommands.add(new OSUCommand(child));
H A DOSUResponse.java55 for (XMLNode child : root.getChildren()) {
56 if (child.getTag().equals(errorTag)) {
57 error = OMAConstants.mapError(child.getAttributeValue("errorCode"));
H A DSOAPParser.java72 for (XMLNode child : root.getChildren()) {
73 if (bodyTag.equalsIgnoreCase(child.getTag())) {
74 body = child;
149 <xsd:documentation>When this boolean is true, X509v3 certificates issued by providers identified in the providerIssuerName child element(s) are acceptable for mobile device authentication.</xsd:documentation>
187 <xsd:documentation>This command causes the update of an interior node and its child nodes (if any) at the location specified in the management tree URI attribute. The content of this element is the MO node XML.</xsd:documentation>
/frameworks/base/tools/preload/
H A DOperation.java85 for (Operation child : subops) {
86 exclusive -= child.inclusiveTimeNanos();
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/
H A DManagementTreeRoot.java53 for (OMANode child : getChildren()) {
54 child.toXml(sb);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DAbsActionBarView.java246 protected int measureChildView(View child, int availableWidth, int childSpecHeight, argument
248 child.measure(MeasureSpec.makeMeasureSpec(availableWidth, MeasureSpec.AT_MOST),
251 availableWidth -= child.getMeasuredWidth();
261 protected int positionChild(View child, int x, int y, int contentHeight, boolean reverse) { argument
262 int childWidth = child.getMeasuredWidth();
263 int childHeight = child.getMeasuredHeight();
267 child.layout(x - childWidth, childTop, x, childTop + childHeight);
269 child.layout(x, childTop, x + childWidth, childTop + childHeight);
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
1498 private void measureChildConstrained(View child, int parentWidthSpec, int widthUsed, argument
1500 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams();
1516 child.measure(childWidthSpec, childHeightSpec);
1522 private int measureChildCollapseMargins(View child, argument
1525 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams();
1541 child.measure(childWidthMeasureSpec, childHeightMeasureSpec);
1542 return child.getMeasuredWidth() + hMargins;
1546 * Returns true if the Toolbar is collapsible and has no child view
1935 layoutChildLeft(View child, int left, int[] collapsingMargins, int alignmentHeight) argument
1948 layoutChildRight(View child, int right, int[] collapsingMargins, int alignmentHeight) argument
1961 getChildTop(View child, int alignmentHeight) argument
2098 isCustomView(View child) argument
2132 isChildOrHidden(View child) argument
[all...]
H A DListViewCompat.java247 * @param widthMeasureSpec The width measure spec to be given to a child's
249 * @param startPosition The position of the first child to be shown.
250 * @param endPosition The (inclusive) position of the last child to be
251 * shown. Specify {@link #NO_POSITION} if the last child
252 * should be the last available child from the adapter.
294 View child = null;
300 child = null;
303 child = adapter.getView(i, child, this);
305 // Compute child heigh
[all...]
/frameworks/base/core/java/android/widget/
H A DGridView.java358 View child = null;
366 child = makeAndAddView(pos, y, flow, nextLeft, selected, where);
374 selectedView = child;
378 mReferenceView = child;
617 // Get the last child ...
656 // Get the first child ...
794 * @param childInSelectedRow A child in the row that contains the selection
823 * @param childInSelectedRow A child in the row that contains the selection
1065 final View child = obtainView(0, mIsScrap);
1067 AbsListView.LayoutParams p = (AbsListView.LayoutParams) child
1127 attachLayoutAnimationParameters(View child, ViewGroup.LayoutParams params, int index, int count) argument
1464 setupChild(View child, int position, int y, boolean flow, int childrenLeft, boolean selected, boolean recycled, int where) argument
[all...]
H A DToolbar.java84 * <li><em>One or more custom views.</em> The application may add arbitrary child views
85 * to the Toolbar. They will appear at this position within the layout. If a child view's
1467 protected void onSetLayoutParams(View child, ViewGroup.LayoutParams lp) { argument
1477 child.setLayoutParams(generateLayoutParams(lp));
1481 private void measureChildConstrained(View child, int parentWidthSpec, int widthUsed, argument
1483 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams();
1499 child.measure(childWidthSpec, childHeightSpec);
1505 private int measureChildCollapseMargins(View child, argument
1508 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams();
1524 child
1910 layoutChildLeft(View child, int left, int[] collapsingMargins, int alignmentHeight) argument
1923 layoutChildRight(View child, int right, int[] collapsingMargins, int alignmentHeight) argument
1936 getChildTop(View child, int alignmentHeight) argument
2071 isCustomView(View child) argument
2105 isChildOrHidden(View child) argument
[all...]
/frameworks/support/v4/java/android/support/v4/view/
H A DAccessibilityDelegateCompat.java56 public boolean onRequestSendAccessibilityEvent(Object delegate, ViewGroup host, View child, argument
102 public boolean onRequestSendAccessibilityEvent(Object delegate, ViewGroup host, View child, argument
164 public boolean onRequestSendAccessibilityEvent(ViewGroup host, View child,
166 return compat.onRequestSendAccessibilityEvent(host, child, event);
208 public boolean onRequestSendAccessibilityEvent(Object delegate, ViewGroup host, View child, argument
211 child, event);
255 public boolean onRequestSendAccessibilityEvent(ViewGroup host, View child,
257 return compat.onRequestSendAccessibilityEvent(host, child, event);
454 * Called when a child of the host View has requested sending an
465 * @param child Th
472 onRequestSendAccessibilityEvent(ViewGroup host, View child, AccessibilityEvent event) argument
[all...]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
H A DFieldAccessExpr.java247 Expr child = getChild();
248 child.getResolvedType();
249 boolean isStatic = child instanceof StaticIdentifierExpr;
250 ModelClass resolvedType = child.getResolvedType();
265 child.getParents().remove(this);
266 getChildren().remove(child);
270 child = getChild(); // replace the child for the next if stmt
275 child.getParents().remove(this);
276 getChildren().remove(child);
[all...]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DLinearLayoutManagerBaseConfigSetTest.java95 // get middle child
96 final View child = mLayoutManager.getChildAt(mLayoutManager.getChildCount() / 2);
97 final int position = mRecyclerView.getChildLayoutPosition(child);
100 .getDecoratedEnd(child)
101 : orientationHelper.getDecoratedStart(child) - orientationHelper
110 .getDecoratedEnd(child)
111 : orientationHelper.getDecoratedStart(child) - orientationHelper
113 assertEquals(config + " scroll with offset on a visible child should work fine " +
115 + "child " + position,
131 final View child
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DRecyclerView.java93 * <li><em>Index:</em> The index of an attached child view as used in a call to
95 * <li><em>Binding:</em> The process of preparing a child view to display data corresponding
101 * <li><em>Scrap (view):</em> A child view that has entered into a temporarily detached
105 * <li><em>Dirty (view):</em> A child view that must be rebound by the adapter before
410 // simple array to keep min and max child position during a layout calculation
637 public void addView(View child, int index) {
638 RecyclerView.this.addView(child, index);
639 dispatchChildAttached(child);
649 final View child = RecyclerView.this.getChildAt(index);
650 if (child !
2237 requestChildFocus(View child, View focused) argument
2265 requestChildRectangleOnScreen(View child, Rect rect, boolean immediate) argument
3453 removeDetachedView(View child, boolean animate) argument
3878 getChildViewHolder(View child) argument
3925 getChildViewHolderInt(View child) argument
3937 getChildPosition(View child) argument
3947 getChildAdapterPosition(View child) argument
3962 getChildLayoutPosition(View child) argument
3973 getChildItemId(View child) argument
4133 drawChild(Canvas canvas, View child, long drawingTime) argument
4160 onChildAttachedToWindow(View child) argument
4172 onChildDetachedFromWindow(View child) argument
4188 getItemDecorInsetsForChild(View child) argument
6225 dispatchChildDetached(View child) argument
6239 dispatchChildAttached(View child) argument
6970 addDisappearingView(View child) argument
6988 addDisappearingView(View child, int index) argument
6999 addView(View child) argument
7011 addView(View child, int index) argument
7015 addViewInt(View child, int index, boolean disappearing) argument
7077 removeView(View child) argument
7213 detachView(View child) argument
7255 attachView(View child, int index, LayoutParams lp) argument
7276 attachView(View child, int index) argument
7287 attachView(View child) argument
7297 removeDetachedView(View child) argument
7326 detachAndScrapView(View child, Recycler recycler) argument
7351 removeAndRecycleView(View child, Recycler recycler) argument
7698 measureChild(View child, int widthUsed, int heightUsed) argument
7721 shouldReMeasureChild(View child, int widthSpec, int heightSpec, LayoutParams lp) argument
7735 shouldMeasureChild(View child, int widthSpec, int heightSpec, LayoutParams lp) argument
7797 measureChildWithMargins(View child, int widthUsed, int heightUsed) argument
7928 getDecoratedMeasuredWidth(View child) argument
7942 getDecoratedMeasuredHeight(View child) argument
7977 layoutDecorated(View child, int left, int top, int right, int bottom) argument
8012 layoutDecoratedWithMargins(View child, int left, int top, int right, int bottom) argument
8032 getTransformedBoundingBox(View child, boolean includeDecorInsets, Rect out) argument
8082 getDecoratedLeft(View child) argument
8094 getDecoratedTop(View child) argument
8106 getDecoratedRight(View child) argument
8118 getDecoratedBottom(View child) argument
8139 calculateItemDecorationsForChild(View child, Rect outRect) argument
8159 getTopDecorationHeight(View child) argument
8174 getBottomDecorationHeight(View child) argument
8189 getLeftDecorationWidth(View child) argument
8204 getRightDecorationWidth(View child) argument
8266 requestChildRectangleOnScreen(RecyclerView parent, View child, Rect rect, boolean immediate) argument
8314 onRequestChildFocus(RecyclerView parent, View child, View focused) argument
8336 onRequestChildFocus(RecyclerView parent, State state, View child, View focused) argument
10121 onChildAttachedToWindow(View child) argument
[all...]
/frameworks/base/test-runner/src/android/test/
H A DViewAsserts.java327 * child should be non-null.
333 assertTrue("child count should be >= 0", count >= 0);
342 * Assert that the specified group contains a specific child once and only once.
345 * @param child The child that should belong to group
347 static public void assertGroupContains(ViewGroup parent, View child) { argument
353 if (parent.getChildAt(i) == child) {
357 assertTrue("child " + child + " is duplicated in parent", false);
362 assertTrue("group does not contain " + child, foun
371 assertGroupNotContains(ViewGroup parent, View child) argument
[all...]
/frameworks/support/v4/java/android/support/v4/widget/
H A DViewDragHelper.java147 * governing the range and draggability of child views.
174 * Called when a child view is captured for dragging or settling. The ID of the pointer
180 * @param activePointerId Pointer id tracking the child capture
185 * Called when the child view is no longer being actively dragged.
198 * @param releasedChild The captured child view now being released
206 * by the user while no child view is currently captured.
232 * of the subscribed edges in the parent view while no child view is currently captured.
244 * Called to determine the Z-order of child views.
254 * Return the magnitude of a draggable child view's horizontal range of motion in pixels.
257 * @param child Chil
260 getViewHorizontalDragRange(View child) argument
271 getViewVerticalDragRange(View child) argument
291 tryCaptureView(View child, int pointerId) argument
304 clampViewPositionHorizontal(View child, int left, int dx) argument
319 clampViewPositionVertical(View child, int top, int dy) argument
539 smoothSlideViewTo(View child, int finalLeft, int finalTop) argument
604 computeSettleDuration(View child, int dx, int dy, int xvel, int yvel) argument
1293 checkTouchSlop(View child, float dx, float dy) argument
[all...]
/frameworks/base/core/java/android/view/
H A DGhostView.java185 View child = viewGroup.getChildAt(i);
186 if (isGhostWrapper(child)) {
187 tempViews.add(child);
188 GhostView ghostView = (GhostView)((ViewGroup)child).getChildAt(0);
263 View child = frameLayout.getChildAt(0);
264 return child instanceof GhostView;
328 final View child = (preorderedList == null)
330 if (child == view) {
333 } else if (child == comparedWith) {
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DSerializer.cpp88 const xmlNode *child = root; local
89 if (!xmlStrcmp(child->name, (const xmlChar *)Trait::collectionTag)) {
90 child = child->xmlChildrenNode;
92 while (child != NULL) {
93 if (!xmlStrcmp(child->name, (const xmlChar *)Trait::tag)) {
95 status_t status = Trait::deserialize(doc, child, element, serializingContext);
104 child = child->next;
220 status_t MixPortTraits::deserialize(_xmlDoc *doc, const _xmlNode *child, PtrElemen argument
452 const xmlNode *child = children->xmlChildrenNode; local
557 const xmlNode *child = referenceName.empty() ? root->xmlChildrenNode : ref->xmlChildrenNode; local
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DEvents.java143 View child = view.findChildViewUnder(mEvent.getX(), mEvent.getY());
144 mPosition = (child!= null)
145 ? view.getChildAdapterPosition(child)
/frameworks/base/sax/java/android/sax/
H A DRootElement.java129 // Look for a child to push onto the stack.
132 Element child = children.get(uri, localName);
133 if (child != null) {
134 start(child, attributes);
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
H A DVectorDrawable01.java71 View child = vg.getChildAt(i);
72 if (child != buttonView) {
73 child.setEnabled(isChecked);
/frameworks/support/v4/jellybean/android/support/v4/view/
H A DAccessibilityDelegateCompatJellyBean.java37 public boolean onRequestSendAccessibilityEvent(ViewGroup host, View child, argument
70 public boolean onRequestSendAccessibilityEvent(ViewGroup host, View child,
72 return bridge.onRequestSendAccessibilityEvent(host, child, event);
/frameworks/support/v4/tests/java/android/support/v4/app/
H A DNestedFragmentRestoreTest.java68 ChildFragment child = parent.getChildFragment();
72 child.setOnAttachListener(new OnAttachListener() {
91 assertNotSame("attached to new parent fragment", parent, child);
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHostView.java252 View child = getErrorView();
253 prepareView(child);
254 addViewInLayout(child, 0, child.getLayoutParams());
255 measureChild(child, MeasureSpec.makeMeasureSpec(getMeasuredWidth(), MeasureSpec.EXACTLY),
257 child.layout(0, 0, child.getMeasuredWidth() + mPaddingLeft + mPaddingRight,
258 child.getMeasuredHeight() + mPaddingTop + mPaddingBottom);
259 mView = child;
615 protected boolean drawChild(Canvas canvas, View child, lon argument
[all...]
/frameworks/support/design/src/android/support/design/widget/
H A DFloatingActionButton.java563 FloatingActionButton child, View dependency) {
569 public boolean onDependentViewChanged(CoordinatorLayout parent, FloatingActionButton child, argument
572 updateFabTranslationForSnackbar(parent, child, true);
576 updateFabVisibility(parent, (AppBarLayout) dependency, child);
582 public void onDependentViewRemoved(CoordinatorLayout parent, FloatingActionButton child, argument
585 updateFabTranslationForSnackbar(parent, child, true);
590 AppBarLayout appBarLayout, FloatingActionButton child) {
592 (CoordinatorLayout.LayoutParams) child.getLayoutParams();
599 if (child.getUserSetVisibility() != VISIBLE) {
614 child
562 layoutDependsOn(CoordinatorLayout parent, FloatingActionButton child, View dependency) argument
589 updateFabVisibility(CoordinatorLayout parent, AppBarLayout appBarLayout, FloatingActionButton child) argument
680 onLayoutChild(CoordinatorLayout parent, FloatingActionButton child, int layoutDirection) argument
[all...]

Completed in 659 milliseconds

1234567891011>>