Home
last modified time | relevance | path

Searched refs:Item (Results 1 – 25 of 114) sorted by relevance

12345

/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DItem.java28 public class Item implements Parcelable { class
36 public Item(int id, String text) { in Item() method in Item
40 public Item(int id, String text, Bitmap icon) { in Item() method in Item
46 public Item(Parcel in) { in Item() method in 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[] newArray(int size) {
72 return new Item[size];
DMenu.java32 public List<Item> items;
46 items = new ArrayList<Item>(); in Menu()
63 items = new ArrayList<Item>(); in Menu()
66 Item item = in.readParcelable(Item.class.getClassLoader()); in Menu()
/frameworks/compile/slang/tests/P_struct_field/
DScriptField_Outer.java.expect34 static public class Item {
36 ScriptField_InnerOne.Item innerOneA;
38 ScriptField_InnerOne.Item innerOneB;
39 ScriptField_InnerTwo.Item[] innerTwo3;
40 ScriptField_InnerTwo.Item[] innerTwo2;
41 ScriptField_InnerOne.Item[] innerOne4;
42 ScriptField_InnerOne.Item innerOneC;
44 Item() {
45 innerOneA = new ScriptField_InnerOne.Item();
46 innerOneB = new ScriptField_InnerOne.Item();
[all …]
DScriptField_InnerTwo.java.expect34 static public class Item {
37 ScriptField_InnerOne.Item innerOne;
39 Item() {
40 innerOne = new ScriptField_InnerOne.Item();
45 private Item mItemArray[];
116 private void copyToArrayLocal(Item i, FieldPacker fp) {
124 private void copyToArray(Item i, int index) {
130 public synchronized void set(Item i, int index, boolean copyNow) {
131 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
142 public synchronized Item get(int index) {
[all …]
DScriptField_InnerOne.java.expect34 static public class Item {
40 Item() {
45 private Item mItemArray[];
115 private void copyToArrayLocal(Item i, FieldPacker fp) {
121 private void copyToArray(Item i, int index) {
127 public synchronized void set(Item i, int index, boolean copyNow) {
128 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
139 public synchronized Item get(int index) {
146 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
147 if (mItemArray[index] == null) mItemArray[index] = new Item();
[all …]
/frameworks/base/core/java/android/content/
DClipData.java183 final ArrayList<Item> mItems;
204 public static class Item { class in ClipData
212 public Item(Item other) { in Item() method in ClipData.Item
222 public Item(CharSequence text) { in Item() method in ClipData.Item
239 public Item(CharSequence text, String htmlText) { in Item() method in ClipData.Item
249 public Item(Intent intent) { in Item() method in ClipData.Item
259 public Item(Uri uri) { in Item() method in ClipData.Item
270 public Item(CharSequence text, Intent intent, Uri uri) { in Item() method in ClipData.Item
283 public Item(CharSequence text, String htmlText, Intent intent, Uri uri) { in Item() method in ClipData.Item
689 proto.write(ClipDataProto.Item.HTML_TEXT, mHtmlText); in writeToProto()
[all …]
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DItemTest.java40 import com.android.setupwizardlib.items.Item;
67 Item item = new Item(); in testOnBindView()
91 Item item = new Item(); in testSingleLineItem()
104 Item item = new Item(); in testProperties()
136 Item item = new Item(); in testDefaultValues()
152 Item item = new Item(); in testHierarchyImplementation()
163 Item item = new Item(); in testVisible()
DItemInflaterTest.java25 import com.android.setupwizardlib.items.Item;
52 Item child0 = (Item) itemGroup.getItemAt(0); in testInflate()
53 Item child1 = (Item) itemGroup.getItemAt(1); in testInflate()
DItemAdapterTest.java27 import com.android.setupwizardlib.items.Item;
42 private Item[] mItems = new Item[5];
48 Item item = new Item(); in setUp()
/frameworks/compile/slang/tests/P_reflection3264_divergent_support/
DScriptField_DivergentNest.java.expect31 static public class Item {
34 ScriptField_Divergent.Item d;
37 Item() {
38 d = new ScriptField_Divergent.Item();
43 private Item mItemArray[];
121 private void copyToArrayLocal(Item i, FieldPacker fp) {
133 private void copyToArray(Item i, int index) {
139 public synchronized void set(Item i, int index, boolean copyNow) {
140 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
151 public synchronized Item get(int index) {
[all …]
DScriptField_Divergent.java.expect31 static public class Item {
37 Item() {
42 private Item mItemArray[];
120 private void copyToArrayLocal(Item i, FieldPacker fp) {
128 private void copyToArray(Item i, int index) {
134 public synchronized void set(Item i, int index, boolean copyNow) {
135 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
146 public synchronized Item get(int index) {
153 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
154 if (mItemArray[index] == null) mItemArray[index] = new Item();
[all …]
DScriptField_NonDivergent.java.expect31 static public class Item {
36 Item() {
41 private Item mItemArray[];
110 private void copyToArrayLocal(Item i, FieldPacker fp) {
115 private void copyToArray(Item i, int index) {
121 public synchronized void set(Item i, int index, boolean copyNow) {
122 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
133 public synchronized Item get(int index) {
140 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
141 if (mItemArray[index] == null) mItemArray[index] = new Item();
[all …]
/frameworks/compile/slang/tests/P_reflection3264_divergent/
DScriptField_DivergentNest.java.expect34 static public class Item {
37 ScriptField_Divergent.Item d;
40 Item() {
41 d = new ScriptField_Divergent.Item();
46 private Item mItemArray[];
124 private void copyToArrayLocal(Item i, FieldPacker fp) {
136 private void copyToArray(Item i, int index) {
142 public synchronized void set(Item i, int index, boolean copyNow) {
143 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
154 public synchronized Item get(int index) {
[all …]
DScriptField_NonDivergent.java.expect34 static public class Item {
39 Item() {
44 private Item mItemArray[];
113 private void copyToArrayLocal(Item i, FieldPacker fp) {
118 private void copyToArray(Item i, int index) {
124 public synchronized void set(Item i, int index, boolean copyNow) {
125 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
136 public synchronized Item get(int index) {
143 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
144 if (mItemArray[index] == null) mItemArray[index] = new Item();
[all …]
DScriptField_Divergent.java.expect34 static public class Item {
40 Item() {
45 private Item mItemArray[];
123 private void copyToArrayLocal(Item i, FieldPacker fp) {
131 private void copyToArray(Item i, int index) {
137 public synchronized void set(Item i, int index, boolean copyNow) {
138 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
149 public synchronized Item get(int index) {
156 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
157 if (mItemArray[index] == null) mItemArray[index] = new Item();
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_struct_field.java32 private ScriptField_InnerOne.Item makeInnerOne() { in makeInnerOne()
33 ScriptField_InnerOne.Item innerOne = new ScriptField_InnerOne.Item(); in makeInnerOne()
40 private ScriptField_InnerTwo.Item makeInnerTwo() { in makeInnerTwo()
41 ScriptField_InnerTwo.Item innerTwo = new ScriptField_InnerTwo.Item(); in makeInnerTwo()
51 ScriptField_Outer.Item outer = new ScriptField_Outer.Item(); in run()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_struct_field.java34 private ScriptField_InnerOne.Item makeInnerOne() { in makeInnerOne()
35 ScriptField_InnerOne.Item innerOne = new ScriptField_InnerOne.Item(); in makeInnerOne()
42 private ScriptField_InnerTwo.Item makeInnerTwo() { in makeInnerTwo()
43 ScriptField_InnerTwo.Item innerTwo = new ScriptField_InnerTwo.Item(); in makeInnerTwo()
53 ScriptField_Outer.Item outer = new ScriptField_Outer.Item(); in run()
/frameworks/compile/slang/tests/P_reduce_general_inputs/
DScriptField_MyStruct.java.expect34 static public class Item {
39 Item() {
44 private Item mItemArray[];
114 private void copyToArrayLocal(Item i, FieldPacker fp) {
120 private void copyToArray(Item i, int index) {
126 public synchronized void set(Item i, int index, boolean copyNow) {
127 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
138 public synchronized Item get(int index) {
145 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
146 if (mItemArray[index] == null) mItemArray[index] = new Item();
[all …]
/frameworks/compile/slang/tests/P_reduce_general_result/
DScriptField_MyStruct.java.expect34 static public class Item {
39 Item() {
44 private Item mItemArray[];
114 private void copyToArrayLocal(Item i, FieldPacker fp) {
120 private void copyToArray(Item i, int index) {
126 public synchronized void set(Item i, int index, boolean copyNow) {
127 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
138 public synchronized Item get(int index) {
145 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
146 if (mItemArray[index] == null) mItemArray[index] = new Item();
[all …]
/frameworks/compile/slang/tests/P_reduce_general_input/
DScriptField_MyStruct.java.expect34 static public class Item {
39 Item() {
44 private Item mItemArray[];
114 private void copyToArrayLocal(Item i, FieldPacker fp) {
120 private void copyToArray(Item i, int index) {
126 public synchronized void set(Item i, int index, boolean copyNow) {
127 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
138 public synchronized Item get(int index) {
145 if (mItemArray == null) mItemArray = new Item[getType().getX() /* count */];
146 if (mItemArray[index] == null) mItemArray[index] = new Item();
[all …]
/frameworks/av/media/libstagefright/foundation/
DAMessage.cpp93 Item *item = &mItems[i]; in clear()
101 void AMessage::freeItemValue(Item *item) { in freeItemValue()
185 void AMessage::Item::setName(const char *name, size_t len) { in setName()
191 AMessage::Item *AMessage::allocateItem(const char *name) { in allocateItem()
194 Item *item; in allocateItem()
210 const AMessage::Item *AMessage::findItem( in findItem()
214 const Item *item = &mItems[i]; in findItem()
224 const Item *item = &mItems[i]; in findAsFloat()
251 const Item *item = &mItems[i]; in findAsInt64()
273 Item *item = allocateItem(name); \
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DLockscreenFragment.java160 private static class StaticShortcut extends Item {
192 private static class App extends Item {
196 private final ArrayList<Item> mChildren = new ArrayList<>();
205 public void addChild(Item child) { in addChild()
240 private abstract static class Item { class in LockscreenFragment
254 private ArrayList<Item> mItems = new ArrayList<>();
256 private final Consumer<Item> mCallback;
258 public Adapter(Context context, Consumer<Item> callback) { in Adapter()
271 Item item = mItems.get(position); in onBindViewHolder()
292 public void addItem(Item item) { in addItem()
[all …]
/frameworks/base/tools/aapt2/
DValueVisitor.h32 virtual void VisitItem(Item* value) { VisitAny(value); } in VisitItem()
55 virtual void VisitItem(const Item* value) { in VisitItem()
128 for (std::unique_ptr<Item>& item : array->elements) { in VisitSubValues()
134 for (std::unique_ptr<Item>& item : plural->values) { in VisitSubValues()
166 struct DynCastVisitor<Item> : public ConstValueVisitor {
167 const Item* value = nullptr;
169 void VisitItem(const Item* item) override {
/frameworks/base/core/jni/hwbinder/
DEphemeralStorage.cpp38 Item item; in allocStringArray()
48 Item item; in allocTemporaryStorage()
62 Item item; in allocTemporaryString()
76 Item item; in allocTemporaryNativeHandle()
92 Item item; \
128 const Item &item = mItems[i];
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSDetailItems.java60 private Item[] mItems;
133 public void setItems(Item[] items) { in setItems()
147 private void handleSetItems(Item[] items) { in handleSetItems()
182 final Item item = mItems[position]; in getView()
252 handleSetItems((Item[]) msg.obj); in handleMessage()
261 public static class Item { class in QSDetailItems
273 void onDetailItemClick(Item item); in onDetailItemClick()
274 void onDetailItemDisconnect(Item item); in onDetailItemDisconnect()

12345