Home
last modified time | relevance | path

Searched refs:isExpanded (Results 1 – 25 of 87) sorted by relevance

1234

/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/items/
DExpandableSwitchItem.java49 private boolean isExpanded = false; field in ExpandableSwitchItem
70 return isExpanded ? getExpandedSummary() : getCollapsedSummary(); in getSummary()
74 public boolean isExpanded() { in isExpanded() method in ExpandableSwitchItem
75 return isExpanded; in isExpanded()
80 if (isExpanded == expanded) { in setExpanded()
83 isExpanded = expanded; in setExpanded()
98 if (!isExpanded()) { in setCollapsedSummary()
114 if (isExpanded()) { in setExpandedSummary()
127 ((CheckableLinearLayout) content).setChecked(isExpanded()); in onBindView()
139 setExpanded(!isExpanded()); in onClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/view/
DNotificationStatsLoggerImpl.kt82 isExpanded: Boolean, in <lambda>()
89 isExpanded = isExpanded, in <lambda>()
104 if (loggedExpansionValue == null && !expansionState.isExpanded) { in <lambda>()
110 if (loggedExpansionValue != null && loggedExpansionValue == expansionState.isExpanded) { in <lambda>()
116 lastReportedExpansionValues[expansionState.key] = expansionState.isExpanded in <lambda>()
125 /* expanded = */ expansionState.isExpanded, in <lambda>()
253 val isExpanded: Boolean, in <lambda>() constant in com.android.systemui.statusbar.notification.stack.ui.view.NotificationStatsLoggerImpl.ExpansionState
259 isExpanded: Boolean, in <lambda>()
264 isExpanded = isExpanded, in <lambda>()
DNotificationRowStatsLogger.kt22 isExpanded: Boolean,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DConversationNotifications.kt101 override fun onExpandedChanged(isExpanded: Boolean) { in bind()
102 isStatusBarExpanded = isExpanded in bind()
191 fun updateCount(isExpanded: Boolean) { in onEntryViewBound()
192 if (isExpanded && (!notifPanelCollapsed || entry.isPinnedAndExpanded)) { in onEntryViewBound()
197 entry.row?.setOnExpansionChangedListener { isExpanded -> in onEntryViewBound() method
198 if (entry.row?.isShown == true && isExpanded) { in onEntryViewBound()
199 entry.row.performOnIntrinsicHeightReached { updateCount(isExpanded) } in onEntryViewBound()
201 updateCount(isExpanded) in onEntryViewBound()
204 updateCount(entry.row?.isExpanded == true) in onEntryViewBound()
252 if (entry.row?.isExpanded == true) key to entry else null in onNotificationPanelExpandStateChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarStateControllerExt.kt29 override fun onExpandedChanged(isExpanded: Boolean) { in <lambda>()
30 trySend(isExpanded) in <lambda>()
33 trySend(isExpanded) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ui/view/
DNotificationStatsLoggerTest.kt289 isExpanded = true, in <lambda>()
311 isExpanded = true, in <lambda>()
321 isExpanded = true, in <lambda>()
337 isExpanded = true, in <lambda>()
353 isExpanded = true, in <lambda>()
381 isExpanded = true, in <lambda>()
419 isExpanded = false, in <lambda>()
436 isExpanded = true, in <lambda>()
454 isExpanded = false, in <lambda>()
476 isExpanded = true, in <lambda>()
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/
DBubblesTransitionObserverTest.java81 when(mBubbleData.isExpanded()).thenReturn(true); in testOnTransitionReady_open_collapsesStack()
95 when(mBubbleData.isExpanded()).thenReturn(true); in testOnTransitionReady_toFront_collapsesStack()
109 when(mBubbleData.isExpanded()).thenReturn(true); in testOnTransitionReady_noTaskInfo_skip()
124 when(mBubbleData.isExpanded()).thenReturn(true); in testOnTransitionReady_noTaskId_skip()
140 when(mBubbleData.isExpanded()).thenReturn(true); in testOnTransitionReady_notOpening_skip()
160 when(mBubbleData.isExpanded()).thenReturn(true); in testOnTransitionReady_stackAnimating_skip()
174 when(mBubbleData.isExpanded()).thenReturn(false); // Stack is not expanded in testOnTransitionReady_stackNotExpanded_skip()
188 when(mBubbleData.isExpanded()).thenReturn(true); in testOnTransitionReady_noSelectedBubble_skip()
202 when(mBubbleData.isExpanded()).thenReturn(true); in testOnTransitionReady_openingMatchesExpanded_skip()
/frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/items/
DExpandableSwitchItemTest.java89 assertTrue("Should be expanded", mItem.isExpanded()); in testExpanded()
100 assertTrue("Should be expanded", mItem.isExpanded()); in testCollapsed()
111 assertFalse("Should be expanded", mItem.isExpanded()); in testCollapsed()
120 assertFalse("Should not be expanded initially", mItem.isExpanded()); in testClick()
124 assertTrue("Should be expanded after clicking", mItem.isExpanded()); in testClick()
127 assertFalse("Should be collapsed again after clicking", mItem.isExpanded()); in testClick()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/volume/ui/composable/
DVolumeSlidersComponent.kt60 val isExpanded = in Content() constant
61 (expandableViewModel as? SlidersExpandableViewModel.Expandable)?.isExpanded ?: true in Content()
64 isExpanded = isExpanded, in Content()
DColumnVolumeSliders.kt74 isExpanded: Boolean, in <lambda>()
81 val transition = updateTransition(isExpanded, label = "CollapsableSliders") in <lambda>()
103 isExpanded = isExpanded, in <lambda>()
149 isExpanded: Boolean, in ExpandButton()
156 if (isExpanded) { in ExpandButton()
173 onClick = { onExpandedChanged(!isExpanded) }, in ExpandButton()
183 if (isExpanded) { in ExpandButton()
/frameworks/base/core/java/android/widget/
DSimpleExpandableListAdapter.java270 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, in getGroupView() argument
274 v = newGroupView(isExpanded, parent); in getGroupView()
288 public View newGroupView(boolean isExpanded, ViewGroup parent) { in newGroupView() argument
289 return mInflater.inflate((isExpanded) ? mExpandedGroupLayout : mCollapsedGroupLayout, in newGroupView()
DCursorTreeAdapter.java194 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, in getGroupView() argument
203 v = newGroupView(mContext, cursor, isExpanded, parent); in getGroupView()
207 bindGroupView(v, mContext, cursor, isExpanded); in getGroupView()
221 protected abstract View newGroupView(Context context, Cursor cursor, boolean isExpanded, in newGroupView() argument
234 boolean isExpanded); in bindGroupView() argument
DResourceCursorTreeAdapter.java104 public View newGroupView(Context context, Cursor cursor, boolean isExpanded, ViewGroup parent) { in newGroupView() argument
105 return mInflater.inflate((isExpanded) ? mExpandedGroupLayout : mCollapsedGroupLayout, in newGroupView()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/
DStatusBarStateController.java44 boolean isExpanded(); in isExpanded() method
133 default void onExpandedChanged(boolean isExpanded) {} in onExpandedChanged() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/volume/ui/viewmodel/
DAudioVolumeComponentViewModel.kt82 mutableIsExpanded.filterNotNull().map { isExpanded -> in <lambda>() method
83 SlidersExpandableViewModel.Expandable(isExpanded) in <lambda>()
116 fun onExpandedChanged(isExpanded: Boolean) { in <lambda>()
117 scope.launch { mutableIsExpanded.value = isExpanded } in <lambda>()
DSlidersExpandableViewModel.kt28 data class Expandable(val isExpanded: Boolean) : SlidersExpandableViewModel constant in com.android.systemui.volume.panel.component.volume.ui.viewmodel.SlidersExpandableViewModel.Expandable
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/shortcut/ui/composable/
DShortcutHelper.kt137 val isExpanded = expandedCategory == category in CategoriesPanelSinglePane() constant
148 isExpanded = isExpanded, in CategoriesPanelSinglePane()
151 if (isExpanded) { in CategoriesPanelSinglePane()
166 isExpanded: Boolean, in CategoryItemSinglePane()
184 RotatingExpandCollapseIcon(isExpanded) in CategoryItemSinglePane()
186 AnimatedVisibility(visible = isExpanded) { ShortcutCategoryDetailsSinglePane(category) } in CategoryItemSinglePane()
192 private fun RotatingExpandCollapseIcon(isExpanded: Boolean) { in RotatingExpandCollapseIcon()
196 if (isExpanded) { in RotatingExpandCollapseIcon()
212 if (isExpanded) { in RotatingExpandCollapseIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DHeadsUpAppearanceController.java247 animateIsolation = !isExpanded(); in updateTopEntry()
252 animateIsolation = !isExpanded(); in updateTopEntry()
361 boolean canShow = !isExpanded() && notificationsShown; in shouldBeVisible()
380 boolean oldIsExpanded = isExpanded(); in setAppearFraction()
390 if (isExpanded() != oldIsExpanded) { in setAppearFraction()
412 private boolean isExpanded() { in isExpanded() method in HeadsUpAppearanceController
DStatusBarTouchableRegionManager.java159 private void onShadeOrQsExpanded(Boolean isExpanded) { in onShadeOrQsExpanded() argument
160 if (isExpanded != mIsStatusBarExpanded) { in onShadeOrQsExpanded()
161 mIsStatusBarExpanded = isExpanded; in onShadeOrQsExpanded()
162 if (isExpanded) { in onShadeOrQsExpanded()
DHeadsUpTouchHelper.java87 mTouchingHeadsUpView = !mCallback.isExpanded() in onInterceptTouchEvent()
92 } else if (child == null && !mCallback.isExpanded()) { in onInterceptTouchEvent()
194 boolean isExpanded();
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DNotificationShadeWindowControllerImpl.java241 void onShadeOrQsExpanded(Boolean isExpanded) { in onShadeOrQsExpanded() argument
242 if (mCurrentState.shadeOrQsExpanded != isExpanded) { in onShadeOrQsExpanded()
243 mCurrentState.shadeOrQsExpanded = isExpanded; in onShadeOrQsExpanded()
468 boolean visible = isExpanded(state); in applyVisibility()
489 private boolean isExpanded(NotificationShadeWindowState state) { in isExpanded() method in NotificationShadeWindowControllerImpl
490 boolean isExpanded = !state.forceWindowCollapsed && (state.isKeyguardShowingAndNotOccluded() in isExpanded()
496 mLogger.logIsExpanded(isExpanded, state.forceWindowCollapsed, in isExpanded()
501 return isExpanded; in isExpanded()
544 if (!isExpanded(state)) { in applyStatusBarColorSpaceAgnosticFlag()
668 mHasTopUiChanged = !state.componentsForcingTopUi.isEmpty() || isExpanded(state) in applyHasTopUi()
[all …]
DShadeWindowLogger.kt59 isExpanded: Boolean, in <lambda>()
74 str1 = isExpanded.toString() in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DKeyguardCoordinatorTest.kt101 whenever(statusBarStateController.isExpanded).thenReturn(true) in unseenFilterSuppressesSeenNotifWhileKeyguardShowing()
126 whenever(statusBarStateController.isExpanded).thenReturn(false) in unseenFilterStopsMarkingSeenNotifWhenTransitionToAod()
148 whenever(statusBarStateController.isExpanded).thenReturn(false) in unseenFilter_headsUpMarkedAsSeen()
194 whenever(statusBarStateController.isExpanded).thenReturn(true) in unseenFilterDoesNotSuppressSeenOngoingNotifWhileKeyguardShowing()
215 whenever(statusBarStateController.isExpanded).thenReturn(true) in unseenFilterDoesNotSuppressSeenMediaNotifWhileKeyguardShowing()
239 whenever(statusBarStateController.isExpanded).thenReturn(true) in unseenFilterUpdatesSeenProviderWhenSuppressing()
263 whenever(statusBarStateController.isExpanded).thenReturn(true) in unseenFilterInvalidatesWhenSettingChanges()
312 whenever(statusBarStateController.isExpanded).thenReturn(true) in unseenFilterSeenGroupSummaryWithUnseenChild()
/frameworks/ex/common/java/com/android/common/widget/
DGroupingListAdapter.java52 boolean isExpanded; field in GroupingListAdapter.PositionMetadata
353 metadata.isExpanded = expanded; in obtainPositionMetadata()
412 if (mPositionMetadata.isExpanded) { in toggleGroup()
478 mPositionMetadata.isExpanded); in getView()
/frameworks/ex/common/tests/src/com/android/common/widget/
DGroupingListAdapterTests.java301 private void assertPositionMetadata(int position, int itemType, boolean isExpanded, in assertPositionMetadata() argument
307 assertEquals(isExpanded, metadata.isExpanded); in assertPositionMetadata()

1234