/development/samples/browseable/ActivitySceneTransitionBasic/src/com.example.android.activityscenetransitionbasic/ |
D | Item.java | 23 public class Item { class 28 public static Item[] ITEMS = new Item[] { 29 new Item("Flying in the Light", "Romain Guy", "flying_in_the_light.jpg"), 30 new Item("Caterpillar", "Romain Guy", "caterpillar.jpg"), 31 new Item("Look Me in the Eye", "Romain Guy", "look_me_in_the_eye.jpg"), 32 new Item("Flamingo", "Romain Guy", "flamingo.jpg"), 33 new Item("Rainbow", "Romain Guy", "rainbow.jpg"), 34 new Item("Over there", "Romain Guy", "over_there.jpg"), 35 new Item("Jelly Fish 2", "Romain Guy", "jelly_fish_2.jpg"), 36 new Item("Lone Pine Sunset", "Romain Guy", "lone_pine_sunset.jpg"), [all …]
|
D | MainActivity.java | 63 Item item = (Item) adapterView.getItemAtPosition(position); in onItemClick() 97 return Item.ITEMS.length; in getCount() 101 public Item getItem(int position) { in getItem() 102 return Item.ITEMS[position]; in getItem() 116 final Item item = getItem(position); in getView()
|
D | DetailActivity.java | 47 private Item mItem; 55 mItem = Item.getItem(getIntent().getIntExtra(EXTRA_PARAM_ID, 0)); in onCreate()
|
/development/samples/Support7Demos/src/com/example/android/supportv7/util/ |
D | SortedListActivity.java | 51 new Item("buy milk"), new Item("wash the car"), in onCreate() 52 new Item("wash the dishes")); in onCreate() 63 mAdapter.addItem(new Item(text)); in onCreate() 74 SortedList<Item> mData; 76 public SortedListAdapter(LayoutInflater layoutInflater, Item... items) { in SortedListAdapter() 78 mData = new SortedList<Item>(Item.class, new SortedListAdapterCallback<Item>(this) { in SortedListAdapter() 80 public int compare(Item t0, Item t1) { in SortedListAdapter() 97 public boolean areContentsTheSame(Item oldItem, in SortedListAdapter() 98 Item newItem) { in SortedListAdapter() 103 public boolean areItemsTheSame(Item item1, Item item2) { in SortedListAdapter() [all …]
|
/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/ |
D | RecipeListAdapter.java | 40 private class Item { class in RecipeListAdapter 47 private List<Item> mItems = new ArrayList<Item>(); 59 List<Item> items = parseJson(jsonObject); in loadRecipeList() 64 private List<Item> parseJson(JSONObject json) { in parseJson() 65 List<Item> result = new ArrayList<Item>(); in parseJson() 70 Item parsed = new Item(); in parseJson() 86 private void appendItemsToList(List<Item> items) { in appendItemsToList() 120 Item item = (Item) getItem(position); in getView()
|
/development/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
D | BrowseAnimationFragment.java | 40 static class Item { class in BrowseAnimationFragment 44 Item(String text, OnItemViewClickedListener action) { in Item() method in BrowseAnimationFragment.Item 87 Item createRandomItem() { in createRandomItem() 91 return new Item("Remove Item before", new OnItemViewClickedListener() { in createRandomItem() 106 return new Item("Remove Item after", new OnItemViewClickedListener() { in createRandomItem() 121 return new Item("Remove Item", new OnItemViewClickedListener() { in createRandomItem() 134 return new Item("Remove all Items", new OnItemViewClickedListener() { in createRandomItem() 144 return new Item("add item before", new OnItemViewClickedListener() { in createRandomItem() 157 return new Item("add item after", new OnItemViewClickedListener() { in createRandomItem() 170 return new Item("add random items before", in createRandomItem() [all …]
|
/development/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
D | TabLayoutPreselectedUsage.java | 140 final Item item = (Item) object; in getItemPosition() 154 Item item = new Item(); in instantiateItem() 162 final Item item = (Item) object; in isViewFromObject() 173 final Item item = (Item) object; in destroyItem() 177 private static class Item { class in TabLayoutPreselectedUsage.CheesePagerAdapter
|
D | TabLayoutUsage.java | 159 final Item item = (Item) object; in getItemPosition() 173 Item item = new Item(); in instantiateItem() 181 final Item item = (Item) object; in isViewFromObject() 192 final Item item = (Item) object; in destroyItem() 196 private static class Item { class in TabLayoutUsage.CheesePagerAdapter
|
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
D | MusicRetriever.java | 42 List<Item> mItems = new ArrayList<Item>(); 91 mItems.add(new Item( in prepare() 107 public Item getRandomItem() { in getRandomItem() 112 public static class Item { class in MusicRetriever 119 public Item(long id, String artist, String title, String album, long duration) { in Item() method in MusicRetriever.Item
|
D | MusicService.java | 407 MusicRetriever.Item playingItem = null; in playNextSong() 415 playingItem = new MusicRetriever.Item(0, null, manualUrl, null, 0); in playNextSong()
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
D | ExternalStorage.java | 52 static class Item { class in ExternalStorage 58 Item mExternalStoragePublicPicture; 59 Item mExternalStoragePrivatePicture; 60 Item mExternalStoragePrivateFile; 358 Item createStorageControls(CharSequence label, File path, in createStorageControls() 362 Item item = new Item(); in createStorageControls()
|
D | ClipboardSample.java | 146 ClipData.Item item = clip.getItemAt(0); in updateClipData() 164 ClipData.Item item = clip.getItemAt(0); in updateClipData()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | GameControllerInput.java | 341 private final SparseArray<Item> mDataItems = new SparseArray<Item>(); 342 private final ArrayList<Item> mVisibleItems = new ArrayList<Item>(); 430 public Item getItem(int position) { in getItem() 444 private static abstract class Item { class in GameControllerInput.SummaryAdapter 449 public Item(int itemId, int layoutResourceId) { in Item() method in GameControllerInput.SummaryAdapter.Item 476 private static class Heading extends Item { 491 private static class TextColumn extends Item {
|
D | DraggableDot.java | 250 ClipData.Item item = data.getItemAt(i); in processDrop()
|
/development/samples/browseable/BasicMediaRouter/ |
D | _index.jd | 9 content on a secondary display.\n\nUse the "Media Route Action Item" in the ActionBar
|
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
D | MyRssReader.java | 82 public boolean onOptionsItemSelected(Menu.Item item){ in onOptionsItemSelected()
|
D | MyRssReader3.java | 99 public boolean onOptionsItemSelected(Menu.Item item){ in onOptionsItemSelected()
|
D | MyRssReader2.java | 116 public boolean onOptionsItemSelected(Menu.Item item){ in onOptionsItemSelected()
|
D | MyRssReader4.java | 109 public boolean onOptionsItemSelected(Menu.Item item){ in onOptionsItemSelected()
|
D | MyRssReader5.java | 141 public boolean onOptionsItemSelected(Menu.Item item){ in onOptionsItemSelected()
|
/development/samples/ApiDemos/src/com/example/android/apis/media/ |
D | VideoViewDemo.java | 62 ClipData.Item item = clipData.getItemAt(0);
|
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/ |
D | ContentFragment.java | 22 import android.content.ClipData.Item; 244 Item item = data.getItemAt(0); in processDrop()
|
/development/samples/NotePad/src/com/example/android/notepad/ |
D | NoteEditor.java | 473 ClipData.Item item = clip.getItemAt(0); in performPaste()
|