Home
last modified time | relevance | path

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

12345678910>>...12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskTests.java52 assertNull(task.getParent()); in testRemoveContainer()
54 assertNull(appToken.getParent()); in testRemoveContainer()
69 assertNotNull(task.getParent()); in testRemoveContainer_deferRemoval()
71 assertNotNull(appToken.getParent()); in testRemoveContainer_deferRemoval()
74 assertNull(task.getParent()); in testRemoveContainer_deferRemoval()
76 assertNull(appToken.getParent()); in testRemoveContainer_deferRemoval()
104 assertEquals(stackController2, task.getParent()); in testReparent()
123 assertEquals(stack2, task.getParent()); in testReparent_BetweenDisplays()
DTaskStackTests.java126 assertNull(stack.getParent()); in testRemoveContainer()
144 assertNotNull(stack.getParent()); in testRemoveContainer_deferRemoval()
150 assertNull(task.getParent()); in testRemoveContainer_deferRemoval()
169 final int stack1PositionInParent = stack1.getParent().mChildren.indexOf(stack1); in testReparent()
170 final int stack2PositionInParent = stack1.getParent().mChildren.indexOf(stack2); in testReparent()
DWindowTokenTests.java114 assertNotNull(token.getParent()); in testTokenRemovalProcess()
120 assertNotNull(token.getParent()); in testTokenRemovalProcess()
126 assertNull(token.getParent()); in testTokenRemovalProcess()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowContainer.java149 final protected WindowContainer getParent() { in getParent() method in WindowContainer
218 if (child.getParent() != null) { in addChild()
220 + " is already a child of container=" + child.getParent().getName() in addChild()
249 if (child.getParent() != null) { in addChild()
251 + " is already a child of container=" + child.getParent().getName() in addChild()
276 WindowContainer parent = getParent(); in onChildAdded()
279 parent = parent.getParent(); in onChildAdded()
302 WindowContainer parent = getParent(); in onChildRemoved()
305 parent = parent.getParent(); in onChildRemoved()
418 if (child.getParent() != this) { in positionChildAt()
[all …]
/frameworks/base/core/java/android/view/
DGhostView.java45 final ViewGroup parent = (ViewGroup) mView.getParent(); in GhostView()
83 final ViewGroup parent = (ViewGroup) mView.getParent(); in onDetachedFromWindow()
91 ViewGroup parent = (ViewGroup) view.getParent(); in calculateMatrix()
100 if (!(view.getParent() instanceof ViewGroup)) { in addGhost()
108 View oldParent = (View) ghostView.getParent(); in addGhost()
109 ViewGroup oldGrandParent = (ViewGroup) oldParent.getParent(); in addGhost()
150 ViewGroup parent = (ViewGroup) ghostView.getParent(); in removeGhost()
151 ViewGroup grandParent = (ViewGroup) parent.getParent(); in removeGhost()
309 ViewParent parent = view.getParent(); in getParents()
322 ViewGroup parent = (ViewGroup) view.getParent(); in isOnTop()
DViewParent.java73 if (getParent() != null) { in onDescendantInvalidated()
75 getParent().onDescendantInvalidated(child, target); in onDescendantInvalidated()
120 public ViewParent getParent(); in getParent() method
DViewOverlay.java185 if (child.getParent() instanceof ViewGroup) { in add()
186 ViewGroup parent = (ViewGroup) child.getParent(); in add()
187 if (parent != mHostView && parent.getParent() != null && in add()
204 if (child.getParent() != null) { in add()
DViewStub.java258 ViewGroup parent = (ViewGroup) getParent(); in setVisibilityAsync()
300 final ViewParent viewParent = getParent(); in inflate()
362 replaceSelfWithView(view, (ViewGroup) getParent()); in run()
/frameworks/base/core/java/com/android/internal/app/
DLocaleStore.java58 this.mParent = getParent(locale); in LocaleInfo()
69 private static Locale getParent(Locale locale) { in getParent() method in LocaleStore.LocaleInfo
91 public Locale getParent() { in getParent() method in LocaleStore.LocaleInfo
160 Locale parentWithScript = getParent(LocaleHelper.addLikelySubtags(baseLocale)); in getLangScriptKey()
294 final Locale parent = li.getParent(); in fillCache()
339 if (li.getParent() != null) return 2; in getLevel()
361 if (parentId.equals(li.getParent().toLanguageTag())) { in getLevelLocales()
368 result.add(getLocaleInfo(li.getParent())); in getLevelLocales()
DMicroAlertController.java62 ((ViewGroup) topPanel.getParent()).removeView(topPanel); in setupContent()
70 ((ViewGroup) buttonPanel.getParent()).removeView(buttonPanel); in setupContent()
77 final ViewGroup scrollParent = (ViewGroup) mScrollView.getParent(); in setupContent()
/frameworks/compile/mclinker/lib/LD/
DBranchIslandFactory.cpp83 if (pFragment.getParent() != (*it).getParent()) { in getIslands()
91 if ((prev != ie) && (pFragment.getParent() == (*prev).getParent())) { in getIslands()
DBranchIsland.cpp50 return m_Entry.getParent()->end(); in end()
56 return m_Entry.getParent()->end(); in end()
106 SectionData* sd = m_Entry.getParent(); in addStub()
132 SectionData* sd = m_Entry.getParent(); in addStub()
DIdenticalCodeFolding.cpp107 LDSection* sect = &(frag_ref->frag()->getParent()->getSection()); in foldIdenticalCode()
146 &sym->fragRef()->frag()->getParent()->getSection(); in findCandidates()
251 LDSection* def = &sym->fragRef()->frag()->getParent()->getSection(); in initConstantContent()
259 &sym->fragRef()->frag()->getParent()->getSection()) != in initConstantContent()
286 LDSection* def = &sym->fragRef()->frag()->getParent()->getSection(); in getContentWithVariables()
DGarbageCollection.cpp163 &sym->outSymbol()->fragRef()->frag()->getParent()->getSection(); in setUpReachedSections()
221 &sym->fragRef()->frag()->getParent()->getSection(); in getEntrySections()
235 pEntry.push_back(&entry_sym->fragRef()->frag()->getParent()->getSection()); in getEntrySections()
259 &sym->fragRef()->frag()->getParent()->getSection(); in getEntrySections()
280 const LDSection* sect = &sym->fragRef()->frag()->getParent()->getSection(); in getEntrySections()
/frameworks/base/media/java/android/mtp/
DMtpStorageManager.java193 public MtpObject getParent() { in getParent() method in MtpStorageManager.MtpObject
446 return obj.getParent().isRoot() && mSubdirectories != null in isSpecialSubDir()
642 || removed.getParent().mChildren.remove(removed.getName(), removed); in removeObjectFromCache()
799 Log.i(TAG, key + " | " + (obj.getParent() == null ? obj.getParent().getId() : "null") in dump()
832 if (obj.getParent() != null) { in checkConsistency()
833 if (obj.getParent().isRoot() && obj.getParent() in checkConsistency()
834 != mRoots.get(obj.getParent().getId())) { in checkConsistency()
838 if (!obj.getParent().isRoot() && obj.getParent() in checkConsistency()
839 != mObjects.get(obj.getParent().getId())) { in checkConsistency()
843 if (obj.getParent().getChild(obj.getName()) != obj) { in checkConsistency()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DViewGroupChildrenTest.java131 assertNull(view.getParent()); in testRemoveChild()
149 assertNull(views[i].getParent()); in testRemoveChildren()
170 assertNull(views[i].getParent()); in testRemoveChildrenBulk()
191 assertNull(views[i].getParent()); in testRemoveChildrenBulkAtFront()
213 assertNull(views[i].getParent()); in testRemoveChildrenBulkAtEnd()
233 assertNull(views[0].getParent()); in testRemoveChildAtFront()
252 assertNull(views[12].getParent()); in testRemoveChildInMiddle()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardClockSwitchTest.java99 assertThat(plugin.getView().getParent()).isEqualTo(mClockContainer); in onPluginConnected_showPluginClock()
117 assertThat(mBigClock.getParent()).isEqualTo(mBigClockContainer); in onPluginConnected_showPluginBigClock()
138 assertThat(plugin2.getView().getParent()).isEqualTo(mClockContainer); in onPluginConnected_showSecondPluginClock()
139 assertThat(plugin1.getView().getParent()).isNull(); in onPluginConnected_showSecondPluginClock()
164 assertThat(plugin.getView().getParent()).isNull(); in onPluginDisconnected_showDefaultClock()
185 assertThat(pluginView.getParent()).isNull(); in onPluginDisconnected_hidePluginBigClock()
210 assertThat(plugin1.getView().getParent()).isNull(); in onPluginDisconnected_secondOfTwoDisconnected()
211 assertThat(plugin2.getView().getParent()).isNull(); in onPluginDisconnected_secondOfTwoDisconnected()
/frameworks/base/core/java/android/transition/
DVisibility.java151 transitionValues.values.put(PROPNAME_PARENT, transitionValues.view.getParent()); in captureValues()
289 View endParent = (View) endValues.view.getParent(); in onAppear()
384 if (endView == null || endView.getParent() == null) { in onDisappear()
409 if (startView.getParent() == null) { in onDisappear()
412 } else if (startView.getParent() instanceof View) { in onDisappear()
413 View startParent = (View) startView.getParent(); in onDisappear()
424 if (startParent.getParent() == null && id != View.NO_ID in onDisappear()
470 if (finalOverlayView.getParent() == null) { in onDisappear()
558 this.mParent = (ViewGroup) view.getParent(); in DisappearListener()
/frameworks/base/core/java/com/android/internal/widget/
DViewClippingUtil.java39 if (!(transformedView.getParent() instanceof ViewGroup)) { in setClippingDeactivated()
42 ViewGroup parent = (ViewGroup) transformedView.getParent(); in setClippingDeactivated()
79 final ViewParent viewParent = parent.getParent(); in setClippingDeactivated()
/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/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNavigationBarInflaterViewTest.java74 doReturn(layout).when(verticalChildView).getParent(); in initializeLayout()
92 ((View) button.getCurrentView().getParent()).getId()); in testUpdateButtonDispatchersCurrentView_isVerticalTrue()
104 ((View) button.getCurrentView().getParent()).getId()); in testUpdateButtonDispatchersCurrentView_isVerticalFalse()
/frameworks/compile/mclinker/include/mcld/Fragment/
DFragment.h40 const SectionData* getParent() const { return m_pParent; } in getParent() function
41 SectionData* getParent() { return m_pParent; } in getParent() function
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsStorageTestable.java66 if (path.getParent() == null) { in makeDirs()
69 File mappedDir = new File(baseDir, path.getParent()); in makeDirs()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DCollapsedStatusBarFragment.java150 if (mNotificationIconAreaInner.getParent() != null) { in initNotificationIconArea()
151 ((ViewGroup) mNotificationIconAreaInner.getParent()) in initNotificationIconArea()
158 if (mCenteredIconArea.getParent() != null) { in initNotificationIconArea()
159 ((ViewGroup) mCenteredIconArea.getParent()) in initNotificationIconArea()
365 ViewGroup parent = (ViewGroup) emergencyViewStub.getParent(); in initEmergencyCryptkeeperText()
/frameworks/base/core/java/android/widget/
DForwardingListener.java192 src.getParent().requestDisallowInterceptTouchEvent(true); in onTouchObserved()
231 src.getParent().requestDisallowInterceptTouchEvent(true); in onLongPress()
281 final ViewParent parent = mSrc.getParent(); in run()

12345678910>>...12