Home
last modified time | relevance | path

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

123

/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/
DAlarmItemHolder.kt31 var isExpanded = false variable
35 return if (isExpanded) { in getItemViewType()
43 if (!isExpanded) { in expand()
44 isExpanded = true in expand()
50 if (isExpanded) { in collapse()
51 isExpanded = false in collapse()
58 bundle.putBoolean(EXPANDED_KEY, isExpanded) in onSaveInstanceState()
63 isExpanded = bundle.getBoolean(EXPANDED_KEY) in onRestoreInstanceState()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/view/
DMoreIssuesHeaderView.kt63 previousData?.isExpanded, in <lambda>()
64 nextData.isExpanded, in <lambda>()
68 updateBackground(previousData?.isExpanded, nextData.isExpanded) in <lambda>()
98 isExpanded: Boolean, in <lambda>()
104 } else if (wasExpanded != null && wasExpanded != isExpanded) { in <lambda>()
105 if (isExpanded) { in <lambda>()
118 if (isExpanded) { in <lambda>()
174 private fun updateBackground(wasExpanded: Boolean?, isExpanded: Boolean) { in <lambda>()
181 if (wasExpanded ?: isExpanded) { in <lambda>()
187 if (isExpanded) { in <lambda>()
[all …]
DSafetyEntryGroupView.kt76 private var isExpanded: Boolean? = null in <lambda>() variable
132 if (isExpanded == shouldBeExpanded) { in <lambda>()
146 if (isExpanded == null) { in <lambda>()
166 isExpanded = shouldBeExpanded in <lambda>()
238 if (isExpanded == true) { in <lambda>()
254 if (isExpanded == true) { in <lambda>()
276 val shouldBeExpanded = isExpanded != true in <lambda>()
/packages/apps/Dialer/java/com/android/dialer/app/widget/
DActionBarController.java77 searchBox.isExpanded(), in onSearchUiExited()
79 if (searchBox.isExpanded()) { in onSearchUiExited()
100 searchBox.isExpanded()); in onDialpadDown()
105 if (!searchBox.isExpanded()) { in onDialpadDown()
159 outState.putBoolean(KEY_IS_EXPANDED, searchBox.isExpanded()); in saveInstanceState()
177 if (!searchBox.isExpanded()) { in restoreInstanceState()
180 } else if (searchBox.isExpanded()) { in restoreInstanceState()
DSearchEditTextLayout.java39 protected boolean isExpanded = false; field in SearchEditTextLayout
76 updateVisibility(isExpanded); in setVoiceSearchEnabled()
242 isExpanded = true; in expand()
259 isExpanded = false; in collapse()
310 public boolean isExpanded() { in isExpanded() method in SearchEditTextLayout
311 return isExpanded; in isExpanded()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DGroupNotificationViewHolder.java196 boolean isExpanded) { in bind() argument
216 if (isExpanded) { in bind()
298 private void updateExpansionIcon(boolean isExpanded) { in updateExpansionIcon() argument
308 mToggleIcon.setImageDrawable(isExpanded ? mCollapseDrawable : mExpandDrawable); in updateExpansionIcon()
313 mNotificationListView.setDescendantFocusability(isExpanded in updateExpansionIcon()
316 mGroupHeaderView.setFocusable(isExpanded); in updateExpansionIcon()
317 mExpansionFooterView.setFocusable(isExpanded); in updateExpansionIcon()
325 if (isExpanded) { in updateExpansionIcon()
333 private void updateOnClickListener(boolean isExpanded) { in updateOnClickListener() argument
336 boolean isExpanding = !isExpanded; in updateOnClickListener()
[all …]
/packages/apps/Dialer/java/com/android/dialer/main/impl/toolbar/
DSearchBarView.java57 private boolean isExpanded; field in SearchBarView
92 if (!isExpanded) { in onSearchBackButtonClicked()
115 if (isExpanded) { in expand()
131 isExpanded = true; in expand()
153 if (!isExpanded) { in collapse()
169 isExpanded = false; in collapse()
207 public boolean isExpanded() { in isExpanded() method in SearchBarView
208 return isExpanded; in isExpanded()
DMainToolbar.java143 public boolean isExpanded() { in isExpanded() method in MainToolbar
144 return searchBar.isExpanded(); in isExpanded()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/bubbles/
DBubbleBarViewController.java148 if (mBarView.isExpanded() && Objects.equals(bubble.getKey(), currentlySelected)) { in onBubbleClicked()
265 public boolean isExpanded() { in isExpanded() method in BubbleBarViewController
266 return mBarView.isExpanded(); in isExpanded()
439 if (isInApp && !isExpanding && !isExpanded()) { in animateBubbleNotification()
466 public void setExpanded(boolean isExpanded) { in setExpanded() argument
467 if (isExpanded != mBarView.isExpanded()) { in setExpanded()
468 mBarView.setExpanded(isExpanded); in setExpanded()
469 if (!isExpanded) { in setExpanded()
483 public void setExpandedFromSysui(boolean isExpanded) { in setExpandedFromSysui() argument
484 if (!isExpanded) { in setExpandedFromSysui()
DBubbleStashController.java179 } else if (!mBarViewController.isExpanded()) { in setBubblesShowingOnHome()
195 if (!mBubblesShowingOnOverview && !mBarViewController.isExpanded()) { in setBubblesShowingOnOverview()
262 if (mBarViewController.isExpanded() != mRequestedExpandedState) { in updateStashedAndExpandedState()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DCollapsableIssuesCardHelper.kt353 isExpanded: Boolean, in <lambda>()
356 if (issueCardsExpanded == isExpanded) { in <lambda>()
365 preference.isVisible = isExpanded || i < numberOfIssuesToShowWhenCollapsed in <lambda>()
369 preference.isVisible = isExpanded in <lambda>()
372 val newMoreIssuesCardData = it.copy(isExpanded = isExpanded) in <lambda>()
377 preference.isVisible = isExpanded || !preference.isStaticHeader in <lambda>()
383 issueCardsExpanded = isExpanded in <lambda>()
DSafetyGroupPreference.kt35 private val isExpanded: (String) -> Boolean, constant
53 isExpanded, in onBindViewHolder()
/packages/apps/Car/Notification/src/com/android/car/notification/
DCarNotificationViewAdapter.java185 isExpanded(notificationGroup.getGroupKey(), in onBindViewHolderImpl()
235 setExpanded(expandedNotification.getKey(), expandedNotification.isExpanded(), in getItemViewTypeImpl()
389 public void setExpanded(String groupKey, boolean isSeen, boolean isExpanded) { in setExpanded() argument
390 if (isExpanded(groupKey, isSeen) == isExpanded) { in setExpanded()
395 if (isExpanded) { in setExpanded()
420 boolean isExpanded(String groupKey, boolean isSeen) { in isExpanded() method in CarNotificationViewAdapter
703 ExpandedNotification(String key, boolean isExpanded) { in ExpandedNotification() argument
705 mIsExpanded = isExpanded; in ExpandedNotification()
715 return mKey.equals(other.getKey()) && mIsExpanded == other.isExpanded(); in equals()
722 public boolean isExpanded() { in isExpanded() method in CarNotificationViewAdapter.ExpandedNotification
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DWallpaperPickerRecyclerViewAccessibilityDelegate.java53 default boolean isExpanded() { in isExpanded() method
77 if (mBottomSheetHost != null && !mBottomSheetHost.isExpanded() in onRequestSendAccessibilityEvent()
89 if (mBottomSheetHost != null && !mBottomSheetHost.isExpanded()) { in performAccessibilityAction()
/packages/apps/Settings/src/com/android/settings/accessibility/shortcuts/
DAdvancedShortcutsPreferenceController.java52 if (!isExpanded() && isShortcutAvailable()) { in getAvailabilityStatus()
65 public boolean isExpanded() { in isExpanded() method in AdvancedShortcutsPreferenceController
DTripleTapShortcutOptionController.java66 if (isExpanded() && isShortcutAvailable()) { in getAvailabilityStatus()
84 public boolean isExpanded() { in isExpanded() method in TripleTapShortcutOptionController
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsListHeaderViewHolderBinder.java65 widgetsListHeader.setExpanded(mIsTwoPane || !widgetsListHeader.isExpanded()); in bindViewHolder()
66 mOnHeaderClickListener.onHeaderClicked(widgetsListHeader.isExpanded(), in bindViewHolder()
DWidgetsListHeader.java131 public void setExpanded(boolean isExpanded) { in setExpanded() argument
132 this.mIsExpanded = isExpanded; in setExpanded()
137 public boolean isExpanded() { in isExpanded() method in WidgetsListHeader
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchViewManager.java165 } else if (isExpanded() && isSearching()) { in buildQueryArgs()
270 if (mMenu != null && isExpanded() && mFullBar) { in updateMenu()
346 if (mSearchView != null && (isExpanded() || isSearching())) { in cancelSearch()
564 if (isExpanded() || isSearching()) {
671 public boolean isExpanded() {
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/adapters/
DTermsListAdapter.java128 setExpanded(isExpanded(disclaimerIndex), disclaimerIndex, holder); in onBindDisclaimerViewHolder()
143 setExpanded(!isExpanded(position), position, viewHolder)); in setupRootView()
174 private Boolean isExpanded(int position) { in isExpanded() method in TermsListAdapter
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/shortcuts/
DAdvancedShortcutsPreferenceControllerTest.java99 assertThat(mController.isExpanded()).isTrue(); in setExpanded_expand_updateExpandedValue()
106 assertThat(mController.isExpanded()).isFalse(); in setExpanded_collapse_updateExpandedValue()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/controlbar/
DControlBarMediaController.java282 private void setOverflowState(boolean isExpanded) { in setOverflowState() argument
283 ViewUtils.setVisible(mCustomActionLayout, !isExpanded); in setOverflowState()
284 ViewUtils.setVisible(mCustomActionOverflowLayout, isExpanded); in setOverflowState()
285 ViewUtils.setVisible(mActionOverflowExitButton, isExpanded); in setOverflowState()
/packages/modules/ExtServices/java/src/android/ext/services/notification/
DAssistant.java279 boolean isExpanded) { in onNotificationExpansionChanged() argument
282 + "], isUserAction = [" + isUserAction + "], isExpanded = [" + isExpanded in onNotificationExpansionChanged()
290 entry.getSbn(), isExpanded)); in onNotificationExpansionChanged() local
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/activities/
DDeviceLockNotificationManager.java176 boolean isExpanded) { in buildResetTimerNotif() argument
179 isExpanded ? R.layout.reset_timer_notif_large : R.layout.reset_timer_notif_small); in buildResetTimerNotif()
183 if (isExpanded) { in buildResetTimerNotif()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/
DConditionContextualCardController.java62 public void setIsExpanded(boolean isExpanded) { in setIsExpanded() argument
63 mIsExpanded = isExpanded; in setIsExpanded()

123