Home
last modified time | relevance | path

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

/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
DSelectSyncedCalendarsMultiAccountActivity.java127 boolean[] isExpanded; in onSaveInstanceState()
131 isExpanded = new boolean[count]; in onSaveInstanceState()
133 isExpanded[i] = mList.isGroupExpanded(i); in onSaveInstanceState()
136 isExpanded = null; in onSaveInstanceState()
138 outState.putBooleanArray(EXPANDED_KEY, isExpanded); in onSaveInstanceState()
146 boolean[] isExpanded = state.getBooleanArray(EXPANDED_KEY); in onRestoreInstanceState()
147 if(mList != null && isExpanded != null && mList.getCount() >= isExpanded.length) { in onRestoreInstanceState()
148 for(int i = 0; i < isExpanded.length; i++) { in onRestoreInstanceState()
149 if(isExpanded[i] && !mList.isGroupExpanded(i)) { in onRestoreInstanceState()
151 } else if(!isExpanded[i] && mList.isGroupExpanded(i)){ in onRestoreInstanceState()
DSelectSyncedCalendarsMultiAccountAdapter.java388 protected void bindGroupView(View view, Context context, Cursor cursor, boolean isExpanded) { in bindGroupView() argument
419 protected View newGroupView(Context context, Cursor cursor, boolean isExpanded, in newGroupView() argument
/packages/apps/Dialer/java/com/android/dialer/app/widget/
DActionBarController.java90 mSearchBox.isExpanded(), in onSearchUiExited()
92 if (mSearchBox.isExpanded()) { in onSearchUiExited()
113 mSearchBox.isExpanded()); in onDialpadDown()
119 if (!mSearchBox.isExpanded()) { in onDialpadDown()
176 outState.putBoolean(KEY_IS_EXPANDED, mSearchBox.isExpanded()); in saveInstanceState()
194 if (!mSearchBox.isExpanded()) { in restoreInstanceState()
197 } else if (mSearchBox.isExpanded()) { in restoreInstanceState()
DSearchEditTextLayout.java306 public boolean isExpanded() { in isExpanded() method in SearchEditTextLayout
/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
DMessageFooterView.java157 setVisibility(mMessageHeaderItem.isExpanded() ? VISIBLE : GONE); in bind()
/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/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/
DTermsListAdapter.java97 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, in getGroupView() argument
112 isExpanded ? R.string.collapse : R.string.expand))); in getGroupView()
120 chevron.setRotation(isExpanded ? 90 : -90); // chevron down / up retrospectively in getGroupView()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchViewManager.java171 if (isExpanded() || isSearching()) { in cancelSearch()
296 if (isExpanded() || isSearching()) { in onMenuItemActionCollapse()
316 public boolean isExpanded() { in isExpanded() method in SearchViewManager
/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
DQuickContactActivity.java1299 /* isExpanded = */ mContactCard.isExpanded(), in populateContactAndAboutCard()
2526 /* isExpanded = */ mRecentCard.isExpanded(), /* isAlwaysExpanded = */ false, in bindRecentData()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogListItemViewHolder.java491 private void updatePrimaryActionButton(boolean isExpanded) { in updatePrimaryActionButton() argument
502 if (!isExpanded) { in updatePrimaryActionButton()
772 private void showOrHideVoicemailTranscriptionView(boolean isExpanded) { in showOrHideVoicemailTranscriptionView() argument
778 if (!isExpanded || TextUtils.isEmpty(view.getText())) { in showOrHideVoicemailTranscriptionView()
/packages/apps/Messaging/src/com/android/messaging/ui/
DVCardDetailAdapter.java90 public View getGroupView(final int groupPosition, final boolean isExpanded, in getGroupView() argument
/packages/apps/Music/src/com/android/music/
DArtistAlbumBrowserActivity.java628 Context context, Cursor cursor, boolean isExpanded, ViewGroup parent) { in newGroupView() argument
629 View v = super.newGroupView(context, cursor, isExpanded, parent); in newGroupView()
/packages/apps/Contacts/src/com/android/contacts/list/
DCustomContactListFilterActivity.java575 public View getGroupView(int groupPosition, boolean isExpanded, View convertView,
593 final int textColor = mContext.getResources().getColor(isExpanded
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapSettingsAdapter.java225 public View getGroupView(int groupPosition, boolean isExpanded, in getGroupView() argument
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmClockFragment.java147 if (((AlarmItemHolder) holder).isExpanded()) { in onCreateView()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DBaseActivity.java546 return mSearchManager.isExpanded(); in isSearchExpanded()
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsSettings.java369 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, in getGroupView() argument