Home
last modified time | relevance | path

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

12345678910>>...13

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskTests.java64 assertNull(task.getParent()); in testRemoveContainer()
66 assertNull(activity.getParent()); in testRemoveContainer()
81 assertNotNull(task.getParent()); in testRemoveContainer_deferRemoval()
83 assertNotNull(activity.getParent()); in testRemoveContainer_deferRemoval()
86 assertNull(task.getParent()); in testRemoveContainer_deferRemoval()
88 assertNull(activity.getParent()); in testRemoveContainer_deferRemoval()
115 assertEquals(stackController2, task.getParent()); in testReparent()
116 assertEquals(0, task.getParent().mChildren.indexOf(task)); in testReparent()
117 assertEquals(1, task2.getParent().mChildren.indexOf(task2)); in testReparent()
134 assertEquals(stack2, task.getParent()); in testReparent_BetweenDisplays()
[all …]
DTaskStackTests.java130 assertNull(task.getParent()); in testStackRemoveImmediately()
142 assertNull(stack.getParent()); in testRemoveContainer()
146 assertNull(task.getParent()); in testRemoveContainer()
162 assertNotNull(stack.getParent()); in testRemoveContainer_deferRemoval()
168 assertNull(task.getParent()); in testRemoveContainer_deferRemoval()
186 final int stack1PositionInParent = stack1.getParent().mChildren.indexOf(stack1); in testReparent()
187 final int stack2PositionInParent = stack1.getParent().mChildren.indexOf(stack2); in testReparent()
/frameworks/base/core/java/android/view/
DViewParent.java73 if (getParent() != null) { in onDescendantInvalidated()
75 getParent().onDescendantInvalidated(child, target); in onDescendantInvalidated()
120 public ViewParent getParent(); in getParent() method
688 if (getParent() != null) { in onDescendantUnbufferedRequested()
689 getParent().onDescendantUnbufferedRequested(); in onDescendantUnbufferedRequested()
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()
DScrollCaptureTargetResolver.java330 ViewParent otherParent = otherView.getParent(); in isDescendant()
332 otherParent = otherParent.getParent(); in isDescendant()
342 ViewParent parentA = a.getParent(); in findRelation()
343 ViewParent parentB = b.getParent(); in findRelation()
356 parentA = parentA.getParent(); in findRelation()
359 parentB = parentB.getParent(); in findRelation()
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DListEntry.java52 @Nullable public GroupEntry getParent() { in getParent() method in ListEntry
53 return mAttachState.getParent(); in getParent()
61 return mPreviousAttachState.getParent(); in getPreviousParent()
DShadeListBuilder.java428 if (group.getParent() == null) { in groupNotifs()
554 if (entry.getParent() == null || entry.mFirstAddedIteration == -1) { in annulAddition()
557 + entry.getParent() + " " + entry.mFirstAddedIteration + ")"); in annulAddition()
560 if (entry.getParent() == ROOT_ENTRY) { in annulAddition()
578 if (entry == entry.getParent().getSummary() in annulAddition()
579 || entry.getParent().getChildren().contains(entry)) { in annulAddition()
644 prev.getParent(), in logAttachStateChanges()
645 curr.getParent()); in logAttachStateChanges()
647 if (curr.getParent() != prev.getParent()) { in logAttachStateChanges()
648 mLogger.logParentChanged(mIterationCount, prev.getParent(), curr.getParent()); in logAttachStateChanges()
[all …]
/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()
/frameworks/opt/localepicker/src/com/android/localepicker/
DLocaleStore.java62 this.mParent = getParent(locale); in LocaleInfo()
73 private static Locale getParent(Locale locale) { in getParent() method in LocaleStore.LocaleInfo
93 public Locale getParent() { in getParent() method in LocaleStore.LocaleInfo
159 Locale parentWithScript = getParent(LocaleHelper.addLikelySubtags(baseLocale)); in getLangScriptKey()
293 final Locale parent = li.getParent(); in fillCache()
338 if (li.getParent() != null) return 2; in getLevel()
359 if (parentId.equals(li.getParent().toLanguageTag())) { in getLevelLocales()
366 result.add(getLocaleInfo(li.getParent())); in getLevelLocales()
/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/base/media/java/android/mtp/
DMtpStorageManager.java193 public MtpObject getParent() { in getParent() method in MtpStorageManager.MtpObject
439 return obj.getParent().isRoot() && mSubdirectories != null in isSpecialSubDir()
635 || removed.getParent().mChildren.remove(removed.getName(), removed); in removeObjectFromCache()
792 Log.i(TAG, key + " | " + (obj.getParent() == null ? obj.getParent().getId() : "null") in dump()
825 if (obj.getParent() != null) { in checkConsistency()
826 if (obj.getParent().isRoot() && obj.getParent() in checkConsistency()
827 != mRoots.get(obj.getParent().getId())) { in checkConsistency()
831 if (!obj.getParent().isRoot() && obj.getParent() in checkConsistency()
832 != mObjects.get(obj.getParent().getId())) { in checkConsistency()
836 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/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/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardClockSwitchTest.java123 assertThat(plugin.getView().getParent()).isEqualTo(mClockContainer); in onPluginConnected_showPluginClock()
141 assertThat(mBigClock.getParent()).isEqualTo(mBigClockContainer); in onPluginConnected_showPluginBigClock()
162 assertThat(plugin2.getView().getParent()).isEqualTo(mClockContainer); in onPluginConnected_showSecondPluginClock()
163 assertThat(plugin1.getView().getParent()).isNull(); in onPluginConnected_showSecondPluginClock()
188 assertThat(plugin.getView().getParent()).isNull(); in onPluginDisconnected_showDefaultClock()
209 assertThat(pluginView.getParent()).isNull(); in onPluginDisconnected_hidePluginBigClock()
234 assertThat(plugin1.getView().getParent()).isNull(); in onPluginDisconnected_secondOfTwoDisconnected()
235 assertThat(plugin2.getView().getParent()).isNull(); in onPluginDisconnected_secondOfTwoDisconnected()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowContainer.java304 final protected WindowContainer getParent() { in getParent() method in WindowContainer
485 if (!child.mReparenting && child.getParent() != null) { in addChild()
487 + " is already a child of container=" + child.getParent().getName() in addChild()
515 if (!child.mReparenting && child.getParent() != null) { in addChild()
517 + " is already a child of container=" + child.getParent().getName() in addChild()
542 WindowContainer parent = getParent(); in onChildAdded()
545 parent = parent.getParent(); in onChildAdded()
570 WindowContainer parent = getParent(); in onChildRemoved()
573 parent = parent.getParent(); in onChildRemoved()
669 final WindowContainer parent = getParent(); in isDescendantOf()
[all …]
/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.java77 doReturn(layout).when(verticalChildView).getParent(); in initializeLayout()
95 ((View) button.getCurrentView().getParent()).getId()); in testUpdateButtonDispatchersCurrentView_isVerticalTrue()
107 ((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/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/test/widgets/
DContentWidget.java49 if (parent.getParent() instanceof ViewGroup) { in onAttachedToWindow()
50 parent = (ViewGroup) parent.getParent(); in onAttachedToWindow()
/frameworks/base/core/java/android/widget/
DRadioButton.java89 if (getParent() instanceof RadioGroup) { in onInitializeAccessibilityNodeInfo()
90 RadioGroup radioGroup = (RadioGroup) getParent(); in onInitializeAccessibilityNodeInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DNonInterceptingScrollView.java45 final ViewParent parent = getParent(); in onTouchEvent()
68 final ViewParent parent = getParent(); in onInterceptTouchEvent()

12345678910>>...13