Searched refs:child (Results 101 - 125 of 150) sorted by relevance

123456

/frameworks/support/v4/java/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompat.java49 public void addChild(Object info, View child); argument
50 public void addChild(Object info, View child, int virtualDescendantId); argument
131 public void addChild(Object info, View child) { argument
136 public void addChild(Object info, View child, int virtualDescendantId) { argument
448 public void addChild(Object info, View child) { argument
449 AccessibilityNodeInfoCompatIcs.addChild(info, child);
680 public void addChild(Object info, View child, int virtualDescendantId) { argument
681 AccessibilityNodeInfoCompatJellyBean.addChild(info, child, virtualDescendantId);
1214 * @return The child count.
1221 * Get the child a
1248 addChild(View child) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarContextView.java417 View child = mMenuView.getChildAt(i);
418 child.setScaleY(0);
419 ObjectAnimator a = ObjectAnimator.ofFloat(child, "scaleY", 0, 1);
443 View child = mMenuView.getChildAt(i);
444 child.setScaleY(0);
445 ObjectAnimator a = ObjectAnimator.ofFloat(child, "scaleY", 0);
H A DScrollingTabContainerView.java177 final View child = mTabLayout.getChildAt(i);
179 child.setSelected(isSelected);
550 final View child = mTabLayout.getChildAt(i);
551 child.setSelected(child == view);
/frameworks/base/core/java/android/widget/
H A DListPopupWindow.java750 final View child = list.getChildAt(position - list.getFirstVisiblePosition());
752 mItemClickListener.onItemClick(list, child, position, adapter.getItemId(position));
1485 final View child = getChildAt(position - getFirstVisiblePosition());
1486 setPressedItem(child, position);
1490 clickPressedItem(child, position);
1518 private void clickPressedItem(final View child, final int position) { argument
1527 performItemClick(child, position, id);
1549 private void setPressedItem(View child, int position) { argument
1559 positionSelector(position, child);
H A DGridLayout.java77 * If a child does not specify the row and column indices of the cell it
107 * A child's ability to stretch is inferred from the alignment properties of
109 * {@link LayoutParams#setGravity(int) gravity} property of the child's layout parameters).
441 * based on the child's visual characteristics. Each of the
691 private int getTotalMargin(View child, boolean horizontal) { argument
692 return getMargin(child, horizontal, true) + getMargin(child, horizontal, false);
804 protected void onSetLayoutParams(View child, ViewGroup.LayoutParams layoutParams) { argument
805 super.onSetLayoutParams(child, layoutParams);
940 protected void onViewAdded(View child) { argument
949 onViewRemoved(View child) argument
961 onChildVisibilityChanged(View child, int oldVisibility, int newVisibility) argument
994 measureChildWithMargins2(View child, int parentWidthSpec, int parentHeightSpec, int childWidth, int childHeight) argument
[all...]
H A DActivityChooserView.java445 View child = mActivityChooserContent;
453 measureChild(child, widthMeasureSpec, heightMeasureSpec);
454 setMeasuredDimension(child.getMeasuredWidth(), child.getMeasuredHeight());
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DRecentsVerticalScrollView.java361 View child = mAdapter.createView(mLinearLayout);
362 child.measure(childWidthMeasureSpec, childheightMeasureSpec);
364 (int) FloatMath.ceil(dm.heightPixels / (float) child.getMeasuredHeight());
365 addToRecycledViews(child);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DListPopupWindow.java705 final View child = list.getChildAt(position - list.getFirstVisiblePosition());
707 mItemClickListener.onItemClick(list, child, position, adapter.getItemId(position));
1256 * @param widthMeasureSpec The width measure spec to be given to a child's
1258 * @param startPosition The position of the first child to be shown.
1259 * @param endPosition The (inclusive) position of the last child to be
1260 * shown. Specify {@link #NO_POSITION} if the last child
1261 * should be the last available child from the adapter.
1303 View child = null;
1309 child = null;
1312 child
[all...]
H A DActivityChooserView.java417 View child = mActivityChooserContent;
425 measureChild(child, widthMeasureSpec, heightMeasureSpec);
426 setMeasuredDimension(child.getMeasuredWidth(), child.getMeasuredHeight());
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBarView.java102 public boolean onRequestSendAccessibilityEvent(View child, AccessibilityEvent event) { argument
103 if (super.onRequestSendAccessibilityEvent(child, event)) {
H A DPhoneStatusBar.java876 View child = ll.getChildAt(n);
877 if (child instanceof StatusBarIconView) {
878 ((StatusBarIconView) child).updateDrawable();
1036 View child = mPile.getChildAt(i);
1037 if (!toShow.contains(child)) {
1038 toRemove.add(child);
1087 View child = mNotificationIcons.getChildAt(i);
1088 if (!toShow.contains(child)) {
1089 toRemove.add(child);
1732 * more children than necessary to get a layer (at most one extra child wit
[all...]
/frameworks/base/tools/aapt/
H A DXMLNode.h112 status_t addChild(const sp<XMLNode>& child);
114 status_t insertChildAt(const sp<XMLNode>& child, size_t index);
H A DXMLNode.cpp732 sp<XMLNode> child = mChildren.itemAt(i);
733 if (child->getType() == XMLNode::TYPE_ELEMENT
734 && child->mNamespaceUri == tagNamespace
735 && child->mElementName == tagName) {
736 return child;
743 status_t XMLNode::addChild(const sp<XMLNode>& child)
746 SourcePos(mFilename, child->getStartLineNumber()).error("Child to CDATA node.");
749 //printf("Adding child %p to parent %p\n", child.get(), this);
750 mChildren.add(child);
[all...]
/frameworks/support/v4/ics/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompatIcs.java46 public static void addChild(Object info, View child) { argument
47 ((AccessibilityNodeInfo) info).addChild(child);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DPagedView.java694 final View child = getPageAt(i);
695 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
716 child.measure(childWidthMeasureSpec, childHeightMeasureSpec);
778 final View child = getPageAt(i);
780 if (child.getVisibility() != View.GONE) {
781 final int childWidth = getScaledMeasuredWidth(child);
782 final int childHeight = child.getMeasuredHeight();
784 if (DEBUG) Log.d(TAG, "\tlayout-child" + i + ": " + childLeft + ", " + childTop);
785 child.layout(childLeft, childTop,
786 childLeft + child
808 onChildViewAdded(View parent, View child) argument
817 onChildViewRemoved(View parent, View child) argument
881 getScaledMeasuredWidth(View child) argument
933 shouldDrawChild(View child) argument
986 requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) argument
1771 requestChildFocus(View child, View focused) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderSessionImpl.java689 * Insert a new child into an existing parent.
708 // inflate the child without adding it to the root since we want to control where it'll
711 final View child = mInflater.inflate(blockParser, parentView, false /*attachToRoot*/);
722 return addView(parentView, child, index);
732 return SUCCESS.createResult(child);
736 Result result = addView(parentView, child, index);
743 result = result.getCopyWithData(child);
887 * @param previousParent the previous parent, still owning the child at the time of the call.
903 // in this case there is an animation. This means we have to wait for the child's
910 // adding the child o
[all...]
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityInteractionClient.java726 AccessibilityNodeInfo child = infos.get(j);
727 if (child.getSourceNodeId() == childId) {
728 fringe.add(child);
/frameworks/base/core/tests/coretests/src/android/util/
H A DListScenario.java569 * Have a child of the list view call {@link View#requestRectangleOnScreen(android.graphics.Rect)}.
572 * @param rect The rectangle, in the child's coordinates.
575 final View child = getListView().getChildAt(childIndex);
577 child.post(new Runnable() {
579 child.requestRectangleOnScreen(rect);
/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenuPresenter.java296 final View child = parent.getChildAt(i);
297 if (child instanceof MenuView.ItemView &&
298 ((MenuView.ItemView) child).getItemData() == item) {
299 return child;
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DActionMenuPresenter.java280 final View child = parent.getChildAt(i);
281 if (child instanceof MenuView.ItemView &&
282 ((MenuView.ItemView) child).getItemData() == item) {
283 return child;
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiSelector.java521 * Adds a child UiSelector criteria to this selector.
524 * child widgets under a specific parent widget.
543 * Adds a child UiSelector criteria to this selector which is used to
547 * sibling widgets as well all child widgets under a parent.
595 * Selectors may have a hierarchy defined by specifying child nodes to be matched.
600 * @return a child selector if one exists. Else null if this selector does not
601 * reference child node.
831 * Leaf selector indicates no more child or parent selectors
880 UiSelector child = (UiSelector)mSelectorAttributes.get(UiSelector.SELECTOR_CHILD);
881 if (child
[all...]
/frameworks/base/core/java/android/app/
H A DActivity.java446 * <p>If a child activity fails for any reason (such as crashing), the parent
796 /** Return the parent activity if this view is an embedded child. */
1640 * it should return either a mapping from child activity id strings to arbitrary objects,
1642 * set of child activities, such as ActivityGroup. The same guarantees and restrictions apply
2808 * This is called when a child activity of this one attempts to navigate up.
2811 * @param child The activity making the call.
2813 public boolean onNavigateUpFromChild(Activity child) { argument
3448 // TODO Consider clearing/flushing other event sources and events for child windows.
3472 throw new RuntimeException("Called be called from a child");
3762 * called from a child activit
3880 startActivityFromChild(Activity child, Intent intent, int requestCode) argument
3904 startActivityFromChild(Activity child, Intent intent, int requestCode, Bundle options) argument
3972 startIntentSenderFromChild(Activity child, IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags) argument
3986 startIntentSenderFromChild(Activity child, IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, Bundle options) argument
4267 finishFromChild(Activity child) argument
4301 finishActivityFromChild(Activity child, int requestCode) argument
5129 navigateUpToFromChild(Activity child, Intent upIntent) argument
[all...]
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DTimePickerDialog.java951 public void addChild(Node child) { argument
952 mChildren.add(child);
968 for (Node child : mChildren) {
969 if (child.containsKey(key)) {
970 return child;
/frameworks/webview/chromium/java/com/android/webview/chromium/
H A DWebViewChromium.java157 static void completeWindowCreation(WebView parent, WebView child) { argument
160 child == null ? null : ((WebViewChromium) child.getWebViewProvider()).mAwContents;
1890 public boolean requestChildRectangleOnScreen(final View child, final Rect rect, argument
1897 return requestChildRectangleOnScreen(child, rect, immediate);
1902 return mAwContents.requestChildRectangleOnScreen(child, rect, immediate);
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
H A DVCardEntryTests.java135 VCardEntry child = entries.get(0);
137 assertEquals("test2", child.getDisplayName());

Completed in 879 milliseconds

123456