Home
last modified time | relevance | path

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

12

/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()
DAlarmItemHolder.java42 return isExpanded() ? in getItemViewType()
55 if (!isExpanded()) { in expand()
62 if (isExpanded()) { in collapse()
68 public boolean isExpanded() { in isExpanded() method in AlarmItemHolder
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DGroupNotificationViewHolder.java116 NotificationGroup group, CarNotificationViewAdapter parentAdapter, boolean isExpanded) { in bind() argument
136 if (isExpanded) { in bind()
162 updateExpansionIcon(group.getChildCount(), isExpanded); in bind() local
163 updateOnClickListener(parentAdapter, group, isExpanded); in bind()
166 private void updateExpansionIcon(int childCount, boolean isExpanded) { in updateExpansionIcon() argument
173 mToggleIcon.setImageDrawable(isExpanded ? mCollapseDrawable : mExpandDrawable); in updateExpansionIcon()
176 if (isExpanded) { in updateExpansionIcon()
189 CarNotificationViewAdapter parentAdapter, NotificationGroup group, boolean isExpanded) { in updateOnClickListener() argument
192 boolean isExpanding = !isExpanded; in updateOnClickListener()
200 mTouchInterceptorView.setVisibility(isExpanded ? View.GONE : View.VISIBLE); in updateOnClickListener()
/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/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/Car/Notification/src/com/android/car/notification/
DCarNotificationViewAdapter.java429 public void setExpanded(String groupKey, boolean isExpanded) { in setExpanded() argument
430 if (isExpanded(groupKey) == isExpanded) { in setExpanded()
434 if (isExpanded) { in setExpanded()
453 boolean isExpanded(String groupKey) { in isExpanded() method in CarNotificationViewAdapter
DCarNotificationItemTouchListener.java257 if (mAdapter.isExpanded(mViewHolder.getStatusBarNotification().getGroupKey())) { in onInterceptTouchEvent()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchViewManager.java247 if (isExpanded() && mFullBar) { in updateMenu()
323 if (mSearchView != null && (isExpanded() || isSearching())) { in cancelSearch()
512 if (isExpanded() || isSearching()) {
597 public boolean isExpanded() {
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/adapters/
DTermsListAdapter.java100 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, in getGroupView() argument
113 chevron.setRotation(isExpanded ? 90 : -90); // chevron down / up retrospectively in getGroupView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/conditional/
DConditionContextualCardController.java62 public void setIsExpanded(boolean isExpanded) { in setIsExpanded() argument
63 mIsExpanded = isExpanded; in setIsExpanded()
/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()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DExpandingEntryCardView.java319 boolean isExpanded, boolean isAlwaysExpanded, ExpandingEntryCardViewListener listener, in initialize() argument
322 mIsExpanded = isExpanded; in initialize()
388 private List<View> getViewsToDisplay(boolean isExpanded) { in getViewsToDisplay() argument
390 if (isExpanded) { in getViewsToDisplay()
890 public boolean isExpanded() { in isExpanded() method in ExpandingEntryCardView
/packages/modules/ExtServices/src/android/ext/services/notification/
DAssistant.java370 boolean isExpanded) { in onNotificationExpansionChanged() argument
373 + "], isUserAction = [" + isUserAction + "], isExpanded = [" + isExpanded in onNotificationExpansionChanged()
380 () -> mSmartActionsHelper.onNotificationExpansionChanged(entry, isExpanded)); in onNotificationExpansionChanged()
DSmartActionsHelper.java292 void onNotificationExpansionChanged(NotificationEntry entry, boolean isExpanded) { in onNotificationExpansionChanged() argument
293 if (!isExpanded) { in onNotificationExpansionChanged()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/
DSearchViewManagerTest.java187 assertTrue(mSearchViewManager.isExpanded()); in testIsExpanded_ExpandsOnClick()
194 assertFalse(mSearchViewManager.isExpanded()); in testIsExpanded_CollapsesOnMenuItemActionCollapse()
/packages/apps/Messaging/src/com/android/messaging/ui/
DVCardDetailAdapter.java90 public View getGroupView(final int groupPosition, final boolean isExpanded, in getGroupView() argument
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogListItemViewHolder.java506 private void updatePrimaryActionButton(boolean isExpanded) { in updatePrimaryActionButton() argument
517 if (!isExpanded) { in updatePrimaryActionButton()
903 private void showOrHideVoicemailTranscriptionView(boolean isExpanded) { in showOrHideVoicemailTranscriptionView() argument
911 if (!isExpanded) { in showOrHideVoicemailTranscriptionView()
/packages/apps/Contacts/src/com/android/contacts/list/
DCustomContactListFilterActivity.java582 public View getGroupView(int groupPosition, boolean isExpanded, View convertView,
600 final int textColor = mContext.getResources().getColor(isExpanded
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapSettingsAdapter.java225 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, in getGroupView() argument
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DFloatingHeaderView.java322 public boolean isExpanded() { in isExpanded() method in FloatingHeaderView
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmClockFragment.java147 if (((AlarmItemHolder) holder).isExpanded()) { in onCreateView()
DAlarmClockFragment.kt124 if ((holder as AlarmItemHolder).isExpanded) { in onCreateView()
/packages/apps/Dialer/java/com/android/dialer/main/impl/
DMainSearchController.java541 bundle.putBoolean(KEY_IS_TOOLBAR_EXPANDED, toolbar.isExpanded()); in onSaveInstanceState()

12