Home
last modified time | relevance | path

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

12345678910>>...18

/packages/apps/Settings/src/com/android/settings/
DChooseLockSettingsHelper.java67 public boolean launchConfirmationActivity(int request, CharSequence title) { in launchConfirmationActivity() argument
68 return launchConfirmationActivity(request, title, null, null, false, false); in launchConfirmationActivity()
80 boolean launchConfirmationActivity(int request, CharSequence title, boolean returnCredentials) { in launchConfirmationActivity() argument
81 return launchConfirmationActivity(request, title, null, null, returnCredentials, false); in launchConfirmationActivity()
94 public boolean launchConfirmationActivity(int request, CharSequence title, in launchConfirmationActivity() argument
96 return launchConfirmationActivity(request, title, null, null, in launchConfirmationActivity()
114 boolean launchConfirmationActivity(int request, @Nullable CharSequence title, in launchConfirmationActivity() argument
117 return launchConfirmationActivity(request, title, header, description, in launchConfirmationActivity()
136 boolean launchConfirmationActivity(int request, @Nullable CharSequence title, in launchConfirmationActivity() argument
139 return launchConfirmationActivity(request, title, header, description, in launchConfirmationActivity()
[all …]
DConfirmDeviceCredentialActivity.java41 public static Intent createIntent(CharSequence title, CharSequence details) { in createIntent() argument
45 intent.putExtra(KeyguardManager.EXTRA_TITLE, title); in createIntent()
50 public static Intent createIntent(CharSequence title, CharSequence details, long challenge) { in createIntent() argument
54 intent.putExtra(KeyguardManager.EXTRA_TITLE, title); in createIntent()
66 String title = intent.getStringExtra(KeyguardManager.EXTRA_TITLE); in onCreate() local
79 if ((title == null) && isManagedProfile) { in onCreate()
80 title = getTitleFromOrganizationName(userId); in onCreate()
93 0 /* request code */, null /* title */, title, details, true /* isExternal */, in onCreate()
97 title, details, false /* returnCredentials */, true /* isExternal */, userId); in onCreate()
/packages/apps/Settings/src/com/android/settings/location/
DInjectedSetting.java50 public final String title; field in InjectedSetting
69 String title, int iconId, UserHandle userHandle, String settingsActivity) { in InjectedSetting() argument
72 this.title = Preconditions.checkNotNull(title, "title"); in InjectedSetting()
82 String title, int iconId, UserHandle userHandle, String settingsActivity) { in newInstance() argument
84 TextUtils.isEmpty(title) || TextUtils.isEmpty(settingsActivity)) { in newInstance()
88 + ", title=" + title + ", settingsActivity=" + settingsActivity); in newInstance()
92 return new InjectedSetting(packageName, className, title, iconId, userHandle, in newInstance()
101 ", label=" + title + in toString()
125 && title.equals(that.title) && iconId == that.iconId in equals()
134 result = 31 * result + title.hashCode(); in hashCode()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DContentFragment.java44 public static ContentFragment newInstance(String title) { in newInstance() argument
45 return newInstance(title, null, null, 0, Color.TRANSPARENT); in newInstance()
48 public static ContentFragment newInstance(String title, String breadcrumb, in newInstance() argument
50 return newInstance(title, breadcrumb, description, 0, Color.TRANSPARENT); in newInstance()
53 public static ContentFragment newInstance(String title, String breadcrumb, String description, in newInstance() argument
55 return newInstance(title, breadcrumb, description, iconResourceId, Color.TRANSPARENT); in newInstance()
58 public static ContentFragment newInstance(String title, String breadcrumb, String description, in newInstance() argument
62 BaseContentFragment.buildArgs(title, breadcrumb, description, iconResourceId, in newInstance()
67 public static ContentFragment newInstance(String title, String breadcrumb, String description, in newInstance() argument
69 return newInstance(title, breadcrumb, description, iconResourceUri, Color.TRANSPARENT); in newInstance()
[all …]
DDialogActivity.java111 public static Intent createIntent(Context context, String title, in createIntent() argument
114 return createIntent(context, title, breadcrumb, description, imageUri, in createIntent()
118 public static Intent createIntent(Context context, String title, in createIntent() argument
122 intent.putExtra(EXTRA_DIALOG_TITLE, title); in createIntent()
132 public static Intent createIntent(Context context, String title, in createIntent() argument
135 return createIntent(context, title, breadcrumb, description, imageUri, Color.TRANSPARENT, in createIntent()
139 public static Intent createIntent(Context context, String title, in createIntent() argument
143 intent.putExtra(EXTRA_DIALOG_TITLE, title); in createIntent()
153 public static Intent createIntent(Context context, String title, in createIntent() argument
158 intent.putExtra(EXTRA_DIALOG_TITLE, title); in createIntent()
[all …]
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DActionItem.java30 public ActionItem(String title) { in ActionItem() argument
31 this(title, null, 0); in ActionItem()
34 public ActionItem(String title, String description) { in ActionItem() argument
35 this(title, description, 0); in ActionItem()
38 public ActionItem(String title, int iconId) { in ActionItem() argument
39 this(title, null, iconId); in ActionItem()
42 public ActionItem(String title, String description, int iconId) { in ActionItem() argument
43 mTitle = title; in ActionItem()
56 TextView titleView = (TextView) view.findViewById(R.id.title); in onBind()
DSubMenuItem.java23 public SubMenuItem(String title, SideFragmentManager fragmentManager) { in SubMenuItem() argument
24 this(title, null, 0, fragmentManager); in SubMenuItem()
27 public SubMenuItem(String title, String description, SideFragmentManager fragmentManager) { in SubMenuItem() argument
28 this(title, description, 0, fragmentManager); in SubMenuItem()
31 public SubMenuItem(String title, int iconId, SideFragmentManager fragmentManager) { in SubMenuItem() argument
32 this(title, null, iconId, fragmentManager); in SubMenuItem()
35 public SubMenuItem(String title, String description, int iconId, in SubMenuItem() argument
37 super(title, description, iconId); in SubMenuItem()
DCheckBoxItem.java31 public CheckBoxItem(String title) { in CheckBoxItem() argument
32 this(title, null); in CheckBoxItem()
35 public CheckBoxItem(String title, String description) { in CheckBoxItem() argument
36 this(title, description, false); in CheckBoxItem()
39 public CheckBoxItem(String title, String description, boolean layoutForLargeDescription) { in CheckBoxItem() argument
40 super(title, description); in CheckBoxItem()
/packages/apps/Camera2/src/com/android/camera/
DStorage.java91 public static Uri addImage(ContentResolver resolver, String title, long date, in addImage() argument
95 return addImage(resolver, title, date, location, orientation, exif, jpeg, width, height, in addImage()
120 public static Uri addImage(ContentResolver resolver, String title, long date, in addImage() argument
124 String path = generateFilepath(title, mimeType); in addImage()
127 return addImageToMediaStore(resolver, title, date, location, orientation, fileLength, in addImage()
149 public static Uri addImageToMediaStore(ContentResolver resolver, String title, long date, in addImageToMediaStore() argument
154 getContentValuesForData(title, date, location, orientation, jpegLength, path, width, in addImageToMediaStore()
172 public static ContentValues getContentValuesForData(String title, in getContentValuesForData() argument
180 values.put(ImageColumns.TITLE, title); in getContentValuesForData()
181 values.put(ImageColumns.DISPLAY_NAME, title + JPEG_POSTFIX); in getContentValuesForData()
[all …]
DMediaSaverImpl.java69 public void addImage(final byte[] data, String title, long date, Location loc, int width, in addImage() argument
71 addImage(data, title, date, loc, width, height, orientation, exif, l, in addImage()
76 public void addImage(final byte[] data, String title, long date, Location loc, int width, in addImage() argument
83 ImageSaveTask t = new ImageSaveTask(data, title, date, in addImage()
95 public void addImage(final byte[] data, String title, long date, Location loc, int orientation, in addImage() argument
99 addImage(data, title, date, loc, 0, 0, orientation, exif, l, in addImage()
103 public void addImage(final byte[] data, String title, Location loc, int width, int height, in addImage() argument
105 addImage(data, title, System.currentTimeMillis(), loc, width, height, orientation, exif, l, in addImage()
139 private final String title; field in MediaSaverImpl.ImageSaveTask
149 public ImageSaveTask(byte[] data, String title, long date, Location loc, in ImageSaveTask() argument
[all …]
/packages/apps/Calendar/tests/src/com/android/calendar/widget/
DCalendarAppWidgetServiceTest.java49 final String title = "Title"; field in CalendarAppWidgetServiceTest
106 cursor.addRow(getRow(0, now + ONE_HOUR, now + TWO_HOURS, title, location, 0)); in testGetAppWidgetModel_1Event()
116 eventInfo.title = title; in testGetAppWidgetModel_1Event()
143 eventInfo.title = title + i; in testGetAppWidgetModel_AllDayEventLater()
145 cursor.addRow(getRow(0, now + ONE_HOUR, now + TWO_HOURS, title + i, location + i, 0)); in testGetAppWidgetModel_AllDayEventLater()
165 eventInfo.title = title + i; in testGetAppWidgetModel_AllDayEventLater()
167 cursor.addRow(getRow(1, start, end, title + i, location + i, 0)); in testGetAppWidgetModel_AllDayEventLater()
176 private Object[] getRow(int allDay, long begin, long end, String title, String location, in getRow() argument
182 row[CalendarAppWidgetService.INDEX_TITLE] = new String(title); in getRow()
/packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/
DSetting.java32 public Setting(String title) { in Setting() argument
33 mTitle = title; in Setting()
38 public Setting(SharedPreferences sharedPreferences, String key, String title, int max) { in Setting() argument
40 mTitle = title; in Setting()
46 public Setting(SharedPreferences sharedPreferences, String key, String title) { in Setting() argument
48 mTitle = title; in Setting()
61 public void setTitle(String title) { in setTitle() argument
62 mTitle = title; in setTitle()
/packages/apps/Launcher3/src/com/android/launcher3/
DShortcutInfo.java158 ShortcutInfo(Intent intent, CharSequence title, CharSequence contentDescription, in ShortcutInfo() argument
162 this.title = Utilities.trim(title); in ShortcutInfo()
170 title = Utilities.trim(info.title); in ShortcutInfo()
187 title = Utilities.trim(info.title); in ShortcutInfo()
220 String titleStr = title != null ? title.toString() : null; in onAddToDatabase()
249 return "ShortcutInfo(title=" + title + "intent=" + intent + "id=" + this.id in toString()
259 Log.d(tag, " title=\"" + info.title + " icon=" + info.mIcon in dumpShortcutInfoList()
293 shortcut.title = Utilities.trim(info.getLabel()); in fromActivityInfo()
DIconCache.java82 public CharSequence title = ""; field in IconCache.CacheEntry
386 entry.title = app.getLabel(); in updateCacheAndGetContentValues()
387 entry.contentDescription = mUserManager.getBadgedLabelForUser(entry.title, app.getUser()); in updateCacheAndGetContentValues()
390 return newContentValues(entry.icon, entry.title.toString(), mActivityBgColor); in updateCacheAndGetContentValues()
438 application.title = Utilities.trim(entry.title); in getTitleAndIcon()
451 application.title = Utilities.trim(entry.title); in updateTitleAndIcon()
485 shortcutInfo.title = ""; in getTitleAndIcon()
502 shortcutInfo.title = Utilities.trim(entry.title); in getTitleAndIcon()
515 infoOut.title = Utilities.trim(entry.title); in getTitleAndIconForApp()
556 entry.title = packageEntry.title; in cacheLocked()
[all …]
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DProgramInfo.java92 public final String title; field in ProgramInfo
121 public ProgramInfo(String title, String episode, int seasonNumber, int episodeNumber, in ProgramInfo() argument
124 this.title = title; in ProgramInfo()
186 if (!GEN_TITLE.equals(title) in build()
194 GEN_TITLE.equals(title) ? "Title(" + index + ")" : title, in build()
211 return "ProgramInfo{title=" + title in toString()
228 Objects.equals(title, that.title) && in equals()
239 return Objects.hash(title, episode, seasonNumber, episodeNumber); in hashCode()
254 public Builder setTitle(String title) { in setTitle() argument
255 mTitle = title; in setTitle()
/packages/apps/Camera2/src/com/android/camera/session/
DPlaceholderManager.java51 Placeholder(String title, Uri uri, long timestamp) { in Placeholder() argument
52 outputTitle = title; in Placeholder()
71 public Placeholder insertEmptyPlaceholder(String title, Size size, long timestamp) { in insertEmptyPlaceholder() argument
73 return new Placeholder(title, uri, timestamp); in insertEmptyPlaceholder()
85 public Placeholder insertPlaceholder(String title, Bitmap placeholder, long timestamp) { in insertPlaceholder() argument
86 if (title == null || placeholder == null) { in insertPlaceholder()
98 return new Placeholder(title, uri, timestamp); in insertPlaceholder()
101 public Placeholder insertPlaceholder(String title, byte[] placeholder, long timestamp) { in insertPlaceholder() argument
102 if (title == null || placeholder == null) { in insertPlaceholder()
108 return insertPlaceholder(title, bitmap, timestamp); in insertPlaceholder()
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
DExportProcessor.java164 final String title = in runInternal() local
167 doFinishNotification(title, null); in runInternal()
173 final String title = in runInternal() local
175 doFinishNotification(title, null); in runInternal()
192 final String title = in runInternal()
195 doFinishNotification(title, null); in runInternal()
226 final String title = filename == null in runInternal() local
229 doFinishNotification(title, null); in runInternal()
288 private void doFinishNotification(final String title, final String description) { in doFinishNotification() argument
289 if (DEBUG) Log.d(LOG_TAG, "send finish notification: " + title + ", " + description); in doFinishNotification()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPopupList.java46 public String title; field in PopupList.Item
48 public Item(int id, String title) { in Item() argument
50 this.title = title; in Item()
53 public void setTitle(String title) { in setTitle() argument
54 this.title = title; in setTitle()
78 public void addItem(int id, String title) { in addItem() argument
79 mItems.add(new Item(id, title)); in addItem()
202 text.setText(mItems.get(position).title); in getView()
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetModel.java81 String title; field in CalendarAppWidgetModel.EventInfo
102 builder.append(title); in toString()
129 result = prime * result + ((title == null) ? 0 : title.hashCode()); in hashCode()
157 if (title == null) { in equals()
158 if (other.title != null) in equals()
160 } else if (!title.equals(other.title)) in equals()
285 final String title = cursor.getString(CalendarAppWidgetService.INDEX_TITLE); in buildFromCursor() local
314 mEventInfos.add(populateEventInfo(eventId, allDay, start, end, startDay, endDay, title, in buildFromCursor()
355 int startDay, int endDay, String title, String location, int color, int selfStatus) { in populateEventInfo() argument
390 if (TextUtils.isEmpty(title)) { in populateEventInfo()
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DShortcutInfo.java67 title = info.title.toString(); in ShortcutInfo()
81 title = info.title.toString(); in ShortcutInfo()
125 String titleStr = title != null ? title.toString() : null; in onAddToDatabase()
152 return "ShortcutInfo(title=" + title.toString() + "intent=" + intent + "id=" + this.id in toString()
162 Log.d(tag, " title=\"" + info.title + " icon=" + info.mIcon in dumpShortcutInfoList()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DMessageWizardFragment.java40 public static MessageWizardFragment newInstance(String title, boolean showProgressIndicator) { in newInstance() argument
43 addArguments(args, title, showProgressIndicator); in newInstance()
48 public static void addArguments(Bundle args, String title, boolean showProgressIndicator) { in addArguments() argument
49 args.putString(EXTRA_TITLE, title); in addArguments()
61 String title = args.getString(EXTRA_TITLE); in onCreateView() local
64 if (title != null) { in onCreateView()
65 titleView.setText(title); in onCreateView()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/form/
DFormPage.java63 public static FormPage createPasswordInputForm(String title) { in createPasswordInputForm() argument
64 return new FormPage(title, Type.PASSWORD_INPUT, null, null); in createPasswordInputForm()
74 public static FormPage createTextInputForm(String title) { in createTextInputForm() argument
75 return new FormPage(title, Type.TEXT_INPUT, null, null); in createTextInputForm()
86 public static FormPage createMultipleChoiceForm(String title, ArrayList<String> formChoices) { in createMultipleChoiceForm() argument
87 return new FormPage(title, Type.MULTIPLE_CHOICE, formChoices, null); in createMultipleChoiceForm()
102 public static FormPage createIntentForm(String title, Intent formIntent) { in createIntentForm() argument
103 return new FormPage(title, Type.INTENT, null, formIntent); in createIntentForm()
/packages/apps/Camera2/src/com/android/camera/util/
DCaptureDataSerializer.java57 public static String toString(String title, CaptureRequest metadata) { in toString() argument
59 dumpMetadata(title, metadata, writer); in toString()
67 public static void toFile(String title, CameraMetadata<?> metadata, File file) { in toFile() argument
72 dumpMetadata(title, (CaptureRequest) metadata, writer); in toFile()
74 dumpMetadata(title, (CaptureResult) metadata, writer); in toFile()
90 private static void dumpMetadata(final String title, final CaptureRequest metadata, in dumpMetadata() argument
96 writer.write(title + '\n'); in dumpMetadata()
113 private static void dumpMetadata(final String title, final CaptureResult metadata, in dumpMetadata() argument
119 writer.write(String.format(title) + '\n'); in dumpMetadata()
/packages/services/Telephony/src/com/android/phone/
DPhoneDisplayMessage.java44 String title = (String)context.getText(R.string.network_info_message); in displayNetworkMessage() local
45 displayMessage(context, title, infoMsg); in displayNetworkMessage()
57 String title = (String)context.getText(R.string.network_error_message); in displayErrorMessage() local
58 displayMessage(context, title, errorMsg); in displayErrorMessage()
61 public static void displayMessage(Context context, String title, String msg) { in displayMessage() argument
73 .setTitle(title) in displayMessage()
/packages/apps/TV/src/com/android/tv/parental/
DContentRatingSystem.java155 String name, String domain, String title, String description, List<String> countries, in ContentRatingSystem() argument
160 mTitle = title; in ContentRatingSystem()
194 public void setTitle(String title) { in setTitle() argument
195 mTitle = title; in setTitle()
341 private Rating(String name, String title, String description, Drawable icon, in Rating() argument
344 mTitle = title; in Rating()
366 public void setTitle(String title) { in setTitle() argument
367 mTitle = title; in setTitle()
441 private SubRating(String name, String title, String description, Drawable icon) { in SubRating() argument
443 mTitle = title; in SubRating()
[all …]

12345678910>>...18