Home
last modified time | relevance | path

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

12345678

/frameworks/base/core/java/android/view/
DGhostView.java41 final ViewGroup parent = (ViewGroup) mView.getParent(); in GhostView()
84 final ViewGroup parent = (ViewGroup) mView.getParent(); in onDetachedFromWindow()
93 ViewGroup parent = (ViewGroup) view.getParent(); in calculateMatrix()
101 if (!(view.getParent() instanceof ViewGroup)) { in addGhost()
109 View oldParent = (View) ghostView.getParent(); in addGhost()
110 ViewGroup oldGrandParent = (ViewGroup) oldParent.getParent(); in addGhost()
149 ViewGroup parent = (ViewGroup) ghostView.getParent(); in removeGhost()
150 ViewGroup grandParent = (ViewGroup) parent.getParent(); in removeGhost()
308 ViewParent parent = view.getParent(); in getParents()
321 ViewGroup parent = (ViewGroup) view.getParent(); in isOnTop()
DViewOverlay.java164 if (child.getParent() instanceof ViewGroup) { in add()
165 ViewGroup parent = (ViewGroup) child.getParent(); in add()
166 if (parent != mHostView && parent.getParent() != null && in add()
183 if (child.getParent() != null) { in add()
/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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardStatusBarView.java97 if (mMultiUserSwitch.getParent() != this && !mKeyguardUserSwitcherShowing) { in updateVisibilities()
98 if (mMultiUserSwitch.getParent() != null) { in updateVisibilities()
102 } else if (mMultiUserSwitch.getParent() == this && mKeyguardUserSwitcherShowing) { in updateVisibilities()
183 final boolean userSwitcherVisible = mMultiUserSwitch.getParent() == this; in animateNextLayoutChange()
189 && mMultiUserSwitch.getParent() != KeyguardStatusBarView.this; in animateNextLayoutChange()
/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/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/matcher/
DViewMatchers.java236 ViewParent parent = view.getParent();
559 return checkAncestors(view.getParent(), ancestorMatcher);
570 return checkAncestors(viewParent.getParent(), ancestorMatcher);
604 while (view.getParent() != null && view.getParent() instanceof View) {
605 view = (View) view.getParent();
615 while (view.getParent() != null && view.getParent() instanceof View) {
616 view = (View) view.getParent();
661 return parentMatcher.matches(view.getParent());
/frameworks/base/core/java/android/transition/
DVisibility.java133 transitionValues.values.put(PROPNAME_PARENT, transitionValues.view.getParent()); in captureValues()
281 View endParent = (View) endValues.view.getParent(); in onAppear()
359 if (endView == null || endView.getParent() == null) { in onDisappear()
367 if (startView.getParent() == null) { in onDisappear()
370 } else if (startView.getParent() instanceof View) { in onDisappear()
371 View startParent = (View) startView.getParent(); in onDisappear()
380 } else if (startParent.getParent() == null) { in onDisappear()
DChangeBounds.java124 values.values.put(PROPNAME_PARENT, values.view.getParent()); in captureValues()
222 if (view.getParent() instanceof ViewGroup) { in createAnimator()
223 final ViewGroup parent = (ViewGroup) view.getParent(); in createAnimator()
286 if (view.getParent() instanceof ViewGroup) { in createAnimator()
287 final ViewGroup parent = (ViewGroup) view.getParent(); in createAnimator()
/frameworks/compile/mclinker/include/mcld/Fragment/
DFragment.h47 const SectionData* getParent() const { return m_pParent; } in getParent() function
48 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()
DGarbageCollection.cpp174 &sym->outSymbol()->fragRef()->frag()->getParent()->getSection(); in setUpReachedSections()
222 pEntry.push_back(&entry_sym->fragRef()->frag()->getParent()->getSection()); in getEntrySections()
243 &sym->fragRef()->frag()->getParent()->getSection(); in getEntrySections()
269 &sym->fragRef()->frag()->getParent()->getSection(); in getEntrySections()
288 const LDSection* sect = &sym->fragRef()->frag()->getParent()->getSection(); in getEntrySections()
/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/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()
96 return fragRef->frag()->getParent()->getSection().addr() + in symValue()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackViewTouchHandler.java162 final ViewParent parent = mSv.getParent(); in onInterceptTouchEvent()
223 final ViewParent parent = mSv.getParent(); in onTouchEvent()
253 final ViewParent parent = mSv.getParent(); in onTouchEvent()
361 final ViewParent parent = mSv.getParent(); in onBeginDrag()
/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/support/v7/appcompat/src/android/support/v7/internal/widget/
DActionBarContextView.java122 final ViewGroup oldParent = (ViewGroup) mMenuView.getParent(); in setSplitToolbar()
136 final ViewGroup oldParent = (ViewGroup) mMenuView.getParent(); in setSplitToolbar()
204 if (mTitleLayout.getParent() == null) { in initTitle()
214 } else if (mClose.getParent() == null) { in initForMode()
358 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/core/java/com/android/internal/widget/
DExploreByTouchHelper.java173 final ViewParent parent = mView.getParent(); in sendEventForVirtualView()
486 ViewParent viewParent = mView.getParent(); in intersectVisibleToUser()
492 viewParent = view.getParent(); in intersectVisibleToUser()
DActionBarContextView.java129 final ViewGroup oldParent = (ViewGroup) mMenuView.getParent(); in setSplitToolbar()
143 final ViewGroup oldParent = (ViewGroup) mMenuView.getParent(); in setSplitToolbar()
211 if (mTitleLayout.getParent() == null) { in initTitle()
221 } else if (mClose.getParent() == null) { in initForMode()
365 if (mMenuView != null && mMenuView.getParent() == this) { in onMeasure()
/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()
DScenesTestAutoTransition2.java39 mSceneRoot = (ViewGroup) container.getParent(); in onCreate()
DDemo5.java37 mSceneRoot = (ViewGroup) container.getParent(); in onCreate()
DOverlayTest.java36 mRoot = (ViewGroup) mContainer.getParent(); in onCreate()

12345678