Searched defs:Item (Results 1 - 25 of 29) sorted by relevance

12

/frameworks/compile/slang/
H A Dslang_rs_pragma_handler.h46 virtual void handleItem(const std::string &Item) { } argument
H A Dslang_rs_pragma_handler.cpp42 void handleItem(const std::string &Item) { argument
43 mContext->addPragma(this->getName(), Item);
44 mContext->addExportType(Item);
345 void handleItem(const std::string &Item) { argument
346 mContext->addPragma(this->getName(), Item);
347 mContext->setLicenseNote(Item);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DItem.java24 * 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...]
/frameworks/av/media/libstagefright/httplive/
H A DM3UParser.h64 struct Item { struct in struct:android::M3UParser
83 Vector<Item> mItems;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
H A DSettingsDrawerAdapter.java33 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 DAppListFragment.java45 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);
H A DBrowserListFragment.java53 private List<Item> mItems = new ArrayList();
58 private static class Item { class in class:BrowserListFragment
61 Item(MediaBrowser.MediaItem m) { method in class:BrowserListFragment.Item
102 final Item item = mItems.get(position);
104 Log.i("BrowserListFragment", "Item clicked: " + position + " -- "
139 mItems.add(new Item(children.get(i)));
178 public Item getItem(int position) {
199 final Item item = mItems.get(position);
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DBrowseAnimationFragment.java40 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 DBrowseAnimationFragment.java40 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/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
H A DItem.java33 public class Item extends AbstractItem { class in inherits:AbstractItem
42 public Item() { method in class:Item
47 public Item(Context context, AttributeSet attrs) { method in class:Item
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/util/
H A DSortedListActivity.java51 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/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
H A DTabLayoutPreselectedUsage.java141 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 DTabLayoutUsage.java160 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/Support7Demos/src/com/example/android/supportv7/util/
H A DSortedListActivity.java51 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/SupportDesignDemos/src/com/example/android/support/design/widget/
H A DTabLayoutPreselectedUsage.java141 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 DTabLayoutUsage.java160 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/av/include/media/stagefright/foundation/
H A DAMessage.h73 // Item types set/find function suffixes
201 struct Item { struct in struct:android::AMessage
222 Item mItems[kMaxNumItems];
225 Item *allocateItem(const char *name);
226 void freeItemValue(Item *item);
227 const Item *findItem(const char *name, Type type) const;
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRootsFragment.java191 Item item = mAdapter.getItem(position);
213 final Item item = mAdapter.getItem(position);
223 private static abstract class Item { class in class:RootsFragment
226 public Item(int layoutId) { method in class:RootsFragment.Item
243 private static class RootItem extends Item {
273 private static class SpacerItem extends Item {
284 private static class AppItem extends Item {
307 private static class RootsAdapter extends ArrayAdapter<Item> {
378 final Item item = getItem(position);
394 final Item ite
[all...]
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/util/
H A DSortedListTest.java39 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 DDiffUtilTest.java45 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/base/tools/aapt/
H A DResourceTable.h293 class Item { class in class:ResourceTable
295 Item() : isId(false), format(ResTable_map::TYPE_ANY), bagKeyId(0), evaluating(false) function in class:ResourceTable::Item
297 Item(const SourcePos& pos,
302 Item(const Item& o) : sourcePos(o.sourcePos), function in class:ResourceTable::Item
307 ~Item() { }
309 Item& operator=(const Item& o) {
376 const Item* getItem() const { return mType == TYPE_ITEM ? &mItem : NULL; }
377 const KeyedVector<String16, Item>
[all...]
/frameworks/base/core/java/android/content/
H A DClipData.java45 * <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/DocumentsUI/tests/src/com/android/documentsui/dirlist/
H A DMultiSelectManager_GridModelTest.java253 for (TestEnvironment.Item item: env.items) {
291 private List<Item> items = new ArrayList<>();
313 items.add(new Item(
456 public static final class Item { class in class:MultiSelectManager_GridModelTest.TestEnvironment
460 public Item(String n, Rect r) { method in class:MultiSelectManager_GridModelTest.TestEnvironment.Item
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSDetailItems.java57 private Item[] mItems;
126 public void setItems(Item[] items) {
140 private void handleSetItems(Item[] items) {
175 final Item item = mItems[position];
230 handleSetItems((Item[]) msg.obj);
239 public static class Item { class in class:QSDetailItems
249 void onDetailItemClick(Item item);
250 void onDetailItemDisconnect(Item item);
/frameworks/base/tools/aapt2/
H A DResourceValues.h37 * of Item and Map and their subclasses. The way to do
134 struct Item : public Value { struct in namespace:aapt
136 * Clone the Item.
138 virtual Item* clone(StringPool* newPool) const override = 0;
141 * Fills in an android::Res_value structure with this Item's binary representation.
151 struct BaseItem : public Item {
281 bool matches(const Item* item, DiagMessage* outMsg) const;
287 std::unique_ptr<Item> value;
306 std::vector<std::unique_ptr<Item>> items;
324 std::array<std::unique_ptr<Item>, Coun
[all...]

Completed in 3113 milliseconds

12