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

12345678

/frameworks/base/libs/hwui/tests/unit/
H A DSnapshotTests.cpp28 auto child = TestUtils::makeSnapshot(Matrix4::identity(), Rect(50, 50, 90, 90)); local
30 child->previous = root.get();
35 auto intersectWithChild = child->serializeIntersectedClip(allocator,
38 EXPECT_EQ(Rect(50, 50, 75, 75), intersectWithChild->rect) << "Expect intersect with child";
43 auto intersectWithRoot = child->serializeIntersectedClip(allocator,
57 auto child = TestUtils::makeSnapshot(Matrix4::identity(), Rect(50, 50, 90, 90)); local
58 child->previous = root.get();
59 child->applyClip(&rect, Matrix4::identity());
61 EXPECT_TRUE(child->getClipArea().isSimple());
62 EXPECT_EQ(Rect(50, 50, 75, 75), child
67 auto child = TestUtils::makeSnapshot(Matrix4::identity(), Rect(50, 50, 90, 90)); local
[all...]
H A DRenderNodeTests.cpp41 auto child = TestUtils::createNode(0, 0, 200, 400, local
46 [&child](RenderProperties& props, TestCanvas& canvas) {
47 canvas.drawRenderNode(child.get());
52 EXPECT_TRUE(child->hasParents()) << "Child node has no parent";
59 EXPECT_TRUE(child->hasParents()) << "Child should still have a parent";
64 EXPECT_FALSE(child->hasParents()) << "Child should be removed";
/frameworks/support/compat/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/compat/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/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DUtil.java30 * Returns true if child == parent or is descendant of the parent.
32 public static boolean isDescendant(ViewGroup parent, View child) { argument
33 while (child != null) {
34 if (child == parent) {
37 ViewParent p = child.getParent();
41 child = (View) p;
H A DBrowseRowsFrameLayout.java25 * Customized FrameLayout excludes margin of child from calculating the child size.
47 protected void measureChildWithMargins(View child, argument
50 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams();
55 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
/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/Osu/src/com/android/hotspot2/osu/
H A DOSUCommand.java35 public OSUCommand(XMLNode child) throws OMAException { argument
36 mOSUCommand = sCommands.get(child.getStrippedTag());
44 child = child.getSoleChild();
45 mExecCommand = sExecs.get(child.getStrippedTag());
47 throw new OMAException("Unrecognized exec command: " + child.getStrippedTag());
56 mCommandData = new BrowserURI(child);
59 mCommandData = new GetCertData(child);
62 mCommandData = new MOURN(child);
70 mCommandData = new ClientCertInfo(child);
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQuickTileLayout.java22 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
26 super.addView(child, index, params);
/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/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
H A DItemInflater.java31 void addChild(ItemHierarchy child); argument
57 protected void onAddChildItem(ItemHierarchy parent, ItemHierarchy child) { argument
59 ((ItemParent) parent).addChild(child);
61 throw new IllegalArgumentException("Cannot add child item to " + parent);
/frameworks/support/core-ui/java/android/support/v4/view/
H A DNestedScrollingParentHelper.java58 public void onNestedScrollAccepted(View child, View target, int axes) { argument
/frameworks/support/design/honeycomb/android/support/design/widget/
H A DViewGroupUtilsHoneycomb.java30 public static void offsetDescendantRect(ViewGroup group, View child, Rect rect) { argument
39 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
35 public void offsetDescendantRect(ViewGroup parent, View child, Rect rect) { argument
36 parent.offsetDescendantRectToMyCoords(child, rect);
37 // View#offsetDescendantRectToMyCoords includes scroll offsets of the last child.
40 rect.offset(child.getScrollX(), child.getScrollY());
49 public void offsetDescendantRect(ViewGroup parent, View child, Rect rect) { argument
50 ViewGroupUtilsHoneycomb.offsetDescendantRect(parent, child, rect);
80 * This does not need to be a direct child.
H A DViewOffsetBehavior.java40 public boolean onLayoutChild(CoordinatorLayout parent, V child, int layoutDirection) { argument
41 // First let lay the child out
42 layoutChild(parent, child, layoutDirection);
45 mViewOffsetHelper = new ViewOffsetHelper(child);
61 protected void layoutChild(CoordinatorLayout parent, V child, int layoutDirection) { argument
63 parent.onLayoutChild(child, layoutDirection);
/frameworks/support/design/tests/src/android/support/design/custom/
H A DTestFloatingBehavior.java38 public boolean layoutDependsOn(CoordinatorLayout parent, TextView child, View dependency) { argument
43 public boolean onDependentViewChanged(CoordinatorLayout parent, TextView child, argument
45 ViewCompat.setTranslationY(child, Math.min(0,
/frameworks/support/design/tests/src/android/support/design/testutils/
H A DCoordinatorLayoutUtils.java32 public boolean layoutDependsOn(CoordinatorLayout parent, View child, View dependency) { argument
/frameworks/support/fragment/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/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DReverseLinearLayout.java50 public void addView(View child) { argument
51 reversParams(child.getLayoutParams());
53 super.addView(child, 0);
55 super.addView(child);
60 public void addView(View child, ViewGroup.LayoutParams params) { argument
63 super.addView(child, 0, params);
65 super.addView(child, params);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DMockView.java60 public void addView(View child) { argument
61 if (child == mView) {
62 super.addView(child);
67 public void addView(View child, int index) { argument
68 if (child == mView) {
69 super.addView(child, index);
74 public void addView(View child, int width, int height) { argument
75 if (child == mView) {
76 super.addView(child, width, height);
81 public void addView(View child, ViewGrou argument
88 addView(View child, int index, ViewGroup.LayoutParams params) argument
[all...]
/frameworks/support/core-ui/api21/android/support/v4/widget/
H A DDrawerLayoutCompatApi21.java45 public static void dispatchChildInsets(View child, Object insets, int gravity) { argument
54 child.dispatchApplyWindowInsets(wi);

Completed in 3077 milliseconds

12345678