Home
last modified time | relevance | path

Searched refs:isExpanded (Results 1 – 25 of 34) 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()
/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.java193 boolean isExpanded) { in bind() argument
213 if (isExpanded) { in bind()
295 private void updateExpansionIcon(boolean isExpanded) { in updateExpansionIcon() argument
305 mToggleIcon.setImageDrawable(isExpanded ? mCollapseDrawable : mExpandDrawable); in updateExpansionIcon()
310 mNotificationListView.setDescendantFocusability(isExpanded in updateExpansionIcon()
313 mGroupHeaderView.setFocusable(isExpanded); in updateExpansionIcon()
314 mExpansionFooterView.setFocusable(isExpanded); in updateExpansionIcon()
322 if (isExpanded) { in updateExpansionIcon()
330 private void updateOnClickListener(boolean isExpanded) { in updateOnClickListener() argument
333 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/Car/Notification/src/com/android/car/notification/
DCarNotificationViewAdapter.java182 isExpanded(notificationGroup.getGroupKey(), in onBindViewHolderImpl()
231 setExpanded(expandedNotification.getKey(), expandedNotification.isExpanded(), in getItemViewTypeImpl()
385 public void setExpanded(String groupKey, boolean isSeen, boolean isExpanded) { in setExpanded() argument
386 if (isExpanded(groupKey, isSeen) == isExpanded) { in setExpanded()
391 if (isExpanded) { in setExpanded()
416 boolean isExpanded(String groupKey, boolean isSeen) { in isExpanded() method in CarNotificationViewAdapter
699 ExpandedNotification(String key, boolean isExpanded) { in ExpandedNotification() argument
701 mIsExpanded = isExpanded; in ExpandedNotification()
711 return mKey.equals(other.getKey()) && mIsExpanded == other.isExpanded(); in equals()
718 public boolean isExpanded() { in isExpanded() method in CarNotificationViewAdapter.ExpandedNotification
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DExpandDividerPreferenceTest.java79 isExpanded -> isExpandedArray[0] = isExpanded); in testOnClick_switchExpandStateAndInvokeCallback()
99 isExpanded -> isExpandedArray[0] = isExpanded); in testSetIsExpanded_updateStateButNotInvokeCallback()
DBatteryChartPreferenceControllerTest.java657 final boolean isExpanded = true; in onSaveInstanceState_restoreSelectedIndexAndExpandState()
661 mBatteryChartPreferenceController.mIsExpanded = isExpanded; in onSaveInstanceState_restoreSelectedIndexAndExpandState()
/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/fuelgauge/batteryusage/
DExpandDividerPreference.java47 void onExpand(boolean isExpanded); in onExpand() argument
81 void setIsExpanded(boolean isExpanded) { in setIsExpanded() argument
82 mIsExpanded = isExpanded; in setIsExpanded()
DBatteryChartPreferenceController.java267 public void onExpand(boolean isExpanded) { in onExpand() argument
268 mIsExpanded = isExpanded; in onExpand()
272 isExpanded); in onExpand()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchViewManager.java164 } else if (isExpanded() && isSearching()) { in buildQueryArgs()
258 if (mMenu != null && isExpanded() && mFullBar) { in updateMenu()
334 if (mSearchView != null && (isExpanded() || isSearching())) { in cancelSearch()
552 if (isExpanded() || isSearching()) {
659 public boolean isExpanded() {
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsListHeader.java120 public void setExpanded(boolean isExpanded) { in setExpanded() argument
121 this.mIsExpanded = isExpanded; in setExpanded()
126 public boolean isExpanded() { in isExpanded() method in WidgetsListHeader
DWidgetsListHeaderViewHolderBinder.java65 widgetsListHeader.setExpanded(mIsTwoPane || !widgetsListHeader.isExpanded()); in bindViewHolder()
66 mOnHeaderClickListener.onHeaderClicked(widgetsListHeader.isExpanded(), in bindViewHolder()
/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/modules/ExtServices/java/src/android/ext/services/notification/
DAssistant.java195 boolean isExpanded) { in onNotificationExpansionChanged() argument
198 + "], isUserAction = [" + isUserAction + "], isExpanded = [" + isExpanded in onNotificationExpansionChanged()
206 entry.getSbn(), isExpanded)); in onNotificationExpansionChanged() local
/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/apps/Messaging/src/com/android/messaging/ui/
DVCardDetailAdapter.java90 public View getGroupView(final int groupPosition, final boolean isExpanded, in getGroupView() argument
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/
DSearchViewManagerTest.java196 assertTrue(mSearchViewManager.isExpanded()); in testIsExpanded_ExpandsOnClick()
203 assertFalse(mSearchViewManager.isExpanded()); in testIsExpanded_CollapsesOnMenuItemActionCollapse()
/packages/apps/Settings/src/com/android/settings/development/tare/
DTareFactorExpandableListAdapter.java111 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, 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/Launcher3/quickstep/src/com/android/quickstep/
DTouchInteractionService.java551 boolean isExpanded = (systemUiStateFlags & isShadeExpandedFlag) != 0; in onSystemUiFlagsChanged()
552 if (wasExpanded != isExpanded && isExpanded) { in onSystemUiFlagsChanged()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapSettingsAdapter.java225 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, in getGroupView() argument

12