Searched refs:child1 (Results 1 – 15 of 15) sorted by relevance
109 final TestWindowContainer child1 = root.addChildWindow(); in testAdd_AlreadyHasParent() local114 child1.addChildWindow(child2); in testAdd_AlreadyHasParent()134 final TestWindowContainer child1 = root.addChildWindow(); in testHasChild() local136 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 …]
59 final WindowState child1 = createWindow(parentWindow, FIRST_SUB_WINDOW, "child1"); in testIsParentWindowHidden() local64 assertFalse(child1.isParentWindowHidden()); in testIsParentWindowHidden()69 assertTrue(child1.isParentWindowHidden()); in testIsParentWindowHidden()76 final WindowState child1 = createWindow(parentWindow, FIRST_SUB_WINDOW, "child1"); in testIsChildWindow() local81 assertTrue(child1.isChildWindow()); in testIsChildWindow()110 final WindowState child1 = createWindow(parentWindow, FIRST_SUB_WINDOW, "child1"); in testGetParentWindow() local114 assertEquals(parentWindow, child1.getParentWindow()); in testGetParentWindow()121 final WindowState child1 = createWindow(root, FIRST_SUB_WINDOW, "child1"); in testGetTopParentWindow() local122 final WindowState child2 = createWindow(child1, FIRST_SUB_WINDOW, "child2"); in testGetTopParentWindow()125 assertEquals(root, child1.getTopParentWindow()); in testGetTopParentWindow()[all …]
70 FakeImageFloatingTextView child1 = fakeChild((i) -> 3); in testLargeSmall() local74 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() local93 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() local112 mView.addView(child1); in testLargeLarge()[all …]
121 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 …]
98 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() local163 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() local269 onView(withId(R.id.child1)) in testCase3()[all …]
90 View child1 = wrv.getChildAt(0); in testRoundOffsetting() local98 assertEquals(136, child1.getLeft()); in testRoundOffsetting()99 assertEquals(-6.3, child1.getTranslationY(), 0.1); in testRoundOffsetting()134 View child1 = wrv.getChildAt(0); in testStraightOffsetting() local143 assertEquals(0, child1.getLeft()); in testStraightOffsetting()144 assertEquals(0.0f, child1.getTranslationY(), 0); in testStraightOffsetting()
59 final TestConfigurationContainer child1 = root.addChild(); in testConfigurationInit() local60 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() local147 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 …]
183 View child1 = mRecyclerView.getChildAt(1); in testChildWithMultipleSpans() local184 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() local262 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 …]
124 View child1 = mGlm.findViewByPosition(secondChildPos); in rtlTest() local128 child1); in rtlTest()131 helper.getDecoratedStart(child0) >= helper.getDecoratedEnd(child1)); in rtlTest()136 helper.getDecoratedStart(child1) >= helper.getDecoratedEnd(child0)); in rtlTest()
125 View child1 = mLayoutManager.findViewByPosition(mConfig.mOrientation == VERTICAL ? 1 in rtlTest() local128 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()
2748 View child1 = lm.findViewByPosition(0); in recycleIgnored()2750 lm.ignoreView(child1); in recycleIgnored()2759 lm.removeAndRecycleView(child1, mRecyclerView.mRecycler); in recycleIgnored()
53 Item child1 = (Item) itemGroup.getItemAt(1); in testInflate() local55 assertEquals("ID of second child should be test_item_2", R.id.test_item_2, child1.getId()); in testInflate()57 child1.getSummary()); in testInflate()
42 EXPECTED_CHILDREN_VISIBILITY.append(R.id.child1, View.VISIBLE); in EXPECTED_CHILDREN_VISIBILITY.append() argument
608 View child1 = mGridView.getChildAt(1); in testItemDecorationAndMargins() local615 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() local686 child1.getLeft()); in testItemDecorationAndMarginsAndOpticalBounds()692 (child1.getTop() + opticalInsetsTop) - (child0.getBottom() - opticalInsetsBottom)); in testItemDecorationAndMarginsAndOpticalBounds()694 (child2.getTop() + opticalInsetsTop) - (child1.getBottom() - opticalInsetsBottom)); in testItemDecorationAndMarginsAndOpticalBounds()
META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...