/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
H A D | MediaStoreSaver.java | 42 String title, 50 return insertImage(contentResolver, streamWriter, title, description); 56 String title, 60 values.put(Images.Media.TITLE, title); 61 values.put(Images.Media.DISPLAY_NAME, title); 40 insertImage(ContentResolver contentResolver, Bitmap image, String title, String description) argument 54 insertImage(ContentResolver cr, StreamWriter source, String title, String description) argument
|
/frameworks/support/preference/src/main/java/androidx/preference/ |
H A D | CollapsiblePreferenceGroupController.java | 175 * The summary of this will be the list of title for collapsed preferences. Iterate through 176 * the preferences not in the visible list and add its title to the summary text. If 184 final CharSequence title = preference.getTitle(); 185 if (preference instanceof PreferenceGroup && !TextUtils.isEmpty(title)) { 194 if (!TextUtils.isEmpty(title)) { 196 summary = title; 199 R.string.summary_collapsed_preference_list, summary, title);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
H A D | StorageNotification.java | 204 final CharSequence title = mContext.getString(R.string.ext_media_missing_title, 213 .setContentTitle(title) 233 final CharSequence title = mContext.getString( 242 .setContentTitle(title) 340 final CharSequence title = mContext.getString( 345 return buildNotificationBuilder(vol, title, text) 362 final CharSequence title = disk.getDescription(); 367 return buildNotificationBuilder(vol, title, text) 378 final CharSequence title = disk.getDescription(); 383 final Notification.Builder builder = buildNotificationBuilder(vol, title, tex 573 buildNotificationBuilder(VolumeInfo vol, CharSequence title, CharSequence text) argument [all...] |
/frameworks/native/cmds/dumpstate/ |
H A D | dumpstate.h | 66 * DurationReporter duration_reporter(title); 71 DurationReporter(const std::string& title, bool log_only = false); 196 * |title| description of the command printed on `stdout` (or empty to skip 202 int RunCommand(const std::string& title, const std::vector<std::string>& fullCommand, 211 * |title| description of the command printed on `stdout` (or empty to skip 218 void RunDumpsys(const std::string& title, const std::vector<std::string>& dumpsys_args, 225 * |title| description of the command printed on `stdout` (or empty to skip 229 int DumpFile(const std::string& title, const std::string& path); 364 // Notification title and description 393 int dump_file_from_fd(const char *title, cons [all...] |
H A D | DumpstateUtil.cpp | 194 int DumpFileToFd(int out_fd, const std::string& title, const std::string& path) { argument 198 if (title.empty()) { 201 dprintf(out_fd, "*** Error dumping %s (%s): %s\n", path.c_str(), title.c_str(), 207 return DumpFileFromFdToFd(title, path, fd.get(), out_fd, PropertiesHelper::IsDryRun()); 210 int RunCommandToFd(int fd, const std::string& title, const std::vector<std::string>& full_command, argument 213 MYLOGE("No arguments on RunCommandToFd(%s)\n", title.c_str()); 250 if (!title.empty()) { 251 dprintf(fd, "------ %s (%s) ------\n", title.c_str(), command); 264 if (!title.empty()) { 267 // There is no title, bu [all...] |
H A D | utils.cpp | 74 static int RunCommand(const std::string& title, const std::vector<std::string>& full_command, argument 76 return ds.RunCommand(title, full_command, options); 94 DurationReporter::DurationReporter(const std::string& title, bool log_only) argument 95 : title_(title), log_only_(log_only) { 237 std::string title = header == nullptr ? "for_each_userid" : android::base::StringPrintf( local 239 DurationReporter duration_reporter(title); 323 std::string title = header == nullptr ? "for_each_pid" local 325 DurationReporter duration_reporter(title); 380 std::string title = header == nullptr ? "for_each_tid" local 382 DurationReporter duration_reporter(title); 521 const char *title = "KERNEL LOG (dmesg)"; local 551 char title[255]; local 559 DumpFile(const std::string& title, const std::string& path) argument 596 dump_files(const std::string& title, const char* dir, bool (*skip)(const char* path), int (*dump_from_fd)(const char* title, const char* path, int fd)) argument 664 dump_file_from_fd(const char *title, const char *path, int fd) argument 678 RunCommand(const std::string& title, const std::vector<std::string>& full_command, const CommandOptions& options) argument 693 RunDumpsys(const std::string& title, const std::vector<std::string>& dumpsys_args, const CommandOptions& options, long dumpsysTimeoutMs) argument [all...] |
H A D | DumpstateSectionReporter.h | 33 * DumpstateSectionReporter sectionReporter(title, listener, sendReport); 39 DumpstateSectionReporter(const std::string& title, sp<android::os::IDumpstateListener> listener,
|
/frameworks/base/core/java/android/app/ |
H A D | FragmentBreadCrumbs.java | 154 * @param title the title for the parent entry 155 * @param shortTitle the short title for the parent entry 159 public void setParentTitle(CharSequence title, CharSequence shortTitle, argument 161 mParentEntry = createBackStackEntry(title, shortTitle); 176 private BackStackRecord createBackStackEntry(CharSequence title, CharSequence shortTitle) { argument 177 if (title == null) return null; 181 entry.setBreadCrumbTitle(title); 187 * Set a custom title for the bread crumbs. This will be the first entry 189 * title i 191 setTitle(CharSequence title, CharSequence shortTitle) argument [all...] |
H A D | RemoteAction.java | 29 * associated visualization including metadata like an icon or title. 51 public RemoteAction(@NonNull Icon icon, @NonNull CharSequence title, argument 53 if (icon == null || title == null || contentDescription == null || intent == null) { 54 throw new IllegalArgumentException("Expected icon, title, content description and " + 58 mTitle = title; 101 * Return an title representing the action. 146 pw.print("title=" + mTitle);
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | NetworkNotificationManager.java | 167 CharSequence title; 171 title = r.getString(R.string.wifi_no_internet, 0); 175 title = r.getString(R.string.wifi_no_internet, 0); 180 title = r.getString(R.string.wifi_available_sign_in, 0); 185 title = r.getString(R.string.network_available_sign_in, 0); 191 title = r.getString(R.string.network_available_sign_in, 0); 198 title = r.getString(R.string.network_switch_metered, toTransport); 214 .setTicker(title) 217 .setContentTitle(title)
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/ |
H A D | Tile.java | 39 public CharSequence title; field in class:Tile 95 * Optional remote view which will be displayed instead of the regular title-summary item. 110 TextUtils.writeToParcel(title, dest, flags); 139 title = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(in);
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/ |
H A D | BenchmarkListAdapter.java | 93 TextView title = (TextView) convertView.findViewById(R.id.group_name); 94 title.setTypeface(null, Typeface.BOLD); 95 title.setText(group.getTitle());
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/app/ |
H A D | AppCompatDialog.java | 105 public void setTitle(CharSequence title) { argument 106 super.setTitle(title); 107 getDelegate().setTitle(title);
|
/frameworks/base/core/java/android/preference/ |
H A D | PreferenceActivity.java | 157 * this extra can also be specify to supply the title to be shown for 164 * this extra can also be specify to supply the short title to be shown for 203 // Backup of the original activity title. This is used when navigating back to the headers list 204 // in onBackPress to restore the title. 270 TextView title; field in class:PreferenceActivity.HeaderAdapter.HeaderViewHolder 295 holder.title = (TextView) view.findViewById(com.android.internal.R.id.title); 315 holder.title.setText(header.getTitle(getContext().getResources())); 348 * Resource ID of title of the header that is shown to the user. 358 public CharSequence title; field in class:PreferenceActivity.Header 1176 showBreadCrumbs(CharSequence title, CharSequence shortTitle) argument 1217 setParentTitle(CharSequence title, CharSequence shortTitle, OnClickListener listener) argument [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | DecorContentParent.java | 29 * entry points for a number of title/window decor features. 33 void setWindowTitle(CharSequence title); argument
|
/frameworks/base/media/java/android/media/ |
H A D | MediaDescription.java | 22 * A primary title suitable for display or null. 111 private MediaDescription(String mediaId, CharSequence title, CharSequence subtitle, argument 114 mTitle = title; 143 * Returns a title suitable for display or null. 145 * @return A title or null. 298 * Sets the title. 300 * @param title A title suitable for display to the user or null. 303 public Builder setTitle(@Nullable CharSequence title) { argument 304 mTitle = title; [all...] |
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | BridgeActionBar.java | 121 /** Setup things like the title, subtitle, icon etc. */ 129 protected abstract void setTitle(CharSequence title); argument 137 String title = mParams.getAppLabel(); 138 ResourceValue titleValue = res.findResValue(title, false); 142 setTitle(title);
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/ |
H A D | ListPopupWindowActivity.java | 75 private TextView title; 100 viewHolder.title = (TextView) convertView.findViewById(R.id.title); 107 viewHolder.title.setText(POPUP_CONTENT[position]);
|
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/ |
H A D | GuidedStepHalfScreenActivity.java | 53 String title = getString(R.string.guidedstep_first_title); 59 return new Guidance(title, description, breadcrumb, icon); 110 String title = getString(R.string.guidedstep_second_title); 116 return new Guidance(title, description, breadcrumb, icon);
|
H A D | GuidedStepSupportHalfScreenActivity.java | 56 String title = getString(R.string.guidedstep_first_title); 62 return new Guidance(title, description, breadcrumb, icon); 113 String title = getString(R.string.guidedstep_second_title); 119 return new Guidance(title, description, breadcrumb, icon);
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/ |
H A D | ListPopupWindowActivity.java | 75 private TextView title; 100 viewHolder.title = (TextView) convertView.findViewById(R.id.title); 107 viewHolder.title.setText(POPUP_CONTENT[position]);
|
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/ |
H A D | GuidedStepHalfScreenActivity.java | 53 String title = getString(R.string.guidedstep_first_title); 59 return new Guidance(title, description, breadcrumb, icon); 110 String title = getString(R.string.guidedstep_second_title); 116 return new Guidance(title, description, breadcrumb, icon);
|
H A D | GuidedStepSupportHalfScreenActivity.java | 56 String title = getString(R.string.guidedstep_first_title); 62 return new Guidance(title, description, breadcrumb, icon); 113 String title = getString(R.string.guidedstep_second_title); 119 return new Guidance(title, description, breadcrumb, icon);
|
/frameworks/support/slices/builders/src/main/java/androidx/slice/builders/ |
H A D | ListBuilder.java | 58 * The header can support showing title, subtitle, and a row action. A header can also have 62 * <li>{@link RowBuilder} - A basic row supports title, subtitle, timestamps, images, row 84 * of the slice is used your primary action should contain an image and title representative 599 * Set the title. 602 public RangeBuilder setTitle(@NonNull CharSequence title) { argument 603 mImpl.setTitle(title); 611 public RangeBuilder setSubtitle(@NonNull CharSequence title) { argument 612 mImpl.setSubtitle(title); 695 * Set the title. 698 public InputRangeBuilder setTitle(@NonNull CharSequence title) { argument 707 setSubtitle(@onNull CharSequence title) argument 1020 setTitle(@onNull CharSequence title) argument 1035 setTitle(@ullable CharSequence title, boolean isLoading) argument 1311 setTitle(@onNull CharSequence title) argument 1325 setTitle(@onNull CharSequence title, boolean isLoading) argument [all...] |
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
H A D | DecorContentParent.java | 33 * entry points for a number of title/window decor features. 40 void setWindowTitle(CharSequence title); argument
|