Home
last modified time | relevance | path

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

1234

/development/samples/MySampleRss/src/com/example/codelab/rssexample/
DRssItem.java24 public String title; field in RssItem
29 public RssItem(String url, String title){ in RssItem() argument
31 this.title = title; in RssItem()
35 return title; in toString()
DAddRssItem.java38 String title = ((TextView) findViewById(R.id.title_textbox)).getText().toString();
40 if(TextUtils.isEmpty(title) || TextUtils.isEmpty(url)){
48 res.putExtra(RssContentProvider.TITLE, title);
/development/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()
/development/samples/NotePad/src/com/example/android/notepad/
DNoteEditor.java410 String title=null; in performPaste() local
439 title = orig.getString(colTitleIndex); in performPaste()
454 updateNote(text, title); in performPaste()
464 private final void updateNote(String text, String title) { in updateNote() argument
474 if (title == null) { in updateNote()
481 title = text.substring(0, Math.min(30, length)); in updateNote()
486 int lastSpace = title.lastIndexOf(' '); in updateNote()
488 title = title.substring(0, lastSpace); in updateNote()
493 values.put(NotePad.Notes.COLUMN_NAME_TITLE, title); in updateNote()
494 } else if (title != null) { in updateNote()
[all …]
/development/samples/browseable/DataLayer/Wearable/src/com.example.android.wearable.datalayer/fragments/
DDataFragment.java55 public void appendItem(String title, String text) { in appendItem() argument
60 mDataItemListAdapter.add(new Event(title, text)); in appendItem()
87 holder.text1.setText(event.title); in getView()
101 String title; field in DataFragment.Event
104 public Event(String title, String text) { in Event() argument
105 this.title = title; in Event()
/development/samples/Home/src/com/example/android/home/
DApplicationInfo.java31 CharSequence title; field in ApplicationInfo
71 return title.equals(that.title) && in equals()
79 result = (title != null ? title.hashCode() : 0); in hashCode()
/development/samples/SoftKeyboard/src/com/android/inputmethodcommon/
DInputMethodSettingsImpl.java69 final CharSequence title = getSubtypeEnablerTitle(context); in init()
73 if (!TextUtils.isEmpty(title)) { in init()
74 intent.putExtra(Intent.EXTRA_TITLE, title); in init()
128 public void setInputMethodSettingsCategoryTitle(CharSequence title) { in setInputMethodSettingsCategoryTitle() argument
130 mInputMethodSettingsCategoryTitle = title; in setInputMethodSettingsCategoryTitle()
147 public void setSubtypeEnablerTitle(CharSequence title) { in setSubtypeEnablerTitle() argument
149 mSubtypeEnablerTitle = title; in setSubtypeEnablerTitle()
DInputMethodSettingsFragment.java57 public void setInputMethodSettingsCategoryTitle(CharSequence title) { in setInputMethodSettingsCategoryTitle() argument
58 mSettings.setInputMethodSettingsCategoryTitle(title); in setInputMethodSettingsCategoryTitle()
73 public void setSubtypeEnablerTitle(CharSequence title) { in setSubtypeEnablerTitle() argument
74 mSettings.setSubtypeEnablerTitle(title); in setSubtypeEnablerTitle()
/development/samples/RSSReader/src/com/example/android/rssreader/
DRssItem.java34 public RssItem(CharSequence title, CharSequence link, CharSequence description) { in RssItem() argument
35 mTitle = title; in RssItem()
60 public void setTitle(CharSequence title) { in setTitle() argument
61 mTitle = title; in setTitle()
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/net/
DFeedParser.java130 String title = null; in readEntry() local
144 title = readTag(parser, TAG_TITLE); in readEntry()
163 return new Entry(id, title, link, publishedOn); in readEntry()
267 public final String title; field in FeedParser.Entry
271 Entry(String id, String title, String link, long published) { in Entry() argument
273 this.title = title; in Entry()
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/ui/
DDialogHelperImpl.java87 public void showErrorMessageDialog(String title, Exception exception) { in showErrorMessageDialog() argument
89 bundle.putString(KEY_TITLE, title); in showErrorMessageDialog()
100 String title = args.getString(KEY_TITLE); in handleOnCreateDialog() local
102 .setTitle(title) in handleOnCreateDialog()
/development/samples/browseable/SlidingTabsColors/src/com.example.android.slidingtabscolors/
DContentFragment.java40 public static ContentFragment newInstance(CharSequence title, int indicatorColor, in newInstance() argument
43 bundle.putCharSequence(KEY_TITLE, title); in newInstance()
66 TextView title = (TextView) view.findViewById(R.id.item_title); in onViewCreated() local
67 title.setText("Title: " + args.getCharSequence(KEY_TITLE)); in onViewCreated()
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/
DBasicNotificationDisplayActivity.java34 String title = getIntent().getStringExtra(EXTRA_TITLE); in onCreate() local
36 ((TextView) findViewById(R.id.title)).setText(title); in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DList4.java118 public SpeechView(Context context, String title, String words) { in SpeechView() argument
127 mTitle.setText(title); in SpeechView()
140 public void setTitle(String title) { in setTitle() argument
141 mTitle.setText(title); in setTitle()
DList6.java367 public SpeechView(Context context, String title, String dialogue, boolean expanded) { in SpeechView() argument
376 mTitle.setText(title); in SpeechView()
389 public void setTitle(String title) { in setTitle() argument
390 mTitle.setText(title); in setTitle()
/development/samples/browseable/FindMyPhone/Wearable/src/com.example.android.wearable.findphone/
DFindPhoneActivity.java52 SpannableString title = new SpannableString(getString(R.string.app_name)); in onCreate() local
53 title.setSpan(new RelativeSizeSpan(0.85f), 0, title.length(), Spannable.SPAN_POINT_MARK); in onCreate()
55 .setContentTitle(title) in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DFragmentAlertDialog.java76 public static MyAlertDialogFragment newInstance(int title) { in newInstance() argument
79 args.putInt("title", title); in newInstance()
86 int title = getArguments().getInt("title"); in onCreateDialog() local
90 .setTitle(title) in onCreateDialog()
/development/gsi/gsi_util/gsi_util/checkers/
Dvintf_checker.py63 for title in self._REQUIRED_CHECKS:
64 manifest_filename, matrix_filename = self._REQUIRED_CHECKS[title]
76 check_result.CheckResultItem(title, result_ok, stderr))
/development/tools/findunused/
Dfind_unused_resources.rb195 def displayHtmlUnused(unusedResourceIds, title) argument
197 puts "<h3>#{title}</h3>"
206 title = "Unused resources as of #{Time.now.localtime}"
207 puts "<html><header><title>#{title}</title></header><body>"
209 puts "<h1><p align=\"center\">#{title}</p></h1>"
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/
DSyncAdapter.java230 String title; in updateLocalFeedData() local
237 title = c.getString(COLUMN_TITLE); in updateLocalFeedData()
247 if ((match.title != null && !match.title.equals(title)) || in updateLocalFeedData()
253 .withValue(FeedContract.Entry.COLUMN_NAME_TITLE, match.title) in updateLocalFeedData()
277 .withValue(FeedContract.Entry.COLUMN_NAME_TITLE, e.title) in updateLocalFeedData()
/development/samples/browseable/SynchronizedNotifications/Wearable/src/com.example.android.wearable.synchronizednotifications/
DNotificationUpdateService.java96 String title = dataMap.getString(Constants.KEY_TITLE); in onDataChanged() local
98 buildWearableOnlyNotification(title, content, false); in onDataChanged()
100 buildWearableOnlyNotification(title, content, true); in onDataChanged()
118 private void buildWearableOnlyNotification(String title, String content, in buildWearableOnlyNotification() argument
122 .setContentTitle(title) in buildWearableOnlyNotification()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DComplicationSimpleConfigActivity.java138 String title; field in ComplicationSimpleConfigActivity.ComplicationItem
141 Drawable icon, String title) { in ComplicationItem() argument
146 this.title = title; in ComplicationItem()
191 textView.setText(mItems.get(position).title); in onBindViewHolder()
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/
DMainActivity.java37 private CharSequence title; field in MainActivity.Sample
42 this.title = getResources().getString(titleResId); in Sample()
47 return title.toString(); in toString()
/development/samples/Wiktionary/src/com/example/android/wiktionary/
DExtendedWikiHelper.java253 String title = sectionMatcher.group(1); in formatWikiText() local
254 if (!foundSections.contains(title) && in formatWikiText()
255 sValidSections.matcher(title).matches()) { in formatWikiText()
257 foundSections.add(title); in formatWikiText()
/development/apps/Development/src/com/android/development/
DDetails.java41 String title = intent.getStringExtra("title"); in onCreate() local
42 if (title == null) { in onCreate()
43 title = "Details"; in onCreate()
45 setTitle(title); in onCreate()

1234