/frameworks/av/media/libstagefright/rtsp/ |
H A D | MyHandler.h | 1389 const AString &s, const char *separator, List<AString> *items) { 1390 items->clear(); 1396 items->push_back(AString(s, start, s.size() - start)); 1400 items->push_back(AString(s, start, offset - start)); 1388 SplitString( const AString &s, const char *separator, List<AString> *items) argument
|
/frameworks/base/core/java/android/animation/ |
H A D | AnimatorSet.java | 137 * @param items The animations that will be started simultaneously. 139 public void playTogether(Animator... items) { argument 140 if (items != null) { 142 Builder builder = play(items[0]); 143 for (int i = 1; i < items.length; ++i) { 144 builder.with(items[i]); 152 * @param items The animations that will be started simultaneously. 154 public void playTogether(Collection<Animator> items) { argument 155 if (items != null && items 174 playSequentially(Animator... items) argument 194 playSequentially(List<Animator> items) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | AlertDialog.java | 626 * Set a list of items to be displayed in the dialog as the content, you will be notified of the 638 * Set a list of items to be displayed in the dialog as the content, you will be notified of the 643 public Builder setItems(CharSequence[] items, final OnClickListener listener) { argument 644 P.mItems = items; 650 * Set a list of items, which are supplied by the given {@link ListAdapter}, to be 654 * @param adapter The {@link ListAdapter} to supply the list of items 666 * Set a list of items, which are supplied by the given {@link Cursor}, to be 670 * @param cursor The {@link Cursor} to supply the list of items 686 * Set a list of items to be displayed in the dialog as the content, 694 * @param checkedItems specifies which items ar 729 setMultiChoiceItems(CharSequence[] items, boolean[] checkedItems, final OnMultiChoiceClickListener listener) argument 831 setSingleChoiceItems(CharSequence[] items, int checkedItem, final OnClickListener listener) argument [all...] |
/frameworks/base/core/java/android/net/ |
H A D | SSLCertificateSocketFactory.java | 299 static byte[] toLengthPrefixedList(byte[]... items) { argument 300 if (items.length == 0) { 301 throw new IllegalArgumentException("items.length == 0"); 304 for (byte[] s : items) { 312 for (byte[] s : items) {
|
/frameworks/base/core/java/android/service/textservice/ |
H A D | SpellCheckerService.java | 357 public SentenceTextInfoParams(TextInfo ti, ArrayList<SentenceWordItem> items) { argument 359 mItems = items; 360 mSize = items.size();
|
/frameworks/base/core/java/android/widget/ |
H A D | ArrayAdapter.java | 202 * Adds the specified items at the end of the array. 204 * @param items The items to add at the end of the array. 206 public void addAll(T ... items) { argument 209 Collections.addAll(mOriginalValues, items); 211 Collections.addAll(mObjects, items);
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
H A D | InputMethodSubtypeSwitchingController.java | 462 final List<ImeSubtypeListItem> items, 465 final int ALL_ITEMS_COUNT = items.size(); 467 final ImeSubtypeListItem item = items.get(i); 461 filterImeSubtypeList( final List<ImeSubtypeListItem> items, final boolean supportsSwitchingToNextInputMethod) argument
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | ActionMenu.java | 129 final ArrayList<ActionMenuItem> items = mItems; 130 final int itemCount = items.size(); 132 if (items.get(i).getItemId() == id) { 149 final ArrayList<ActionMenuItem> items = mItems; 150 final int itemCount = items.size(); 153 if (items.get(i).isVisible()) { 164 final ArrayList<ActionMenuItem> items = mItems; 165 final int itemCount = items.size(); 168 ActionMenuItem item = items.get(i); 201 final ArrayList<ActionMenuItem> items [all...] |
H A D | ListMenuPresenter.java | 114 * @return A ListAdapter containing the items in the menu. 229 ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); 230 int count = items.size() - mItemIndexOffset; 238 ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); 243 return items.get(position); 265 final ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); 266 final int count = items.size(); 268 final MenuItemImpl item = items.get(i);
|
H A D | MenuBuilder.java | 86 /** Contains all of the items for this menu */ 89 /** Contains only the items that are currently visible. This will be created/refreshed from 93 * Whether or not the items (or any one item's shown state) has changed since it was last 99 * Contains only the items that should appear in the Action Bar, if present. 103 * Contains items that should NOT appear in the Action Bar, if present. 108 * Whether or not the items (or any one item's action state) has changed since it was 114 * Default value for how added items should show in the action list. 121 * should be set on all items added to this menu. 180 * Called by menu items to execute their associated action 220 * inflating menu items 773 findInsertIndex(ArrayList<MenuItemImpl> items, int ordering) argument 806 findItemsWithShortcutForKey(List<MenuItemImpl> items, int keyCode, KeyEvent event) argument [all...] |
H A D | MenuPopupHelper.java | 350 ArrayList<MenuItemImpl> items = mOverflowOnly ? 353 return items.size(); 355 return items.size() - 1; 359 ArrayList<MenuItemImpl> items = mOverflowOnly ? 364 return items.get(position); 389 final ArrayList<MenuItemImpl> items = mMenu.getNonActionItems(); 390 final int count = items.size(); 392 final MenuItemImpl item = items.get(i);
|
/frameworks/base/core/tests/coretests/src/android/database/ |
H A D | DatabaseLocaleTest.java | 69 ArrayList<String> items = new ArrayList<String>(); 71 items.add(c.getString(0)); 74 String[] result = items.toArray(new String[items.size()]);
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | ListViewTest.java | 44 List<String> items = Lists.newArrayList("hello"); 45 Adapter<String> adapter = new Adapter<String>(context, 0, items); 74 List<String> items = Lists.newArrayList("hello"); 75 Adapter<String> adapter = new Adapter<String>(context, 0, items); 86 items.remove(0);
|
/frameworks/base/core/tests/inputmethodtests/src/android/os/ |
H A D | InputMethodSubtypeSwitchingControllerTest.java | 54 private static void addDummyImeSubtypeListItems(List<ImeSubtypeListItem> items, argument 80 items.add(new ImeSubtypeListItem(imeName, null /* variableName */, imi, 85 items.add(new ImeSubtypeListItem(imeName, subtypeLocale, imi, i, subtypeLocale, 92 final List<ImeSubtypeListItem> items = new ArrayList<ImeSubtypeListItem>(); 93 addDummyImeSubtypeListItems(items, "LatinIme", "LatinIme", Arrays.asList("en_US", "fr"), 95 addDummyImeSubtypeListItems(items, "switchUnawareLatinIme", "switchUnawareLatinIme", 98 addDummyImeSubtypeListItems(items, "subtypeUnawareIme", "subtypeUnawareIme", null, 100 addDummyImeSubtypeListItems(items, "JapaneseIme", "JapaneseIme", Arrays.asList("ja_JP"), 102 addDummyImeSubtypeListItems(items, "switchUnawareJapaneseIme", "switchUnawareJapaneseIme", 104 return items; [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | AppearAnimationUtils.java | 110 private <T> AppearAnimationProperties getDelays(T[] items) { argument 114 mProperties.delays = new long[items.length][]; 115 for (int row = 0; row < items.length; row++) { 119 if (items[row] != null && delay > maxDelay) { 128 private <T> AppearAnimationProperties getDelays(T[][] items) { argument 132 mProperties.delays = new long[items.length][]; 133 for (int row = 0; row < items.length; row++) { 134 T[] columns = items[row]; 139 if (items[row][col] != null && delay > maxDelay) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QSDetailItems.java | 40 * Quick settings common detail view with line items. 123 public void setItems(Item[] items) { argument 125 mHandler.obtainMessage(H.SET_ITEMS, items).sendToTarget(); 137 private void handleSetItems(Item[] items) { argument 138 final int itemCount = items != null ? items.length : 0; 145 bind(items[i], mItems.getChildAt(i));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | BluetoothTile.java | 196 Item[] items = null; 199 items = new Item[devices.size()]; 214 items[i++] = item; 217 mItems.setItems(items);
|
H A D | CastTile.java | 194 Item[] items = null; 205 items = new Item[] { item }; 210 if (items == null) { 214 items = new Item[devices.size()]; 226 items[i++] = item; 230 mItems.setItems(items);
|
H A D | WifiTile.java | 299 Item[] items = null; 301 items = new Item[mAccessPoints.length]; 311 items[i] = item; 314 mItems.setItems(items);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
H A D | RecentsPanelView.java | 317 // mRecentTaskDescriptions != null => we've created views for the first screenful of items 626 final int items = mRecentTaskDescriptions != null 629 ((View) mRecentsContainer).setVisibility(items > 0 ? View.VISIBLE : View.GONE);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | GlobalActions.java | 478 private void addUsersToMenu(ArrayList<Action> items) { argument 509 items.add(switchToUser); 627 // only 3 items now, but may as well keep this flexible approach so it will
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActiveServices.java | 519 // start items up to and including this one. 2020 ArrayMap<ComponentName, ServiceRecord> items = smap.mServicesByName; 2022 doit, items, services);
|
H A D | ActivityManagerService.java | 13827 ArrayList<MemItem> items, boolean sort, boolean isCompact) { 13829 Collections.sort(items, new Comparator<MemItem>() { 13842 for (int i=0; i<items.size(); i++) { 13843 MemItem mi = items.get(i); 13826 dumpMemItems(PrintWriter pw, String prefix, String tag, ArrayList<MemItem> items, boolean sort, boolean isCompact) argument
|
H A D | ProviderMap.java | 224 HashMap<ComponentName, ContentProviderRecord> items 226 if (items != null) { 228 evenPersistent, userId, items, result);
|
/frameworks/base/services/core/java/com/android/server/content/ |
H A D | SyncManager.java | 1527 final ArrayList<SyncStorageEngine.SyncHistoryItem> items 1529 if (items != null && items.size() > 0) { 1533 final int N = items.size(); 1537 for (SyncStorageEngine.SyncHistoryItem item : items) { 1676 SyncStorageEngine.SyncHistoryItem item = items.get(i); 1749 final SyncStorageEngine.SyncHistoryItem item = items.get(i);
|