/packages/apps/Email/src/org/apache/commons/io/ |
H A D | EndianUtils.java | 52 * Converts a "short" value between endian systems.
53 * @param value value to convert
54 * @return the converted value
56 public static short swapShort(short value) {
argument 57 return (short) ( ( ( ( value >> 0 ) & 0xff ) << 8 ) +
58 ( ( ( value >> 8 ) & 0xff ) << 0 ) );
62 * Converts a "int" value between endian systems.
63 * @param value value t 66 swapInteger(int value) argument 79 swapLong(long value) argument 96 swapFloat(float value) argument 105 swapDouble(double value) argument 118 writeSwappedShort(byte[] data, int offset, short value) argument 155 writeSwappedInteger(byte[] data, int offset, int value) argument 201 writeSwappedLong(byte[] data, int offset, long value) argument 240 writeSwappedFloat(byte[] data, int offset, float value) argument 262 writeSwappedDouble(byte[] data, int offset, double value) argument 284 writeSwappedShort(OutputStream output, short value) argument 329 writeSwappedInteger(OutputStream output, int value) argument 390 writeSwappedLong(OutputStream output, long value) argument 427 writeSwappedFloat(OutputStream output, float value) argument 453 writeSwappedDouble(OutputStream output, double value) argument [all...] |
/packages/apps/Email/src/com/android/email/activity/setup/ |
H A D | SpinnerOption.java | 22 public final Object value; field in class:SpinnerOption 26 public static void setSpinnerOptionValue(Spinner spinner, Object value) { argument 29 if (so.value.equals(value)) { 36 public SpinnerOption(Object value, String label) { argument 37 this.value = value;
|
/packages/apps/Email/src/org/apache/james/mime4j/field/ |
H A D | UnstructuredField.java | 32 private String value;
field in class:UnstructuredField 34 protected UnstructuredField(String name, String body, String raw, String value) {
argument 36 this.value = value;
40 return value;
45 final String value = DecoderUtil.decodeEncodedWords(body);
46 return new UnstructuredField(name, body, raw, value);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | TweenCallback.java | 20 void onTweenValueChanged(float value, float oldValue); argument
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
H A D | Consumer.java | 27 * Consumes a value. 29 * @param value The value to consume. 30 * @return {@code true} if the value was accepted, {@code false} otherwise. 32 boolean consume(A value); argument
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
H A D | FloatAnim.java | 27 public FloatAnim(float value) { argument 28 mValue = value; 52 public void animateValue(float value, float duration, long currentTime) { argument 53 mDelta = getValue(currentTime) - value; 54 mValue = value; 59 public void setValue(float value) { argument 60 mValue = value;
|
H A D | Shared.java | 67 public static int clamp(int value, int min, int max) { argument 68 if (value < min) { 69 value = min; 70 } else if (value > max) { 71 value = max; 73 return value; 76 public static long clamp(long value, long min, long max) { argument 77 if (value < min) { 78 value = min; 79 } else if (value > ma [all...] |
H A D | DirectLinkedList.java | 25 Entry(E value) { argument 26 this.value = value; 29 public final E value; field in class:DirectLinkedList.Entry
|
H A D | LongSparseArray.java | 128 * Adds a mapping from the specified key to the specified value, replacing 131 public void put(long key, E value) { argument 135 mValues[i] = value; 141 mValues[i] = value; 173 mValues[i] = value; 179 * Returns the number of key-value mappings that this SparseArray currently 192 * from the <code>index</code>th key-value mapping that this SparseArray 204 * Given an index in the range <code>0...size()-1</code>, returns the value 205 * from the <code>index</code>th key-value mapping that this SparseArray 218 * Given an index in the range <code>0...size()-1</code>, sets a new value 222 setValueAt(int index, E value) argument 248 indexOfValue(E value) argument 279 append(long key, E value) argument 451 contains(T[] array, T value) argument [all...] |
/packages/apps/Email/src/com/android/exchange/ |
H A D | MockParserStream.java | 33 Object value; field in class:MockParserStream 49 value = _value; 53 return value;
|
/packages/apps/Mms/src/com/android/mms/ |
H A D | MmsConfig.java | 53 private static int mMaxImageHeight = MAX_IMAGE_HEIGHT; // default value 54 private static int mMaxImageWidth = MAX_IMAGE_WIDTH; // default value 55 private static int mRecipientLimit = Integer.MAX_VALUE; // default value 56 private static int mDefaultSMSMessagesPerThread = 200; // default value 57 private static int mDefaultMMSMessagesPerThread = 20; // default value 58 private static int mMinMessageCountPerThread = 2; // default value 59 private static int mMaxMessageCountPerThread = 5000; // default value 72 private static int mMaxSizeScaleForPendingMmsAllowed = 4; // default value 100 * This function returns the value of "enabledTransID" present in mms_config file. 244 String value [all...] |
/packages/apps/Email/src/com/android/email/mail/internet/ |
H A D | MimeHeader.java | 70 public void addHeader(String name, String value) throws MessagingException { argument 71 mFields.add(new Field(name, value)); 74 public void setHeader(String name, String value) throws MessagingException { argument 75 if (name == null || value == null) { 79 addHeader(name, value); 86 values.add(field.value); 118 builder.append(field.name + ": " + field.value + "\r\n"); 128 writer.write(field.name + ": " + field.value + "\r\n"); 136 final String value; field in class:MimeHeader.Field 138 public Field(String name, String value) { argument [all...] |
/packages/apps/Camera/src/com/android/camera/gallery/ |
H A D | LruCache.java | 49 public Entry(K key, V value, ReferenceQueue<V> queue) { argument 50 super(value, queue); 64 public synchronized V put(K key, V value) { argument 66 mLruMap.put(key, value); 68 key, new Entry<K, V>(key, value, mQueue)); 74 V value = mLruMap.get(key); 75 if (value != null) return value;
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
H A D | LruCache.java | 45 public Entry(K key, V value, ReferenceQueue<V> queue) { argument 46 super(value, queue); 60 public synchronized V put(K key, V value) { argument 62 mLruMap.put(key, value); 64 key, new Entry<K, V>(key, value, mQueue)); 70 V value = mLruMap.get(key); 71 if (value != null) return value;
|
/packages/apps/Mms/src/com/android/mms/dom/smil/ |
H A D | TimeImpl.java | 40 * Creates a TimeImpl representation of a time-value represented as a String. 44 * Time-val ::= ( smil-1.0-syncbase-value 46 * | offset-value 47 * | syncbase-value 48 * | syncToPrev-value 49 * | event-value 50 * | media-marker-value 51 * | wallclock-sync-value ) 52 * Smil-1.0-syncbase-value ::= 53 * "id(" id-ref ")" ( "(" ( "begin" | "end" | clock-value ) ")" ) 207 parseFloat(String value, int ignoreLast, boolean parseDecimal) argument [all...] |
/packages/apps/Camera/src/com/android/camera/ui/ |
H A D | CameraEGLConfigChooser.java | 71 int value[] = new int[1]; 78 display, configs[i], EGL10.EGL_STENCIL_SIZE, value)) { 79 if (value[0] == 0) continue; 80 if (value[0] < minStencil) { 81 minStencil = value[0]; 91 display, result, EGL10.EGL_STENCIL_SIZE, value); 92 mStencilBits = value[0];
|
/packages/apps/Tag/src/com/android/vcard/ |
H A D | VCardEntryConstructor.java | 168 public void propertyParamValue(String value) { argument 173 if (!VCardUtils.containsOnlyAlphaDigitHyphen(value)) { 174 value = VCardUtils.convertStringCharset( 175 value, mSourceCharset, VCardConfig.DEFAULT_IMPORT_CHARSET); 177 mCurrentProperty.addParameter(mParamType, value); 181 private String handleOneValue(String value, argument 185 if (TextUtils.isEmpty(value)) { 191 mCurrentProperty.setPropertyBytes(Base64.decode(value.getBytes(), Base64.DEFAULT)); 192 return value; 195 value, mStrictLineBreakin [all...] |
H A D | VCardInterpreter.java | 92 * @param value A parameter value. This method may be called without 95 void propertyParamValue(String value); argument
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | ReverseGeocoderTask.java | 50 String value = MenuHelper.EMPTY_STRING; 59 value = sb.toString(); 61 value = MenuHelper.EMPTY_STRING; 64 value = MenuHelper.EMPTY_STRING; 67 return value;
|
/packages/apps/Email/src/com/android/email/mail/ |
H A D | Part.java | 23 public void addHeader(String name, String value) throws MessagingException; argument 27 public void setHeader(String name, String value) throws MessagingException; argument 39 public void setExtendedHeader(String name, String value) throws MessagingException; argument
|
H A D | PackedString.java | 34 * element : [ value ] or [ value TAG-DELIMITER tag ] 54 * Get the value referred to by a given tag. If the tag does not exist, return null. 56 * @return returns value, or null if no string is found 97 String value; 100 // so synthesize a positional tag for the value, and don't update tagEndIndex 101 value = packed.substring(elementStartIndex, elementEndIndex); 104 value = packed.substring(elementStartIndex, tagEndIndex); 109 map.put(tag, value); 138 * Add a tagged value 142 put(String tag, String value) argument [all...] |
/packages/apps/Camera/src/com/android/camera/ |
H A D | IntArray.java | 25 public void add(int value) { argument 31 mData[mSize++] = value;
|
H A D | ListPreference.java | 87 public void setValue(String value) { argument 88 if (findIndexOfValue(value) < 0) throw new IllegalArgumentException(); 89 mValue = value; 90 persistStringValue(value); 97 public int findIndexOfValue(String value) { argument 99 if (Util.equals(mEntryValues[i], value)) return i; 108 protected void persistStringValue(String value) { argument 110 editor.putString(mKey, value);
|
H A D | ComboPreferences.java | 163 public Editor putString(String key, String value) { argument 165 mEditorGlobal.putString(key, value); 167 mEditorLocal.putString(key, value); 172 public Editor putInt(String key, int value) { argument 174 mEditorGlobal.putInt(key, value); 176 mEditorLocal.putInt(key, value); 181 public Editor putLong(String key, long value) { argument 183 mEditorGlobal.putLong(key, value); 185 mEditorLocal.putLong(key, value); 190 public Editor putFloat(String key, float value) { argument 199 putBoolean(String key, boolean value) argument [all...] |
/packages/experimental/procstatlog/ |
H A D | procstatlog.c | 59 char *value; // text to be reported when it changes member in struct:data 70 // Set data->name and data->value to malloc'd strings with the 77 data->value = NULL; 85 data->value = NULL; 91 data->value = malloc(len + 1); 92 memcpy(data->value, buf, len); 93 data->value[len] = '\0'; 96 // Read a name/value file and write data entries for each line. 99 // delimiter: used to split each line into name and value 130 // Line format: <sp>name<delim><sp>value 150 char *value = name_end + 1; local 201 char *value = name_end; local [all...] |