Home
last modified time | relevance | path

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

123

/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()
/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/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/SoftKeyboard/src/com/android/inputmethodcommon/
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()
DInputMethodSettingsInterface.java42 public void setInputMethodSettingsCategoryTitle(CharSequence title); in setInputMethodSettingsCategoryTitle() argument
56 public void setSubtypeEnablerTitle(CharSequence title); in setSubtypeEnablerTitle() argument
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()
/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/ActionBarCompat/src/com/example/android/actionbarcompat/
DSimpleMenuItem.java45 public SimpleMenuItem(SimpleMenu menu, int id, int order, CharSequence title) { in SimpleMenuItem() argument
49 mTitle = title; in SimpleMenuItem()
60 public MenuItem setTitle(CharSequence title) { in setTitle() argument
61 mTitle = title; in setTitle()
73 public MenuItem setTitleCondensed(CharSequence title) { in setTitleCondensed() argument
74 mTitleCondensed = title; in setTitleCondensed()
DActionBarActivity.java79 protected void onTitleChanged(CharSequence title, int color) { in onTitleChanged() argument
80 mActionBarHelper.onTitleChanged(title, color); in onTitleChanged()
81 super.onTitleChanged(title, color); in onTitleChanged()
DSimpleMenu.java57 public MenuItem add(CharSequence title) { in add() argument
58 return addInternal(0, 0, title); in add()
65 public MenuItem add(int groupId, int itemId, int order, CharSequence title) { in add() argument
66 return addInternal(itemId, order, title); in add()
76 private MenuItem addInternal(int itemId, int order, CharSequence title) { in addInternal() argument
77 final SimpleMenuItem item = new SimpleMenuItem(this, itemId, order, title); in addInternal()
151 public SubMenu addSubMenu(int groupId, int itemId, int order, CharSequence title) { in addSubMenu() argument
/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/NotePad/src/com/example/android/notepad/
DNoteEditor.java271 String title = mCursor.getString(colTitleIndex); in onResume() local
273 String text = String.format(res.getString(R.string.title_edit), title); in onResume()
470 String title=null; in performPaste() local
499 title = orig.getString(colTitleIndex); in performPaste()
514 updateNote(text, title); in performPaste()
524 private final void updateNote(String text, String title) { in updateNote() argument
534 if (title == null) { in updateNote()
541 title = text.substring(0, Math.min(30, length)); in updateNote()
546 int lastSpace = title.lastIndexOf(' '); in updateNote()
548 title = title.substring(0, lastSpace); in updateNote()
[all …]
/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/
DNoteEdit.java38 mTitleText = (EditText) findViewById(R.id.title); in onCreate()
46 String title = extras.getString(NotesDbAdapter.KEY_TITLE); in onCreate() local
50 if (title != null) { in onCreate()
51 mTitleText.setText(title); in onCreate()
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/
DNoteEdit.java38 mTitleText = (EditText) findViewById(R.id.title); in onCreate()
46 String title = extras.getString(NotesDbAdapter.KEY_TITLE); in onCreate() local
50 if (title != null) { in onCreate()
51 mTitleText.setText(title); in onCreate()
DNotesDbAdapter.java120 public long createNote(String title, String body) { in createNote() argument
122 initialValues.put(KEY_TITLE, title); in createNote()
181 public boolean updateNote(long rowId, String title, String body) { in updateNote() argument
183 args.put(KEY_TITLE, title); in updateNote()
/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/Support4Demos/src/com/example/android/supportv4/app/
DFragmentAlertDialogSupport.java77 public static MyAlertDialogFragment newInstance(int title) { in newInstance() argument
80 args.putInt("title", title); in newInstance()
87 int title = getArguments().getInt("title"); in onCreateDialog() local
91 .setTitle(title) in onCreateDialog()
/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/tutorials/NotepadCodeLab/Notepadv3Solution/src/com/android/demo/notepad3/
DNoteEdit.java42 mTitleText = (EditText) findViewById(R.id.title); in onCreate()
98 String title = mTitleText.getText().toString(); in saveState() local
102 long id = mDbHelper.createNote(title, body); in saveState()
107 mDbHelper.updateNote(mRowId, title, body); in saveState()
DNotesDbAdapter.java120 public long createNote(String title, String body) { in createNote() argument
122 initialValues.put(KEY_TITLE, title); in createNote()
181 public boolean updateNote(long rowId, String title, String body) { in updateNote() argument
183 args.put(KEY_TITLE, title); in updateNote()
/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/RandomMusicPlayer/src/com/example/android/musicplayer/
DMusicRetriever.java115 String title; field in MusicRetriever.Item
119 public Item(long id, String artist, String title, String album, long duration) { in Item() argument
122 this.title = title; in Item()
136 return title; in getTitle()
/development/tutorials/NotepadCodeLab/Notepadv1Solution/src/com/android/demo/notepad1/
DNotesDbAdapter.java120 public long createNote(String title, String body) { in createNote() argument
122 initialValues.put(KEY_TITLE, title); in createNote()
181 public boolean updateNote(long rowId, String title, String body) { in updateNote() argument
183 args.put(KEY_TITLE, title); in updateNote()
/development/tutorials/NotepadCodeLab/Notepadv2/src/com/android/demo/notepad2/
DNotesDbAdapter.java120 public long createNote(String title, String body) { in createNote() argument
122 initialValues.put(KEY_TITLE, title); in createNote()
181 public boolean updateNote(long rowId, String title, String body) { in updateNote() argument
183 args.put(KEY_TITLE, title); in updateNote()

123