Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DMessagingLinearLayoutTest.java71 FakeImageFloatingTextView child2 = fakeChild((i) -> 1); in testLargeSmall() local
75 mView.addView(child2); in testLargeSmall()
81 assertEquals(0, child2.getNumIndentLines()); in testLargeSmall()
83 assertFalse("child2 should not be hidden", child2.isHidden()); in testLargeSmall()
90 FakeImageFloatingTextView child2 = fakeChild((i) -> 1); in testSmallSmall() local
94 mView.addView(child2); in testSmallSmall()
100 assertEquals(1, child2.getNumIndentLines()); in testSmallSmall()
102 assertFalse("child2 should not be hidden", child2.isHidden()); in testSmallSmall()
109 FakeImageFloatingTextView child2 = fakeChild((i) -> 7); in testLargeLarge() local
113 mView.addView(child2); in testLargeLarge()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DWindowContainerTests.java110 final TestWindowContainer child2 = root.addChildWindow(); in testAdd_AlreadyHasParent() local
114 child1.addChildWindow(child2); in testAdd_AlreadyHasParent()
122 root.addChildWindow(child2); in testAdd_AlreadyHasParent()
135 final TestWindowContainer child2 = root.addChildWindow(); in testHasChild() local
138 final TestWindowContainer child21 = child2.addChildWindow(); in testHasChild()
142 assertEquals(1, child2.getChildrenCount()); in testHasChild()
145 assertTrue(root.hasChild(child2)); in testHasChild()
154 assertTrue(child2.hasChild(child21)); in testHasChild()
155 assertFalse(child2.hasChild(child11)); in testHasChild()
156 assertFalse(child2.hasChild(child12)); in testHasChild()
[all …]
DWindowStateTests.java60 final WindowState child2 = createWindow(parentWindow, FIRST_SUB_WINDOW, "child2"); in testIsParentWindowHidden() local
65 assertFalse(child2.isParentWindowHidden()); in testIsParentWindowHidden()
70 assertTrue(child2.isParentWindowHidden()); in testIsParentWindowHidden()
77 final WindowState child2 = createWindow(parentWindow, FIRST_SUB_WINDOW, "child2"); in testIsChildWindow() local
82 assertTrue(child2.isChildWindow()); in testIsChildWindow()
111 final WindowState child2 = createWindow(parentWindow, FIRST_SUB_WINDOW, "child2"); in testGetParentWindow() local
115 assertEquals(parentWindow, child2.getParentWindow()); in testGetParentWindow()
122 final WindowState child2 = createWindow(child1, FIRST_SUB_WINDOW, "child2"); in testGetTopParentWindow() local
126 assertEquals(child1, child2.getParentWindow()); in testGetTopParentWindow()
127 assertEquals(root, child2.getTopParentWindow()); in testGetTopParentWindow()
[all …]
/frameworks/support/percent/tests/java/android/support/percent/
DPercentDynamicLayoutTest.java122 final View child2 = percentFrameLayout.findViewById(R.id.child2);
129 0.5f * availableWidth, child2.getWidth());
131 availableHeight, child2.getHeight());
152 final View child2 = percentFrameLayout.findViewById(R.id.child2);
159 availableWidth, child2.getWidth());
161 0.5f* availableHeight, child2.getHeight());
182 final View child2 = percentRelativeLayout.findViewById(R.id.child2);
189 0.5f * availableWidth, child2.getWidth());
191 availableHeight, child2.getHeight());
212 final View child2 = percentRelativeLayout.findViewById(R.id.child2);
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DConfigurationContainerTests.java68 final TestConfigurationContainer child2 = root.addChild(); in testConfigurationInit() local
69 assertEquals(Configuration.EMPTY, child2.getOverrideConfiguration()); in testConfigurationInit()
70 assertEquals(rootOverrideConfig, child2.getMergedOverrideConfiguration()); in testConfigurationInit()
71 assertEquals(rootOverrideConfig, child2.getConfiguration()); in testConfigurationInit()
149 final TestConfigurationContainer child2 = child1.addChild(); in testConfigurationChangePropagation() local
153 child2.onOverrideConfigurationChanged(childOverrideConfig2); in testConfigurationChangePropagation()
175 assertEquals(childOverrideConfig2, child2.getOverrideConfiguration()); in testConfigurationChangePropagation()
176 assertEquals(mergedOverrideConfig2, child2.getMergedOverrideConfiguration()); in testConfigurationChangePropagation()
177 assertEquals(mergedConfig2, child2.getConfiguration()); in testConfigurationChangePropagation()
201 assertEquals(childOverrideConfig2, child2.getOverrideConfiguration()); in testConfigurationChangePropagation()
[all …]
/frameworks/support/wear/tests/src/android/support/wear/widget/
DBoxInsetLayoutTest.java133 View child2 = mActivityRule.getActivity().findViewById(R.id.child2); in testCase2()
138 mIdViewMap.put(R.id.child2, child2); in testCase2()
148 View child2 = customRunnable.mIdViewMap.get(R.id.child2); in testCase2() local
179 onView(withId(R.id.child2)) in testCase2()
181 .check(screenTop(is(equalTo(parentBottom - desiredPadding - child2.getHeight())))) in testCase2()
243 View child2 = mActivityRule.getActivity().findViewById(R.id.child2); in testCase3()
248 mIdViewMap.put(R.id.child2, child2); in testCase3()
257 View child2 = customRunnable.mIdViewMap.get(R.id.child2); in testCase3() local
283 onView(withId(R.id.child2)) in testCase3()
284 .check(screenLeft(is(equalTo(parentWidth - desiredPadding - child2.getWidth())))) in testCase3()
[all …]
DWearableLinearLayoutManagerTest.java91 View child2 = wrv.getChildAt(1); in testRoundOffsetting() local
101 assertEquals(91, child2.getLeft(), 1); in testRoundOffsetting()
102 assertEquals(-15.21, child2.getTranslationY(), 0.1); in testRoundOffsetting()
135 View child2 = wrv.getChildAt(1); in testStraightOffsetting() local
146 assertEquals(0, child2.getLeft()); in testStraightOffsetting()
147 assertEquals(0.0f, child2.getTranslationY(), 0); in testStraightOffsetting()
/frameworks/base/core/tests/coretests/src/android/view/
DViewCaptureTest.java43 EXPECTED_CHILDREN_VISIBILITY.append(R.id.child2, View.INVISIBLE); in EXPECTED_CHILDREN_VISIBILITY.append() argument
/frameworks/base/services/tests/notification/src/com/android/server/notification/
DNotificationManagerServiceTest.java846 final NotificationRecord child2 = generateNotificationRecord( in testSnoozeRunnable_snoozeSummary_withChildren() local
850 mNotificationManagerService.addNotification(child2); in testSnoozeRunnable_snoozeSummary_withChildren()
867 final NotificationRecord child2 = generateNotificationRecord( in testSnoozeRunnable_snoozeGroupChild_fellowChildren() local
871 mNotificationManagerService.addNotification(child2); in testSnoozeRunnable_snoozeGroupChild_fellowChildren()
875 child2.getKey(), 100, null); in testSnoozeRunnable_snoozeGroupChild_fellowChildren()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DGridWidgetTest.java609 View child2 = mGridView.getChildAt(2); in testItemDecorationAndMargins() local
616 assertEquals(paddingLeft + leftMargin + decorationLeft, child2.getLeft()); in testItemDecorationAndMargins()
622 child2.getTop() - child1.getBottom()); in testItemDecorationAndMargins()
677 View child2 = mGridView.getChildAt(2); in testItemDecorationAndMarginsAndOpticalBounds() local
688 child2.getLeft()); in testItemDecorationAndMarginsAndOpticalBounds()
694 (child2.getTop() + opticalInsetsTop) - (child1.getBottom() - opticalInsetsBottom)); in testItemDecorationAndMarginsAndOpticalBounds()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DRecyclerViewLayoutTest.java2749 View child2 = lm.findViewByPosition(1); in recycleIgnored()
2751 lm.ignoreView(child2); in recycleIgnored()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...