Home
last modified time | relevance | path

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

12

/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/DeskClock/src/com/android/deskclock/alarms/dataadapter/
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/UnifiedEmail/src/com/android/mail/browse/
DConversationViewAdapter.java309 return !isExpanded(); in isContiguous()
318 public boolean isExpanded() { in isExpanded() method in ConversationViewAdapter.MessageHeaderItem
338 return isExpanded(); in canBecomeSnapHeader()
445 public boolean isExpanded() { in isExpanded() method in ConversationViewAdapter.MessageFooterItem
446 return mHeaderItem.isExpanded(); in isExpanded()
460 if (!mHeaderItem.isExpanded()) { in getHeight()
519 public boolean isExpanded() { in isExpanded() method in ConversationViewAdapter.SuperCollapsedBlockItem
DMessageHeaderView.java311 public boolean isExpanded() { in isExpanded() method in MessageHeaderView
313 return mMessageHeaderItem == null || mMessageHeaderItem.isExpanded(); in isExpanded()
365 isActivated() == isExpanded()) { in rebind()
420 setExpanded(mMessageHeaderItem.isExpanded()); in render()
617 } else if (isExpanded()) { in updateChildVisibility()
1005 setExpanded(!isExpanded()); in toggleExpanded()
DConversationOverlayItem.java78 public boolean isExpanded() { in isExpanded() method in ConversationOverlayItem
/packages/apps/Car/Notification/src/com/android/car/notification/
DCarNotificationViewAdapter.java425 public void setExpanded(String groupKey, boolean isExpanded) { in setExpanded() argument
426 if (isExpanded(groupKey) == isExpanded) { in setExpanded()
430 if (isExpanded) { in setExpanded()
449 boolean isExpanded(String groupKey) { in isExpanded() method in CarNotificationViewAdapter
DCarNotificationItemTouchListener.java257 if (mAdapter.isExpanded(mViewHolder.getStatusBarNotification().getGroupKey())) { in onInterceptTouchEvent()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DHtmlConversationTemplates.java130 public void appendMessageHtml(HtmlMessage message, boolean isExpanded, in appendMessageHtml() argument
133 final String bodyDisplay = isExpanded ? "block" : "none"; in appendMessageHtml()
134 final String expandedClass = isExpanded ? "expanded" : ""; in appendMessageHtml()
DConversationViewFragment.java829 renderMessage(msg, ExpansionState.isExpanded(expandedState), safeForImages); in renderMessageBodies()
1008 item.isExpanded(), h, newSpacerHeightPx); in setMessageExpanded()
1010 mTemplates.getMessageDomId(item.getMessage()), item.isExpanded(), h)); in setMessageExpanded()
1013 item.isExpanded() ? ExpansionState.EXPANDED : ExpansionState.COLLAPSED); in setMessageExpanded()
DConversationViewState.java53 public static boolean isExpanded(int state) { in isExpanded() method in ConversationViewState.ExpansionState
/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.java293 void onNotificationExpansionChanged(NotificationEntry entry, boolean isExpanded) { in onNotificationExpansionChanged() argument
294 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

12