Searched defs:add (Results 1 - 25 of 145) sorted by last modified time

123456

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DArrayObjectAdapter.java83 * @param item The item to add to the end of the adapter.
85 public void add(Object item) { method in class:ArrayObjectAdapter
86 add(mItems.size(), item);
95 public void add(int index, Object item) { method in class:ArrayObjectAdapter
96 mItems.add(index, item);
/frameworks/support/v4/gingerbread/android/support/v4/app/
H A DNotificationCompatGingerbread.java24 public static Notification add(Notification notification, Context context, method in class:NotificationCompatGingerbread
/frameworks/support/v4/honeycomb/android/support/v4/app/
H A DNotificationCompatHoneycomb.java26 static Notification add(Context context, Notification n, method in class:NotificationCompatHoneycomb
/frameworks/support/v4/ics/android/support/v4/app/
H A DNotificationCompatIceCreamSandwich.java26 static Notification add(Context context, Notification n, method in class:NotificationCompatIceCreamSandwich
/frameworks/support/v4/java/android/support/v4/app/
H A DBackStackRecord.java137 op.removed.add(r);
400 public FragmentTransaction add(Fragment fragment, String tag) { method in class:BackStackRecord
405 public FragmentTransaction add(int containerViewId, Fragment fragment) { method in class:BackStackRecord
410 public FragmentTransaction add(int containerViewId, Fragment fragment, String tag) { method in class:BackStackRecord
531 mSharedElementSourceNames.add(transitionName);
532 mSharedElementTargetNames.add(name);
689 op.removed.add(old);
1021 // any views by default. They'll only target the views we tell add. If we don't
1022 // add any, then no views will be targeted.
1151 sharedElementTargets.add(stat
[all...]
H A DFragmentTransaction.java40 * Calls {@link #add(int, Fragment, String)} with a 0 containerViewId.
42 public abstract FragmentTransaction add(Fragment fragment, String tag); method in class:FragmentTransaction
45 * Calls {@link #add(int, Fragment, String)} with a null tag.
47 public abstract FragmentTransaction add(@IdRes int containerViewId, Fragment fragment); method in class:FragmentTransaction
64 public abstract FragmentTransaction add(@IdRes int containerViewId, Fragment fragment, method in class:FragmentTransaction
76 * and then {@link #add(int, Fragment, String)} with the same arguments
H A DShareCompat.java344 private void combineArrayExtra(String extra, ArrayList<String> add) { argument
347 String[] finalAddresses = new String[currentLength + add.size()];
348 add.toArray(finalAddresses);
350 System.arraycopy(currentAddresses, 0, finalAddresses, add.size(), currentLength);
355 private void combineArrayExtra(String extra, String[] add) { argument
360 String[] result = new String[oldLength + add.length];
362 System.arraycopy(add, 0, result, oldLength, add.length);
382 * ShareCompat.configureMenuItem()} to add a Share item to the menu while
496 mStreams.add(currentStrea
[all...]
/frameworks/support/v4/java/android/support/v4/util/
H A DMapCollections.java165 public boolean add(Map.Entry<K, V> object) { method in class:MapCollections.EntrySet
268 public boolean add(K object) { method in class:MapCollections.KeySet
356 public boolean add(V object) { method in class:MapCollections.ValuesCollection
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DMenuBuilder.java234 * @param presenter The presenter to add
246 * @param presenter The presenter to add
250 mPresenters.add(new WeakReference<MenuPresenter>(presenter));
425 * Adds an item to the menu. The other add methods funnel to this.
438 mItems.add(findInsertIndex(mItems, ordering), item);
451 public MenuItem add(CharSequence title) { method in class:MenuBuilder
456 public MenuItem add(int titleRes) { method in class:MenuBuilder
461 public MenuItem add(int group, int id, int categoryOrder, CharSequence title) { method in class:MenuBuilder
466 public MenuItem add(int group, int id, int categoryOrder, int title) { method in class:MenuBuilder
513 final MenuItem item = add(grou
[all...]
H A DMenuWrapperICS.java34 public MenuItem add(CharSequence title) { method in class:MenuWrapperICS
35 return getMenuItemWrapper(mWrappedObject.add(title));
39 public MenuItem add(int titleRes) { method in class:MenuWrapperICS
40 return getMenuItemWrapper(mWrappedObject.add(titleRes));
44 public MenuItem add(int groupId, int itemId, int order, CharSequence title) { method in class:MenuWrapperICS
45 return getMenuItemWrapper(mWrappedObject.add(groupId, itemId, order, title));
49 public MenuItem add(int groupId, int itemId, int order, int titleRes) { method in class:MenuWrapperICS
50 return getMenuItemWrapper(mWrappedObject.add(groupId, itemId, order, titleRes));
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DOpReorderer.java81 // going in reverse, first revert the effect of add
97 // now affect of add is consumed. now apply effect of first remove
155 list.add(movePos, extraRm);
159 private void swapMoveAdd(List<UpdateOp> list, int move, UpdateOp moveOp, int add, argument
162 // going in reverse, first revert the effect of add
177 list.set(add, moveOp);
184 // going in reverse, first revert the effect of add
188 // moved item is updated. add an update for it
192 // now affect of add is consumed. now apply effect of first remove
209 list.add(mov
[all...]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DAdapterHelperTest.java136 mFirstPassUpdates.add(updateOp);
144 mSecondPassUpdates.add(updateOp);
205 mViewHolders.add(viewHolder);
241 add(2, 1);
243 add(1, 5);
264 add(0, 1);
276 add(0, 1);
283 add(6, 1);
307 add(4, 2); // 3 a b 4 5
334 add(
896 void add(int start, int count) { method in class:AdapterHelperTest
956 public void add(int index, int count) { method in class:AdapterHelperTest.TestAdapter
[all...]
H A DBaseRecyclerViewInstrumentationTest.java417 mItems.add(new Item(i, "Item " + i));
514 * Similar to other methods but negative count means delete and position count means add.
516 * For instance, calling this method with <code>[1,1], [2,-1]</code> it will first add an
544 mItems.add(to, item);
576 add(tuple);
581 private void add(int[] tuple) { method in class:BaseRecyclerViewInstrumentationTest.TestAdapter.AddRemoveRunnable
585 mItems.add(tuple[0], new Item(i, "new item " + i));
H A DOpReorderTest.java53 mRecycledOps.add(op);
192 Log.d(TAG, "running random move add test " + i);
239 add(s, nextInt(random, 50));
277 UpdateOp add(int start, int count) { method in class:OpReorderTest
287 mUpdateOps.add(op);
294 items.add(Item.create());
298 clones.add(Item.clone(items.get(i)));
369 mAddedItems.add(newItem);
370 items.add(op.positionStart + i, newItem);
375 mRemovedItems.add(item
[all...]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DElement.java950 public Builder add(Element element, String name, int arraySize) { method in class:Element.Builder
952 mT.add(element, name, arraySize);
999 public Builder add(Element element, String name) { method in class:Element.Builder
1000 return add(element, name, 1);
H A DElementThunker.java293 public void add(Element e, String name, int arraySize) { method in class:ElementThunker.BuilderThunker
296 mN.add(et.mN, name, arraySize);
/frameworks/testing/espresso/libs/
H A Ddagger-1.2.1.jar ... .Collection) java.util.Collection c public boolean add (java.lang.Object) Object e public boolean offer ...
H A Dguava-14.0.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META-INF/maven/com. ...
/frameworks/testing/support/src/android/support/test/internal/runner/
H A DClassPathScanner.java73 public void add(ClassNameFilter filter) { method in class:ClassPathScanner.ChainedClassNameFilter
74 mFilters.add(filter);
160 mApkPaths.add(apkPath);
177 entryNames.add(apkClassName);
H A DTestRequestBuilder.java400 mClassMethodFilter.add(testClassName, testMethodName);
438 public void add(String className, String methodName) { method in class:TestRequestBuilder.ClassAndMethodFilter
444 mf.add(methodName);
492 public void add(String methodName) { method in class:TestRequestBuilder.MethodFilter
493 mMethodNames.add(methodName);
612 filter.add(new ExternalClassNameFilter());
615 filter.add(new InclusivePackageNameFilter(mTestPackageName));
/frameworks/volley/src/com/android/volley/
H A DRequestQueue.java34 * Calling {@link #add(Request)} will enqueue the given Request for dispatch,
216 public <T> Request<T> add(Request<T> request) { method in class:RequestQueue
217 // Tag the request as belonging to this queue and add it to the set of current requests.
220 mCurrentRequests.add(request);
225 request.addMarker("add-to-queue");
229 mNetworkQueue.add(request);
242 stagedRequests.add(request);
251 mCacheQueue.add(request);
H A DVolleyLog.java125 public synchronized void add(String name, long threadId) { method in class:VolleyLog.MarkerLog
130 mMarkers.add(new Marker(name, threadId, SystemClock.elapsedRealtime()));
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipPhone.java489 mConnections.add(c);
523 mConnections.add(c);
614 // in that.connections will be removed in add(SipConnection).
619 add(conn);
627 private void add(SipConnection conn) { method in class:SipPhone.SipCall
628 if (SC_DBG) log("add:");
633 mConnections.add(conn);
972 call.add(this);
/frameworks/rs/cpp/
H A DElement.cpp366 void Element::Builder::add(android::RSC::sp</*const*/ Element>e, std::string &name, uint32_t arraySize) { function in class:Element::Builder
H A DScriptIntrinsics.cpp252 float add[4] = {0.f, 0.f, 0.f, 0.f}; local
253 setAdd(add);
285 void ScriptIntrinsicColorMatrix::setAdd(float* add) { argument
286 Script::setVar(1, (void*)add, sizeof(float) * 4);
463 fp.add(r);
464 fp.add(g);
465 fp.add(b);
466 fp.add(a);

Completed in 639 milliseconds

123456