Searched defs:get (Results 1 - 25 of 310) sorted by last modified time

1234567891011>>

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DArrayObjectAdapter.java55 public Object get(int index) { method in class:ArrayObjectAdapter
56 return mItems.get(index);
H A DCursorObjectAdapter.java137 public Object get(int index) { method in class:CursorObjectAdapter
144 Object item = mItemCache.get(index);
173 * from the data source the next time (@link #get(int)} is called.
H A DObjectAdapter.java77 mObservers.get(i).onChanged();
83 mObservers.get(i).onItemRangeChanged(positionStart, itemCount);
89 mObservers.get(i).onItemRangeInserted(positionStart, itemCount);
95 mObservers.get(i).onItemRangeRemoved(positionStart, itemCount);
242 public abstract Object get(int position); method in class:ObjectAdapter
H A DSparseArrayObjectAdapter.java40 public Object get(int position) { method in class:SparseArrayObjectAdapter
124 return mItems.get(key);
/frameworks/support/v4/java/android/support/v4/content/
H A DModernAsyncTask.java136 final Result result = get();
155 final boolean wasTaskInvoked = mTaskInvoked.get();
325 public final Result get() throws InterruptedException, ExecutionException { method in class:ModernAsyncTask
326 return mFuture.get();
344 public final Result get(long timeout, TimeUnit unit) throws InterruptedException, method in class:ModernAsyncTask
346 return mFuture.get(timeout, unit);
/frameworks/support/v4/java/android/support/v4/util/
H A DCircularArray.java237 public E get(int n) { method in class:CircularArray
H A DCircularIntArray.java194 public int get(int n) { method in class:CircularIntArray
H A DLongSparseArray.java95 public E get(long key) { method in class:LongSparseArray
96 return get(key, null);
104 public E get(long key, E valueIfKeyNotFound) { method in class:LongSparseArray
H A DLruCache.java77 public final V get(K key) { method in class:LruCache
84 mapValue = map.get(key);
293 * Returns the number of times {@link #get} returned a value that was
301 * Returns the number of times {@link #get} returned null or required a new
H A DSimpleArrayMap.java322 public V get(Object key) { method in class:SimpleArrayMap
545 Object theirs = map.get(key);
570 Object theirs = map.get(key);
H A DSparseArrayCompat.java75 public E get(int key) { method in class:SparseArrayCompat
76 return get(key, null);
84 public E get(int key, E valueIfKeyNotFound) { method in class:SparseArrayCompat
/frameworks/support/v4/java/android/support/v4/widget/
H A DFocusStrategy.java43 sortedFocusables.add(collectionAdapter.get(focusables, i));
67 return focusables.get(position);
69 return focusables.get(0);
82 return focusables.get(position);
84 return focusables.get(count - 1);
169 final T focusable = collectionAdapter.get(focusables, i);
174 // get focus bounds of other view
451 V get(T collection, int index); method in interface:FocusStrategy.CollectionAdapter
/frameworks/support/v7/appcompat/src/android/support/v7/view/
H A DActionBarPolicy.java40 public static ActionBarPolicy get(Context context) { method in class:ActionBarPolicy
79 return !ViewConfigurationCompat.hasPermanentMenuKey(ViewConfiguration.get(mContext));
106 // Older apps get the home button interaction enabled by default.
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DActivityChooserModel.java74 * ActivityChooserModel.get(context, "task_specific_history_file_name.xml");
330 public static ActivityChooserModel get(Context context, String historyFileName) { method in class:ActivityChooserModel
332 ActivityChooserModel dataModel = sDataModelRegistry.get(historyFileName);
413 return mActivities.get(index).resolveInfo;
430 ActivityResolveInfo currentActivity = activities.get(i);
465 ActivityResolveInfo chosenActivity = mActivities.get(index);
516 return mActivities.get(0).resolveInfo;
536 ActivityResolveInfo newDefaultActivity = mActivities.get(index);
537 ActivityResolveInfo oldDefaultActivity = mActivities.get(0);
695 ResolveInfo resolveInfo = resolveInfos.get(
[all...]
H A DAppCompatDrawableManager.java80 public static AppCompatDrawableManager get() { method in class:AppCompatDrawableManager
292 final String cachedTagName = mKnownDrawableIdTags.get(resId);
294 || (cachedTagName != null && mDelegates.get(cachedTagName) == null)) {
346 final InflateDelegate delegate = mDelegates.get(tagName);
377 = mDrawableCaches.get(context);
382 final WeakReference<ConstantState> wr = cache.get(key);
385 ConstantState entry = wr.get();
402 LongSparseArray<WeakReference<ConstantState>> cache = mDrawableCaches.get(context);
482 if (mDelegates != null && mDelegates.get(tagName) == delegate) {
546 final SparseArray<ColorStateList> tints = mTintLists.get(contex
612 PorterDuffColorFilter get(int color, PorterDuff.Mode mode) { method in class:AppCompatDrawableManager.ColorFilterLruCache
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
H A DSortedList.java65 * The callback instance that controls the behavior of the SortedList and get notified when
437 T item = get(index);
467 * If the new object is a different object (<code>get(index) != item</code>) and
482 final T existing = get(index);
537 final T item = get(index);
554 public T get(int index) throws IndexOutOfBoundsException { method in class:SortedList
556 throw new IndexOutOfBoundsException("Asked to get item at " + index + " but size is "
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DChildHelper.java34 * methods like get getUnfilteredChildCount or getUnfilteredChildAt.
123 while (mBucket.get(offset)) { // ensure this offset is not hidden
190 mCallback.onLeftHiddenState(mHiddenViews.get(i));
209 final View view = mHiddenViews.get(i);
301 if (mBucket.get(index)) {
303 throw new IllegalArgumentException("cannot get index of a hidden child");
332 if (DEBUG && mBucket.get(offset)) {
354 if (!mBucket.get(offset)) {
380 if (mBucket.get(index)) {
431 boolean get(in method in class:ChildHelper.Bucket
[all...]
H A DPositionMap.java77 public E get(int key) { method in class:PositionMap
78 return get(key, null);
86 public E get(int key, E valueIfKeyNotFound) { method in class:PositionMap
H A DRecyclerView.java496 final ViewConfiguration vc = ViewConfiguration.get(context);
855 final ViewConfiguration vc = ViewConfiguration.get(getContext());
2179 * same View may still get the focus as a result of that search.
2241 // get item decor offsets w/o refreshing. If they are invalid, there will be another
2393 final OnItemTouchListener listener = mOnItemTouchListeners.get(i);
2423 final OnItemTouchListener listener = mOnItemTouchListeners.get(i);
2437 // A child view e.g. a button may still get the click.
2497 mScrollPointerId + " not found. Did any MotionEvents get skipped?");
2541 final OnItemTouchListener listener = mOnItemTouchListeners.get(i);
2604 mScrollPointerId + " not found. Did any MotionEvents get skippe
10612 public <T> T get(int resourceId) { method in class:RecyclerView.State
[all...]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DLinearLayoutManagerSavedStateTest.java55 public WrappedLinearLayoutManager get() {
61 public TestAdapter get() {
67 public WrappedLinearLayoutManager get() {
73 public TestAdapter get() {
355 return mLayoutManagerDelegate.get();
358 return mTestAdapterDelegate.get();
390 return mLayoutManagerDelegate.get();
393 return mTestAdapterDelegate.get();
416 T get(); method in interface:LinearLayoutManagerSavedStateTest.Delegate
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DMatrix2f.java67 public float get(int x, int y) { method in class:Matrix2f
141 float rhs_ij = rhs.get(i,j);
142 ri0 += lhs.get(j,0) * rhs_ij;
143 ri1 += lhs.get(j,1) * rhs_ij;
H A DMatrix3f.java67 public float get(int x, int y) { method in class:Matrix3f
216 float rhs_ij = rhs.get(i,j);
217 ri0 += lhs.get(j,0) * rhs_ij;
218 ri1 += lhs.get(j,1) * rhs_ij;
219 ri2 += lhs.get(j,2) * rhs_ij;
H A DMatrix4f.java67 public float get(int x, int y) { method in class:Matrix4f
233 float rhs_ij = rhs.get(i,j);
234 ri0 += lhs.get(j,0) * rhs_ij;
235 ri1 += lhs.get(j,1) * rhs_ij;
236 ri2 += lhs.get(j,2) * rhs_ij;
237 ri3 += lhs.get(j,3) * rhs_ij;
H A DScriptGroup.java259 Future f = mGlobalFuture.get(field);
266 Object obj = mBindings.get(field);
391 Object get() { return mValue; } method in class:ScriptGroup.Input
417 closureIDs[i] = closures.get(i).getID(rs);
450 Input unbound = mInputs2.get(i);
461 output = ((Input)output).get();
536 Node n = mNodes.get(ct);
538 ConnectLine l = n.mOutputs.get(ct2);
550 if (n.mOutputs.get(ct3).mFrom == l.mFrom) {
551 n.mOutputs.get(ct
[all...]
/frameworks/volley/src/main/java/com/android/volley/
H A DCache.java31 public Entry get(String key); method in interface:Cache

Completed in 278 milliseconds

1234567891011>>