Home
last modified time | relevance | path

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

123

/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/
DConversationNotifications.kt90 override fun onExpandedChanged(isExpanded: Boolean) { in bind()
91 isStatusBarExpanded = isExpanded in bind()
180 fun updateCount(isExpanded: Boolean) { in onEntryViewBound()
181 if (isExpanded && (!notifPanelCollapsed || entry.isPinnedAndExpanded)) { in onEntryViewBound()
186 entry.row?.setOnExpansionChangedListener { isExpanded -> in onEntryViewBound() method
187 if (entry.row?.isShown == true && isExpanded) { in onEntryViewBound()
189 updateCount(isExpanded) in onEntryViewBound()
192 updateCount(isExpanded) in onEntryViewBound()
195 updateCount(entry.row?.isExpanded == true) in onEntryViewBound()
235 if (entry.row?.isExpanded == true) key to entry 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/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/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DKeyguardCoordinatorTest.kt104 whenever(statusBarStateController.isExpanded).thenReturn(true) in unseenFilterSuppressesSeenNotifWhileKeyguardShowing()
131 whenever(statusBarStateController.isExpanded).thenReturn(false) in unseenFilterStopsMarkingSeenNotifWhenTransitionToAod()
143 whenever(statusBarStateController.isExpanded).thenReturn(true) in unseenFilterStopsMarkingSeenNotifWhenTransitionToAod()
158 whenever(statusBarStateController.isExpanded).thenReturn(false) in unseenFilter_headsUpMarkedAsSeen()
190 whenever(statusBarStateController.isExpanded).thenReturn(true) in unseenFilterDoesNotSuppressSeenOngoingNotifWhileKeyguardShowing()
212 whenever(statusBarStateController.isExpanded).thenReturn(true) in unseenFilterDoesNotSuppressSeenMediaNotifWhileKeyguardShowing()
236 whenever(statusBarStateController.isExpanded).thenReturn(true) in unseenFilterUpdatesSeenProviderWhenSuppressing()
262 whenever(statusBarStateController.isExpanded).thenReturn(true) in unseenFilterInvalidatesWhenSettingChanges()
315 whenever(statusBarStateController.isExpanded).thenReturn(true) in unseenFilterSeenGroupSummaryWithUnseenChild()
/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()
DExpandableListAdapter.java125 View getGroupView(int groupPosition, boolean isExpanded, View convertView, ViewGroup parent); in getGroupView() argument
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/
DStatusBarStateController.java45 boolean isExpanded(); in isExpanded() method
141 default void onExpandedChanged(boolean isExpanded) {} in onExpandedChanged() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DShadeExpansionStateManager.kt169 fun onShadeExpansionFullyChanged(isExpanded: Boolean) { in onShadeExpansionFullyChanged()
170 this.expanded = isExpanded in onShadeExpansionFullyChanged()
172 debugLog("expanded=$isExpanded") in onShadeExpansionFullyChanged()
173 fullExpansionListeners.forEach { it.onShadeExpansionFullyChanged(isExpanded) } in onShadeExpansionFullyChanged()
DShadeFullExpansionListener.kt22 fun onShadeExpansionFullyChanged(isExpanded: Boolean) in interface()
DNotificationShadeWindowControllerImpl.java215 void onShadeExpansionFullyChanged(Boolean isExpanded) { in onShadeExpansionFullyChanged() argument
216 if (mCurrentState.panelExpanded != isExpanded) { in onShadeExpansionFullyChanged()
217 mCurrentState.panelExpanded = isExpanded; in onShadeExpansionFullyChanged()
407 boolean visible = isExpanded(state); in applyVisibility()
425 private boolean isExpanded(NotificationShadeWindowState state) { in isExpanded() method in NotificationShadeWindowControllerImpl
467 if (!isExpanded(state)) { in applyStatusBarColorSpaceAgnosticFlag()
589 mHasTopUiChanged = !state.componentsForcingTopUi.isEmpty() || isExpanded(state); in applyHasTopUi()
695 boolean wasExpanded = isExpanded(mCurrentState); in setScrimsVisibility()
697 if (wasExpanded != isExpanded(mCurrentState)) { in setScrimsVisibility()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarHideIconsForBouncerManager.kt52 shadeExpansionStateManager.addFullExpansionListener { isExpanded -> in <lambda>() method
53 if (panelExpanded != isExpanded) { in <lambda>()
54 panelExpanded = isExpanded in <lambda>()
DStatusBarTouchableRegionManager.java136 private void onShadeExpansionFullyChanged(Boolean isExpanded) { in onShadeExpansionFullyChanged() argument
137 if (isExpanded != mIsStatusBarExpanded) { in onShadeExpansionFullyChanged()
138 mIsStatusBarExpanded = isExpanded; in onShadeExpansionFullyChanged()
139 if (isExpanded) { in onShadeExpansionFullyChanged()
DHeadsUpAppearanceController.java220 animateIsolation = !isExpanded(); in updateTopEntry()
225 animateIsolation = !isExpanded(); in updateTopEntry()
328 boolean canShow = !isExpanded() && notificationsShown; in shouldBeVisible()
347 boolean oldIsExpanded = isExpanded(); in setAppearFraction()
357 if (isExpanded() != oldIsExpanded) { in setAppearFraction()
379 private boolean isExpanded() { in isExpanded() method in HeadsUpAppearanceController
DHeadsUpTouchHelper.java82 mTouchingHeadsUpView = !mCallback.isExpanded() in onInterceptTouchEvent()
87 } else if (child == null && !mCallback.isExpanded()) { in onInterceptTouchEvent()
181 boolean isExpanded();
DHeadsUpManagerPhone.java227 private void onShadeExpansionFullyChanged(Boolean isExpanded) { in onShadeExpansionFullyChanged() argument
228 if (isExpanded != mIsExpanded) { in onShadeExpansionFullyChanged()
229 mIsExpanded = isExpanded; in onShadeExpansionFullyChanged()
230 if (isExpanded) { in onShadeExpansionFullyChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/
DNotificationLogger.java400 public void onExpansionChanged(String key, boolean isUserAction, boolean isExpanded) { in onExpansionChanged() argument
402 mExpansionStateLogger.onExpansionChanged(key, isUserAction, isExpanded, location); in onExpansionChanged()
406 void onShadeExpansionFullyChanged(Boolean isExpanded) { in onShadeExpansionFullyChanged() argument
408 if (mPanelExpanded == null || !mPanelExpanded.equals(isExpanded)) { in onShadeExpansionFullyChanged()
410 Log.i(TAG, "onPanelExpandedChanged: new=" + isExpanded); in onShadeExpansionFullyChanged()
412 mPanelExpanded = isExpanded; in onShadeExpansionFullyChanged()
471 void onExpansionChanged(String key, boolean isUserAction, boolean isExpanded, in onExpansionChanged() argument
475 state.mIsExpanded = isExpanded; in onExpansionChanged()
/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/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DKeyguardCoordinator.kt179 statusBarStateController.expansionChanges.collectLatest { isExpanded -> in <lambda>() method
183 if (isExpanded) { in <lambda>()
234 keyguardRepository.isKeyguardShowing() || !statusBarStateController.isExpanded in <lambda>()
242 keyguardRepository.isKeyguardShowing() || !statusBarStateController.isExpanded in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/domain/model/
DShadeModel.kt25 val isExpanded: Boolean = false, constant in com.android.systemui.shade.domain.model.ShadeModel
/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()
/frameworks/base/core/java/android/service/notification/
DNotificationAssistantService.java257 @NonNull String key, boolean isUserAction, boolean isExpanded) {} in onNotificationExpansionChanged() argument
450 boolean isExpanded) { in onNotificationExpansionChanged() argument
454 args.argi2 = isExpanded ? 1 : 0; in onNotificationExpansionChanged()
583 boolean isExpanded = args.argi2 == 1; in handleMessage()
585 onNotificationExpansionChanged(key, isUserAction, isExpanded); in handleMessage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRow.java172 void onExpansionChanged(boolean isExpanded); in onExpansionChanged() argument
313 if (!shouldShowPublic() && (!mIsLowPriority || isExpanded())
336 nowExpanded = !isExpanded();
674 return mEntry.getContrastedColor(mContext, mIsLowPriority && !isExpanded(), in getOriginalIconColor()
2471 final boolean wasExpanded = isExpanded();
2475 if (!wasExpanded && isExpanded()
2482 boolean wasExpanded = isExpanded();
2485 if (wasExpanded != isExpanded()) {
2525 final boolean wasExpanded = isExpanded();
2539 final boolean wasExpanded = isExpanded();
[all …]

123