Home
last modified time | relevance | path

Searched refs:mChild (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DViewInvalidateTest.java63 mChild = new View(getContext()); in setup()
68 mParent.addView(mChild); in setup()
72 validateInvalFlags(mChild, View.PFLAG_INVALIDATED); in setup()
80 mChild = null; in teardown()
92 private View mChild; field in ViewInvalidateTest
119 validateInvalFlags(mChild, in testInvalidate_behavior()
127 mChild.invalidate(); in testInvalidate_behavior()
130 validateInvalFlags(mChild, in testInvalidate_behavior()
145 validateInvalFlags(mChild, in testInvalidate_false()
149 mChild.invalidate(/*don't invalidate cache*/ false); in testInvalidate_false()
[all …]
/frameworks/support/compat/src/androidTest/java/androidx/core/widget/
DNestedScrollViewNestedScrollingParentTest.java63 private View mChild; field in NestedScrollViewNestedScrollingParentTest
73 mChild = new View(mActivityTestRule.getActivity()); in instantiateMembers()
108 mNestedScrollView.onNestedScrollAccepted(mChild, mChild, in onNestedScrollAccepted_callsParentsOnStartNestedScrollWithCorrectParams()
129 mChild, in onNestedScrollAccepted_callsParentsOnNestedScrollAcceptedWithCorrectParams()
130 mChild, in onNestedScrollAccepted_callsParentsOnNestedScrollAcceptedWithCorrectParams()
160 mChild, in onNestedScrollAccepted_withBothOrientations_pOnNestedScrollAcceptedCalledWithVert()
161 mChild, in onNestedScrollAccepted_withBothOrientations_pOnNestedScrollAcceptedCalledWithVert()
192 mChild, in onNestedScrollAccepted_parentRejects_parentOnNestedScrollAcceptedNotCalled()
193 mChild, in onNestedScrollAccepted_parentRejects_parentOnNestedScrollAcceptedNotCalled()
217 mChild, in onNestedScrollAccepted_v1_callsParentWithTypeTouch()
[all …]
DNestedScrollViewTest.java54 private View mChild; field in NestedScrollViewTest
114 assertThat(mChild.getMeasuredHeight(), is(50)); in onMeasure_fillViewPortEnabledChildSmallButWithMarginBig_childMeasuredCorrectly()
125 assertThat(mChild.getMeasuredHeight(), is(60)); in onMeasure_fillViewPortEnabledChildSmallWithMargins_childMeasuredCorrectly()
136 assertThat(mChild.getMeasuredHeight(), is(100)); in onMeasure_fillViewPortEnabledChildSmallNoMargins_childMeasuredCorrectly()
357 mChild = new View(mActivityTestRule.getActivity()); in setup()
358 mChild.setMinimumWidth(100); in setup()
359 mChild.setMinimumHeight(childHeight); in setup()
360 mChild.setBackgroundDrawable( in setup()
366 mNestedScrollView.addView(mChild); in setup()
374 mChild.setLayoutParams(childLayoutParams); in setChildMargins()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DHardwareUiLayout.java47 private View mChild; field in HardwareUiLayout
95 if (mChild != null) { in updateSettings()
96 mChild.setBackground(mBackground); in updateSettings()
102 if (mChild != null) { in updateEdgeMargin()
103 MarginLayoutParams params = (MarginLayoutParams) mChild.getLayoutParams(); in updateEdgeMargin()
111 mChild.setLayoutParams(params); in updateEdgeMargin()
122 if (mChild == null) { in onMeasure()
124 mChild = getChildAt(0); in onMeasure()
125 mChild.setBackground(mBackground); in onMeasure()
127 mOldHeight = mChild.getMeasuredHeight(); in onMeasure()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
DFillInWrapTest.java27 private View mChild; field in FillInWrapTest
39 mChild = activity.findViewById(R.id.data); in setUp()
45 assertNotNull(mChild); in testPreconditions()
52 mChild.getMeasuredHeight() < mContainer.getMeasuredHeight()); in testLayout()
DLinearLayoutEditTextsTest.java28 private View mChild; field in LinearLayoutEditTextsTest
40 mChild = activity.findViewById(R.id.editText1); in setUp()
46 assertNotNull(mChild); in testPreconditions()
52 final int childHeight = mChild.getHeight(); in testLayout()
DWeightSumTest.java28 private View mChild; field in WeightSumTest
40 mChild = activity.findViewById(R.id.child); in setUp()
46 assertNotNull(mChild); in testPreconditions()
52 final int childWidth = mChild.getWidth(); in testLayout()
DWeightTest.java31 private View mChild; field in WeightTest
43 mChild = activity.findViewById(R.id.child4); in setUp()
49 assertNotNull(mChild); in testPreconditions()
55 ViewAsserts.assertRightAligned(mChild, mContainer); in testLayout()
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DSFFakeHwc_test.cpp933 mChild = mComposerClient->createSurface(String8("Child surface"), 10, 10, in SetUp()
935 fillSurfaceRGBA8(mChild, LIGHT_GRAY); in SetUp()
944 mChild = 0; in TearDown()
948 sp<SurfaceControl> mChild; member in __anonbb41e9630111::ChildLayerTest
954 ts.show(mChild); in TEST_F()
955 ts.setPosition(mChild, 10, 10); in TEST_F()
981 ts.show(mChild); in TEST_F()
982 ts.setPosition(mChild, 0, 0); in TEST_F()
1000 ts.show(mChild); in TEST_F()
1001 ts.setPosition(mChild, 0, 0); in TEST_F()
[all …]
/frameworks/base/services/core/java/com/android/server/firewall/
DNotFilter.java28 private final Filter mChild; field in NotFilter
31 mChild = child; in NotFilter()
37 return !mChild.matches(ifw, resolvedComponent, intent, callerUid, callerPid, resolvedType, in matches()
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp1830 mChild = mComposerClient->createSurface(String8("Child surface"), 10, 10, in SetUp()
1832 fillSurfaceRGBA8(mChild, 200, 200, 200); in SetUp()
1842 mChild = 0; in TearDown()
1845 sp<SurfaceControl> mChild; member in android::ChildLayerTest
1851 t.show(mChild); in TEST_F()
1852 t.setPosition(mChild, 10, 10); in TEST_F()
1881 t.show(mChild); in TEST_F()
1882 t.setPosition(mChild, 0, 0); in TEST_F()
1897 t.show(mChild); in TEST_F()
1898 t.setPosition(mChild, 0, 0); in TEST_F()
[all …]
/frameworks/base/apct-tests/perftests/core/src/android/view/
DViewShowHidePerfTest.java132 private final View mChild; field in ViewShowHidePerfTest
135 mChild = subTreeFactory.create(getContext(), depth); in ViewShowHidePerfTest()
153 callback.run(state, width, height, parent, mChild); in testParentWithChild()
/frameworks/support/fragment/src/main/java/androidx/fragment/app/
DFragmentManager.java4063 private final View mChild; field in FragmentManagerImpl.EndViewTransitionAnimator
4071 mChild = child; in EndViewTransitionAnimator()
4104 mParent.endViewTransition(mChild); in run()