Home
last modified time | relevance | path

Searched refs:title (Results 1 – 25 of 290) 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/telephony/java/android/telephony/
DSubscriptionPlan.java77 private CharSequence title; field in SubscriptionPlan
90 title = source.readCharSequence(); in SubscriptionPlan()
106 dest.writeCharSequence(title); in writeToParcel()
118 .append(" title=").append(title) in toString()
129 return Objects.hash(cycleRule, title, summary, dataLimitBytes, dataLimitBehavior, in hashCode()
138 && Objects.equals(title, other.title) in equals()
167 return title; in getTitle()
288 public Builder setTitle(@Nullable CharSequence title) { in setTitle() argument
289 plan.title = title; in setTitle()
/frameworks/native/cmds/dumpstate/
Dutils.cpp72 static int RunCommand(const std::string& title, const std::vector<std::string>& full_command, in RunCommand() argument
74 return ds.RunCommand(title, full_command, options); in RunCommand()
96 DurationReporter::DurationReporter(const std::string& title, bool logcat_only) in DurationReporter() argument
97 : title_(title), logcat_only_(logcat_only) { in DurationReporter()
245 std::string title = header == nullptr ? "for_each_userid" : android::base::StringPrintf( in for_each_userid() local
247 DurationReporter duration_reporter(title); in for_each_userid()
337 std::string title = header == nullptr ? "for_each_pid" in for_each_pid() local
339 DurationReporter duration_reporter(title); in for_each_pid()
400 std::string title = header == nullptr ? "for_each_tid" in for_each_tid() local
402 DurationReporter duration_reporter(title); in for_each_tid()
[all …]
/frameworks/base/tools/apilint/
Dapilint99 --title "SDK" \
103 --title "SystemApi" \
109 --title "SDK" \
114 --title "SystemApi" \
122 --title "SDK" \
127 --title "SystemApi" \
136 --title "SDK" \
141 --title "SystemApi" \
/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/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/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/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/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/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/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/base/packages/SystemUI/src/com/android/keyguard/clock/
DClockInfo.java33 private ClockInfo(String name, String title, String id, in ClockInfo() argument
36 mTitle = title; in ClockInfo()
97 public Builder setTitle(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/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/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/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/core/java/android/view/
DMenu.java150 public MenuItem add(CharSequence title); in add() argument
176 public MenuItem add(int groupId, int itemId, int order, CharSequence title); in add() argument
203 SubMenu addSubMenu(final CharSequence title); in addSubMenu() argument
235 SubMenu addSubMenu(final int groupId, final int itemId, int order, final CharSequence title); in addSubMenu() argument
/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()
/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()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/
DDesignLibUtil.java57 public static void setTitle(@NonNull View view, @Nullable String title) { in setTitle() argument
58 if (title == null) { in setTitle()
62 invoke(getMethod(view.getClass(), "setTitle", CharSequence.class), view, title); in setTitle() local

12345678910>>...12