Searched defs:get (Results 76 - 100 of 117) sorted by relevance

12345

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
H A DSparseWeakArray.java72 public E get(int key) { method in class:SparseWeakArray
73 return get(key, null);
80 public E get(int key, E valueIfKeyNotFound) { method in class:SparseWeakArray
83 if (i < 0 || mValues[i] == DELETED || mValues[i].get() == null) {
86 return (E) mValues[i].get();
132 if (val != DELETED && val.get() != null) {
171 if (i < mSize && (mValues[i] == DELETED || mValues[i].get() == null)) {
245 return (E) mValues[index].get();
288 if (mValues[i].get() == value)
345 if (mValues[i].get()
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DHCSparseArray.java51 public E get(int key) { method in class:HCSparseArray
52 return get(key, null);
59 public E get(int key, E valueIfKeyNotFound) { method in class:HCSparseArray
/frameworks/support/v4/java/android/support/v4/util/
H A DLruCache.java61 public final V get(K key) { method in class:LruCache
68 mapValue = map.get(key);
274 * Returns the number of times {@link #get} returned a value.
281 * Returns the number of times {@link #get} returned null or required a new
/frameworks/base/core/java/android/content/res/
H A DStringBlock.java61 public CharSequence get(int idx) { method in class:StringBlock
69 CharSequence res = mSparseStrings.get(idx);
351 // Should not get called, at least not by StaticLayout.
/frameworks/base/core/java/android/net/
H A DLinkCapabilities.java230 public String get(int key) { method in class:LinkCapabilities
231 return mCapabilities.get(key);
/frameworks/base/core/java/android/nfc/tech/
H A DMifareClassic.java32 * <p>Acquire a {@link MifareClassic} object using {@link #get}.
135 public static MifareClassic get(Tag tag) { method in class:MifareClassic
148 NfcA a = NfcA.get(tag); // MIFARE Classic is always based on NFC a
H A DNdef.java35 * <p>Acquire a {@link Ndef} object using {@link #get}.
146 public static Ndef get(Tag tag) { method in class:Ndef
/frameworks/base/core/java/android/os/
H A DAsyncTask.java272 final Result result = get();
291 final boolean wasTaskInvoked = mTaskInvoked.get();
461 public final Result get() throws InterruptedException, ExecutionException { method in class:AsyncTask
462 return mFuture.get();
480 public final Result get(long timeout, TimeUnit unit) throws InterruptedException, method in class:AsyncTask
482 return mFuture.get(timeout, unit);
H A DBundle.java274 public Object get(String key) { method in class:Bundle
276 return mMap.get(key);
349 if ((array.get(n).describeContents()
360 && (array.get(0) instanceof Parcelable)) {
362 Parcelable p = (Parcelable) array.get(n);
796 Object o = mMap.get(key);
829 Object o = mMap.get(key);
862 Object o = mMap.get(key);
895 Object o = mMap.get(key);
928 Object o = mMap.get(ke
[all...]
/frameworks/base/core/java/android/widget/
H A DAbsSpinner.java189 View view = mRecycler.get(selectedPosition);
442 View get(int position) { method in class:AbsSpinner.RecycleBin
444 View result = mScrapHeap.get(position);
H A DActivityChooserModel.java79 * ActivityChooserModel.get(context, "task_specific_history_file_name.xml");
342 public static ActivityChooserModel get(Context context, String historyFileName) { method in class:ActivityChooserModel
344 ActivityChooserModel dataModel = sDataModelRegistry.get(historyFileName);
424 return mActivites.get(index).resolveInfo;
439 ActivityResolveInfo currentActivity = activities.get(i);
465 ActivityResolveInfo chosenActivity = mActivites.get(index);
512 return mActivites.get(0).resolveInfo;
529 ActivityResolveInfo newDefaultActivity = mActivites.get(index);
530 ActivityResolveInfo oldDefaultActivity = mActivites.get(0);
730 ResolveInfo resolveInfo = resolveInfos.get(
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DTypedProperties.java402 public Object get(Object key) { method in class:TypedProperties
403 Object value = super.get(key);
415 * An unchecked exception that is thrown if a {@code get<TYPE>()} method
435 Object value = super.get(property);
455 Object value = super.get(property);
475 Object value = super.get(property);
495 Object value = super.get(property);
515 Object value = super.get(property);
535 Object value = super.get(property);
555 Object value = super.get(propert
[all...]
/frameworks/base/graphics/java/android/renderscript/
H A DMatrix4f.java67 public float get(int i, int j) { method in class:Matrix4f
205 float rhs_ij = rhs.get(i,j);
206 ri0 += lhs.get(j,0) * rhs_ij;
207 ri1 += lhs.get(j,1) * rhs_ij;
208 ri2 += lhs.get(j,2) * rhs_ij;
209 ri3 += lhs.get(j,3) * rhs_ij;
/frameworks/base/libs/utils/
H A DBlobCache.cpp133 size_t BlobCache::get(const void* key, size_t keySize, void* value, function in class:android::BlobCache
136 LOGV("get: not searching because the key is too large: %d (limit %d)",
144 LOGV("get: no cache entry found for key of size %d", keySize);
153 LOGV("get: copying %d bytes to caller's buffer", valueBlobSize);
156 LOGV("get: caller's buffer is too small for value: %d (needs %d)",
/frameworks/base/media/java/android/media/
H A DCamcorderProfile.java205 * @see #get(int, int)
207 public static CamcorderProfile get(int quality) { method in class:CamcorderProfile
213 return get(i, quality);
258 public static CamcorderProfile get(int cameraId, int quality) { method in class:CamcorderProfile
/frameworks/base/opengl/libs/EGL/
H A Degl_cache.cpp59 egl_cache_t::get()->setBlob(key, keySize, value, valueSize);
64 return egl_cache_t::get()->getBlob(key, keySize, value, valueSize);
80 egl_cache_t* egl_cache_t::get() { function in class:android::egl_cache_t
105 "but unable to get eglSetBlobCacheFuncsANDROID", i);
151 egl_cache_t* c = egl_cache_t::get();
181 return bc->get(key, keySize, value, valueSize);
H A Degl_object.h59 static bool get(egl_display_t const* display, egl_object_t* object);
72 if (o && egl_object_t::get(display, native)) {
76 inline N* get() { function in class:android::egl_object_t::LocalRef
130 ANativeWindow* const window = win.get();
/frameworks/support/v4/java/android/support/v4/content/
H A DModernAsyncTask.java131 final Result result = get();
150 final boolean wasTaskInvoked = mTaskInvoked.get();
320 public final Result get() throws InterruptedException, ExecutionException { method in class:ModernAsyncTask
321 return mFuture.get();
339 public final Result get(long timeout, TimeUnit unit) throws InterruptedException, method in class:ModernAsyncTask
341 return mFuture.get(timeout, unit);
/frameworks/base/core/java/android/provider/
H A DBrowserContract.java430 * @see android.provider.SyncStateContract.Helpers#get
432 public static byte[] get(ContentProviderClient provider, Account account) method in class:BrowserContract.SyncState
434 return SyncStateContract.Helpers.get(provider, CONTENT_URI, account);
438 * @see android.provider.SyncStateContract.Helpers#get
/frameworks/base/core/java/android/view/
H A DKeyCharacterMap.java178 KeyCharacterMap map = sInstances.get(deviceId);
219 public int get(int keyCode, int metaState) { method in class:KeyCharacterMap
223 int map = COMBINING.get(ch);
339 return DEAD.get((accent << 16) | c);
346 * {@link KeyCharacterMap#getNumber(int)} and {@link KeyCharacterMap#get(int, int)}.
362 * (the same ones used for {@link #get} and defined as
383 * {@link KeyCharacterMap#getNumber(int)} or {@link KeyCharacterMap#get(int, int)}.
571 * This bit will be set in the return value of {@link #get(int, int)} if the
576 * Mask the return value from {@link #get(int, int)} with this value to get
[all...]
H A DViewConfiguration.java248 * @deprecated Use {@link android.view.ViewConfiguration#get(android.content.Context)} instead.
276 * @see #get(android.content.Context)
330 public static ViewConfiguration get(Context context) { method in class:ViewConfiguration
334 ViewConfiguration configuration = sConfigurations.get(density);
/frameworks/base/core/java/android/webkit/
H A DHTML5Audio.java90 // given WebView. Queries the WebView on the UI thread. Calls to get()
107 synchronized boolean get() { method in class:HTML5Audio.IsPrivateBrowsingEnabledGetter
216 url, mIsPrivateBrowsingEnabledGetter.get());
222 if (mIsPrivateBrowsingEnabledGetter.get()) {
/frameworks/base/voip/java/android/net/sip/
H A DSimpleSessionDescription.java291 return super.get("a=fmtp:" + format, ' ');
334 return super.get("a=rtpmap:" + type, ' ');
342 return super.get("a=fmtp:" + type, ' ');
401 String address = get("c", '=');
429 String encryption = get("k", '=');
441 String encryption = get("k", '=');
470 String value = get("b=" + type, ':');
500 return get("a=" + name, ':');
570 String line = mLines.get(i);
602 private String get(Strin method in class:SimpleSessionDescription.Fields
[all...]
/frameworks/opt/calendar/src/com/android/calendarcommon/
H A DRecurrenceProcessor.java430 boolean get(Time iterator, int day) method in class:RecurrenceProcessor.DaySet
438 Log.i(TAG, "get called with iterator=" + iterator
719 * you'll get a DateException.
940 if (!days.get(iterator, dayIndex)) {
982 // sometimes events get generated (BYDAY, BYHOUR, etc.) that
1062 // Add freqAmount to freqField until we get another date that we want.
/frameworks/base/libs/hwui/
H A DProgramCache.cpp369 Program* ProgramCache::get(const ProgramDescription& description) { function in class:android::uirenderer::ProgramCache

Completed in 7115 milliseconds

12345