/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | LauncherViewPropertyAnimator.java | 167 public void setInterpolator(TimeInterpolator value) { argument 169 mInterpolator = value; 235 public LauncherViewPropertyAnimator translationX(float value) { argument 237 mTranslationX = value; 241 public LauncherViewPropertyAnimator translationY(float value) { argument 243 mTranslationY = value; 247 public LauncherViewPropertyAnimator scaleX(float value) { argument 249 mScaleX = value; 253 public LauncherViewPropertyAnimator scaleY(float value) { argument 255 mScaleY = value; 259 rotationY(float value) argument 265 alpha(float value) argument [all...] |
/packages/apps/Settings/src/com/android/settings/accessibility/ |
H A D | ListDialogPreference.java | 47 /** The current value of this preference. */ 50 /** The index within the value set of the current value. */ 53 /** Whether the value had been set using {@link #setValue}. */ 61 * Sets a listened to invoke when the value of this preference changes. 120 * @return the value at the specified index 170 * @return the index of the specified value within the list of entry values, 173 protected int getIndexForValue(int value) { argument 177 if (values[i] == value) { 186 * Sets the current value 191 setValue(int value) argument 288 public int value; field in class:ListDialogPreference.SavedState 320 onValueChanged(ListDialogPreference preference, int 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/Gallery/tests/src/com/android/camera/gallery/ |
H A D | LruCacheUnitTests.java | 11 Integer value = Integer.valueOf(3); 12 cache.put(key, value); 13 assertEquals(value, cache.get(key)); 19 Integer value = new Integer(3); 20 cache.put(key, value); 25 assertEquals(value, cache.get(key));
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | CachingIconLoader.java | 72 public Drawable get(Drawable.ConstantState value) { 73 return value == null ? null : value.newDrawable(); 134 public boolean consume(Drawable value) { argument 135 store(value == null ? null : value.getConstantState());
|
H A D | SearchSettingsImpl.java | 61 * Preference key for the base search URL. This value is normally set by 98 protected void storeBoolean(String name, boolean value) { argument 99 SharedPreferencesCompat.apply(getSearchPreferences().edit().putBoolean(name, value)); 102 protected void storeInt(String name, int value) { argument 103 SharedPreferencesCompat.apply(getSearchPreferences().edit().putInt(name, value)); 106 protected void storeLong(String name, long value) { argument 107 SharedPreferencesCompat.apply(getSearchPreferences().edit().putLong(name, value)); 110 protected void storeString(String name, String value) { argument 111 SharedPreferencesCompat.apply(getSearchPreferences().edit().putString(name, value));
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
H A D | FilterVignetteRepresentation.java | 89 public void setValue(int mode, int value) { argument 90 mAllParam[mode].setValue(value); 190 writer.value(mCenterX); 191 writer.value(mCenterY); 192 writer.value(mRadiusX); 193 writer.value(mRadiusY); 198 writer.value(mParamVignette.getValue()); 199 writer.value(mParamExposure.getValue()); 200 writer.value(mParamSaturation.getValue()); 201 writer.value(mParamContras 258 setCurrentParameter(int value) argument [all...] |
H A D | ImageFilterContrast.java | 54 float value = getParameters().getValue(); 55 nativeApplyFilter(bitmap, w, h, value);
|
H A D | ImageFilterExposure.java | 52 float value = getParameters().getValue(); 53 nativeApplyFilter(bitmap, w, h, value);
|
H A D | ImageFilterSaturated.java | 54 float value = 1 + p / 100.0f; 55 nativeApplyFilter(bitmap, w, h, value);
|
H A D | ImageFilterVibrance.java | 52 float value = getParameters().getValue(); 53 nativeApplyFilter(bitmap, w, h, value);
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
H A D | AdvancedWifiSettings.java | 116 int value = mWifiManager.getFrequencyBand(); 117 if (value != -1) { 118 frequencyPref.setValue(String.valueOf(value)); 119 updateFrequencyBandSummary(frequencyPref, value); 136 int value = Settings.Global.getInt(getContentResolver(), 139 String stringValue = String.valueOf(value); 145 private void updateSleepPolicySummary(Preference sleepPolicyPref, String value) { argument 146 if (value != null) { 152 if (value.equals(values[i])) { 162 Log.e(TAG, "Invalid sleep policy value [all...] |
/packages/apps/Camera/src/com/android/camera/ |
H A D | ListPreference.java | 55 // continuous auto-focus). In that case the first supported value 101 // Find the first value in mDefaultValues which is supported. 115 public void setValue(String value) { argument 116 if (findIndexOfValue(value) < 0) throw new IllegalArgumentException(); 117 mValue = value; 118 persistStringValue(value); 125 public int findIndexOfValue(String value) { argument 127 if (Util.equals(mEntryValues[i], value)) return i; 136 protected void persistStringValue(String value) { argument 138 editor.putString(mKey, value); [all...] |
H A D | Mosaic.java | 122 * starts from 1; and the 11th entry is the returning code, whose value 137 * starts from 1; and the 11th entry is the returning code, whose value 162 * @param value True means generating a high-resolution mosaic - 169 public native int createMosaic(boolean value); argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/ |
H A D | FramedTextButton.java | 40 public static void setTextSize(int value) { argument 41 mTextSize = value; 44 public static void setTextPadding(int value) { argument 45 mTextPadding = value; 48 public static void setTrianglePadding(int value) { argument 49 mTrianglePadding = value; 52 public static void setTriangleSize(int value) { argument 53 mTriangleSize = value;
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
H A D | IntArray.java | 25 public void add(int value) { argument 31 mData[mSize++] = value;
|
H A D | IdentityCache.java | 37 public Entry(K key, V value, ReferenceQueue<V> queue) { argument 38 super(value, queue); 51 public synchronized V put(K key, V value) { argument 54 key, new Entry<K, V>(key, value, mQueue));
|
/packages/apps/Launcher3/src/com/android/gallery3d/util/ |
H A D | IntArray.java | 25 public void add(int value) { argument 31 mData[mSize++] = value;
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | ListPreference.java | 55 // continuous auto-focus). In that case the first supported value 101 // Find the first value in mDefaultValues which is supported. 115 public void setValue(String value) { argument 116 if (findIndexOfValue(value) < 0) throw new IllegalArgumentException(); 117 mValue = value; 118 persistStringValue(value); 125 public int findIndexOfValue(String value) { argument 127 if (Util.equals(mEntryValues[i], value)) return i; 136 protected void persistStringValue(String value) { argument 138 editor.putString(mKey, value); [all...] |
H A D | RecordLocationPreference.java | 50 String value = pref.getString(KEY, VALUE_NONE); 51 return VALUE_ON.equals(value);
|
/packages/apps/SpareParts/src/com/android/spare_parts/ |
H A D | Enabler.java | 38 final int value = enabled 41 pm.setComponentEnabledSetting(componentName, value, PackageManager.DONT_KILL_APP);
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | LruCache.java | 67 * @param value, a non-null value. 69 public synchronized void putElement(K key, V value) { argument 70 put(key, value);
|
H A D | SparseLongArray.java | 73 * Gets the long mapped from the specified key, or the specified value 107 * Adds a mapping from the specified key to the specified value, 111 public void put(int key, long value) { argument 115 mValues[i] = value; 129 mValues[i] = value; 135 * Returns the number of key-value mappings that this SparseIntArray 144 * the key from the <code>index</code>th key-value mapping that this 153 * the value from the <code>index</code>th key-value mapping that this 172 * specified value 177 indexOfValue(long value) argument 196 append(int key, long value) argument [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
H A D | Mosaic.java | 122 * starts from 1; and the 11th entry is the returning code, whose value 137 * starts from 1; and the 11th entry is the returning code, whose value 162 * @param value True means generating a high-resolution mosaic - 169 public native int createMosaic(boolean value); argument
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/ |
H A D | ExternalAccountType.java | 312 String value = parser.getAttributeValue(i); 314 Log.d(TAG, attr + "=" + value); 317 mEditContactActivityClassName = value; 319 mCreateContactActivityClassName = value; 321 mInviteContactActivity = value; 323 mInviteActionLabelAttribute = value; 325 mViewContactNotifyService = value; 327 mViewGroupActivity = value; 329 mViewGroupLabelAttribute = value; 331 mViewStreamItemActivity = value; [all...] |