Searched refs:child (Results 201 - 225 of 337) sorted by relevance

1234567891011>>

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/
H A DXMLNode.java93 for (XMLNode child : mChildren) {
98 if (child.equals(thatChild)) {
129 public void addChild(XMLNode child) { argument
130 mChildren.add(child);
179 throw new OMAException("Expected exactly one child to " + mTag);
238 for (XMLNode child : mChildren) {
239 child.toString(subIndent, sb);
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarOverlayLayout.java478 final View child = getChildAt(i);
479 if (child.getVisibility() != GONE) {
480 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
482 final int width = child.getMeasuredWidth();
483 final int height = child.getMeasuredHeight();
487 if (child == mActionBarBottom) {
493 child.layout(childLeft, childTop, childLeft + width, childTop + height);
516 public boolean onStartNestedScroll(View child, View target, int axes) { argument
524 public void onNestedScrollAccepted(View child, View target, int axes) { argument
525 super.onNestedScrollAccepted(child, targe
[all...]
H A DActionBarContainer.java268 View child, ActionMode.Callback callback, int type) {
270 return super.startActionModeForChild(child, callback, type);
299 final View child = getChildAt(i);
300 if (child == mTabContainer) {
303 nonTabMaxHeight = Math.max(nonTabMaxHeight, isCollapsed(child) ? 0 :
304 getMeasuredHeightWithMargins(child));
267 startActionModeForChild( View child, ActionMode.Callback callback, int type) argument
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
H A DExpr.java175 Expr child = mChildren.get(i);
176 child.resolveListeners(valueType, this);
184 final Expr child = mChildren.get(i);
185 child.resolveTwoWayExpressions(this);
284 for (Expr child : mChildren) {
285 child.onParentSwapped(this, existing);
349 * Creates a dependency for each dynamic child. Should work for any expression besides
635 for (Expr child : getChildren()) {
636 child.setIsUsed(isUsed);
652 for (Expr child
[all...]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBaseWrapContentTest.java54 * dimensions and once with wrap_content setup. Then compares all child locations & ids +
346 assertMap("child coordinates. step:" + step, mChildCoordinates,
392 sb.append("child coordinates:\n");
448 View child = recyclerView.getChildAt(i);
449 Rect childBounds = getChildBounds(recyclerView, child, true);
450 mRawChildrenBox.union(getChildBounds(recyclerView, child, false));
451 RecyclerView.ViewHolder childViewHolder = recyclerView.getChildViewHolder(child);
460 private Rect getChildBounds(RecyclerView recyclerView, View child, boolean offset) { argument
462 RecyclerView.LayoutParams lp = (RecyclerView.LayoutParams) child.getLayoutParams();
463 Rect rect = new Rect(layoutManager.getDecoratedLeft(child)
[all...]
/frameworks/support/design/src/android/support/design/widget/
H A DTabLayout.java961 public void addView(View child) { argument
962 addViewInternal(child);
966 public void addView(View child, int index) { argument
967 addViewInternal(child);
971 public void addView(View child, ViewGroup.LayoutParams params) { argument
972 addViewInternal(child);
976 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
977 addViewInternal(child);
980 private void addViewInternal(final View child) { argument
981 if (child instanceo
[all...]
H A DCollapsingToolbarLayout.java53 * It is designed to be used as a direct child of a {@link AppBarLayout}.
291 protected boolean drawChild(Canvas canvas, View child, long drawingTime) { argument
296 if (child == mToolbar && mContentScrim != null && mScrimAlpha > 0) {
301 // Carry on drawing the child...
302 return super.drawChild(canvas, child, drawingTime);
335 final View child = getChildAt(i);
336 if (child instanceof Toolbar) {
337 toolbar = (Toolbar) child;
349 * Returns the direct child of this layout, which itself is the ancestor of the
430 // Update our child vie
[all...]
/frameworks/base/core/java/android/widget/
H A DCalendarViewLegacyDelegate.java838 WeekView child = (WeekView) view.getChildAt(0);
839 if (child == null) {
845 view.getFirstVisiblePosition() * child.getHeight() - child.getBottom();
860 int offset = child.getBottom() < mWeekMinVisibleHeight ? 1 : 0;
862 child = (WeekView) view.getChildAt(SCROLL_HYST_WEEKS + offset);
864 child = (WeekView) view.getChildAt(offset);
867 if (child != null) {
871 month = child.getMonthOfFirstWeekDay();
873 month = child
[all...]
H A DAdapterView.java66 * The position of the first child displayed
110 * Sync based on the selected child
115 * Sync based on the first child displayed
428 * The child view for which the context menu is being displayed. This
463 * @param child Ignored.
468 public void addView(View child) { argument
475 * @param child Ignored.
481 public void addView(View child, int index) { argument
488 * @param child Ignored.
494 public void addView(View child, LayoutParam argument
509 addView(View child, int index, LayoutParams params) argument
522 removeView(View child) argument
962 onRequestSendAccessibilityEventInternal(View child, AccessibilityEvent event) argument
[all...]
H A DStackView.java526 * Apply any necessary tranforms for the child that is being added.
528 void applyTransformForChildAtIndex(View child, int relativeIndex) { argument
538 final View child = getChildAt(i);
539 LayoutParams lp = (LayoutParams) child.getLayoutParams();
541 child.getAlpha() == 0f || child.getVisibility() != VISIBLE) {
1103 final View child = getChildAt(i);
1105 int childRight = mPaddingLeft + child.getMeasuredWidth();
1106 int childBottom = mPaddingTop + child.getMeasuredHeight();
1107 LayoutParams lp = (LayoutParams) child
[all...]
H A DZoomButtonsController.java423 * respects the gravity of a child's layout parameters.
613 // Reverse order so the child drawn on top gets first dibs.
622 View child = mContainer.getChildAt(i);
623 if (child.getVisibility() != View.VISIBLE) {
627 child.getHitRect(frame);
629 return child;
650 closestChild = child;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DExpandableNotificationRow.java227 ExpandableNotificationRow child = notificationChildren.get(i);
228 child.setIconAnimationRunning(running);
245 private void setIconAnimationRunningForChild(boolean running, View child) { argument
246 if (child != null) {
247 ImageView icon = (ImageView) child.findViewById(com.android.internal.R.id.icon);
249 ImageView rightIcon = (ImageView) child.findViewById(
361 * Add a child notification to this view.
568 ExpandableNotificationRow child = notificationChildren.get(i);
569 child.setChronometerRunning(running);
586 private void setChronometerRunningForChild(boolean running, View child) { argument
1014 onRequestSendAccessibilityEventInternal(View child, AccessibilityEvent event) argument
[all...]
H A DNotificationContentView.java185 // the Expanded child is smaller then the collapsed. Let's remeasure it.
337 public void setContractedChild(View child) { argument
342 addView(child);
343 mContractedChild = child;
344 mContractedWrapper = NotificationViewWrapper.wrap(getContext(), child,
349 public void setExpandedChild(View child) { argument
354 addView(child);
355 mExpandedChild = child;
356 mExpandedWrapper = NotificationViewWrapper.wrap(getContext(), child,
360 public void setHeadsUpChild(View child) { argument
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DBaseCardView.java43 * visibilities of the child types, and the state of the widget. A child may be
532 final View child = getChildAt(i);
534 if (child == null) {
538 BaseCardView.LayoutParams lp = (BaseCardView.LayoutParams) child
541 mInfoViewList.add(child);
542 child.setVisibility(infoVisible ? View.VISIBLE : View.GONE);
544 mExtraViewList.add(child);
545 child.setVisibility(extraVisible ? View.VISIBLE : View.GONE);
548 mMainViewList.add(child);
[all...]
H A DGridLayoutManager.java424 * skip non-focusable child and adjust mFocusPosition.
468 * Force a full layout under certain situations. E.g. Rows change, jump to invisible child.
478 * override child visibility
533 * How to position child in secondary direction.
603 * True if prune child, might be disabled during transition.
834 void fireOnChildViewHolderSelected(RecyclerView parent, RecyclerView.ViewHolder child, argument
840 mChildViewHolderSelectedListeners.get(i).onChildViewHolderSelected(parent, child,
912 // Children may request layout when a child selection event occurs (such as a change of
914 // If in layout, a child requesting layout may have been laid out before the selection
916 // If it was not, the child wil
991 getDecoratedLeft(View child) argument
996 getDecoratedTop(View child) argument
1001 getDecoratedRight(View child) argument
1007 getDecoratedBottom(View child) argument
1426 measureChild(View child) argument
2404 onRequestChildFocus(RecyclerView parent, View child, View focused) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DActionBarOverlayLayout.java425 final View child = getChildAt(i);
426 if (child.getVisibility() != GONE) {
427 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
429 final int width = child.getMeasuredWidth();
430 final int height = child.getMeasuredHeight();
435 child.layout(childLeft, childTop, childLeft + width, childTop + height);
459 public boolean onStartNestedScroll(View child, View target, int axes) { argument
467 public void onNestedScrollAccepted(View child, View target, int axes) { argument
468 mParentHelper.onNestedScrollAccepted(child, target, axes);
H A DDrawableUtils.java138 // If we have a DrawableContainer, let's traverse it's child array
143 for (final Drawable child : containerState.getChildren()) {
144 if (!canSafelyMutateDrawable(child)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBarView.java81 public boolean onRequestSendAccessibilityEventInternal(View child, AccessibilityEvent event) { argument
82 if (super.onRequestSendAccessibilityEventInternal(child, event)) {
/frameworks/base/services/core/java/com/android/server/updates/
H A DSELinuxPolicyInstallReceiver.java79 for (File child : fileOrDirectory.listFiles())
80 deleteRecursive(child);
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
H A DXmlConfigTests.java272 NetworkSecurityConfig child = appConfig.getConfigForHostname("developer.android.com");
273 MoreAsserts.assertNotEqual(parent, child);
275 MoreAsserts.assertNotEmpty(child.getPins().pins);
276 // Check that the child inherited the cleartext value and anchors.
277 assertFalse(child.isCleartextTrafficPermitted());
278 MoreAsserts.assertNotEmpty(child.getTrustAnchors());
290 NetworkSecurityConfig child = appConfig.getConfigForHostname("developer.android.com");
291 MoreAsserts.assertNotEqual(parent, child);
293 assertFalse(child.isCleartextTrafficPermitted());
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
H A DMergedBinding.java50 final Expr child = children.get(i);
51 child.resolveListeners(parameters[i], expr);
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/
H A DLayoutFileParser.java179 for (XMLParser.ElementContext child : XmlEditor.elements(ctx)) {
180 if ("include".equals(child.elmName.getText())) {
358 for (XMLParser.ElementContext child : XmlEditor.elements(root)) {
359 if (name.equals(child.elmName.getText())) {
360 result.add(child);
376 for (XMLParser.ElementContext child : XmlEditor.elements(root)) {
377 if (!name.equals(child.elmName.getText())) {
378 result.add(child);
/frameworks/base/libs/hwui/
H A DRenderNode.cpp55 for (auto&& child : mDisplayList->getChildren()) {
56 child->renderNode->debugDumpLayers(prefix);
213 for (auto&& child : mDisplayList->getChildren()) {
214 child->renderNode->copyTo(pnode->add_children());
474 for (auto&& child : mStagingDisplayList->getChildren()) {
475 child->renderNode->incParentRefCount();
504 for (auto&& child : mDisplayList->getChildren()) {
505 child->renderNode->decParentRefCount(observer, info);
543 for (auto&& child : mDisplayList->getChildren()) {
544 child
742 RenderNode* child = childOp->renderNode; local
829 RenderNode* child = childOp->renderNode; local
[all...]
/frameworks/support/v4/tests/java/android/support/v4/view/
H A DViewPagerActions.java329 final View child = pagerStrip.getChildAt(i);
330 if (child instanceof TextView) {
331 final TextView textViewChild = (TextView) child;
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityCache.java280 // If the child is no longer present, remove the sub-tree.
474 // The node should be a child of its parent if we have the parent.
480 AccessibilityNodeInfo child = nodes.get(nodeParent.getChildId(k));
481 if (child == node) {
487 Log.e(LOG_TAG, "Invalid parent-child relation between parent: "
488 + nodeParent + " and child: " + node);
492 // The node should be the parent of its child if we have the child.
495 AccessibilityNodeInfo child = nodes.get(node.getChildId(k));
496 if (child !
[all...]

Completed in 714 milliseconds

1234567891011>>