/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/ |
H A D | GroupMembershipManagerImpl.java | 41 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 D | KeyguardClockSwitchTest.java | 140 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 D | MessagingPool.java | 47 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 D | ViewClippingUtil.java | 39 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 D | ListEntry.java | 67 @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 D | ShadeListBuilder.java | 591 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 D | GhostView.java | 45 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 D | ViewParent.java | 76 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 D | ViewOverlay.java | 186 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 D | DisplayAreaPolicyTests.java | 90 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 D | WindowContainerTransactionTests.java | 61 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 D | ViewGroupChildrenTest.java | 131 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 D | ViewGroupGetChildLocalHitRegionTest.java | 118 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 D | MtpStorageManager.java | 198 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 D | RemoteAnimationRunnerCompat.java | 111 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 D | Visibility.java | 151 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 D | UdfpsAnimationView.java | 90 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 D | ListViewHeight.java | 101 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 D | NavigationBarInflaterViewTest.java | 81 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 D | MicroAlertController.java | 62 ((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 D | LocaleStore.java | 108 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 D | WindowContainer.java | 810 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 D | TaskDisplayArea.java | 396 && !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 D | ForwardingListener.java | 192 src.getParent().requestDisallowInterceptTouchEvent(true); in onTouchObserved() 231 src.getParent().requestDisallowInterceptTouchEvent(true); in onLongPress() 281 final ViewParent parent = mSrc.getParent(); in run()
|
H A D | RadioButton.java | 94 if (getParent() instanceof RadioGroup) { in onInitializeAccessibilityNodeInfo() 95 RadioGroup radioGroup = (RadioGroup) getParent(); in onInitializeAccessibilityNodeInfo()
|