/packages/apps/Exchange/tests/src/com/android/exchange/provider/ |
H A D | MockProvider.java | 207 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 D | InLineSettingItem.java | 32 * (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 D | ZoomRenderer.java | 87 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 D | SpannedTestUtils.java | 29 * 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 D | GalResult.java | 86 public void put(String field, String value) { argument 87 builder.put(field, value);
|
/packages/apps/Gallery2/src/com/android/camera/ |
H A D | ListPreference.java | 58 // 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 D | InLineSettingItem.java | 32 * (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 D | ZoomRenderer.java | 87 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 D | MediaDetails.java | 83 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 D | ImageFilterHue.java | 55 float value = getParameters().getValue(); 57 cmatrix.setHue(value);
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
H A D | InLineSettingItem.java | 32 * (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 D | AttrImpl.java | 61 // 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 D | SearchSettingsImpl.java | 68 * 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 D | BarrierConsumer.java | 72 public boolean consume(A value) { argument 80 mValues.add(value);
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | NsdEnabler.java | 67 public boolean onPreferenceChange(Preference preference, Object value) { argument 69 final boolean desiredState = (Boolean) value;
|
/packages/apps/Settings/src/com/android/settings/widget/ |
H A D | PieChartView.java | 63 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 D | ExifParser.java | 83 * 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 D | ThreadPool.java | 75 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 D | CalendarCache.java | 29 * 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 D | InputPointersTests.java | 130 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 D | GlobalSearchSupportTest.java | 321 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 D | SipEditor.java | 98 * @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 D | Serializer.java | 152 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 D | Utils.java | 98 // 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 D | DragView.java | 88 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));
|