Home
last modified time | relevance | path

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

12

/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/src/com/android/dialer/widget/
DActionBarController.java82 Log.d(TAG, "OnSearchUIExited: isExpanded " + mSearchBox.isExpanded() in onSearchUiExited()
86 if (mSearchBox.isExpanded()) { in onSearchUiExited()
109 + " isExpanded: " + mSearchBox.isExpanded()); in onDialpadDown()
116 if (!mSearchBox.isExpanded()) { in onDialpadDown()
190 outState.putBoolean(KEY_IS_EXPANDED, mSearchBox.isExpanded()); in saveInstanceState()
210 if (!mSearchBox.isExpanded()) { in restoreInstanceState()
213 } else if (mSearchBox.isExpanded()) { in restoreInstanceState()
DSearchEditTextLayout.java301 public boolean isExpanded() { in isExpanded() method in SearchEditTextLayout
/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/Dialer/src/com/android/dialer/calllog/
DCallLogListItemViewHolder.java271 private void updatePrimaryActionButton(boolean isExpanded) { in updatePrimaryActionButton() argument
274 if (!isExpanded) { in updatePrimaryActionButton()
404 public void expandVoicemailTranscriptionView(boolean isExpanded) { in expandVoicemailTranscriptionView() argument
413 view.setMaxLines(isExpanded ? VOICEMAIL_TRANSCRIPTION_MAX_LINES : 1); in expandVoicemailTranscriptionView()
414 view.setSingleLine(!isExpanded); in expandVoicemailTranscriptionView()
DGroupingListAdapter.java57 boolean isExpanded; field in GroupingListAdapter.PositionMetadata
340 metadata.isExpanded = expanded; in obtainPositionMetadata()
400 if (mPositionMetadata.isExpanded) { in toggleGroup()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DExpandingEntryCardView.java323 boolean isExpanded, boolean isAlwaysExpanded, ExpandingEntryCardViewListener listener, in initialize() argument
325 initialize(entries, numInitialVisibleEntries, isExpanded, isAlwaysExpanded, in initialize()
335 boolean isExpanded, boolean isAlwaysExpanded, in initialize() argument
339 mIsExpanded = isExpanded; in initialize()
430 private List<View> getViewsToDisplay(boolean isExpanded) { in getViewsToDisplay() argument
432 if (isExpanded) { in getViewsToDisplay()
990 public boolean isExpanded() { in isExpanded() method in ExpandingEntryCardView
/packages/apps/Dialer/tests/src/com/android/dialer/widget/
DActionBarControllerTest.java176 private void assertActionBarState(boolean isExpanded, boolean isFadedOut, boolean isSlidUp) { in assertActionBarState() argument
177 assertEquals(isExpanded, mSearchBox.isExpanded()); in assertActionBarState()
/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/Dialer/tests/src/com/android/dialer/calllog/
DGroupingListAdapterTests.java290 private void assertPositionMetadata(int position, int itemType, boolean isExpanded, in assertPositionMetadata() argument
296 assertEquals(isExpanded, metadata.isExpanded); in assertPositionMetadata()
/packages/apps/Browser/src/com/android/browser/
DBrowserHistoryPage.java599 public View getGroupView(int groupPosition, boolean isExpanded, in getGroupView() argument
615 return super.getGroupView(groupPosition, isExpanded, convertView, parent); in getGroupView()
DDateSortedExpandableListAdapter.java280 public View getGroupView(int groupPosition, boolean isExpanded, in getGroupView() argument
/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.java635 … public View newGroupView(Context context, Cursor cursor, boolean isExpanded, ViewGroup parent) { in newGroupView() argument
636 View v = super.newGroupView(context, cursor, isExpanded, parent); in newGroupView()
/packages/apps/Settings/src/com/android/settings/
DSettingsActivity.java797 … boolean isExpanded = (mSearchMenuItem != null) && mSearchMenuItem.isActionViewExpanded(); in onSaveInstanceState()
798 outState.putBoolean(SAVE_KEY_SEARCH_MENU_EXPANDED, isExpanded); in onSaveInstanceState()
DTrustedCredentialsSettings.java324 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, in getGroupView() argument
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapSettingsAdapter.java229 public View getGroupView(int groupPosition, boolean isExpanded, in getGroupView() argument
/packages/apps/Browser/src/com/android/browser/view/
DBookmarkExpandableView.java393 public View getGroupView(int groupPosition, boolean isExpanded, in getGroupView() argument
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DCustomContactListFilterActivity.java573 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, in getGroupView() argument

12