Home
last modified time | relevance | path

Searched refs:title (Results 1 – 25 of 287) sorted by relevance

12345678910>>...12

/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
DStackOverflowXmlParser.java71 public final String title; field in StackOverflowXmlParser.Entry
75 private Entry(String title, String summary, String link) { in Entry() argument
76 this.title = title; in Entry()
87 String title = null; in readEntry() local
96 title = readTitle(parser); in readEntry()
105 return new Entry(title, summary, link); in readEntry()
111 String title = readText(parser); in readTitle() local
113 return title; in readTitle()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DInjectedSetting.java51 public final String title; field in InjectedSetting
77 this.title = builder.mTitle; in InjectedSetting()
89 ", label=" + title + in toString()
115 && Objects.equals(title, that.title) in equals()
126 result = 31 * result + title.hashCode(); in hashCode()
153 public Builder setTitle(String title) { in setTitle() argument
154 mTitle = title; in setTitle()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/widget/
DFooterPreference.java52 TextView title = holder.itemView.findViewById(android.R.id.title); in onBindViewHolder() local
53 title.setMovementMethod(new LinkMovementMethod()); in onBindViewHolder()
54 title.setClickable(false); in onBindViewHolder()
55 title.setLongClickable(false); in onBindViewHolder()
/frameworks/base/core/java/android/telephony/
DSubscriptionPlan.java87 private CharSequence title; field in SubscriptionPlan
103 title = source.readCharSequence(); in SubscriptionPlan()
120 dest.writeCharSequence(title); in writeToParcel()
133 .append(" title=").append(title) in toString()
145 return Objects.hash(cycleRule, title, summary, dataLimitBytes, dataLimitBehavior, in hashCode()
154 && Objects.equals(title, other.title) in equals()
184 return title; in getTitle()
313 public Builder setTitle(@Nullable CharSequence title) { in setTitle() argument
314 plan.title = title; in setTitle()
/frameworks/base/media/java/android/media/
DRingtone.java235 String title = null; in getTitle() local
246 title = context in getTitle()
271 title = mRemotePlayer.getTitle(uri); in getTitle()
281 if (title == null) { in getTitle()
282 title = uri.getLastPathSegment(); in getTitle()
286 title = context.getString(com.android.internal.R.string.ringtone_silent); in getTitle()
289 if (title == null) { in getTitle()
290 title = context.getString(com.android.internal.R.string.ringtone_unknown); in getTitle()
291 if (title == null) { in getTitle()
292 title = ""; in getTitle()
[all …]
/frameworks/base/services/core/java/com/android/server/policy/
DShortcutManager.java137 final String title; in loadShortcuts() local
165 title = info.loadLabel(packageManager).toString(); in loadShortcuts()
168 title = ""; in loadShortcuts()
175 ShortcutInfo shortcut = new ShortcutInfo(title, intent); in loadShortcuts()
190 public final String title; field in ShortcutManager.ShortcutInfo
193 public ShortcutInfo(String title, Intent intent) { in ShortcutInfo() argument
194 this.title = title; in ShortcutInfo()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DConnectToNetworkNotificationBuilder.java79 CharSequence title; in createConnectToAvailableNetworkNotification() local
82 title = mContext.getText(R.string.wifi_available_title); in createConnectToAvailableNetworkNotification()
85 title = mContext.getText(R.string.wifi_available_carrier_network_title); in createConnectToAvailableNetworkNotification()
98 return createNotificationBuilder(title, network.SSID, notifierTag) in createConnectToAvailableNetworkNotification()
163 CharSequence title, CharSequence content, String extraData) { in createNotificationBuilder() argument
167 .setTicker(title) in createNotificationBuilder()
168 .setContentTitle(title) in createNotificationBuilder()
/frameworks/base/core/java/android/preference/
DPreferenceActivity.java252 TextView title; field in PreferenceActivity.HeaderAdapter.HeaderViewHolder
277 holder.title = (TextView) view.findViewById(com.android.internal.R.id.title); in getView()
297 holder.title.setText(header.getTitle(getContext().getResources())); in getView()
347 public CharSequence title; field in PreferenceActivity.Header
430 return title; in getTitle()
479 TextUtils.writeToParcel(title, dest, flags); in writeToParcel()
501 title = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(in); in readFromParcel()
870 header.title = tv.string; in loadHeadersFromResource()
1166 public void showBreadCrumbs(CharSequence title, CharSequence shortTitle) { in showBreadCrumbs() argument
1168 View crumbs = findViewById(android.R.id.title); in showBreadCrumbs()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java204 final CharSequence title = mContext.getString(R.string.ext_media_missing_title, in updateMissingPrivateVolumes() local
213 .setContentTitle(title) in updateMissingPrivateVolumes()
233 final CharSequence title = mContext.getString( in onDiskScannedInternal() local
242 .setContentTitle(title) in onDiskScannedInternal()
340 final CharSequence title = mContext.getString( in onVolumeChecking() local
345 return buildNotificationBuilder(vol, title, text) in onVolumeChecking()
362 final CharSequence title = disk.getDescription(); in onVolumeMounted() local
367 return buildNotificationBuilder(vol, title, text) in onVolumeMounted()
378 final CharSequence title = disk.getDescription(); in onVolumeMounted() local
383 final Notification.Builder builder = buildNotificationBuilder(vol, title, text) in onVolumeMounted()
[all …]
/frameworks/base/core/java/android/webkit/
DJsDialogHelper.java96 String title, displayMessage; in showDialog() local
99 title = context.getString(com.android.internal.R.string.js_dialog_before_unload_title); in showDialog()
105 title = getJsDialogTitle(context); in showDialog()
111 builder.setTitle(title); in showDialog()
161 String title = mUrl; in getJsDialogTitle() local
164 title = context.getString(com.android.internal.R.string.js_dialog_title_default); in getJsDialogTitle()
169 title = context.getString(com.android.internal.R.string.js_dialog_title, in getJsDialogTitle()
175 return title; in getJsDialogTitle()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodSubtypePreference.java53 final CharSequence title, in InputMethodSubtypePreference() argument
59 setTitle(title); in InputMethodSubtypePreference()
88 final CharSequence title = getTitle(); in compareTo() local
90 final boolean emptyTitle = TextUtils.isEmpty(title); in compareTo()
93 return collator.compare(title.toString(), rhsTitle.toString()); in compareTo()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkNotificationManager.java181 final CharSequence title; in showNotification() local
185 title = r.getString(R.string.wifi_no_internet, in showNotification()
190 title = r.getString(R.string.mobile_no_internet); in showNotification()
192 title = r.getString(R.string.wifi_no_internet, in showNotification()
195 title = r.getString(R.string.other_networks_no_internet); in showNotification()
200 title = r.getString(R.string.network_partial_connectivity, in showNotification()
205 title = r.getString(R.string.wifi_no_internet, in showNotification()
211 title = r.getString(R.string.wifi_available_sign_in, 0); in showNotification()
216 title = r.getString(R.string.network_available_sign_in, 0); in showNotification()
229 title = r.getString(R.string.network_available_sign_in, 0); in showNotification()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/assist/
DAssistStructureTest.java146 ViewNode title = rootView.getChildAt(0); in assertStructureWithManySmallViews() local
147 assertThat(title.getClassName()).isEqualTo(TextView.class.getName()); in assertStructureWithManySmallViews()
148 assertThat(title.getChildCount()).isEqualTo(0); in assertStructureWithManySmallViews()
149 assertThat(title.getText().toString()).isEqualTo("My Title"); in assertStructureWithManySmallViews()
150 assertThat(title.getAutofillId()).isNotNull(); in assertStructureWithManySmallViews()
199 ViewNode title = rootView.getChildAt(0); in assertStructureWithOneBigView() local
200 assertThat(title.getClassName()).isEqualTo(TextView.class.getName()); in assertStructureWithOneBigView()
201 assertThat(title.getChildCount()).isEqualTo(0); in assertStructureWithOneBigView()
202 assertThat(title.getText().toString()).isEqualTo("My Title"); in assertStructureWithOneBigView()
203 assertThat(title.getAutofillId()).isNotNull(); in assertStructureWithOneBigView()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DItem.java38 private CharSequence title; field in Item
51 title = a.getText(R.styleable.SuwItem_android_title); in Item()
105 public void setTitle(CharSequence title) { in setTitle() argument
106 this.title = title; in setTitle()
111 return title; in getTitle()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DHeaderMixin.java66 public void setText(int title) { in setText() argument
69 titleView.setText(title); in setText()
78 public void setText(CharSequence title) { in setText() argument
81 titleView.setText(title); in setText()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTetheringNotificationUpdater.java268 final String title = res.getString(R.string.disable_tether_notification_title); in notifyTetheringDisabledByRestriction() local
270 if (isEmpty(title) || isEmpty(message)) return; in notifyTetheringDisabledByRestriction()
281 showNotification(R.drawable.stat_sys_tether_general, title, message, in notifyTetheringDisabledByRestriction()
287 final String title = res.getString(R.string.no_upstream_notification_title); in notifyTetheringNoUpstream() local
291 if (isEmpty(title) || isEmpty(message) || isEmpty(disableButton)) return; in notifyTetheringNoUpstream()
302 showNotification(R.drawable.stat_sys_tether_general, title, message, in notifyTetheringNoUpstream()
313 final String title = res.getString(R.string.upstream_roaming_notification_title); in setupRoamingNotification()
315 if (isEmpty(title) || isEmpty(message)) return NO_NOTIFY; in setupRoamingNotification()
326 showNotification(R.drawable.stat_sys_tether_general, title, message, in setupRoamingNotification()
343 private void showNotification(@DrawableRes final int iconId, @NonNull final String title, in showNotification() argument
[all …]
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItem.java75 CharSequence title) { in ActionMenuItem() argument
81 mTitle = title; in ActionMenuItem()
285 public MenuItem setTitle(CharSequence title) { in setTitle() argument
286 mTitle = title; in setTitle()
290 public MenuItem setTitle(int title) { in setTitle() argument
291 mTitle = mContext.getResources().getString(title); in setTitle()
295 public MenuItem setTitleCondensed(CharSequence title) { in setTitleCondensed() argument
296 mTitleCondensed = title; in setTitleCondensed()
DMenuBuilder.java421 private MenuItem addInternal(int group, int id, int categoryOrder, CharSequence title) { in addInternal() argument
424 final MenuItemImpl item = createNewMenuItem(group, id, categoryOrder, ordering, title, in addInternal()
440 CharSequence title, int defaultShowAsAction) { in createNewMenuItem() argument
441 return new MenuItemImpl(this, group, id, categoryOrder, ordering, title, in createNewMenuItem()
445 public MenuItem add(CharSequence title) { in add() argument
446 return addInternal(0, 0, 0, title); in add()
453 public MenuItem add(int group, int id, int categoryOrder, CharSequence title) { in add() argument
454 return addInternal(group, id, categoryOrder, title); in add()
457 public MenuItem add(int group, int id, int categoryOrder, int title) { in add() argument
458 return addInternal(group, id, categoryOrder, mResources.getString(title)); in add()
[all …]
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
DBatteryWaster.java167 String title = action;
168 int index = title.lastIndexOf('.');
170 title = title.substring(index + 1);
174 log(title + ": level=" + level);
176 log(title);
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DClockInfo.java33 private ClockInfo(String name, Supplier<String> title, String id, in ClockInfo() argument
36 mTitle = title; in ClockInfo()
97 public Builder setTitle(Supplier<String> title) { in setTitle() argument
98 mTitle = title; in setTitle()
/frameworks/base/packages/SettingsLib/BarChartPreference/src/com/android/settingslib/widget/
DBarViewInfo.java52 @Nullable CharSequence title, CharSequence summary, in BarViewInfo() argument
56 mTitle = title; in BarViewInfo()
79 void setTitle(CharSequence title) { in setTitle() argument
80 mTitle = title; in setTitle()
/frameworks/native/cmds/dumpstate/
DDumpstateUtil.cpp205 int DumpFileToFd(int out_fd, const std::string& title, const std::string& path) { in DumpFileToFd() argument
209 if (title.empty()) { in DumpFileToFd()
212 dprintf(out_fd, "*** Error dumping %s (%s): %s\n", path.c_str(), title.c_str(), in DumpFileToFd()
218 return DumpFileFromFdToFd(title, path, fd.get(), out_fd, PropertiesHelper::IsDryRun()); in DumpFileToFd()
221 int RunCommandToFd(int fd, const std::string& title, const std::vector<std::string>& full_command, in RunCommandToFd() argument
224 MYLOGE("No arguments on RunCommandToFd(%s)\n", title.c_str()); in RunCommandToFd()
261 if (!title.empty()) { in RunCommandToFd()
262 dprintf(fd, "------ %s (%s) ------\n", title.c_str(), command); in RunCommandToFd()
275 if (!title.empty()) { in RunCommandToFd()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DTextMessage.java25 public String title = ""; field in TextMessage
41 title = in.readString(); in TextMessage()
58 dest.writeString(title); in writeToParcel()
82 return "title=" + title + " text=" + text + " icon=" + icon + in toString()
/frameworks/base/services/core/java/com/android/server/display/utils/
DPlog.java53 public Plog start(String title) { in start() argument
55 write(formatTitle(title)); in start()
85 private String formatTitle(String title) { in formatTitle() argument
86 return "title: " + title; in formatTitle()
/frameworks/base/core/java/com/android/internal/util/
DProgressReporter.java127 public void setProgress(int progress, @Nullable CharSequence title) { in setProgress() argument
128 setProgress(progress, 100, title); in setProgress()
141 public void setProgress(int n, int m, @Nullable CharSequence title) { in setProgress() argument
148 if (title != null) { in setProgress()
149 mExtras.putCharSequence(Intent.EXTRA_TITLE, title); in setProgress()

12345678910>>...12