Home
last modified time | relevance | path

Searched refs:mSummary (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DDashboardSummaryTest.java66 private DashboardSummary mSummary; field in DashboardSummaryTest
71 mSummary = spy(new DashboardSummary()); in setUp()
72 ReflectionHelpers.setField(mSummary, "mAdapter", mAdapter); in setUp()
73 ReflectionHelpers.setField(mSummary, "mDashboardFeatureProvider", in setUp()
75 ReflectionHelpers.setField(mSummary, "mDashboard", mDashboard); in setUp()
76 ReflectionHelpers.setField(mSummary, "mLayoutManager", mLayoutManager); in setUp()
77 ReflectionHelpers.setField(mSummary, "mConditionManager", mConditionManager); in setUp()
78 ReflectionHelpers.setField(mSummary, "mSummaryLoader", mSummaryLoader); in setUp()
83 doReturn(mock(Activity.class)).when(mSummary).getActivity(); in updateCategoryAndSuggestion_shouldGetCategoryFromFeatureProvider()
84 mSummary.updateCategoryAndSuggestion(null); in updateCategoryAndSuggestion_shouldGetCategoryFromFeatureProvider()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DFixedLineSummaryPreferenceTest.java45 private TextView mSummary; field in FixedLineSummaryPreferenceTest
61 when(mHolder.findViewById(android.R.id.summary)).thenReturn(mSummary); in setUp()
68 verify(mSummary).setMinLines(1); in onBindViewHolder_shouldSetSingleLine()
69 verify(mSummary).setMaxLines(1); in onBindViewHolder_shouldSetSingleLine()
77 verify(mSummary).setMinLines(2); in onBindViewHolder_TwoLineSummary_shouldSetTwoLines()
78 verify(mSummary).setMaxLines(2); in onBindViewHolder_TwoLineSummary_shouldSetTwoLines()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DApplicationPermissionLineItem.java48 private CharSequence mSummary; field in ApplicationPermissionLineItem
63 if (TextUtils.isEmpty(mSummary)) { in bindViewHolder()
69 viewHolder.descView.setText(mSummary); in bindViewHolder()
110 mSummary = res.getString(
121 mSummary = res.getString(
124 mSummary = ListFormatter.getInstance().format(list);
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageSummaryDonutPreferenceController.java39 private StorageSummaryDonutPreference mSummary; field in StorageSummaryDonutPreferenceController
47 mSummary = (StorageSummaryDonutPreference) screen.findPreference("pref_summary"); in displayPreference()
48 mSummary.setEnabled(true); in displayPreference()
68 if (mSummary != null) { in invalidateData()
69 updateState(mSummary); in invalidateData()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryHistoryPreference.java37 private CharSequence mSummary; field in BatteryHistoryPreference
59 mSummary = text; in setBottomSummary()
62 mSummaryView.setText(mSummary); in setBottomSummary()
84 if (mSummary != null) { in onBindViewHolder()
85 mSummaryView.setText(mSummary); in onBindViewHolder()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPublicVolumeSettings.java64 private StorageSummaryPreference mSummary; field in PublicVolumeSettings
119 mSummary = new StorageSummaryPreference(getPrefContext()); in onCreate()
165 addPreference(mSummary); in update()
173 mSummary.setTitle(TextUtils.expandTemplate(getText(R.string.storage_size_large), in update()
175 mSummary.setSummary(getString(R.string.storage_volume_used, in update()
177 mSummary.setPercent(usedBytes, totalBytes); in update()
DPrivateVolumeSettings.java121 private StorageSummaryPreference mSummary; field in PrivateVolumeSettings
182 mSummary = new StorageSummaryPreference(getPrefContext()); in onCreate()
212 addPreference(screen, mSummary); in update()
258 mSummary.setTitle(TextUtils.expandTemplate(getText(R.string.storage_size_large), in update()
260 mSummary.setSummary(getString(R.string.storage_volume_used, in update()
262 mSummary.setPercent(usedBytes, mTotalSize); in update()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapConvoListingElement.java58 private String mSummary = null; field in BluetoothMapConvoListingElement
203 mSummary = summary; in setSummary()
207 return mSummary; in getFullSummary()
212 if(mSummary != null) { in getSummary()
214 return new String(BluetoothMapUtils.truncateUtf8StringToBytearray(mSummary, 256), in getSummary()
268 if(mSummary != null) { in encode()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryHeaderPreferenceControllerTest.java83 private TextView mSummary; field in BatteryHeaderPreferenceControllerTest
97 mSummary = new TextView(mContext); in setUp()
117 mController.mSummary1 = mSummary; in setUp()
142 assertThat(mSummary.getText()).isEqualTo(mBatteryInfo.remainingLabel); in testUpdatePreference_hasRemainingTime_showRemainingLabel()
164 assertThat(mSummary.getText()).isEqualTo(BATTERY_STATUS); in testUpdatePreference_noRemainingTime_showStatusLabel()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DListDocumentHolder.java46 private final TextView mSummary; field in ListDocumentHolder
66 mSummary = (TextView) itemView.findViewById(android.R.id.summary); in ListDocumentHolder()
182 mSummary.setText(mDoc.summary); in bind()
183 mSummary.setVisibility(View.VISIBLE); in bind()
185 mSummary.setVisibility(View.INVISIBLE); in bind()
/packages/apps/Settings/src/com/android/settings/widget/
DSummaryUpdater.java31 private String mSummary; field in SummaryUpdater
63 if (!TextUtils.equals(mSummary, summary)) { in notifyChangeIfNeeded()
64 mSummary = summary; in notifyChangeIfNeeded()
DSwitchBar.java66 private String mSummary; field in SwitchBar
148 mSummary = summary; in setSummary()
153 if (TextUtils.isEmpty(mSummary)) { in updateText()
159 ssb.append(mSummary); in updateText()
DEntityHeaderController.java84 private CharSequence mSummary; field in EntityHeaderController
168 mSummary = summary; in setSummary()
174 mSummary = packageInfo.versionName; in setSummary()
234 setText(R.id.entity_header_summary, mSummary); in done()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountTypePreference.java54 private final CharSequence mSummary; field in AccountTypePreference
78 mSummary = summary; in AccountTypePreference()
124 return mSummary; in getSummary()
/packages/apps/Settings/src/com/android/settings/search/
DSearchResult.java95 summary = builder.mSummary; in SearchResult()
129 protected CharSequence mSummary; field in SearchResult.Builder
142 mSummary = summary; in setSummary()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DDeletionPreference.java40 private TextView mSummary; field in DeletionPreference
111 mSummary = (TextView) holder.findViewById(android.R.id.summary); in onBindViewHolder()
121 mSummary.setActivated((boolean) newValue); in onPreferenceChange()