/packages/apps/Browser/src/com/android/browser/view/ |
PieItem.java | 41 private List<PieItem> mItems; 59 return mItems != null; 63 return mItems; 67 if (mItems == null) { 68 mItems = new ArrayList<PieItem>(); 70 mItems.add(item);
|
/development/samples/ActionBarCompat/src/com/example/android/actionbarcompat/ |
SimpleMenu.java | 41 private ArrayList<SimpleMenuItem> mItems; 46 mItems = new ArrayList<SimpleMenuItem>(); 78 mItems.add(findInsertIndex(mItems, order), item); 97 SimpleMenuItem item = mItems.get(i); 111 if ((index < 0) || (index >= mItems.size())) { 114 mItems.remove(index); 118 mItems.clear(); 124 SimpleMenuItem item = mItems.get(i); 134 return mItems.size() [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
ActionMenu.java | 40 private ArrayList<ActionMenuItem> mItems; 44 mItems = new ArrayList<ActionMenuItem>(); 66 mItems.add(order, item); 122 mItems.clear(); 129 final ArrayList<ActionMenuItem> items = mItems; 141 return mItems.get(findItemIndex(id)); 145 return mItems.get(index); 149 final ArrayList<ActionMenuItem> items = mItems; 164 final ArrayList<ActionMenuItem> items = mItems; 188 return mItems.get(index).invoke() [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/ |
ListValueCellEditor.java | 32 private String[] mItems; 52 mItems = new String[items.length]; 53 System.arraycopy(items, 0, mItems, 0, items.length); 54 setItems(mItems);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/ |
FakeAdapter.java | 47 private final List<AdapterItem> mItems = new ArrayList<AdapterItem>(); 79 mItems.add(new AdapterItem(dataBindingItem, typeIndex, mItems.size(), index++)); 92 return mItems.size(); 97 return mItems.get(position); 107 return mItems.get(position).getType(); 113 AdapterItem item = mItems.get(position);
|
FakeExpandableAdapter.java | 41 protected final List<AdapterItem> mItems = new ArrayList<AdapterItem>(); 84 AdapterItem item = new AdapterItem(dataBindingItem, typeIndex, mItems.size(), 86 mItems.add(item); 103 AdapterItem item = mItems.get(groupPosition); 113 return mItems.size(); 118 AdapterItem item = mItems.get(groupPosition); 124 return mItems.get(groupPosition); 136 AdapterItem item = mItems.get(groupPosition); 147 AdapterItem parentItem = mItems.get(groupPosition); 212 return mItems.isEmpty() [all...] |
/packages/apps/Camera2/src/com/android/camera/ui/ |
PieItem.java | 41 private List<PieItem> mItems; 70 return mItems != null; 74 return mItems; 78 if (mItems == null) { 79 mItems = new ArrayList<PieItem>(); 81 mItems.add(item); 85 mItems = null;
|
DetailsDialog.java | 77 private final ArrayList<String> mItems; 86 mItems = new ArrayList<String>(details.size()); 137 mWidthIndex = mItems.size(); 146 mHeightIndex = mItems.size(); 194 mItems.add(value); 220 return mItems.size(); 242 tv.setText(mItems.get(position)); 256 mItems.set(mWidthIndex, String.valueOf(widthString)); 257 mItems.set(mHeightIndex, String.valueOf(heightString));
|
/packages/apps/Camera/src/com/android/camera/ui/ |
PieItem.java | 47 private List<PieItem> mItems; 68 return mItems != null; 72 return mItems; 76 if (mItems == null) { 77 mItems = new ArrayList<PieItem>(); 79 mItems.add(item);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
AddAdapter.java | 39 private final ArrayList<ListItem> mItems = new ArrayList<ListItem>(); 73 mItems.add(new ListItem(res, R.string.group_wallpapers, 93 return mItems.size(); 97 return mItems.get(position);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
AddAdapter.java | 39 private final ArrayList<ListItem> mItems = new ArrayList<ListItem>(); 73 mItems.add(new ListItem(res, R.string.group_wallpapers, 93 return mItems.size(); 97 return mItems.get(position);
|
/cts/suite/pts/hostTests/uihost/appA/src/com/android/pts/taskswitching/appa/ |
AppAActivity.java | 41 private String[] mItems = new String[NUMBER_ELEMENTS]; 47 mItems[i] = "A" + Integer.toString(i); 50 android.R.layout.simple_list_item_1, mItems));
|
/cts/suite/pts/hostTests/uihost/appB/src/com/android/pts/taskswitching/appb/ |
AppBActivity.java | 39 private String[] mItems = new String[NUMBER_ELEMENTS]; 46 mItems[i] = "B" + Integer.toString(i); 49 android.R.layout.simple_list_item_1, mItems));
|
/development/samples/AppNavigation/src/com/example/android/appnavigation/app/ |
AppNavHomeActivity.java | 87 private List<SampleInfo> mItems; 90 mItems = items; 95 return mItems.size(); 100 return mItems.get(position); 116 tv.setText(mItems.get(position).name);
|
/development/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/ |
AppNavHomeActivity.java | 87 private List<SampleInfo> mItems; 90 mItems = items; 95 return mItems.size(); 100 return mItems.get(position); 116 tv.setText(mItems.get(position).name);
|
/frameworks/wilhelm/src/itf/ |
IAndroidBufferQueue.c | 61 pBuff->mItems.mTsCmdData.mTsCmdCode = ANDROID_MP2TSEVENT_NONE; 62 pBuff->mItems.mTsCmdData.mPts = 0; 65 pBuff->mItems.mAdtsCmdData.mAdtsCmdCode = ANDROID_ADTSEVENT_NONE; 70 memset(&pBuff->mItems, 0, sizeof(AdvancedBufferItems)); 99 pBuff->mItems.mTsCmdData.mTsCmdCode |= ANDROID_MP2TSEVENT_EOS; 100 //SL_LOGD("Found EOS event=%d", pBuff->mItems.mTsCmdData.mTsCmdCode); 109 pBuff->mItems.mTsCmdData.mTsCmdCode |= ANDROID_MP2TSEVENT_DISCONTINUITY; 110 //SL_LOGD("Found DISCONTINUITYevent=%d", pBuff->mItems.mTsCmdData.mTsCmdCode); 112 pBuff->mItems.mTsCmdData.mTsCmdCode |= ANDROID_MP2TSEVENT_DISCON_NEWPTS; 113 pBuff->mItems.mTsCmdData.mPts = *((SLAuint64*)pItems->itemData) [all...] |
/frameworks/av/media/libstagefright/ |
MetaData.cpp | 36 mItems(from.mItems) { 44 mItems.clear(); 48 ssize_t i = mItems.indexOfKey(key); 54 mItems.removeItemsAt(i); 191 ssize_t i = mItems.indexOfKey(key); 194 i = mItems.add(key, item); 199 typed_data &item = mItems.editValueAt(i); 208 ssize_t i = mItems.indexOfKey(key); 214 const typed_data &item = mItems.valueAt(i) [all...] |
/cts/suite/pts/deviceTests/ui/src/com/android/pts/ui/ |
ScrollingActivity.java | 37 private String[] mItems = new String[NUMBER_ELEMENTS]; 44 mItems[i] = Integer.toString(i); 47 android.R.layout.simple_list_item_1, mItems));
|
/frameworks/base/core/tests/coretests/src/android/view/menu/ |
MenuScenario.java | 33 private MenuItem[] mItems; 54 mItems = new MenuItem[mParams.numItems]; 75 mItems[i] = item; 141 if (mItems[i] == item) return i;
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConversationViewAdapter.java | 72 private final List<ConversationOverlayItem> mItems; 463 mItems = Lists.newArrayList(); 469 return mItems.size(); 474 return mItems.get(position).getType(); 484 return mItems.get(position); 520 final int pos = mItems.size(); 522 mItems.add(item); 527 mItems.clear(); 569 final int pos = mItems.indexOf(blockToRemove); 574 mItems.remove(pos) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
DialogDetailsView.java | 120 private final ArrayList<String> mItems; 129 mItems = new ArrayList<String>(details.size()); 142 mLocationIndex = mItems.size(); 187 mWidthIndex = mItems.size(); 196 mHeightIndex = mItems.size(); 242 mItems.add(value); 261 return mItems.size(); 283 tv.setText(mItems.get(position)); 289 mItems.set(mLocationIndex, address); 304 mItems.set(mWidthIndex, String.valueOf(widthString)) [all...] |
PopupList.java | 60 private final ArrayList<Item> mItems = new ArrayList<Item>(); 79 mItems.add(new Item(id, title)); 83 mItems.clear(); 173 for (Item item : mItems) { 182 return mItems.size(); 187 return mItems.get(position); 192 return mItems.get(position).id; 202 text.setText(mItems.get(position).title);
|
/development/samples/Support4Demos/src/com/example/android/supportv4/widget/ |
ExploreByTouchHelperActivity.java | 93 private final List<CustomItem> mItems = new ArrayList<CustomItem>(); 150 mItems.add(item); 162 for (CustomItem item : mItems) { 199 final int n = mItems.size(); 202 final CustomItem item = mItems.get(i); 212 if ((index < 0) || (index >= mItems.size())) { 216 return mItems.get(index); 251 final int n = mItems.size();
|
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
MusicRetriever.java | 42 List<Item> mItems = new ArrayList<Item>(); 88 // add each song to mItems 91 mItems.add(new Item( 108 if (mItems.size() <= 0) return null; 109 return mItems.get(mRandom.nextInt(mItems.size()));
|
/frameworks/base/core/java/android/content/ |
ClipData.java | 164 final ArrayList<Item> mItems; 626 mItems = new ArrayList<Item>(); 627 mItems.add(item); 642 mItems = new ArrayList<Item>(); 643 mItems.add(item); 655 mItems = new ArrayList<Item>(other.mItems); 771 mItems.add(item); 783 return mItems.size(); 791 return mItems.get(index) [all...] |