Home
last modified time | relevance | path

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

12

/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/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/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/java/android/webkit/
DPluginFullScreenHolder.java112 if (mContentView != null && mContentView.getParent() != null) { in onStop()
113 ViewGroup vg = (ViewGroup) mContentView.getParent(); in onStop()
DViewManager.java69 if (mView.getParent() == null) { in attachView()
/frameworks/base/core/tests/coretests/src/android/os/
DFileObserverTest.java75 assertNotNull(mTestFile.getParent()); in testRun()
77 mObserver = new Observer(mTestFile.getParent()); in testRun()
/frameworks/base/core/java/android/app/
DApplicationLoaders.java39 ClassLoader baseParent = ClassLoader.getSystemClassLoader().getParent(); in getClassLoader()
DLoadedApk.java367 Thread.currentThread().setContextClassLoader(getParent()); in warn()
378 return getParent().getResource(resName); in getResource()
383 return getParent().getResources(resName); in getResources()
388 return getParent().getResourceAsStream(resName); in getResourceAsStream()
393 return getParent().loadClass(className); in loadClass()
398 getParent().setClassAssertionStatus(cname, enable); in setClassAssertionStatus()
403 getParent().setPackageAssertionStatus(pname, enable); in setPackageAssertionStatus()
408 getParent().setDefaultAssertionStatus(enable); in setDefaultAssertionStatus()
413 getParent().clearAssertionStatus(); in clearAssertionStatus()
/frameworks/base/core/java/android/view/
DViewParent.java89 public ViewParent getParent(); in getParent() method
DWindowManagerImpl.java302 ViewParent vp = view.getParent(); in getRootViewLayoutParameter()
304 vp = vp.getParent(); in getRootViewLayoutParameter()
DViewStub.java226 final ViewParent viewParent = getParent(); in inflate()
/frameworks/base/core/java/android/widget/
DToast.java367 if (mView.getParent() != null) { in handleShow()
383 if (mView.getParent() != null) { in handleHide()
DTabHost.java328 if (mCurrentView.getParent() == null) { in setCurrentTab()
658 if (mLaunchedView.getParent() != null) { in getContentView()
DVideoView.java260 View anchorView = this.getParent() instanceof View ? in attachMediaController()
261 (View)this.getParent() : this; in attachMediaController()
DZoomButtonsController.java534 ViewParent parentOfRootView = rootViewOfOwner.getParent(); in getOwnerViewRoot()
DAdapterView.java581 while (!(v = (View) listItem.getParent()).equals(this)) { in getPositionForView()
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
DBaselineAlignmentCenterGravityTest.java57 final View parent = (View) mButton1.getParent(); in testChildrenAligned()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarView.java111 ViewParent p = v.getParent(); in getViewOffset()
DStatusBarService.java590 ((ViewGroup)entry.row.getParent()).removeView(entry.row); in removeNotificationViews()
592 ((ViewGroup)entry.icon.getParent()).removeView(entry.icon); in removeNotificationViews()
1254 FrameLayout hack = (FrameLayout)mExpandedView.getParent();
/frameworks/base/core/java/android/preference/
DEditTextPreference.java112 ViewParent oldParent = editText.getParent(); in onBindDialogView()
/frameworks/base/core/java/android/pim/
DICalendar.java101 public Component getParent() { in getParent() method in ICalendar.Component
505 return component.getParent(); in parseLine()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridge.java378 return Status.SUCCESS.createResult(((View)viewObject).getParent()); in getViewParent()
388 ViewParent parentView = view.getParent(); in getViewIndex()
/frameworks/base/test-runner/src/android/test/
DViewAsserts.java329 assertSame(parent, parent.getChildAt(i).getParent()); in assertGroupIntegrity()
/frameworks/base/core/java/android/text/method/
DArrowKeyMovementMethod.java212 widget.getParent().requestDisallowInterceptTouchEvent(true); in onTouchEvent()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java634 final ViewGroup previousParent = (ViewGroup) childView.getParent(); in moveChild()
736 final ViewGroup parent = (ViewGroup) childView.getParent(); in removeChild()

12