Home
last modified time | relevance | path

Searched refs:summaryView (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/search/
DIntentSearchViewHolderTest.java98 assertThat(mHolder.summaryView).isNotNull(); in testConstructor_membersNotNull()
110 assertThat(mHolder.summaryView.getText()).isEqualTo(SUMMARY); in testBindViewElements_allUpdated()
112 assertThat(mHolder.summaryView.getVisibility()).isEqualTo(View.VISIBLE); in testBindViewElements_allUpdated()
137 assertThat(mHolder.summaryView.getVisibility()).isEqualTo(View.GONE); in testBindViewElements_emptySummary_hideSummaryView()
172 assertThat(mHolder.summaryView.getVisibility()).isEqualTo(View.GONE); in testBindElements_placeholderSummary_visibilityIsGone()
187 assertThat(mHolder.summaryView.getVisibility()).isEqualTo(View.GONE); in testBindElements_dynamicSummary_visibilityIsGone()
201 assertThat(mHolder.summaryView.getText()).isEqualTo(SUMMARY); in testBindViewElements_appSearchResult()
202 assertThat(mHolder.summaryView.getVisibility()).isEqualTo(View.VISIBLE); in testBindViewElements_appSearchResult()
221 assertThat(mHolder.summaryView.getText()).isEqualTo(SUMMARY); in testBindViewElements_validSubSettingIntent_shouldLaunch()
222 assertThat(mHolder.summaryView.getVisibility()).isEqualTo(View.VISIBLE); in testBindViewElements_validSubSettingIntent_shouldLaunch()
[all …]
DInlineSwitchViewHolderTest.java82 assertThat(mHolder.summaryView).isNotNull(); in testConstructor_MembersNotNull()
98 assertThat(mHolder.summaryView.getText()).isEqualTo(SUMMARY); in testBindViewElements_AllUpdated()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DUsbModeChooserActivity.java140 TextView summaryView = (TextView) v.findViewById(android.R.id.summary); in inflateOption() local
141 updateSummary(summaryView, mode); in inflateOption()
145 setDisabledByAdmin(v, titleView, summaryView); in inflateOption()
170 private void setDisabledByAdmin(View rootView, TextView titleView, TextView summaryView) { in setDisabledByAdmin() argument
173 summaryView.setEnabled(false); in setDisabledByAdmin()
182 static void updateSummary(TextView summaryView, int mode) { in updateSummary() argument
184 summaryView.setText(R.string.usb_use_power_only_desc); in updateSummary()
/packages/apps/Settings/src/com/android/settings/search/
DSearchViewHolder.java46 public final TextView summaryView; field in SearchViewHolder
61 summaryView = view.findViewById(android.R.id.summary); in SearchViewHolder()
77 summaryView.setVisibility(View.GONE); in onBind()
79 summaryView.setText(result.summary); in onBind()
80 summaryView.setVisibility(View.VISIBLE); in onBind()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/
DRestrictedSwitchPreference.java48 final TextView summaryView = (TextView) view.findViewById(android.R.id.summary); in onBindView() local
49 if (summaryView != null) { in onBindView()
50 summaryView.setText( in onBindView()
52 summaryView.setVisibility(View.VISIBLE); in onBindView()
/packages/services/Telephony/src/com/android/phone/
DRestrictedSwitchPreference.java61 final TextView summaryView = (TextView) view.findViewById(android.R.id.summary); in onBindView() local
62 if (summaryView != null && mDisabledByAdmin) { in onBindView()
63 summaryView.setText( in onBindView()
65 summaryView.setVisibility(View.VISIBLE); in onBindView()
DEditPhoneNumberPreference.java159 TextView summaryView = (TextView) view.findViewById(android.R.id.summary); in onBindView() local
160 if (summaryView != null) { in onBindView()
176 summaryView.setText(sum); in onBindView()
182 if (vis != summaryView.getVisibility()) { in onBindView()
183 summaryView.setVisibility(vis); in onBindView()
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DEmergencyEditTextPreference.java68 final TextView summaryView = (TextView) holder.findViewById( in onBindViewHolder() local
70 summaryView.setMaxLines(MAX_LINES); in onBindViewHolder()
/packages/apps/Settings/src/com/android/settings/backup/
DToggleBackupSettingFragment.java66 final TextView summaryView = (TextView) view.findViewById(android.R.id.summary); in onCreate()
67 summaryView.setText(getSummary()); in onCreate()