Searched defs:child (Results 1 - 25 of 141) sorted by relevance

123456

/frameworks/support/v4/ics/android/support/v4/view/
H A DViewGroupCompatIcs.java27 public static boolean onRequestSendAccessibilityEvent(ViewGroup group, View child, argument
29 return group.onRequestSendAccessibilityEvent(child, event);
H A DViewParentCompatICS.java28 ViewParent parent, View child, AccessibilityEvent event) {
29 return parent.requestSendAccessibilityEvent(child, event);
27 requestSendAccessibilityEvent( ViewParent parent, View child, AccessibilityEvent event) argument
/frameworks/support/v4/kitkat/android/support/v4/view/
H A DViewParentCompatKitKat.java23 public static void notifySubtreeAccessibilityStateChanged(ViewParent parent, View child, argument
25 parent.notifySubtreeAccessibilityStateChanged(child, source, changeType);
/frameworks/base/core/java/android/widget/
H A DTextSwitcher.java57 * @throws IllegalArgumentException if child is not an instance of
61 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
62 if (!(child instanceof TextView)) {
67 super.addView(child, index, params);
H A DViewSwitcher.java28 * child views, of which only one is shown at a time.
62 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
66 super.addView(child, index, params);
85 View child = mFactory.makeView();
86 LayoutParams lp = (LayoutParams) child.getLayoutParams();
90 addView(child, lp);
91 return child;
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDirectoryContainerView.java50 protected boolean drawChild(Canvas canvas, View child, long drawingTime) { argument
52 && mDisappearingChildren.contains(child)) {
55 return super.drawChild(canvas, child, drawingTime);
/frameworks/base/services/core/java/com/android/server/firewall/
H A DNotFilter.java30 private NotFilter(Filter child) { argument
31 mChild = child;
45 Filter child = null;
49 if (child == null) {
50 child = filter;
53 "<not> tag can only contain a single child filter.", parser, null);
56 return new NotFilter(child);
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DViewGroup_Delegate.java46 /*package*/ static boolean drawChild(ViewGroup thisVG, Canvas canvas, View child, argument
48 if (child.getZ() > thisVG.getZ()) {
51 child.setBackgroundBounds();
52 ViewOutlineProvider outlineProvider = child.getOutlineProvider();
53 Outline outline = child.mAttachInfo.mTmpOutline;
54 outlineProvider.getOutline(child, outline);
56 int restoreTo = transformCanvas(thisVG, canvas, child);
57 drawShadow(thisVG, canvas, child, outline);
61 return thisVG.drawChild_Original(canvas, child, drawingTime);
64 private static void drawShadow(ViewGroup parent, Canvas canvas, View child, argument
88 getElevation(View child, ViewGroup parent) argument
108 transformCanvas(ViewGroup thisVG, Canvas canvas, View child) argument
[all...]
/frameworks/support/design/honeycomb/android/support/design/widget/
H A DViewGroupUtilsHoneycomb.java31 public static void offsetDescendantRect(ViewGroup group, View child, Rect rect) { argument
40 offsetDescendantMatrix(group, child, m);
/frameworks/support/design/src/android/support/design/widget/
H A DViewGroupUtils.java27 void offsetDescendantRect(ViewGroup parent, View child, Rect rect); argument
32 public void offsetDescendantRect(ViewGroup parent, View child, Rect rect) { argument
33 parent.offsetDescendantRectToMyCoords(child, rect);
39 public void offsetDescendantRect(ViewGroup parent, View child, Rect rect) { argument
40 ViewGroupUtilsHoneycomb.offsetDescendantRect(parent, child, rect);
70 * This does not need to be a direct child.
H A DViewOffsetBehavior.java40 public boolean onLayoutChild(CoordinatorLayout parent, V child, int layoutDirection) { argument
42 parent.onLayoutChild(child, layoutDirection);
45 mViewOffsetHelper = new ViewOffsetHelper(child);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DBrowseRowsFrameLayout.java22 * Customized FrameLayout excludes margin of child from calculating the child size.
43 protected void measureChildWithMargins(View child, argument
46 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams();
51 child.measure(childWidthMeasureSpec, childHeightMeasureSpec);
H A DOnChildViewHolderSelectedListener.java22 * Interface for receiving notification when a child of this
27 * Callback method to be invoked when a child of this ViewGroup has been
31 * @param child The ViewHolder within the RecyclerView that is selected, or null if no
38 public void onChildViewHolderSelected(RecyclerView parent, RecyclerView.ViewHolder child, argument
H A DBrowseFrameLayout.java40 * Interface for managing child focus in a BrowseFrameLayout.
53 public void onRequestChildFocus(View child, View focused); argument
121 public void requestChildFocus(View child, View focused) { argument
122 super.requestChildFocus(child, focused);
124 mOnChildFocusListener.onRequestChildFocus(child, focused);
H A DControlBar.java25 public void onChildFocusedListener(View child, View focused); argument
58 public void requestChildFocus (View child, View focused) { argument
59 super.requestChildFocus(child, focused);
61 mOnChildFocusedListener.onChildFocusedListener(child, focused);
/frameworks/support/v4/java/android/support/v4/app/
H A DNoSaveStateFrameLayout.java31 static ViewGroup wrap(View child) { argument
32 NoSaveStateFrameLayout wrapper = new NoSaveStateFrameLayout(child.getContext());
33 ViewGroup.LayoutParams childParams = child.getLayoutParams();
39 child.setLayoutParams(lp);
40 wrapper.addView(child);
49 * Override to prevent freezing of any child views.
57 * Override to prevent thawing of any child views.
/frameworks/support/v4/java/android/support/v4/view/
H A DNestedScrollingParentHelper.java57 public void onNestedScrollAccepted(View child, View target, int axes) { argument
/frameworks/support/v4/api21/android/support/v4/widget/
H A DDrawerLayoutCompatApi21.java45 public static void dispatchChildInsets(View child, Object insets, int gravity) { argument
54 child.dispatchApplyWindowInsets(wi);
/frameworks/base/core/java/android/preference/
H A DPreferenceFrameLayout.java88 public void addView(View child) { argument
94 android.view.ViewGroup.LayoutParams params = child.getLayoutParams();
96 ? (PreferenceFrameLayout.LayoutParams) child.getLayoutParams() : null;
97 // Check on the id of the child before adding it.
127 super.addView(child);
/frameworks/base/core/java/com/android/internal/widget/
H A DTextProgressBar.java82 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
83 super.addView(child, index, params);
85 int childId = child.getId();
86 if (childId == CHRONOMETER_ID && child instanceof Chronometer) {
87 mChronometer = (Chronometer) child;
95 } else if (childId == PROGRESSBAR_ID && child instanceof ProgressBar) {
96 mProgressBar = (ProgressBar) child;
116 throw new RuntimeException("Expecting child ProgressBar with id " +
135 "Expecting child ProgressBar with id 'android.R.id.progress'");
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationsQuickSettingsContainer.java64 protected boolean drawChild(Canvas canvas, View child, long drawingTime) { argument
72 if (child == mScrollView) {
77 } else if (child == mStackScroller) {
83 } else if (child == mUserSwitcher) {
88 } else if (child == mKeyguardStatusBar) {
93 return super.drawChild(canvas, child, drawingTime);
/frameworks/base/test-runner/src/android/test/
H A DViewAsserts.java319 * child should be non-null.
325 assertTrue("child count should be >= 0", count >= 0);
334 * Assert that the specified group contains a specific child once and only once.
337 * @param child The child that should belong to group
339 static public void assertGroupContains(ViewGroup parent, View child) { argument
345 if (parent.getChildAt(i) == child) {
349 assertTrue("child " + child + " is duplicated in parent", false);
354 assertTrue("group does not contain " + child, foun
363 assertGroupNotContains(ViewGroup parent, View child) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
H A DAdapterItem.java43 void addChild(AdapterItem child) { argument
48 mChildren.add(child);
/frameworks/base/tools/layoutlib/studio-custom-widgets/src/com/android/tools/idea/editors/theme/widgets/
H A DErrorCatcher.java29 * {@link ViewGroup} that wraps another view and catches any possible exceptions that the child view
54 assert getChildCount() == 1 : "ErrorCatcher can only have one child";
56 View child = getChildAt(0);
58 measureChild(child, widthMeasureSpec, heightMeasureSpec);
60 setMeasuredDimension(resolveSize(child.getMeasuredWidth(), widthMeasureSpec),
61 resolveSize(child.getMeasuredHeight(), heightMeasureSpec));
64 child.getClass().getCanonicalName(), t);
71 protected boolean drawChild(Canvas canvas, View child, long drawingTime) { argument
73 return super.drawChild(canvas, child, drawingTime);
76 child
[all...]
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DViewGroupBindingAdapter.java65 public void onChildViewAdded(View parent, View child) {
67 added.onChildViewAdded(parent, child);
72 public void onChildViewRemoved(View parent, View child) {
74 removed.onChildViewRemoved(parent, child);
147 void onChildViewAdded(View parent, View child); argument
151 void onChildViewRemoved(View parent, View child); argument

Completed in 1486 milliseconds

123456