Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/
DViewInvalidateTest.java68 mChild = new View(getContext()); in setup()
73 mParent.addView(mChild); in setup()
77 validateInvalFlags(mChild, View.PFLAG_INVALIDATED); in setup()
85 mChild = null; in teardown()
97 private View mChild; field in ViewInvalidateTest
124 validateInvalFlags(mChild, in testInvalidate_behavior()
132 mChild.invalidate(); in testInvalidate_behavior()
135 validateInvalFlags(mChild, in testInvalidate_behavior()
150 validateInvalFlags(mChild, in testInvalidate_false()
154 mChild.invalidate(/*don't invalidate cache*/ false); in testInvalidate_false()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DRefreshRateSelectionTest.cpp72 sp<Layer> mChild; member in android::RefreshRateSelectionTest
145 mChild = createBufferStateLayer(); in TEST_F()
146 setParent(mChild.get(), mParent.get()); in TEST_F()
148 setParent(mGrandChild.get(), mChild.get()); in TEST_F()
151 ASSERT_EQ(PRIORITY_UNSET, mChild->getFrameRateSelectionPriority()); in TEST_F()
158 ASSERT_EQ(PRIORITY_UNSET, mChild->getFrameRateSelectionPriority()); in TEST_F()
162 mChild->setFrameRateSelectionPriority(1); in TEST_F()
163 commitTransaction(mChild.get()); in TEST_F()
167 ASSERT_EQ(1, mChild->getFrameRateSelectionPriority()); in TEST_F()
173 mChild->setFrameRateSelectionPriority(PRIORITY_UNSET); in TEST_F()
[all …]
DFpsReporterTest.cpp92 sp<Layer> mChild; member in android::FpsReporterTest
158 mChild = createBufferStateLayer(); in TEST_F()
162 mTarget->addChild(mChild); in TEST_F()
163 mChild->addChild(mGrandChild); in TEST_F()
167 mFlinger.mutableCurrentState().layersSortedByZ.add(mChild); in TEST_F()
173 computeFps(UnorderedElementsAre(mTarget->getSequence(), mChild->getSequence(), in TEST_F()
/frameworks/native/services/surfaceflinger/tests/
DLayerUpdate_test.cpp234 mChild = createSurface(mClient, "Child surface", 10, 15, PIXEL_FORMAT_RGBA_8888, 0, in SetUp()
236 TransactionUtils::fillSurfaceRGBA8(mChild, 200, 200, 200); in SetUp()
247 mChild = 0; in TearDown()
250 sp<SurfaceControl> mChild; member in android::ChildLayerTest
256 t.show(mChild); in TEST_F()
257 t.setPosition(mChild, 10, 10); in TEST_F()
286 t.show(mChild); in TEST_F()
287 t.setPosition(mChild, 0, 0); in TEST_F()
302 t.show(mChild); in TEST_F()
304 t.setPosition(mChild, 63, 63); in TEST_F()
[all …]
DScreenCapture_test.cpp911 mChild = createSurface(mClient, "Child surface", 10, 10, PIXEL_FORMAT_RGBA_8888, 0, in SetUp()
913 TransactionUtils::fillSurfaceRGBA8(mChild, 200, 200, 200); in SetUp()
915 SurfaceComposerClient::Transaction().show(mChild).apply(true); in SetUp()
936 sp<SurfaceControl> mChild; member in android::ScreenCaptureChildOnlyTest
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
DFillInWrapTest.java28 private View mChild; field in FillInWrapTest
40 mChild = activity.findViewById(R.id.data); in setUp()
46 assertNotNull(mChild); in testPreconditions()
53 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/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/fakehwc/
DSFFakeHwc_test.cpp1540 mChild = Base::mComposerClient->createSurface(String8("Child surface"), 10, 10, in SetUp()
1543 fillSurfaceRGBA8(mChild, LIGHT_GRAY); in SetUp()
1553 mChild = 0; in TearDown()
1560 ts.show(mChild); in Test_Positioning()
1561 ts.setPosition(mChild, 10, 10); in Test_Positioning()
1587 ts.show(mChild); in Test_Cropping()
1588 ts.setPosition(mChild, 0, 0); in Test_Cropping()
1606 ts.show(mChild); in Test_Constraints()
1608 ts.setPosition(mChild, 63, 63); in Test_Constraints()
1641 ts.show(mChild); in Test_LayerAlpha()
[all …]
/frameworks/base/apct-tests/perftests/core/src/android/view/
DViewShowHidePerfTest.java134 private final View mChild; field in ViewShowHidePerfTest
137 mChild = subTreeFactory.create(getContext(), depth); in ViewShowHidePerfTest()
155 callback.run(state, width, height, parent, mChild); in testParentWithChild()