/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/ |
D | DashboardSummaryTest.java | 66 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/ |
D | FixedLineSummaryPreferenceTest.java | 45 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/ |
D | ApplicationPermissionLineItem.java | 48 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/ |
D | StorageSummaryDonutPreferenceController.java | 39 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/ |
D | BatteryHistoryPreference.java | 37 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/ |
D | PublicVolumeSettings.java | 64 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()
|
D | PrivateVolumeSettings.java | 121 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/ |
D | BluetoothMapConvoListingElement.java | 58 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/ |
D | BatteryHeaderPreferenceControllerTest.java | 83 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/ |
D | ListDocumentHolder.java | 46 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/ |
D | SummaryUpdater.java | 31 private String mSummary; field in SummaryUpdater 63 if (!TextUtils.equals(mSummary, summary)) { in notifyChangeIfNeeded() 64 mSummary = summary; in notifyChangeIfNeeded()
|
D | SwitchBar.java | 66 private String mSummary; field in SwitchBar 148 mSummary = summary; in setSummary() 153 if (TextUtils.isEmpty(mSummary)) { in updateText() 159 ssb.append(mSummary); in updateText()
|
D | EntityHeaderController.java | 84 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/ |
D | AccountTypePreference.java | 54 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/ |
D | SearchResult.java | 95 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/ |
D | DeletionPreference.java | 40 private TextView mSummary; field in DeletionPreference 111 mSummary = (TextView) holder.findViewById(android.R.id.summary); in onBindViewHolder() 121 mSummary.setActivated((boolean) newValue); in onPreferenceChange()
|