/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
H A D | BiDiTestBasic.java | 35 private String[] items = {"This is a very very very very very very very very very very very long Item1", "Item2"}; field in class:BiDiTestBasic 60 builder.setSingleChoiceItems(items, 0, null);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | Menu.java | 31 public List<Item> items; field in class:Menu 44 items = new ArrayList<Item>(); 60 // rebuild items list. 61 items = new ArrayList<Item>(); 65 items.add(item); 84 // write items list to the parcel. 85 int size = items.size(); 88 dest.writeParcelable(items.get(i), flags);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | ArrayObjectAdapter.java | 34 * Construct an adapter that uses the given {@link Presenter} for all items. 70 * Notify that the content of a range of items changed. Note that this is 71 * not same as items being added or removed. 74 * @param itemCount The count of how many items have changed. 105 * @param index The index at which the items should be inserted. 106 * @param items A {@link Collection} of items to insert. 108 public void addAll(int index, Collection items) { argument 109 int itemsCount = items.size(); 113 mItems.addAll(index, items); [all...] |
/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 | 119 private <T> AppearAnimationProperties getDelays(T[] items) { argument 123 mProperties.delays = new long[items.length][]; 124 for (int row = 0; row < items.length; row++) { 128 if (items[row] != null && delay > maxDelay) { 137 private <T> AppearAnimationProperties getDelays(T[][] items) { argument 141 mProperties.delays = new long[items.length][]; 142 for (int row = 0; row < items.length; row++) { 143 T[] columns = items[row]; 148 if (items[row][col] != null && delay > maxDelay) {
|
/frameworks/base/core/java/android/net/ |
H A D | SSLCertificateSocketFactory.java | 305 static byte[] toLengthPrefixedList(byte[]... items) { argument 306 if (items.length == 0) { 307 throw new IllegalArgumentException("items.length == 0"); 310 for (byte[] s : items) { 318 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/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QSDetailItems.java | 40 * Quick settings common detail view with line items. 141 public void setItems(Item[] items) { argument 143 mHandler.obtainMessage(H.SET_ITEMS, items).sendToTarget(); 155 private void handleSetItems(Item[] items) { argument 156 final int itemCount = items != null ? Math.min(items.length, mMaxItems) : 0; 163 bind(items[i], mItems.getChildAt(i));
|
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
H A D | TestGrouping.java | 169 private <T> List<T> select(Collection<T> items, Predicate<T> predicate) { argument 171 for (T item : items) {
|
/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/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/services/core/java/com/android/server/notification/ |
H A D | ConditionProviders.java | 407 private static <T> ArraySet<T> safeSet(T... items) { argument 409 if (items == null || items.length == 0) return rt; 410 final int N = items.length; 412 final T item = items[i];
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | GridLayoutManagerTest.java | 400 assertTrue("some items should be cached", ssl.mSpanIndexCache.size() > 0); 426 assertEquals("all items should get max height", 150, 431 assertEquals("all items should have measured the max height", 150, 452 assertEquals("all items should get max width", 150, 457 assertEquals("all items should have measured the max width", 150, 670 void setFullSpan(int... items) { argument 671 for (int i : items) {
|
H A D | OpReorderTest.java | 289 List<Item> items = new ArrayList<Item>(itemCount); 291 items.add(Item.create()); 295 clones.add(Item.clone(items.get(i))); 301 apply(items, mUpdateOps); 312 assertListsIdentical(items, clones); 316 assertRecycledOpsAreNotReused(items); 320 private void assertRecycledOpsAreNotReused(List<Item> items) { argument 321 for (Item item : items) { 337 private void assertHasTheSameItems(List<Item> items, argument 339 String log = "has the same items\ 352 assertListsIdentical(List<Item> items, List<Item> clones) argument 360 apply(List<Item> items, List<UpdateOp> updateOps) argument 576 toString(List<Item> items) argument [all...] |
/frameworks/wilhelm/tests/native-media/jni/ |
H A D | native-media-jni.c | 317 XAAndroidBufferItem items[1]; local 318 items[0].itemKey = XA_ANDROID_ITEMKEY_DISCONTINUITY; 319 items[0].itemSize = 0; 324 dataCache + i*BUFFER_SIZE, BUFFER_SIZE, items /*pMsg*/,
|
/frameworks/base/core/java/android/app/ |
H A D | AlertDialog.java | 632 * Set a list of items to be displayed in the dialog as the content, you will be notified of the 644 * Set a list of items to be displayed in the dialog as the content, you will be notified of the 649 public Builder setItems(CharSequence[] items, final OnClickListener listener) { argument 650 P.mItems = items; 656 * Set a list of items, which are supplied by the given {@link ListAdapter}, to be 660 * @param adapter The {@link ListAdapter} to supply the list of items 672 * Set a list of items, which are supplied by the given {@link Cursor}, to be 676 * @param cursor The {@link Cursor} to supply the list of items 692 * Set a list of items to be displayed in the dialog as the content, 700 * @param checkedItems specifies which items ar 735 setMultiChoiceItems(CharSequence[] items, boolean[] checkedItems, final OnMultiChoiceClickListener listener) argument 837 setSingleChoiceItems(CharSequence[] items, int checkedItem, final OnClickListener listener) argument [all...] |
/frameworks/base/tools/aidl/ |
H A D | aidl.cpp | 249 check_filenames(const char* filename, document_item_type* items) argument 252 while (items) { 253 if (items->item_type == USER_DATA_TYPE) { 254 user_data_type* p = (user_data_type*)items; 257 else if (items->item_type == INTERFACE_TYPE_BINDER 258 || items->item_type == INTERFACE_TYPE_RPC) { 259 interface_type* c = (interface_type*)items; 264 items->item_type); 267 items = items 301 gather_types(const char* filename, document_item_type* items) argument 550 check_types(const char* filename, document_item_type* items) argument 590 exactly_one_interface(const char* filename, const document_item_type* items, const Options& options, bool* onlyParcelable) argument 634 generate_dep_file(const Options& options, const document_item_type* items) argument 724 generate_outputFileName(const Options& options, const document_item_type* items) argument [all...] |
/frameworks/wilhelm/tests/sandbox/ |
H A D | xaplay.c | 169 const XAAndroidBufferItem *items; local 183 items = &eos; 190 items = &discontinuity; 196 items = &formatChange; 198 // pure data with no items 200 items = NULL; 204 // enqueue the optional data and optional items; there is always at least one or the other 207 sizeof(MPEG2TS_Packet) * packetsThisBuffer, items, itemSize);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
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...] |
/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/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
H A D | MenuBuilder.java | 94 * Contains all of the items for this menu 99 * Contains only the items that are currently visible. This will be created/refreshed from 105 * Whether or not the items (or any one item's shown state) has changed since it was last 111 * Contains only the items that should appear in the Action Bar, if present. 116 * Contains items that should NOT appear in the Action Bar, if present. 121 * Whether or not the items (or any one item's action state) has changed since it was last 127 * Default value for how added items should show in the action list. 134 * all items added to this menu. 202 * Called by menu items to execute their associated action 242 * inflating menu items 814 findInsertIndex(ArrayList<MenuItemImpl> items, int ordering) argument 849 findItemsWithShortcutForKey(List<MenuItemImpl> items, int keyCode, KeyEvent event) argument [all...] |
/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/minikin/libs/minikin/ |
H A D | Layout.cpp | 655 vector<FontCollection::Run> items; local 656 mCollection->itemize(buf + start, count, ctx->style, &items); 658 std::reverse(items.begin(), items.end()); 690 for (size_t run_ix = 0; run_ix < items.size(); run_ix++) { 691 FontCollection::Run &run = items[run_ix];
|
/frameworks/base/tools/aapt/ |
H A D | ResourceTable.cpp | 3662 // Create correct ordering of items. 3663 KeyedVector<uint32_t, const Item*> items; local 3666 items.add(it.bagKeyId, &it); 3668 N = items.size(); 3682 const Item& it = *items.valueAt(i); 4524 // Remove all items that have a higher SDK level than
|