Home
last modified time | relevance | path

Searched refs:child1 (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DWindowContainerTests.java109 final TestWindowContainer child1 = root.addChildWindow(); in testAdd_AlreadyHasParent() local
114 child1.addChildWindow(child2); in testAdd_AlreadyHasParent()
134 final TestWindowContainer child1 = root.addChildWindow(); in testHasChild() local
136 final TestWindowContainer child11 = child1.addChildWindow(); in testHasChild()
137 final TestWindowContainer child12 = child1.addChildWindow(); in testHasChild()
141 assertEquals(2, child1.getChildrenCount()); in testHasChild()
144 assertTrue(root.hasChild(child1)); in testHasChild()
150 assertTrue(child1.hasChild(child11)); in testHasChild()
151 assertTrue(child1.hasChild(child12)); in testHasChild()
152 assertFalse(child1.hasChild(child21)); in testHasChild()
[all …]
DWindowStateTests.java59 final WindowState child1 = createWindow(parentWindow, FIRST_SUB_WINDOW, "child1"); in testIsParentWindowHidden() local
64 assertFalse(child1.isParentWindowHidden()); in testIsParentWindowHidden()
69 assertTrue(child1.isParentWindowHidden()); in testIsParentWindowHidden()
76 final WindowState child1 = createWindow(parentWindow, FIRST_SUB_WINDOW, "child1"); in testIsChildWindow() local
81 assertTrue(child1.isChildWindow()); in testIsChildWindow()
110 final WindowState child1 = createWindow(parentWindow, FIRST_SUB_WINDOW, "child1"); in testGetParentWindow() local
114 assertEquals(parentWindow, child1.getParentWindow()); in testGetParentWindow()
121 final WindowState child1 = createWindow(root, FIRST_SUB_WINDOW, "child1"); in testGetTopParentWindow() local
122 final WindowState child2 = createWindow(child1, FIRST_SUB_WINDOW, "child2"); in testGetTopParentWindow()
125 assertEquals(root, child1.getTopParentWindow()); in testGetTopParentWindow()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DMessagingLinearLayoutTest.java70 FakeImageFloatingTextView child1 = fakeChild((i) -> 3); in testLargeSmall() local
74 mView.addView(child1); in testLargeSmall()
80 assertEquals(3, child1.getNumIndentLines()); in testLargeSmall()
82 assertFalse("child1 should not be hidden", child1.isHidden()); in testLargeSmall()
89 FakeImageFloatingTextView child1 = fakeChild((i) -> 1); in testSmallSmall() local
93 mView.addView(child1); in testSmallSmall()
99 assertEquals(2, child1.getNumIndentLines()); in testSmallSmall()
101 assertFalse("child1 should not be hidden", child1.isHidden()); in testSmallSmall()
108 FakeImageFloatingTextView child1 = fakeChild((i) -> 7); in testLargeLarge() local
112 mView.addView(child1); in testLargeLarge()
[all …]
/frameworks/support/percent/tests/java/android/support/percent/
DPercentDynamicLayoutTest.java121 final View child1 = percentFrameLayout.findViewById(R.id.child1);
125 0.5f * availableWidth, child1.getWidth());
127 availableHeight, child1.getHeight());
151 final View child1 = percentFrameLayout.findViewById(R.id.child1);
155 availableWidth, child1.getWidth());
157 0.5f * availableHeight, child1.getHeight());
181 final View child1 = percentRelativeLayout.findViewById(R.id.child1);
185 0.5f * availableWidth, child1.getWidth());
187 availableHeight, child1.getHeight());
211 final View child1 = percentRelativeLayout.findViewById(R.id.child1);
[all …]
/frameworks/support/wear/tests/src/android/support/wear/widget/
DBoxInsetLayoutTest.java98 onView(withId(R.id.child1)) in testCase1()
132 View child1 = mActivityRule.getActivity().findViewById(R.id.child1); in testCase2()
137 mIdViewMap.put(R.id.child1, child1); in testCase2()
147 View child1 = customRunnable.mIdViewMap.get(R.id.child1); in testCase2() local
163 onView(withId(R.id.child1)) in testCase2()
167 .check(screenBottom(is(equalTo(parentTop + desiredPadding + child1.getHeight())))); in testCase2()
242 View child1 = mActivityRule.getActivity().findViewById(R.id.child1); in testCase3()
247 mIdViewMap.put(R.id.child1, child1); in testCase3()
256 View child1 = customRunnable.mIdViewMap.get(R.id.child1); in testCase3() local
269 onView(withId(R.id.child1)) in testCase3()
[all …]
DWearableLinearLayoutManagerTest.java90 View child1 = wrv.getChildAt(0); in testRoundOffsetting() local
98 assertEquals(136, child1.getLeft()); in testRoundOffsetting()
99 assertEquals(-6.3, child1.getTranslationY(), 0.1); in testRoundOffsetting()
134 View child1 = wrv.getChildAt(0); in testStraightOffsetting() local
143 assertEquals(0, child1.getLeft()); in testStraightOffsetting()
144 assertEquals(0.0f, child1.getTranslationY(), 0); in testStraightOffsetting()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DConfigurationContainerTests.java59 final TestConfigurationContainer child1 = root.addChild(); in testConfigurationInit() local
60 assertEquals(Configuration.EMPTY, child1.getOverrideConfiguration()); in testConfigurationInit()
61 assertEquals(Configuration.EMPTY, child1.getMergedOverrideConfiguration()); in testConfigurationInit()
62 assertEquals(Configuration.EMPTY, child1.getConfiguration()); in testConfigurationInit()
143 final TestConfigurationContainer child1 = root.addChild(); in testConfigurationChangePropagation() local
147 child1.onOverrideConfigurationChanged(childOverrideConfig1); in testConfigurationChangePropagation()
149 final TestConfigurationContainer child2 = child1.addChild(); in testConfigurationChangePropagation()
171 assertEquals(childOverrideConfig1, child1.getOverrideConfiguration()); in testConfigurationChangePropagation()
172 assertEquals(mergedOverrideConfig1, child1.getMergedOverrideConfiguration()); in testConfigurationChangePropagation()
173 assertEquals(mergedConfig1, child1.getConfiguration()); in testConfigurationChangePropagation()
[all …]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DGridLayoutManagerWrapContentWithAspectRatioTest.java183 View child1 = mRecyclerView.getChildAt(1); in testChildWithMultipleSpans() local
184 assertThat(getSize(child1, mTestOrientation), is(30)); in testChildWithMultipleSpans()
187 assertThat(mHelper.getDecoratedStart(child1), is(15)); in testChildWithMultipleSpans()
190 assertThat(mHelper.getDecoratedEnd(child1), is(45)); in testChildWithMultipleSpans()
194 assertThat(mHelper.getDecoratedMeasurementInOther(child1), in testChildWithMultipleSpans()
261 View child1 = mRecyclerView.getChildAt(1); in testChildWithMatchParentInOtherDirection() local
262 assertThat(getSize(child1, mTestOrientation), is(15)); in testChildWithMatchParentInOtherDirection()
265 assertThat(mHelper.getDecoratedStart(child1), is(15)); in testChildWithMatchParentInOtherDirection()
268 assertThat(mHelper.getDecoratedEnd(child1), is(30)); in testChildWithMatchParentInOtherDirection()
272 assertThat(mHelper.getDecoratedMeasurementInOther(child1), in testChildWithMatchParentInOtherDirection()
[all …]
DGridLayoutManagerRtlTest.java124 View child1 = mGlm.findViewByPosition(secondChildPos); in rtlTest() local
128 child1); in rtlTest()
131 helper.getDecoratedStart(child0) >= helper.getDecoratedEnd(child1)); in rtlTest()
136 helper.getDecoratedStart(child1) >= helper.getDecoratedEnd(child0)); in rtlTest()
DStaggeredGridLayoutManagerBaseConfigSetTest.java125 View child1 = mLayoutManager.findViewByPosition(mConfig.mOrientation == VERTICAL ? 1 in rtlTest() local
128 assertNotNull(logPrefix + " child position 0 should be laid out", child1); in rtlTest()
129 logPrefix += " child1 pos:" + mLayoutManager.getPosition(child1); in rtlTest()
132 helper.getDecoratedEnd(child0) > helper.getDecoratedEnd(child1)); in rtlTest()
137 helper.getDecoratedStart(child1) >= helper.getDecoratedStart(child0)); in rtlTest()
DRecyclerViewLayoutTest.java2748 View child1 = lm.findViewByPosition(0); in recycleIgnored()
2750 lm.ignoreView(child1); in recycleIgnored()
2759 lm.removeAndRecycleView(child1, mRecyclerView.mRecycler); in recycleIgnored()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DItemInflaterTest.java53 Item child1 = (Item) itemGroup.getItemAt(1); in testInflate() local
55 assertEquals("ID of second child should be test_item_2", R.id.test_item_2, child1.getId()); in testInflate()
57 child1.getSummary()); in testInflate()
/frameworks/base/core/tests/coretests/src/android/view/
DViewCaptureTest.java42 EXPECTED_CHILDREN_VISIBILITY.append(R.id.child1, View.VISIBLE); in EXPECTED_CHILDREN_VISIBILITY.append() argument
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DGridWidgetTest.java608 View child1 = mGridView.getChildAt(1); in testItemDecorationAndMargins() local
615 assertEquals(paddingLeft + leftMargin + decorationLeft, child1.getLeft()); in testItemDecorationAndMargins()
620 child1.getTop() - child0.getBottom()); in testItemDecorationAndMargins()
622 child2.getTop() - child1.getBottom()); in testItemDecorationAndMargins()
676 View child1 = mGridView.getChildAt(1); in testItemDecorationAndMarginsAndOpticalBounds() local
686 child1.getLeft()); in testItemDecorationAndMarginsAndOpticalBounds()
692 (child1.getTop() + opticalInsetsTop) - (child0.getBottom() - opticalInsetsBottom)); in testItemDecorationAndMarginsAndOpticalBounds()
694 (child2.getTop() + opticalInsetsTop) - (child1.getBottom() - opticalInsetsBottom)); in testItemDecorationAndMarginsAndOpticalBounds()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...