Searched refs:value (Results 126 - 150 of 405) sorted by relevance

1234567891011>>

/packages/apps/Exchange/tests/src/com/android/exchange/provider/
H A DMockProvider.java207 Object value = entry.getValue();
209 if (value instanceof Integer) {
210 targetValues.put(key, (Integer)value);
211 } else if (value instanceof Long) {
212 targetValues.put(key, (Long)value);
213 } else if (value instanceof String) {
214 targetValues.put(key, (String)value);
215 } else if (value instanceof Boolean) {
216 targetValues.put(key, (Boolean)value);
/packages/apps/Camera/src/com/android/camera/ui/
H A DInLineSettingItem.java32 * (ex: Picture size), a previous button, the current value (ex: 5MP),
42 // Scene mode can override the original preference value.
80 // The value of the preference may have changed. Update the UI.
90 public void overrideSettings(String value) { argument
91 mOverrideValue = value;
H A DZoomRenderer.java87 public void setZoomValue(int value) { argument
88 value = value / 10;
89 mZoomSig = value / 10;
90 mZoomFraction = value % 10;
/packages/apps/ContactsCommon/src/com/android/contacts/common/format/
H A DSpannedTestUtils.java29 * Utility class to check the value of spanned text in text views.
69 private static int getNumForegroundColorSpansBetween(Spanned value, int start, int end) { argument
70 return value.getSpans(start, end, ForegroundColorSpan.class).length;
/packages/apps/Exchange/exchange2/src/com/android/exchange/provider/
H A DGalResult.java86 public void put(String field, String value) { argument
87 builder.put(field, value);
/packages/apps/Gallery2/src/com/android/camera/
H A DListPreference.java58 // continuous auto-focus). In that case the first supported value
114 // Find the first value in mDefaultValues which is supported.
128 public void setValue(String value) { argument
129 if (findIndexOfValue(value) < 0) throw new IllegalArgumentException();
130 mValue = value;
131 persistStringValue(value);
138 public int findIndexOfValue(String value) { argument
140 if (Util.equals(mEntryValues[i], value)) return i;
157 protected void persistStringValue(String value) { argument
159 editor.putString(mKey, value);
[all...]
/packages/apps/Gallery2/src/com/android/camera/ui/
H A DInLineSettingItem.java32 * (ex: Picture size), a previous button, the current value (ex: 5MP),
42 // Scene mode can override the original preference value.
80 // The value of the preference may have changed. Update the UI.
90 public void overrideSettings(String value) { argument
91 mOverrideValue = value;
H A DZoomRenderer.java87 public void setZoomValue(int value) { argument
88 value = value / 10;
89 mZoomSig = value / 10;
90 mZoomFraction = value % 10;
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DMediaDetails.java83 public void addDetail(int index, Object value) { argument
84 mDetails.put(index, value);
115 String value = null;
118 value = String.valueOf(tag.getValueAsRational(0).toDouble());
120 value = tag.getValueAsString();
122 value = String.valueOf(tag.forceGetValueAsLong(0));
126 Integer.valueOf(value.toString()));
129 details.addDetail(key, value);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DImageFilterHue.java55 float value = getParameters().getValue();
57 cmatrix.setHue(value);
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DInLineSettingItem.java32 * (ex: Picture size), a previous button, the current value (ex: 5MP),
42 // Scene mode can override the original preference value.
78 // The value of the preference may have changed. Update the UI.
88 public void overrideSettings(String value) { argument
89 mOverrideValue = value;
/packages/apps/Mms/src/com/android/mms/dom/
H A DAttrImpl.java61 // String value as defined in the specs, we directly set here the
63 public void setValue(String value) throws DOMException { argument
64 mValue = value;
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DSearchSettingsImpl.java68 * Preference key for the base search URL. This value is normally set by
130 protected void storeBoolean(String name, boolean value) { argument
131 SharedPreferencesCompat.apply(getSearchPreferences().edit().putBoolean(name, value));
134 protected void storeInt(String name, int value) { argument
135 SharedPreferencesCompat.apply(getSearchPreferences().edit().putInt(name, value));
138 protected void storeLong(String name, long value) { argument
139 SharedPreferencesCompat.apply(getSearchPreferences().edit().putLong(name, value));
142 protected void storeString(String name, String value) { argument
143 SharedPreferencesCompat.apply(getSearchPreferences().edit().putString(name, value));
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
H A DBarrierConsumer.java72 public boolean consume(A value) { argument
80 mValues.add(value);
/packages/apps/Settings/src/com/android/settings/
H A DNsdEnabler.java67 public boolean onPreferenceChange(Preference preference, Object value) { argument
69 final boolean desiredState = (Boolean) value;
/packages/apps/Settings/src/com/android/settings/widget/
H A DPieChartView.java63 public long value; field in class:PieChartView.Slice
71 public Slice(long value, int color) { argument
72 this.value = value;
117 public void addSlice(long value, int color) { argument
118 mSlices.add(new Slice(value, color));
145 total += slice.value;
172 final int sweepAngle = (int) (slice.value * 360 / total);
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
H A DExifParser.java83 * When the parser reaches the value area of tag that is registered by
412 * For {@link #EVENT_NEW_TAG}, the tag may not contain the value if the size
413 * of the value is greater than 4 bytes. One should call
414 * {@link ExifTag#hasValue()} to check if the tag contains value. If there
415 * is no value,call {@link #registerForTagValue(ExifTag)} to have the parser
419 * When {@link #EVENT_VALUE_OF_REGISTERED_TAG} is emitted, the value of the
421 * tags of undefined type, call one of the read methods to get the value.
505 * not contain the value if the size of the value is greater than 4 bytes.
506 * When the value i
[all...]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/
H A DThreadPool.java75 public int value; field in class:ThreadPool.ResourceCounter
77 value = v;
241 if (counter.value > 0) {
242 counter.value--;
263 counter.value++;
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarCache.java29 * Class for managing a persistent Cache of (key, value) pairs. The persistent storage used is
49 public static final String COLUMN_NAME_VALUE = "value";
141 * Write a (key, value) pair in the Cache.
144 * @param value the value (can be null)
147 public void writeData(String key, String value) throws CacheException { argument
151 writeDataLocked(db, key, value);
154 Log.i(TAG, "Wrote (key, value) = [ " + key + ", " + value + "] ");
162 * Write a (key, value) pai
170 writeDataLocked(SQLiteDatabase db, String key, String value) argument
[all...]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
H A DInputPointersTests.java130 final int value = -i - 1;
131 dst.addPointer(value * 4, value * 3, value * 2, value);
185 final int value = -i - 1;
186 dst.addPointer(value * 4, value * 3, value * 2, value);
[all...]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DGlobalSearchSupportTest.java321 public SuggestionTesterBuilder query(String value) { argument
322 query = value;
329 * TODO(tomo): Replace with actual expected value? This might be hard
333 public SuggestionTesterBuilder expectIcon1Uri(boolean value) { argument
334 expectIcon1Uri = value;
339 * The value for Icon2, which in practice is the contact's Chat status
342 public SuggestionTesterBuilder expectedIcon2(String value) { argument
343 expectedIcon2 = value;
350 public SuggestionTesterBuilder expectedText1(String value) { argument
351 expectedText1 = value;
358 expectedText2(String value) argument
[all...]
/packages/apps/Phone/src/com/android/phone/sip/
H A DSipEditor.java98 * @param initValue The initial value of the preference.
99 * @param defaultSummary The default summary value of the preference
100 * when the preference value is empty.
117 void setValue(String value) { argument
120 ((EditTextPreference) preference).setText(value);
122 Log.v(TAG, this + ": setValue() " + value + ": " + oldValue
126 ((ListPreference) preference).setValue(value);
129 if (TextUtils.isEmpty(value)) {
132 preference.setSummary(scramble(value));
134 && value
[all...]
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
H A DSerializer.java152 public Serializer data(int tag, String value) throws IOException { argument
153 if (value == null) {
157 text(value);
227 String value = cv.getAsString(key);
228 if (value != null && value.length() > 0) {
229 data(tag, value);
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DUtils.java98 // Returns the input value x clamped to the range [min, max].
105 // Returns the input value x clamped to the range [min, max].
112 // Returns the input value x clamped to the range [min, max].
133 * @return a 64-bit crc value
186 public static int ceilLog2(float value) { argument
189 if ((1 << i) >= value) break;
194 public static int floorLog2(float value) { argument
197 if ((1 << i) > value) break;
236 public static String ensureNotNull(String value) { argument
237 return value
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DDragView.java88 final float value = (Float) animation.getAnimatedValue();
90 final int deltaX = (int) ((value * offsetX) - mOffsetX);
91 final int deltaY = (int) ((value * offsetY) - mOffsetY);
95 setScaleX(initialScale + (value * (scale - initialScale)));
96 setScaleY(initialScale + (value * (scale - initialScale)));
98 setAlpha(sDragAlpha * value + (1f - value));

Completed in 508 milliseconds

1234567891011>>