Searched defs:add (Results 101 - 125 of 145) sorted by relevance

123456

/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/base/core/java/android/net/
H A DNetworkStats.java121 public void add(Entry another) { method in class:NetworkStats.Entry
422 ifaces.add(iface);
H A DUri.java1003 void add(String segment) { method in class:Uri.PathSegmentsBuilder
1582 names.add(decode(name));
1635 values.add("");
1637 values.add(decode(query.substring(separator + 1, end)));
2150 segmentBuilder.add(decodedSegment);
2157 segmentBuilder.add(decode(path.substring(previous)));
/frameworks/base/libs/hwui/
H A DDeferredDisplayList.cpp70 virtual void add(DrawOp* op, const DeferredDisplayState* state, bool opaqueOverBounds) { function in class:android::uirenderer::DrawBatch
74 mOps.add(OpStatePair(op, state));
261 virtual void add(DrawOp* op, const DeferredDisplayState* state, bool opaqueOverBounds) { function in class:android::uirenderer::MergingDrawBatch
262 DrawBatch::add(op, state, opaqueOverBounds);
380 mBatches.add(new BarrierDebugBatch());
539 b->add(op, state, deferInfo.opaqueOverBounds);
540 mBatches.add(b);
552 // don't know the bounds for op, so add to last batch and start from scratch on next op
554 b->add(op, state, deferInfo.opaqueOverBounds);
555 mBatches.add(
[all...]
/frameworks/base/media/java/android/media/
H A DSubtitleTrack.java147 // add new cues
153 mActiveCues.add(cue);
304 mCues.add(cue);
409 cues.add(cue);
423 public void add(Cue cue) { method in class:SubtitleTrack.CueList
641 // add new value
/frameworks/base/services/core/java/com/android/server/media/projection/
H A DMediaProjectionManagerService.java141 mCallbackDelegate.add(callback);
263 throw new SecurityException("Requires MANAGE_MEDIA_PROJECTION in order to add "
278 throw new SecurityException("Requires MANAGE_MEDIA_PROJECTION in order to add "
296 throw new SecurityException("Requires MANAGE_MEDIA_PROJECTION in order to add "
453 mCallbackDelegate.add(callback);
507 public void add(IMediaProjectionCallback callback) { method in class:MediaProjectionManagerService.CallbackDelegate
513 public void add(IMediaProjectionWatcherCallback callback) { method in class:MediaProjectionManagerService.CallbackDelegate
/frameworks/base/services/core/java/com/android/server/wm/
H A DSession.java157 public int add(IWindow window, int seq, WindowManager.LayoutParams attrs, method in class:Session
485 mService.mSessions.add(this);
/frameworks/base/tools/aapt/
H A DZipFile.cpp115 * caller doesn't add any files. (We could also just unlink
318 mEntries.add(pEntry);
520 mEntries.add(pEntry);
539 status_t ZipFile::add(const ZipFile* pSourceZip, const ZipEntry* pSourceEntry, function in class:ZipFile
628 mEntries.add(pEntry);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeWindowSession.java41 public int add(IWindow arg0, int seq, LayoutParams arg1, int arg2, Rect arg3, Rect arg4, method in class:BridgeWindowSession
/frameworks/support/v4/java/android/support/v4/app/
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...]
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.
1150 sharedElementTargets.add(stat
[all...]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DOpReorderTest.java53 mRecycledOps.add(op);
236 add(s, nextInt(random, 50));
274 UpdateOp add(int start, int count) { method in class:OpReorderTest
284 mUpdateOps.add(op);
291 items.add(Item.create());
295 clones.add(Item.clone(items.get(i)));
366 mAddedItems.add(newItem);
367 items.add(op.positionStart + i, newItem);
372 mRemovedItems.add(items.remove(op.positionStart));
376 items.add(o
[all...]
H A DAdapterHelperTest.java137 mFirstPassUpdates.add(updateOp);
145 mSecondPassUpdates.add(updateOp);
207 mViewHolders.add(viewHolder);
243 add(2, 1);
245 add(1, 5);
266 add(0, 1);
278 add(0, 1);
285 add(6, 1);
309 add(4, 2); // 3 a b 4 5
336 add(
903 void add(int start, int count) { method in class:AdapterHelperTest
963 public void add(int index, int count) { method in class:AdapterHelperTest.TestAdapter
[all...]
H A DBaseRecyclerViewInstrumentationTest.java478 mItems.add(new Item(i, "Item " + i));
599 * Similar to other methods but negative count means delete and position count means add.
601 * For instance, calling this method with <code>[1,1], [2,-1]</code> it will first add an
635 mItems.add(to, item);
653 mItems.add(to, item);
690 add(tuple);
695 private void add(int[] tuple) { method in class:BaseRecyclerViewInstrumentationTest.TestAdapter.AddRemoveRunnable
699 mItems.add(tuple[0], new Item(i, "new item " + i));
781 mAttachedSet.add(viewHolder));
788 // when a new RV is attached, clear the set and add al
[all...]
/frameworks/base/core/java/android/app/
H A DActivityTransitionCoordinator.java258 mSharedElementNames.add(name);
259 mSharedElements.add(view);
264 mRootSharedElements.add(view);
343 names.add(mSharedElements.get(i).getTransitionName());
354 protected Transition setTargets(Transition transition, boolean add) { argument
355 if (transition == null || (add &&
365 if (add) {
376 if (!add && mTransitioningViews != null && !mTransitioningViews.isEmpty()) {
518 mSharedElementParentMatrices.add(matrix);
564 originalImageState.add(originalStat
[all...]
/frameworks/base/core/java/android/view/
H A DViewTreeObserver.java419 * @param listener The callback to add
431 mOnWindowAttachListeners.add(listener);
454 * @param listener The callback to add
466 mOnWindowFocusListeners.add(listener);
489 * @param listener The callback to add
500 mOnGlobalFocusListeners.add(listener);
524 * @param listener The callback to add
535 mOnGlobalLayoutListeners.add(listener);
574 * @param listener The callback to add
585 mOnPreDrawListeners.add(listene
1145 void add(T item) { method in class:ViewTreeObserver.CopyOnWriteArray
[all...]
/frameworks/base/core/java/android/widget/
H A DRelativeLayout.java378 graph.add(getChildAt(i));
1115 mTopToBottomLeftToRightSet.add(getChildAt(i));
1655 void add(View view) { method in class:RelativeLayout.DependencyGraph
1663 mNodes.add(node);
1695 roots.add(dependent);
H A DRemoteViewsAdapter.java330 public void add(int position, RemoteViewsFrameLayout layout) { method in class:RemoteViewsAdapter.RemoteViewsFrameLayoutRefSet
344 refs.add(layout);
705 mRequestedIndices.add(position);
706 mLoadIndices.add(position);
735 mLoadIndices.add(i);
1222 mRequestedViews.add(position, loadingView);
1318 window.add(i);
1324 window.add(i);
1327 window.add(i);
/frameworks/base/core/java/com/android/internal/util/
H A DStateMachine.java571 * add which adds a record.
584 * private constructor use add
658 synchronized void add(StateMachine sm, Message msg, String messageInfo, IState state, method in class:StateMachine.LogRecords
662 mLogRecVector.add(new LogRec(sm, msg, messageInfo, state, orgState, transToState));
829 mLogRecords.add(mSm, mMsg, mSm.getLogRecString(mMsg), msgProcessedState,
834 mLogRecords.add(mSm, mMsg, mSm.getLogRecString(mMsg), msgProcessedState, orgState,
1129 * @param state the state to add
1142 // Recursively add our parent as it's not been added yet.
1198 mDeferredMessages.add(newMsg);
1277 * @param state the state to add
[all...]
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuBuilder.java212 * @param presenter The presenter to add
224 * @param presenter The presenter to add
228 mPresenters.add(new WeakReference<MenuPresenter>(presenter));
403 * Adds an item to the menu. The other add methods funnel to this.
416 mItems.add(findInsertIndex(mItems, ordering), item);
429 public MenuItem add(CharSequence title) { method in class:MenuBuilder
433 public MenuItem add(int titleRes) { method in class:MenuBuilder
437 public MenuItem add(int group, int id, int categoryOrder, CharSequence title) { method in class:MenuBuilder
441 public MenuItem add(int group, int id, int categoryOrder, int title) { method in class:MenuBuilder
483 final MenuItem item = add(grou
[all...]
/frameworks/base/core/java/com/google/android/util/
H A DAbstractMessageParser.java237 parts.add(new Part());
239 lastPart().add(token);
702 info.add(getType().toString());
783 info.add(getTrack());
803 info.add(getURL());
804 info.add(getRawText());
840 info.add(getRssUrl(docid));
841 info.add(getURL(docid));
899 info.add(getRssUrl(docid));
900 info.add(getUR
1470 public void add(Token token) { method in class:AbstractMessageParser.Part
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DElement.java1034 public Builder add(Element element, String name, int arraySize) { method in class:Element.Builder
1077 public Builder add(Element element, String name) { method in class:Element.Builder
1078 return add(element, name, 1);
/frameworks/opt/net/voip/src/jni/rtp/
H A DAudioGroup.cpp480 bool add(AudioStream *stream);
670 bool AudioGroup::add(AudioStream *stream) function in class:__anon1453::AudioGroup
939 jlong add(JNIEnv *env, jobject thiz, jint mode, function in namespace:__anon1453
1007 if (!group->add(stream)) {
1009 "cannot add audio stream");
1054 {"nativeAdd", "(IILjava/lang/String;ILjava/lang/String;I)J", (void *)add},
/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/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...]

Completed in 356 milliseconds

123456