Searched refs:value (Results 101 - 125 of 494) sorted by relevance

1234567891011>>

/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncherViewPropertyAnimator.java167 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 DListDialogPreference.java47 /** 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 DExpirableCache.java30 * 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 DLruCacheUnitTests.java11 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 DCachingIconLoader.java72 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 DSearchSettingsImpl.java61 * 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 DFilterVignetteRepresentation.java89 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 DImageFilterContrast.java54 float value = getParameters().getValue();
55 nativeApplyFilter(bitmap, w, h, value);
H A DImageFilterExposure.java52 float value = getParameters().getValue();
53 nativeApplyFilter(bitmap, w, h, value);
H A DImageFilterSaturated.java54 float value = 1 + p / 100.0f;
55 nativeApplyFilter(bitmap, w, h, value);
H A DImageFilterVibrance.java52 float value = getParameters().getValue();
53 nativeApplyFilter(bitmap, w, h, value);
/packages/apps/Settings/src/com/android/settings/wifi/
H A DAdvancedWifiSettings.java116 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 DListPreference.java55 // 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 DMosaic.java122 * 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 DFramedTextButton.java40 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 DIntArray.java25 public void add(int value) { argument
31 mData[mSize++] = value;
H A DIdentityCache.java37 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 DIntArray.java25 public void add(int value) { argument
31 mData[mSize++] = value;
/packages/apps/LegacyCamera/src/com/android/camera/
H A DListPreference.java55 // 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 DRecordLocationPreference.java50 String value = pref.getString(KEY, VALUE_NONE);
51 return VALUE_ON.equals(value);
/packages/apps/SpareParts/src/com/android/spare_parts/
H A DEnabler.java38 final int value = enabled
41 pm.setComponentEnabledSetting(componentName, value, PackageManager.DONT_KILL_APP);
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DLruCache.java67 * @param value, a non-null value.
69 public synchronized void putElement(K key, V value) { argument
70 put(key, value);
H A DSparseLongArray.java73 * 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 DMosaic.java122 * 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 DExternalAccountType.java312 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...]

Completed in 508 milliseconds

1234567891011>>