Home
last modified time | relevance | path

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

12345678910>>...15

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/
DGroupMembershipManagerImpl.java41 if (isEntryTopLevel(entry) || entry.getParent() == null) { in getGroupSummary()
45 return entry.getParent().getRepresentativeEntry(); in getGroupSummary()
55 if (entry.getParent() == null) { in isOnlyChildInGroup()
59 return !isGroupSummary(entry) && entry.getParent().getChildren().size() == 1; in isOnlyChildInGroup()
71 return entry.getRepresentativeEntry().getParent().getChildren(); in getChildren()
78 return entry.getParent() == ROOT_ENTRY; in isEntryTopLevel()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardClockSwitchTest.java137 assertEquals(mClock.getSmallClock().getView().getParent(), mSmallClockFrame); in onPluginConnected_showClock()
138 assertEquals(mClock.getLargeClock().getView().getParent(), mLargeClockFrame); in onPluginConnected_showClock()
155 assertThat(otherClock.getSmallClock().getView().getParent()).isEqualTo(mSmallClockFrame); in onPluginConnected_showSecondPluginClock()
156 assertThat(otherClock.getLargeClock().getView().getParent()).isEqualTo(mLargeClockFrame); in onPluginConnected_showSecondPluginClock()
157 assertThat(mClock.getSmallClock().getView().getParent()).isNull(); in onPluginConnected_showSecondPluginClock()
158 assertThat(mClock.getLargeClock().getView().getParent()).isNull(); in onPluginConnected_showSecondPluginClock()
176 assertThat(otherClock.getSmallClock().getView().getParent()).isNull(); in onPluginDisconnected_secondOfTwoDisconnected()
177 assertThat(otherClock.getLargeClock().getView().getParent()).isNull(); in onPluginDisconnected_secondOfTwoDisconnected()
178 assertThat(mClock.getSmallClock().getView().getParent()).isNull(); in onPluginDisconnected_secondOfTwoDisconnected()
179 assertThat(mClock.getLargeClock().getView().getParent()).isNull(); in onPluginDisconnected_secondOfTwoDisconnected()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DMessagingPool.java47 if (instance.getParent() != null) { in acquire()
48 Log.wtf(TAG, "acquired " + instance + " with parent " + instance.getParent()); in acquire()
56 if (instance.getParent() != null) { in release()
57 Log.wtf(TAG, "releasing " + instance + " with parent " + instance.getParent()); in release()
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/src/com/android/systemui/statusbar/notification/collection/
DListEntry.java67 @Nullable public GroupEntry getParent() { in getParent() method in ListEntry
68 return mAttachState.getParent(); in getParent()
76 return mPreviousAttachState.getParent(); in getPreviousParent()
108 return getPreviousAttachState().getParent() != null; in wasAttachedInPreviousPass()
DShadeListBuilder.java583 if (group.getParent() == null) { in groupNotifs()
662 final GroupEntry prevParent = entry.getPreviousAttachState().getParent(); in maybeSuppressGroupChange()
667 final GroupEntry assignedParent = entry.getParent(); in maybeSuppressGroupChange()
672 if (prevParent != ROOT_ENTRY && prevParent.getParent() == null) { in maybeSuppressGroupChange()
870 tle.getAttachState().getSuppressedChanges().getParent(); in getGroupsWithChildrenLostToStability()
928 if (entry.getParent() == null) { in annulAddition()
933 if (entry.getParent() == ROOT_ENTRY) { in annulAddition()
951 if (entry == entry.getParent().getSummary() in annulAddition()
952 || entry.getParent().getChildren().contains(entry)) { in annulAddition()
1102 prev.getParent(), in logAttachStateChanges()
[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.java75 if (getParent() != null) { in onDescendantInvalidated()
77 getParent().onDescendantInvalidated(child, target); in onDescendantInvalidated()
122 public ViewParent getParent(); in getParent() method
697 if (getParent() != null) { in onDescendantUnbufferedRequested()
698 getParent().onDescendantUnbufferedRequested(); in onDescendantUnbufferedRequested()
DViewOverlay.java186 if (child.getParent() instanceof ViewGroup) { in add()
187 ViewGroup parent = (ViewGroup) child.getParent(); in add()
188 if (parent != mHostView && parent.getParent() != null && in add()
205 if (child.getParent() != null) { in add()
/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()
360 if (parentId.equals(li.getParent().toLanguageTag())) { in getLevelLocales()
367 result.add(getLocaleInfo(li.getParent())); in getLevelLocales()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayAreaPolicyTests.java90 stack1.getParent().positionChildAt(POSITION_TOP, stack1, true /* includingParents */); in testTaskDisplayArea_taskPositionChanged_updatesTaskDisplayAreaPosition()
95 stack2.getParent().positionChildAt(POSITION_TOP, stack2, false /* includingParents */); in testTaskDisplayArea_taskPositionChanged_updatesTaskDisplayAreaPosition()
100 stack1.getParent().positionChildAt(POSITION_BOTTOM, stack1, true /* includingParents */); in testTaskDisplayArea_taskPositionChanged_updatesTaskDisplayAreaPosition()
105 stack2.getParent().positionChildAt(POSITION_BOTTOM, stack2, false /* includingParents */); in testTaskDisplayArea_taskPositionChanged_updatesTaskDisplayAreaPosition()
164 stack1.getParent().positionChildAt(POSITION_TOP, stack1, true /* includingParents */); in testDisplayAreaGroup_taskPositionChanged_updatesDisplayAreaGroupPosition()
170 stack3.getParent().positionChildAt(POSITION_TOP, stack3, true /* includingParents */); in testDisplayAreaGroup_taskPositionChanged_updatesDisplayAreaGroupPosition()
176 stack4.getParent().positionChildAt(POSITION_TOP, stack4, true /* includingParents */); in testDisplayAreaGroup_taskPositionChanged_updatesDisplayAreaGroupPosition()
182 stack4.getParent().positionChildAt(POSITION_BOTTOM, stack4, true /* includingParents */); in testDisplayAreaGroup_taskPositionChanged_updatesDisplayAreaGroupPosition()
DWindowContainerTransactionTests.java61 assertNotNull(task.getParent()); in testRemoveTask()
68 assertNull(task.getParent()); in testRemoveTask()
70 assertNull(activity.getParent()); in testRemoveTask()
/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/media/java/android/mtp/
DMtpStorageManager.java198 public MtpObject getParent() { in getParent() method in MtpStorageManager.MtpObject
484 return obj.getParent().isRoot() && mSubdirectories != null in isSpecialSubDir()
680 || removed.getParent().mChildren.remove(removed.getName(), removed); in removeObjectFromCache()
837 Log.i(TAG, key + " | " + (obj.getParent() == null ? obj.getParent().getId() : "null") in dump()
870 if (obj.getParent() != null) { in checkConsistency()
871 if (obj.getParent().isRoot() && obj.getParent() in checkConsistency()
872 != mRoots.get(obj.getParent().getId())) { in checkConsistency()
876 if (!obj.getParent().isRoot() && obj.getParent() in checkConsistency()
877 != mObjects.get(obj.getParent().getId())) { in checkConsistency()
881 if (obj.getParent().getChild(obj.getName()) != obj) { in checkConsistency()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsAnimationView.java90 if (mPauseAuth && alpha == 0 && getParent() != null) { in updateAlpha()
91 ((ViewGroup) getParent()).setVisibility(View.INVISIBLE); in updateAlpha()
93 ((ViewGroup) getParent()).setVisibility(View.VISIBLE); in updateAlpha()
/frameworks/base/core/java/com/android/internal/app/
DLocaleStore.java67 this.mParent = getParent(locale); in LocaleInfo()
78 private static Locale getParent(Locale locale) { in getParent() method in LocaleStore.LocaleInfo
100 public Locale getParent() { in getParent() method in LocaleStore.LocaleInfo
169 Locale parentWithScript = getParent(LocaleHelper.addLikelySubtags(baseLocale)); in getLangScriptKey()
364 final Locale parent = li.getParent(); in fillCache()
409 if (li.getParent() != null) return 2; in getLevel()
431 if (parentId.equals(li.getParent().toLanguageTag())) { in getLevelLocales()
438 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/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/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.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/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DRemoteAnimationRunnerCompat.java106 if (change.getParent() == null && change.getEndRotation() >= 0 in toRemoteTransition()
117 if (launcherTask != null && rotateDelta != 0 && launcherTask.getParent() != null) { in toRemoteTransition()
118 counterLauncher.setup(t, info.getChange(launcherTask.getParent()).getLeash(), in toRemoteTransition()
152 if (wallpaper != null && rotateDelta != 0 && wallpaper.getParent() != null) { in toRemoteTransition()
153 counterWallpaper.setup(t, info.getChange(wallpaper.getParent()).getLeash(), in toRemoteTransition()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/
DNavigationBarInflaterViewTest.java81 doReturn(layout).when(verticalChildView).getParent(); in initializeLayout()
99 ((View) button.getCurrentView().getParent()).getId()); in testUpdateButtonDispatchersCurrentView_isVerticalTrue()
111 ((View) button.getCurrentView().getParent()).getId()); in testUpdateButtonDispatchersCurrentView_isVerticalFalse()

12345678910>>...15