Searched refs:child2 (Results 1 – 12 of 12) sorted by relevance
71 FakeImageFloatingTextView child2 = fakeChild((i) -> 1); in testLargeSmall() local75 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() local94 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() local113 mView.addView(child2); in testLargeLarge()[all …]
110 final TestWindowContainer child2 = root.addChildWindow(); in testAdd_AlreadyHasParent() local114 child1.addChildWindow(child2); in testAdd_AlreadyHasParent()122 root.addChildWindow(child2); in testAdd_AlreadyHasParent()135 final TestWindowContainer child2 = root.addChildWindow(); in testHasChild() local138 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 …]
60 final WindowState child2 = createWindow(parentWindow, FIRST_SUB_WINDOW, "child2"); in testIsParentWindowHidden() local65 assertFalse(child2.isParentWindowHidden()); in testIsParentWindowHidden()70 assertTrue(child2.isParentWindowHidden()); in testIsParentWindowHidden()77 final WindowState child2 = createWindow(parentWindow, FIRST_SUB_WINDOW, "child2"); in testIsChildWindow() local82 assertTrue(child2.isChildWindow()); in testIsChildWindow()111 final WindowState child2 = createWindow(parentWindow, FIRST_SUB_WINDOW, "child2"); in testGetParentWindow() local115 assertEquals(parentWindow, child2.getParentWindow()); in testGetParentWindow()122 final WindowState child2 = createWindow(child1, FIRST_SUB_WINDOW, "child2"); in testGetTopParentWindow() local126 assertEquals(child1, child2.getParentWindow()); in testGetTopParentWindow()127 assertEquals(root, child2.getTopParentWindow()); in testGetTopParentWindow()[all …]
122 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 …]
68 final TestConfigurationContainer child2 = root.addChild(); in testConfigurationInit() local69 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() local153 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 …]
133 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() local179 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() local283 onView(withId(R.id.child2)) in testCase3()284 .check(screenLeft(is(equalTo(parentWidth - desiredPadding - child2.getWidth())))) in testCase3()[all …]
91 View child2 = wrv.getChildAt(1); in testRoundOffsetting() local101 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() local146 assertEquals(0, child2.getLeft()); in testStraightOffsetting()147 assertEquals(0.0f, child2.getTranslationY(), 0); in testStraightOffsetting()
43 EXPECTED_CHILDREN_VISIBILITY.append(R.id.child2, View.INVISIBLE); in EXPECTED_CHILDREN_VISIBILITY.append() argument
846 final NotificationRecord child2 = generateNotificationRecord( in testSnoozeRunnable_snoozeSummary_withChildren() local850 mNotificationManagerService.addNotification(child2); in testSnoozeRunnable_snoozeSummary_withChildren()867 final NotificationRecord child2 = generateNotificationRecord( in testSnoozeRunnable_snoozeGroupChild_fellowChildren() local871 mNotificationManagerService.addNotification(child2); in testSnoozeRunnable_snoozeGroupChild_fellowChildren()875 child2.getKey(), 100, null); in testSnoozeRunnable_snoozeGroupChild_fellowChildren()
609 View child2 = mGridView.getChildAt(2); in testItemDecorationAndMargins() local616 assertEquals(paddingLeft + leftMargin + decorationLeft, child2.getLeft()); in testItemDecorationAndMargins()622 child2.getTop() - child1.getBottom()); in testItemDecorationAndMargins()677 View child2 = mGridView.getChildAt(2); in testItemDecorationAndMarginsAndOpticalBounds() local688 child2.getLeft()); in testItemDecorationAndMarginsAndOpticalBounds()694 (child2.getTop() + opticalInsetsTop) - (child1.getBottom() - opticalInsetsBottom)); in testItemDecorationAndMarginsAndOpticalBounds()
2749 View child2 = lm.findViewByPosition(1); in recycleIgnored()2751 lm.ignoreView(child2); in recycleIgnored()
META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...