/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | Item.java | 24 * Represents an Item COMPREHENSION-TLV object. 28 public class Item implements Parcelable { class in inherits:Parcelable 36 public Item(int id, String text) { method in class:Item 40 public Item(int id, String text, Bitmap icon) { method in class:Item 46 public Item(Parcel in) { method in class:Item 64 public static final Parcelable.Creator<Item> CREATOR = new Parcelable.Creator<Item>() { 66 public Item createFromParcel(Parcel in) { 67 return new Item(in); 71 public Item[] newArra [all...] |
H A D | Menu.java | 31 public List<Item> items; 44 items = new ArrayList<Item>(); 61 items = new ArrayList<Item>(); 64 Item item = in.readParcelable(null);
|
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/util/ |
H A D | SortedListTest.java | 39 SortedList<Item> mList; 44 private SortedList.Callback<Item> mCallback; 45 InsertedCallback<Item> mInsertedCallback; 46 ChangedCallback<Item> mChangedCallback; 48 private Comparator<? super Item> sItemComparator = new Comparator<Item>() { 50 public int compare(Item o1, Item o2) { 67 mCallback = new SortedList.Callback<Item>() { 69 public int compare(Item o 720 static class Item { class in class:SortedListTest 729 public Item() { method in class:SortedListTest.Item 734 public Item(int cmpField) { method in class:SortedListTest.Item 739 public Item(int id, int cmpField) { method in class:SortedListTest.Item [all...] |
H A D | DiffUtilTest.java | 45 private List<Item> mBefore = new ArrayList<>(); 46 private List<Item> mAfter = new ArrayList<>(); 272 List<Item> applied = applyUpdates(mBefore, DiffUtil.calculateDiff(mCallback, false)); 321 List<Item> applied = applyUpdates(mBefore, result); 329 mBefore.add(new Item(false)); 342 private void assertEquals(List<Item> applied, List<Item> after) { 348 Item item = applied.get(i); 362 private List<Item> applyUpdates(List<Item> befor 451 static class Item { class in class:DiffUtilTest 460 public Item(boolean newItem) { method in class:DiffUtilTest.Item 465 public Item(Item other) { method in class:DiffUtilTest.Item [all...] |
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/util/ |
H A D | SortedListActivity.java | 51 new Item("buy milk"), new Item("wash the car"), 52 new Item("wash the dishes")); 63 mAdapter.addItem(new Item(text)); 74 SortedList<Item> mData; 76 public SortedListAdapter(LayoutInflater layoutInflater, Item... items) { 78 mData = new SortedList<Item>(Item.class, new SortedListAdapterCallback<Item>(this) { 80 public int compare(Item t 168 private static class Item { class in class:SortedListActivity 174 public Item(String text) { method in class:SortedListActivity.Item [all...] |
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/util/ |
H A D | SortedListActivity.java | 51 new Item("buy milk"), new Item("wash the car"), 52 new Item("wash the dishes")); 63 mAdapter.addItem(new Item(text)); 74 SortedList<Item> mData; 76 public SortedListAdapter(LayoutInflater layoutInflater, Item... items) { 78 mData = new SortedList<Item>(Item.class, new SortedListAdapterCallback<Item>(this) { 80 public int compare(Item t 168 private static class Item { class in class:SortedListActivity 174 public Item(String text) { method in class:SortedListActivity.Item [all...] |
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/ |
H A D | ItemTest.java | 30 import com.android.setupwizardlib.items.Item; 41 Item item = new Item(); 65 Item item = new Item(); 78 Item item = new Item(); 97 Item item = new Item(); 111 Item ite [all...] |
H A D | ItemGroupTest.java | 22 import com.android.setupwizardlib.items.Item; 27 public static final Item CHILD_1 = new Item(); 28 public static final Item CHILD_2 = new Item(); 29 public static final Item CHILD_3 = new Item(); 30 public static final Item CHILD_4 = new Item(); 38 assertSame("Item a [all...] |
H A D | ItemAdapterTest.java | 22 import com.android.setupwizardlib.items.Item; 32 private Item[] mItems = new Item[5]; 39 Item item = new Item();
|
H A D | ItemInflaterTest.java | 22 import com.android.setupwizardlib.items.Item; 32 assertEquals("Default package should be the one containing Item class", 43 Item child0 = (Item) itemGroup.getItemAt(0); 44 Item child1 = (Item) itemGroup.getItemAt(1);
|
/frameworks/opt/setupwizard/library/full-support/test/src/com/android/setupwizardlib/test/ |
H A D | RecyclerItemAdapterTest.java | 22 import com.android.setupwizardlib.items.Item; 32 private Item[] mItems = new Item[5]; 39 Item item = new Item();
|
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/ |
H A D | OpReorderTest.java | 47 List<Item> mAddedItems = new ArrayList<Item>(); 48 List<Item> mRemovedItems = new ArrayList<Item>(); 79 mAddedItems = new ArrayList<Item>(); 80 mRemovedItems = new ArrayList<Item>(); 82 Item.idCounter = 0; 310 List<Item> items = new ArrayList<Item>(itemCount); 312 items.add(Item 624 static class Item { class in class:OpReorderTest 630 Item(int id, int version) { method in class:OpReorderTest.Item [all...] |
/frameworks/compile/slang/tests/P_reduce_general_input/ |
H A D | ScriptField_MyStruct.java.expect | 31 static public class Item { 36 Item() { 41 private Item mItemArray[]; 111 private void copyToArrayLocal(Item i, FieldPacker fp) { 117 private void copyToArray(Item i, int index) { 123 public synchronized void set(Item i, int index, boolean copyNow) { 124 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */]; 135 public synchronized Item get(int index) { 142 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */]; 143 if (mItemArray[index] == null) mItemArray[index] = new Item(); [all...] |
/frameworks/compile/slang/tests/P_reduce_general_inputs/ |
H A D | ScriptField_MyStruct.java.expect | 31 static public class Item { 36 Item() { 41 private Item mItemArray[]; 111 private void copyToArrayLocal(Item i, FieldPacker fp) { 117 private void copyToArray(Item i, int index) { 123 public synchronized void set(Item i, int index, boolean copyNow) { 124 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */]; 135 public synchronized Item get(int index) { 142 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */]; 143 if (mItemArray[index] == null) mItemArray[index] = new Item(); [all...] |
/frameworks/compile/slang/tests/P_reduce_general_result/ |
H A D | ScriptField_MyStruct.java.expect | 31 static public class Item { 36 Item() { 41 private Item mItemArray[]; 111 private void copyToArrayLocal(Item i, FieldPacker fp) { 117 private void copyToArray(Item i, int index) { 123 public synchronized void set(Item i, int index, boolean copyNow) { 124 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */]; 135 public synchronized Item get(int index) { 142 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */]; 143 if (mItemArray[index] == null) mItemArray[index] = new Item(); [all...] |
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
H A D | BrowseAnimationFragment.java | 40 static class Item { class in class:BrowseAnimationFragment 44 Item(String text, OnItemViewClickedListener action) { method in class:BrowseAnimationFragment.Item 87 Item createRandomItem() { 91 return new Item("Remove Item before", new OnItemViewClickedListener() { 106 return new Item("Remove Item after", new OnItemViewClickedListener() { 121 return new Item("Remove Item", new OnItemViewClickedListener() { 134 return new Item("Remov [all...] |
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
H A D | BrowseAnimationFragment.java | 40 static class Item { class in class:BrowseAnimationFragment 44 Item(String text, OnItemViewClickedListener action) { method in class:BrowseAnimationFragment.Item 87 Item createRandomItem() { 91 return new Item("Remove Item before", new OnItemViewClickedListener() { 106 return new Item("Remove Item after", new OnItemViewClickedListener() { 121 return new Item("Remove Item", new OnItemViewClickedListener() { 134 return new Item("Remov [all...] |
/frameworks/base/core/java/android/content/ |
H A D | ClipData.java | 45 * <p>ClipData is a complex type containing one or more Item instances, 58 * <p>Each Item instance can be one of three main classes of data: a simple 59 * CharSequence of text, a single Intent object, or a Uri. See {@link Item} 73 * the application must correctly interpret the data for its use. If the {@link Item} 80 * can use the convenience method {@link Item#coerceToText Item.coerceToText}. 109 * <p>For example, the implementation of {@link Item#coerceToText Item.coerceToText} 119 * is to contain a simple text, Intent, or URI, this is easy: an {@link Item} 150 * into an editor), then {@link Item#coerceToTex 188 public static class Item { class in class:ClipData 195 public Item(Item other) { method in class:ClipData.Item 205 public Item(CharSequence text) { method in class:ClipData.Item 218 public Item(CharSequence text, String htmlText) { method in class:ClipData.Item 228 public Item(Intent intent) { method in class:ClipData.Item 238 public Item(Uri uri) { method in class:ClipData.Item 249 public Item(CharSequence text, Intent intent, Uri uri) { method in class:ClipData.Item 262 public Item(CharSequence text, String htmlText, Intent intent, Uri uri) { method in class:ClipData.Item [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/ |
H A D | SettingsDrawerAdapter.java | 33 private final ArrayList<Item> mItems = new ArrayList<>(); 45 Item tile = new Item(); 50 Item category = new Item(); 56 tile = new Item(); 93 Item item = mItems.get(position); 117 private static class Item { class in class:SettingsDrawerAdapter
|
/frameworks/base/tests/MusicBrowserDemo/src/com/example/android/musicbrowserdemo/ |
H A D | AppListFragment.java | 45 private List<Item> mItems; 59 final Item item = mItems.get(position); 61 Log.i("AppListFragment", "Item clicked: " + position + " -- " + item.component); 76 private static class Item { class in class:AppListFragment 80 Item(String l, ComponentName c) { method in class:AppListFragment.Item 103 mItems.add(new Item(ri.loadLabel(pm).toString(), new ComponentName( 115 public Item getItem(int position) { 136 final Item item = mItems.get(position);
|
/frameworks/base/tools/aapt2/ |
H A D | ValueVisitor.h | 32 virtual void visitItem(Item* value) {} 80 for (std::unique_ptr<Item>& item : array->items) { 86 for (std::unique_ptr<Item>& item : plural->values) { 119 * Specialization that checks if the value is an Item. 122 struct DynCastVisitor<Item> : public RawValueVisitor { 123 Item* value = nullptr; 125 void visitItem(Item* item) override {
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
H A D | ItemInflater.java | 22 * Inflate {@link Item} hierarchies from XML files. 39 setDefaultPackage(Item.class.getPackage().getName() + ".");
|
/frameworks/support/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
H A D | TabLayoutPreselectedUsage.java | 141 final Item item = (Item) object; 155 Item item = new Item(); 163 final Item item = (Item) object; 174 final Item item = (Item) object; 178 private static class Item { class in class:TabLayoutPreselectedUsage.CheesePagerAdapter
|
H A D | TabLayoutUsage.java | 160 final Item item = (Item) object; 174 Item item = new Item(); 182 final Item item = (Item) object; 193 final Item item = (Item) object; 197 private static class Item { class in class:TabLayoutUsage.CheesePagerAdapter
|
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
H A D | TabLayoutPreselectedUsage.java | 141 final Item item = (Item) object; 155 Item item = new Item(); 163 final Item item = (Item) object; 174 final Item item = (Item) object; 178 private static class Item { class in class:TabLayoutPreselectedUsage.CheesePagerAdapter
|