Home
last modified time | relevance | path

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

1234567

/frameworks/base/core/tests/coretests/src/android/view/
DViewGroupChildrenTest.java133 assertNull(view.getParent()); in testRemoveChild()
151 assertNull(views[i].getParent()); in testRemoveChildren()
172 assertNull(views[i].getParent()); in testRemoveChildrenBulk()
193 assertNull(views[i].getParent()); in testRemoveChildrenBulkAtFront()
215 assertNull(views[i].getParent()); in testRemoveChildrenBulkAtEnd()
235 assertNull(views[0].getParent()); in testRemoveChildAtFront()
254 assertNull(views[12].getParent()); in testRemoveChildInMiddle()
/frameworks/base/core/java/android/transition/
DFade.java197 if (endView == null || endView.getParent() == null) { in onDisappear()
205 if (startView.getParent() == null) { in onDisappear()
208 } else if (startView.getParent() instanceof View && in onDisappear()
209 startView.getParent().getParent() == null) { in onDisappear()
210 View startParent = (View) startView.getParent(); in onDisappear()
DChangeBounds.java88 values.values.put(PROPNAME_PARENT, values.view.getParent()); in captureValues()
169 if (view.getParent() instanceof ViewGroup) { in createAnimator()
170 final ViewGroup parent = (ViewGroup) view.getParent(); in createAnimator()
235 if (view.getParent() instanceof ViewGroup) { in createAnimator()
236 final ViewGroup parent = (ViewGroup) view.getParent(); in createAnimator()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListViewHeight.java101 View parent = (View) mOuterLayout.getParent(); // FrameLayout (app container) in onCreate()
102 View grandpa = (View) parent.getParent(); // LinearLayout (title+app) in onCreate()
103 View great = (View) grandpa.getParent(); // PhoneWindow.DecorView in onCreate()
/frameworks/compile/mclinker/include/mcld/Fragment/
DFragment.h50 const SectionData* getParent() const { return m_pParent; } in getParent() function
51 SectionData* getParent() { return m_pParent; } in getParent() function
/frameworks/compile/mclinker/lib/LD/
DBranchIsland.cpp56 return m_Entry.getParent()->end(); in end()
63 return m_Entry.getParent()->end(); in end()
120 SectionData* sd = m_Entry.getParent(); in addStub()
DRelocator.cpp41 input_sym->fragRef()->frag()->getParent()->getSection(); in partialScanRelocation()
/frameworks/base/core/java/android/view/
DViewOverlay.java159 if (child.getParent() instanceof ViewGroup) { in add()
160 ViewGroup parent = (ViewGroup) child.getParent(); in add()
161 if (parent != mHostView && parent.getParent() != null && in add()
178 if (child.getParent() != null) { in add()
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
DListWithScreenOfNoSelectablesTest.java59 while (first.getParent() != null) { in testGoFromSelectedViewExistsToNoSelectedViewExists()
83 while (first.getParent() != null) { in testGoFromNoSelectionToSelectionExists()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DQuickSettingsTileView.java131 for (ViewParent current = getParent(); current instanceof View; in isParentVisible()
132 current = current.getParent()) { in isParentVisible()
/frameworks/base/core/tests/coretests/src/android/os/
DFileObserverTest.java75 assertNotNull(mTestFile.getParent()); in testRun()
77 mObserver = new Observer(mTestFile.getParent()); in testRun()
/frameworks/compile/mclinker/lib/Fragment/
DRelocation.cpp87 Address sect_addr = m_TargetAddress.frag()->getParent()->getSection().addr(); in place()
95 return m_pSymInfo->outSymbol()->fragRef()->frag()->getParent()->getSection().addr(); in symValue()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DActionBarContextView.java102 final ViewGroup oldParent = (ViewGroup) mMenuView.getParent(); in setSplitActionBar()
118 final ViewGroup oldParent = (ViewGroup) mMenuView.getParent(); in setSplitActionBar()
188 if (mTitleLayout.getParent() == null) { in initTitle()
198 } else if (mClose.getParent() == null) { in initForMode()
325 if (mMenuView != null && mMenuView.getParent() == this) { in onMeasure()
/frameworks/base/core/java/android/app/
DLoadedApk.java404 Thread.currentThread().setContextClassLoader(getParent()); in warn()
415 return getParent().getResource(resName); in getResource()
420 return getParent().getResources(resName); in getResources()
425 return getParent().getResourceAsStream(resName); in getResourceAsStream()
430 return getParent().loadClass(className); in loadClass()
435 getParent().setClassAssertionStatus(cname, enable); in setClassAssertionStatus()
440 getParent().setPackageAssertionStatus(pname, enable); in setPackageAssertionStatus()
445 getParent().setDefaultAssertionStatus(enable); in setDefaultAssertionStatus()
450 getParent().clearAssertionStatus(); in clearAssertionStatus()
DApplicationLoaders.java38 ClassLoader baseParent = ClassLoader.getSystemClassLoader().getParent(); in getClassLoader()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DRequestFocusTest.java121 View focusCandidate = clearingFocusButton.getRootView().getParent().focusSearch(null, in testOnFocusChangeCallbackOrderWhenClearingFocusOfFirstFocusable()
164 View focusCandidate = clearingFocusButton.getRootView().getParent().focusSearch(null, in testOnFocusChangeCallbackOrderWhenClearingFocusOfNotFirstFocusable()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarContextView.java116 final ViewGroup oldParent = (ViewGroup) mMenuView.getParent(); in setSplitActionBar()
130 final ViewGroup oldParent = (ViewGroup) mMenuView.getParent(); in setSplitActionBar()
198 if (mTitleLayout.getParent() == null) { in initTitle()
208 } else if (mClose.getParent() == null) { in initForMode()
352 if (mMenuView != null && mMenuView.getParent() == this) { in onMeasure()
/frameworks/support/v4/java/android/support/v4/widget/
DExploreByTouchHelper.java177 final ViewParent parent = mView.getParent(); in sendEventForVirtualView()
494 ViewParent viewParent = mView.getParent(); in intersectVisibleToUser()
500 viewParent = view.getParent(); in intersectVisibleToUser()
/frameworks/base/media/java/android/mtp/
DMtpObjectInfo.java178 public final int getParent() { in getParent() method in MtpObjectInfo
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DFadingHierarchy.java39 mInnerContainerParent = (ViewGroup) mRemovingContainer.getParent(); in onCreate()
DDemo5.java37 mSceneRoot = (ViewGroup) container.getParent(); in onCreate()
DScenesTestAutoTransition2.java39 mSceneRoot = (ViewGroup) container.getParent(); in onCreate()
DOverlayTest.java36 mRoot = (ViewGroup) mContainer.getParent(); in onCreate()
DScenesTestAutoTransition.java41 mSceneRoot = (ViewGroup) container.getParent(); in onCreate()
DDemo0.java39 mSceneRoot = (ViewGroup) container.getParent(); in onCreate()

1234567