/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
H A D | LruCache.java | 49 public Entry(K key, V value, ReferenceQueue<V> queue) { argument 50 super(value, queue); 69 public synchronized V put(K key, V value) { argument 71 mLruMap.put(key, value); 73 key, new Entry<K, V>(key, value, mQueue)); 79 V value = mLruMap.get(key); 80 if (value != null) return value;
|
/packages/apps/Gallery2/src/com/android/camera/ |
H A D | IntArray.java | 25 public void add(int value) { argument 31 mData[mSize++] = value;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/ |
H A D | PanelTrack.java | 33 public void fillContent(boolean value); argument 35 public void setExited(boolean value); argument
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | IntArray.java | 25 public void add(int value) { argument 31 mData[mSize++] = value;
|
H A D | ComboPreferences.java | 168 public Editor putString(String key, String value) { argument 170 mEditorGlobal.putString(key, value); 172 mEditorLocal.putString(key, value); 177 public Editor putInt(String key, int value) { argument 179 mEditorGlobal.putInt(key, value); 181 mEditorLocal.putInt(key, value); 186 public Editor putLong(String key, long value) { argument 188 mEditorGlobal.putLong(key, value); 190 mEditorLocal.putLong(key, value); 195 public Editor putFloat(String key, float value) { argument 204 putBoolean(String key, boolean value) argument [all...] |
/packages/apps/Mms/src/com/android/mms/util/ |
H A D | ImageCacheService.java | 61 byte[] value = null; 63 value = mCache.lookup(cacheKey); 65 if (value == null) return null; 66 if (isSameKey(key, value)) { 68 return new ImageData(value, offset); 76 public void putImageData(String path, int type, byte[] value) { argument 79 ByteBuffer buffer = ByteBuffer.allocate(key.length + value.length); 81 buffer.put(value); 116 * @return a 64-bit crc value
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
H A D | MockSuggestionExtras.java | 33 public MockSuggestionExtras put(String name, Object value) { argument 34 mMap.put(name, value);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | DialogDetailsView.java | 134 String value; 139 value = DetailsHelper.resolveAddress(mActivity, latlng, this); 143 value = Formatter.formatFileSize( 148 value = "1".equals(detail.getValue()) 159 value = context.getString(R.string.flash_on); 161 value = context.getString(R.string.flash_off); 166 value = (String) detail.getValue(); 167 double time = Double.valueOf(value); 169 value = String.format("1/%d", (int) (0.5f + 1 / time)); 173 value [all...] |
/packages/experimental/procstatlog/ |
H A D | procstatlog.c | 59 char *value; // text to be reported when it changes member in struct:data 70 // Set data->name and data->value to malloc'd strings with the 77 data->value = NULL; 85 data->value = NULL; 91 data->value = malloc(len + 1); 92 memcpy(data->value, buf, len); 93 data->value[len] = '\0'; 96 // Read a name/value file and write data entries for each line. 99 // delimiter: used to split each line into name and value 130 // Line format: <sp>name<delim><sp>value 150 char *value = name_end + 1; local 201 char *value = name_end; local [all...] |
/packages/apps/Email/src/com/android/email/ |
H A D | Preferences.java | 117 public void setEnableDebugLogging(boolean value) { argument 118 mSharedPreferences.edit().putBoolean(ENABLE_DEBUG_LOGGING, value).apply(); 125 public void setEnableExchangeLogging(boolean value) { argument 126 mSharedPreferences.edit().putBoolean(ENABLE_EXCHANGE_LOGGING, value).apply(); 133 public void setEnableExchangeFileLogging(boolean value) { argument 134 mSharedPreferences.edit().putBoolean(ENABLE_EXCHANGE_FILE_LOGGING, value).apply(); 141 public void setInhibitGraphicsAcceleration(boolean value) { argument 142 mSharedPreferences.edit().putBoolean(INHIBIT_GRAPHICS_ACCELERATION, value).apply(); 149 public void setForceOneMinuteRefresh(boolean value) { argument 150 mSharedPreferences.edit().putBoolean(FORCE_ONE_MINUTE_REFRESH, value) 157 setEnableStrictMode(boolean value) argument 304 setHasShownRequireManualSync(Context context, Account account, boolean value) argument 334 setBoolean(Context context, String account, String key, Boolean value) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/ |
H A D | BasicParameterInt.java | 44 public BasicParameterInt(int id, int value) { argument 46 mValue = value; 89 public void setValue(int value) { argument 90 mValue = value;
|
H A D | ParameterStyles.java | 32 void setSelected(int value); argument
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
H A D | TouchPositionCorrection.java | 48 final float value = Float.parseFloat(data[i]); 50 mXs[index] = value; 52 mYs[index] = value; 54 mRadii[index] = value;
|
H A D | KeyStylesSet.java | 91 final Object value = mStyleAttributes.get(index); 92 if (value != null) { 93 return (String[])value; 104 final Object value = mStyleAttributes.get(index); 105 if (value != null) { 106 return (String)value; 117 final Object value = mStyleAttributes.get(index); 118 if (value != null) { 119 return (Integer)value; 128 final Object value [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | QueryParameterUtils.java | 44 String value; 66 value = query.substring(index); 68 value = query.substring(index, ampIndex); 71 return Uri.decode(value);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/mail/ |
H A D | PackedString.java | 34 * element : [ value ] or [ value TAG-DELIMITER tag ] 54 * Get the value referred to by a given tag. If the tag does not exist, return null. 56 * @return returns value, or null if no string is found 97 String value; 100 // so synthesize a positional tag for the value, and don't update tagEndIndex 101 value = packed.substring(elementStartIndex, elementEndIndex); 104 value = packed.substring(elementStartIndex, tagEndIndex); 109 map.put(tag, value); 138 * Add a tagged value 142 put(String tag, String value) argument [all...] |
/packages/apps/Calendar/tests/src/com/android/calendar/ |
H A D | FakeSharedPreferences.java | 108 public Editor putBoolean(String key, boolean value) { argument 109 mTempValues.put(key, Boolean.valueOf(value)); 114 public Editor putFloat(String key, float value) { argument 115 mTempValues.put(key, value); 120 public Editor putInt(String key, int value) { argument 121 mTempValues.put(key, value); 126 public Editor putLong(String key, long value) { argument 127 mTempValues.put(key, value); 132 public Editor putString(String key, String value) { argument 133 mTempValues.put(key, value); [all...] |
/packages/apps/Email/tests/src/com/android/email/ |
H A D | MockSharedPreferences.java | 102 public Editor putBoolean(String key, boolean value) { argument 103 mTempValues.put(key, Boolean.valueOf(value)); 107 public Editor putFloat(String key, float value) { argument 108 mTempValues.put(key, value); 112 public Editor putInt(String key, int value) { argument 113 mTempValues.put(key, value); 117 public Editor putLong(String key, long value) { argument 118 mTempValues.put(key, value); 122 public Editor putString(String key, String value) { argument 123 mTempValues.put(key, value); [all...] |
/packages/apps/Camera/src/com/android/camera/ui/ |
H A D | EffectSettingPopup.java | 49 // Data for silly face items. (text, image, and preference value) 53 // Data for background replacer items. (text, image, and preference value) 90 String value = entryValues[i].toString(); 91 if (value.equals(mNoEffect)) continue; // no effect, skip it. 93 map.put("value", value); 96 if (value.startsWith("goofy_face")) { 98 } else if (value.startsWith("backdropper")) { 153 // The value of the preference may have changed. Update the UI. 160 String value [all...] |
/packages/apps/Gallery2/src/com/android/camera/ui/ |
H A D | EffectSettingPopup.java | 49 // Data for silly face items. (text, image, and preference value) 53 // Data for background replacer items. (text, image, and preference value) 90 String value = entryValues[i].toString(); 91 if (value.equals(mNoEffect)) continue; // no effect, skip it. 93 map.put("value", value); 96 if (value.startsWith("goofy_face")) { 98 } else if (value.startsWith("backdropper")) { 153 // The value of the preference may have changed. Update the UI. 160 String value [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
H A D | EffectSettingPopup.java | 47 // Data for silly face items. (text, image, and preference value) 51 // Data for background replacer items. (text, image, and preference value) 88 String value = entryValues[i].toString(); 89 if (value.equals(mNoEffect)) continue; // no effect, skip it. 91 map.put("value", value); 94 if (value.startsWith("goofy_face")) { 96 } else if (value.startsWith("backdropper")) { 151 // The value of the preference may have changed. Update the UI. 157 String value [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/ |
H A D | Tweener.java | 70 Object value = vars[i+1]; 75 interpolator = (TimeInterpolator) value; // TODO: multiple interpolators? 77 updateListener = (AnimatorUpdateListener) value; 79 listener = (AnimatorListener) value; 81 delay = ((Number) value).longValue(); 84 } else if (value instanceof float[]) { 86 ((float[])value)[0], ((float[])value)[1])); 87 } else if (value instanceof int[]) { 89 ((int[])value)[ [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | LauncherViewPropertyAnimator.java | 167 public void setInterpolator(TimeInterpolator value) { argument 169 mInterpolator = value; 232 public LauncherViewPropertyAnimator translationX(float value) { argument 234 mTranslationX = value; 238 public LauncherViewPropertyAnimator translationY(float value) { argument 240 mTranslationY = value; 244 public LauncherViewPropertyAnimator scaleX(float value) { argument 246 mScaleX = value; 250 public LauncherViewPropertyAnimator scaleY(float value) { argument 252 mScaleY = value; 256 rotationY(float value) argument 262 alpha(float value) argument [all...] |
/packages/apps/Dialer/src/com/android/dialer/util/ |
H A D | ExpirableCache.java | 30 * query whether a particular cached value is expired or not. 63 * // We were paused for some time, the cached value might no longer be up to date. 70 * If interested only in the value itself, not whether it is expired or not, one should use the 89 * A cached value stored inside the cache. 91 * It provides access to the value stored in the cache but also allows to check whether the 92 * value is expired. 94 * @param <V> the type of value stored in the cache 97 /** Returns the value stored in the cache for a given key. */ 101 * Checks whether the value, while still being present in the cache, is expired. 103 * @return true if the value i 124 GenerationalCachedValue(V value, AtomicInteger cacheGeneration) argument 217 put(K key, V value) argument 237 newCachedValue(V value) argument [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
H A D | IntentUtilities.java | 121 long value = -1; 123 value = getLongParamFromUri(intent.getData(), paramName, -1); 125 return value; 129 final String value = uri.getQueryParameter(paramName); 130 if (!TextUtils.isEmpty(value)) { 132 return Long.parseLong(value);
|