Searched refs:value (Results 226 - 250 of 913) sorted by relevance

1234567891011>>

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
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/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/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);
H A DExif.java129 int value = 0;
131 value = (value << 8) | (bytes[offset] & 0xFF);
134 return value;
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
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/Settings/src/com/android/settings/
H A DHelpTrampoline.java44 final String value = getResources().getString(id);
46 final Intent intent = HelpUtils.getHelpIntent(this, value, null);
/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/WallpaperPicker/src/com/android/gallery3d/glrenderer/
H A DIntArray.java25 public void add(int value) { argument
31 mData[mSize++] = value;
/packages/services/Car/car-lib/src/android/car/app/menu/
H A DCarMenuConstants.java30 value = {FLAG_BROWSABLE, FLAG_FIRSTITEM})
44 @IntDef(value = {WIDGET_CHECKBOX, WIDGET_TEXT_VIEW})
93 * Key for the value of whether the item is a place holder.
/packages/services/Car/obd2-lib/src/com/android/car/obd2/
H A DIntegerArrayStream.java90 for (int value : values) {
91 if (value != peek()) {
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
H A DCarPropertyTestBase.java54 protected void writeToParcel(Parcelable value) { argument
55 mParcel.writeParcelable(value, 0);
/packages/services/Car/tests/carservice_test/src/com/android/car/test/
H A DCarProjectionManagerTest.java140 public synchronized void onPropertySet(VehiclePropValue value) { argument
141 Log.d(TAG, "onPropertySet:" + value);
142 mMap.put(value.prop, value);
146 public synchronized VehiclePropValue onPropertyGet(VehiclePropValue value) { argument
147 Log.d(TAG, "onPropertyGet:" + value);
148 VehiclePropValue currentValue = mMap.get(value.prop);
149 // VNS will call get method when subscribe is called, just return empty value.
150 return currentValue != null ? currentValue : value;
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/
H A DUtils.java30 public final U value; field in class:Utils.SparseArrayIterator.SparseArrayEntry
34 value = array.valueAt(index);
/packages/services/Telephony/src/com/android/phone/vvm/
H A DVisualVoicemailSmsFilterConfig.java121 private Editor setInt(String key, int value) { argument
122 mPrefsEditor.putInt(makeKey(key), value);
126 private Editor setString(String key, String value) { argument
127 mPrefsEditor.putString(makeKey(key), value);
131 private Editor setBoolean(String key, boolean value) { argument
132 mPrefsEditor.putBoolean(makeKey(key), value);
136 private Editor setStringList(String key, List<String> value) { argument
137 mPrefsEditor.putStringSet(makeKey(key), new ArraySet(value));
/packages/apps/Dialer/java/com/android/dialer/proguard/
H A DUsedByReflection.java26 * be removed by tools like ProGuard. Use the value parameter to mention a file that uses the
33 String value(); method in interface:UsedByReflection
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/
H A DGoogleLocationSettingHelper.java47 private static final String VALUE = "value";
62 * Get the current value for the 'Use value for location' setting.
95 int value;
97 value = Integer.parseInt(stringValue);
99 value = USE_LOCATION_FOR_SERVICES_NOT_SET;
101 return value;
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
H A DInspectorBot.java45 public void assertRowPresent(@StringRes String key, String value, Activity activity) argument
47 assertTrue(isRowPresent(key, value, activity));
50 private boolean isRowPresent(@StringRes String key, String value, Activity activity) argument
59 return info.getText().equals(value);
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
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

Completed in 2612 milliseconds

1234567891011>>