Home
last modified time | relevance | path

Searched refs:getParent (Results 1 – 25 of 37) sorted by relevance

12

/cts/tests/tests/view/src/android/view/cts/
DViewStubTest.java80 assertNotNull(viewStub1.getParent()); in testSetVisibility()
87 assertNotNull(viewStub1.getParent()); in testSetVisibility()
94 assertNull(viewStub1.getParent()); in testSetVisibility()
98 assertNull(viewStub2.getParent()); in testSetVisibility()
173 final ViewParent vsParent = viewStub.getParent(); in testInflate()
185 assertNull(viewStub.getParent()); in testInflate()
186 assertSame(vsParent, view.getParent()); in testInflate()
204 assertNull(stub.getParent()); in testInflateError()
DViewGroupTest.java240 assertSame(vg, child.getParent()); in testAttachViewToParent()
273 assertEquals(vg, textView1.getParent()); in testBringChildToFront()
279 assertEquals(vg, textView2.getParent()); in testBringChildToFront()
379 assertSame(vg, textView.getParent()); in testDetachAllViewsFromParent()
382 assertNull(textView.getParent()); in testDetachAllViewsFromParent()
395 assertNull(textView.getParent()); in testDetachViewFromParent()
404 assertSame(vg, textView.getParent()); in testDetachViewFromParentWithParamView()
409 assertNull(vg.getParent()); in testDetachViewFromParentWithParamView()
426 assertNull(textView1.getParent()); in testDetachViewsFromParent()
427 assertNull(textView2.getParent()); in testDetachViewsFromParent()
[all …]
DContentPaneFocusTest.java60 final ViewParent viewParent = content.getParent(); in testAccessActionBar()
DViewGroupOverlayTest.java305 assertTrue(level2View == level3View.getParent()); in testOverlayReparenting()
316 assertFalse(level2View == level3View.getParent()); in testOverlayReparenting()
DLayoutInflaterTest.java339 assertNull(view.getParent()); in testInflate4()
347 assertNull(view.getParent()); in testInflate4()
/cts/tests/tests/widget/src/android/widget/cts/
DViewAnimatorTest.java93 final RelativeLayout parent = (RelativeLayout) v1.getParent(); in testShowNext()
136 final RelativeLayout parent = (RelativeLayout) v1.getParent(); in testAccessDisplayedChild()
170 final RelativeLayout parent = (RelativeLayout) v1.getParent(); in testAccessDisplayedChildBoundary()
198 final RelativeLayout parent = (RelativeLayout) v1.getParent(); in testGetBaseline()
226 final RelativeLayout parent = (RelativeLayout) v1.getParent(); in testShowPrevious()
262 final RelativeLayout parent = (RelativeLayout) v.getParent(); in testGetCurrentView()
282 final RelativeLayout parent = (RelativeLayout) v1.getParent(); in testAddView()
324 final RelativeLayout parent = (RelativeLayout) v1.getParent(); in testRemoveViews()
DToastTest.java80 return null != view.getParent(); in assertShowToast()
90 return null == view.getParent(); in assertShowAndHide()
98 assertNull(view.getParent()); in assertNotShowToast()
131 assertNull(view.getParent()); in testShow()
165 assertNull(view.getParent()); in testCancel()
DListViewTest.java632 assertNull("test sanity, header should be removed", header.getParent()); in testFullDetachHeaderViewOnScroll()
649 assertNull("test sanity, header should be removed", header.getParent()); in testFullDetachHeaderViewOnRelayout()
663 while(header.getParent() != null) { in testFullDetachHeaderViewOnScrollForFocus()
683 assertNull("test sanity, unused view should be removed", theView.getParent()); in testFullyDetachUnusedViewOnScroll()
691 assertNotNull("test sanity, view should be re-added", theView.getParent()); in testFullyDetachUnusedViewOnScroll()
708 assertNull("test sanity, unused view should be removed", theView.getParent()); in testFullyDetachUnusedViewOnReLayout()
714 assertNotNull("test sanity, view should be re-added", theView.getParent()); in testFullyDetachUnusedViewOnReLayout()
728 while(theView.getParent() != null) { in testFullyDetachUnusedViewOnScrollForFocus()
735 while(theView.getParent() == null) { in testFullyDetachUnusedViewOnScrollForFocus()
DGridViewTest.java583 assertNull("test sanity, unused view should be removed", theView.getParent());
591 assertNotNull("test sanity, view should be re-added", theView.getParent());
609 assertNull("test sanity, unused view should be removed", theView.getParent()); in testFullyDetachUnusedViewOnReLayout()
615 assertNotNull("test sanity, view should be re-added", theView.getParent()); in testFullyDetachUnusedViewOnReLayout()
630 while(theView.getParent() != null) { in testFullyDetachUnusedViewOnScrollForFocus()
637 while(theView.getParent() == null) { in testFullyDetachUnusedViewOnScrollForFocus()
DAbsListViewTest.java583 assertNull(listener.getParent()); in testGetContextMenuInfo()
598 assertSame(listView, listener.getParent()); in testGetContextMenuInfo()
859 public AdapterView<?> getParent() { in getParent() method in AbsListViewTest.MockOnItemLongClickListener
/cts/tests/tests/os/src/android/os/cts/
DCustomClassLoaderTest.java68 ClassLoader.getSystemClassLoader().getParent()); in testCustomDexClassLoader()
86 ClassLoader.getSystemClassLoader().getParent()); in testCustomPathClassLoader()
DFileObserverTest.java95 fileObserver = new MockFileObserver(mTestFile.getParent()); in testFileObserver()
/cts/suite/audio_quality/lib/src/task/
DTaskAsync.cpp97 ASSERT(getParent()->getType() == TaskGeneric::ETaskSequential); in getParentSequential()
98 return reinterpret_cast<TaskSequential*>(getParent()); in getParentSequential()
DTaskGeneric.cpp60 TaskGeneric* TaskGeneric::getParent() in getParent() function in TaskGeneric
74 task = task->getParent(); in getTestCase()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewStartupCtsActivity.java44 ViewGroup vg = (ViewGroup)mWebView.getParent(); in detachAndDestroyWebView()
DWebViewCtsActivity.java49 ViewParent parent = mWebView.getParent(); in onDestroy()
/cts/tests/tests/transition/src/android/transition/cts/
DChangeTransformTest.java131 ViewGroup container = (ViewGroup) view.getParent(); in testReparentWithOverlay()
151 ViewGroup container = (ViewGroup) view.getParent(); in testReparentWithOverlay()
/cts/suite/audio_quality/lib/include/task/
DTaskGeneric.h84 TaskGeneric* getParent();
/cts/tests/tests/telecom/src/android/telecom/cts/
DConferenceTest.java77 if (mCall1.getParent() != conf || mCall2.getParent() != conf) { in testConferenceCreate()
97 if (!(mCall1.getParent() == conf) && (conf.getChildren().contains(mCall1))) { in testConferenceSplit()
104 if ((mCall1.getParent() == conf) || (conf.getChildren().contains(mCall1))) { in testConferenceSplit()
DRemoteConferenceTest.java77 if (mCall1.getParent() != confCall || mCall2.getParent() != confCall) { in testRemoteConferenceCreate()
100 if (!(mCall1.getParent() == confCall) && (confCall.getChildren().contains(mCall1))) { in testRemoteConferenceSplit()
108 if ((mCall1.getParent() == confCall) || (confCall.getChildren().contains(mCall1))) { in testRemoteConferenceSplit()
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityWindowInfoTest.java60 assertNull(w.getParent()); in testDefaultValues()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityWindowQueryTest.java138 assertNull(window.getParent()); in testTraverseAllWindows()
140 assertNull(window.getParent()); in testTraverseAllWindows()
201 assertNull(window.getParent()); in testTraverseWindowFromEvent()
532 AccessibilityNodeInfo parent = button.getParent(); in testObjectContract()
/cts/tests/tests/widget/src/android/widget/cts/util/
DTestUtils.java72 ViewParent parent = view.getParent(); in getCombinedBackgroundBitmap()
/cts/hostsidetests/jdwpsecurity/src/android/jdwpsecurity/cts/
DJdwpSecurityHostTest.java275 String parentPath = remoteFile.getParent(); in createRemoteDir()
/cts/libs/deviceutillegacy/src/android/webkit/cts/
DWebViewOnUiThread.java805 ViewParent parent = mWebView.getParent();
820 setMatchParent((View) mWebView.getParent());

12