Home
last modified time | relevance | path

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

12345678910>>...14

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DKeyguardClockSwitchTest.java140 assertEquals(mClock.getSmallClock().getView().getParent(), mSmallClockFrame); in onPluginConnected_showClock()
141 assertEquals(mClock.getLargeClock().getView().getParent(), mLargeClockFrame); in onPluginConnected_showClock()
158 assertThat(otherClock.getSmallClock().getView().getParent()).isEqualTo(mSmallClockFrame); in onPluginConnected_showSecondPluginClock()
160 assertThat(mClock.getSmallClock().getView().getParent()).isNull(); in onPluginConnected_showSecondPluginClock()
161 assertThat(mClock.getLargeClock().getView().getParent()).isNull(); in onPluginConnected_showSecondPluginClock()
179 assertThat(otherClock.getSmallClock().getView().getParent()).isNull(); in onPluginDisconnected_secondOfTwoDisconnected()
180 assertThat(otherClock.getLargeClock().getView().getParent()).isNull(); in onPluginDisconnected_secondOfTwoDisconnected()
181 assertThat(mClock.getSmallClock().getView().getParent()).isNull(); in onPluginDisconnected_secondOfTwoDisconnected()
182 assertThat(mClock.getLargeClock().getView().getParent()).isNull(); in onPluginDisconnected_secondOfTwoDisconnected()
220 assertThat(mLargeClockFrame.getParent()).isNull(); in switchingToSmallClockWithAnimation_makesBigClockDisappear()
[all …]
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A 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()
H A 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
H A 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()
H A DShadeListBuilder.java591 if (group.getParent() == null) { in groupNotifs()
936 if (entry.getParent() == null) { in annulAddition()
941 if (entry.getParent() == ROOT_ENTRY) { in annulAddition()
1110 prev.getParent(), in logAttachStateChanges()
1111 curr.getParent()); in logAttachStateChanges()
1113 if (curr.getParent() != prev.getParent()) { in logAttachStateChanges()
1114 mLogger.logParentChanged(mIterationCount, prev.getParent(), curr.getParent()); in logAttachStateChanges()
1124 curr.getParent()); in logAttachStateChanges()
1130 prev.getParent()); in logAttachStateChanges()
1143 curr.getParent()); in logAttachStateChanges()
[all …]
/aosp14/frameworks/base/core/java/android/view/
H A 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()
H A DViewParent.java76 if (getParent() != null) { in onDescendantInvalidated()
78 getParent().onDescendantInvalidated(child, target); in onDescendantInvalidated()
123 public ViewParent getParent(); in getParent() method
728 if (getParent() != null) { in onDescendantUnbufferedRequested()
729 getParent().onDescendantUnbufferedRequested(); in onDescendantUnbufferedRequested()
H A 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()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A 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()
H A DWindowContainerTransactionTests.java61 assertNotNull(task.getParent()); in testRemoveTask()
68 assertNull(task.getParent()); in testRemoveTask()
70 assertNull(activity.getParent()); in testRemoveTask()
/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A 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()
H A DViewGroupGetChildLocalHitRegionTest.java118 boolean actualNotEmpty = viewTop.getParent() in testGetChildLocalHitRegion_topViewIsNotBlockedByBottomView()
177 boolean actualNotEmpty = view.getParent() in assertGetChildLocalHitRegion()
218 boolean actualNotEmpty = viewBottom.getParent() in assertGetChildLocalHitRegion()
260 boolean actualNotEmpty = viewBottom.getParent() in assertGetChildLocalHitRegionEmpty()
/aosp14/frameworks/base/media/java/android/mtp/
H A DMtpStorageManager.java198 public MtpObject getParent() { in getParent() method in MtpStorageManager.MtpObject
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()
876 if (!obj.getParent().isRoot() && obj.getParent() in checkConsistency()
981 obj.getParent().addChild(obj); in beginRenameObject()
982 oldObj.getParent().addChild(oldObj); in beginRenameObject()
996 MtpObject parent = obj.getParent(); in endRenameObject()
1078 oldObj.getParent().addChild(oldObj); in beginMoveObject()
1079 obj.getParent().addChild(obj); in beginMoveObject()
[all …]
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
H A DRemoteAnimationRunnerCompat.java111 if (change.getParent() == null && change.getEndRotation() >= 0 in wrap()
122 if (launcherTask != null && rotateDelta != 0 && launcherTask.getParent() != null) { in wrap()
123 final TransitionInfo.Change parent = info.getChange(launcherTask.getParent()); in wrap()
129 + launcherTask.getParent() + " but it's not in info."); in wrap()
163 if (wallpaper != null && rotateDelta != 0 && wallpaper.getParent() != null) { in wrap()
164 final TransitionInfo.Change parent = info.getChange(wallpaper.getParent()); in wrap()
170 + wallpaper.getParent() + " but it's not in info."); in wrap()
/aosp14/frameworks/base/core/java/android/transition/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A 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()
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/
H A 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()
/aosp14/frameworks/base/core/java/com/android/internal/app/
H A 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()
H A DLocaleStore.java108 this.mParent = getParent(locale); in LocaleInfo()
123 this.mParent = localeInfo.getParent(); in LocaleInfo()
131 private static Locale getParent(Locale locale) { in getParent() method in LocaleStore.LocaleInfo
158 public Locale getParent() { in getParent() method in LocaleStore.LocaleInfo
250 Locale parentWithScript = getParent(LocaleHelper.addLikelySubtags(baseLocale)); in getLangScriptKey()
502 final Locale parent = li.getParent(); in fillCache()
552 if (li.getParent() != null) return false; in isShallIgnore()
627 Locale locale = li.getParent(); in getTierLocales()
634 if (parentId.equals(li.getParent().toLanguageTag())) { in getTierLocales()
673 Locale parent = li.getParent(); in convertExplicitLocales()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowContainer.java810 WindowContainer parent = getParent(); in onChildAdded()
813 parent = parent.getParent(); in onChildAdded()
839 WindowContainer parent = getParent(); in onChildRemoved()
842 parent = parent.getParent(); in onChildRemoved()
972 if (child.getParent() != this) { in positionChildAt()
1116 WindowContainer parent = getParent(); in getDisplayArea()
1123 WindowContainer parent = getParent(); in getRootDisplayArea()
1129 WindowContainer parent = getParent(); in getTaskDisplayArea()
1134 WindowContainer parent = getParent(); in isAttached()
2668 if (getParent() != null) { in getSession()
[all …]
H A DTaskDisplayArea.java396 && !getParent().isOnTop()) {
681 if (getParent() == null) {
843 final WindowContainer homeParent = home.getParent();
847 if (task.getParent() == this) {
852 } else if (homeParentTask == task.getParent()) {
908 if (candidateTask.getParent() == null) {
915 if (candidateTask.getParent() == null) {
1644 rootTask.getParent().positionChildAt(POSITION_BOTTOM, rootTask,
1698 final WindowContainer parent = rootTask.getParent();
1699 if (parent == null || parent != behindRootTask.getParent()) {
[all …]
/aosp14/frameworks/base/core/java/android/widget/
H A DForwardingListener.java192 src.getParent().requestDisallowInterceptTouchEvent(true); in onTouchObserved()
231 src.getParent().requestDisallowInterceptTouchEvent(true); in onLongPress()
281 final ViewParent parent = mSrc.getParent(); in run()
H A DRadioButton.java94 if (getParent() instanceof RadioGroup) { in onInitializeAccessibilityNodeInfo()
95 RadioGroup radioGroup = (RadioGroup) getParent(); in onInitializeAccessibilityNodeInfo()

12345678910>>...14