Lines Matching refs:value

143      * TODO: optimize this later (getting just the value part of a Bundle
145 * with a special single-value Map implementation/serialization.
147 * Note: value in single-pair Bundle may be null.
326 * Inserts a Boolean value into the mapping of this Bundle, replacing
327 * any existing value for the given key. Either key or value may be null.
330 * @param value a Boolean, or null
332 public void putBoolean(String key, boolean value) {
334 mMap.put(key, value);
338 * Inserts a byte value into the mapping of this Bundle, replacing
339 * any existing value for the given key.
342 * @param value a byte
344 void putByte(String key, byte value) {
346 mMap.put(key, value);
350 * Inserts a char value into the mapping of this Bundle, replacing
351 * any existing value for the given key.
354 * @param value a char, or null
356 void putChar(String key, char value) {
358 mMap.put(key, value);
362 * Inserts a short value into the mapping of this Bundle, replacing
363 * any existing value for the given key.
366 * @param value a short
368 void putShort(String key, short value) {
370 mMap.put(key, value);
374 * Inserts an int value into the mapping of this Bundle, replacing
375 * any existing value for the given key.
378 * @param value an int, or null
380 public void putInt(String key, int value) {
382 mMap.put(key, value);
386 * Inserts a long value into the mapping of this Bundle, replacing
387 * any existing value for the given key.
390 * @param value a long
392 public void putLong(String key, long value) {
394 mMap.put(key, value);
398 * Inserts a float value into the mapping of this Bundle, replacing
399 * any existing value for the given key.
402 * @param value a float
404 void putFloat(String key, float value) {
406 mMap.put(key, value);
410 * Inserts a double value into the mapping of this Bundle, replacing
411 * any existing value for the given key.
414 * @param value a double
416 public void putDouble(String key, double value) {
418 mMap.put(key, value);
422 * Inserts a String value into the mapping of this Bundle, replacing
423 * any existing value for the given key. Either key or value may be null.
426 * @param value a String, or null
428 public void putString(String key, String value) {
430 mMap.put(key, value);
434 * Inserts a CharSequence value into the mapping of this Bundle, replacing
435 * any existing value for the given key. Either key or value may be null.
438 * @param value a CharSequence, or null
440 void putCharSequence(String key, CharSequence value) {
442 mMap.put(key, value);
446 * Inserts an ArrayList<Integer> value into the mapping of this Bundle, replacing
447 * any existing value for the given key. Either key or value may be null.
450 * @param value an ArrayList<Integer> object, or null
452 void putIntegerArrayList(String key, ArrayList<Integer> value) {
454 mMap.put(key, value);
458 * Inserts an ArrayList<String> value into the mapping of this Bundle, replacing
459 * any existing value for the given key. Either key or value may be null.
462 * @param value an ArrayList<String> object, or null
464 void putStringArrayList(String key, ArrayList<String> value) {
466 mMap.put(key, value);
470 * Inserts an ArrayList<CharSequence> value into the mapping of this Bundle, replacing
471 * any existing value for the given key. Either key or value may be null.
474 * @param value an ArrayList<CharSequence> object, or null
476 void putCharSequenceArrayList(String key, ArrayList<CharSequence> value) {
478 mMap.put(key, value);
482 * Inserts a Serializable value into the mapping of this Bundle, replacing
483 * any existing value for the given key. Either key or value may be null.
486 * @param value a Serializable object, or null
488 void putSerializable(String key, Serializable value) {
490 mMap.put(key, value);
494 * Inserts a boolean array value into the mapping of this Bundle, replacing
495 * any existing value for the given key. Either key or value may be null.
498 * @param value a boolean array object, or null
500 public void putBooleanArray(String key, boolean[] value) {
502 mMap.put(key, value);
506 * Inserts a byte array value into the mapping of this Bundle, replacing
507 * any existing value for the given key. Either key or value may be null.
510 * @param value a byte array object, or null
512 void putByteArray(String key, byte[] value) {
514 mMap.put(key, value);
518 * Inserts a short array value into the mapping of this Bundle, replacing
519 * any existing value for the given key. Either key or value may be null.
522 * @param value a short array object, or null
524 void putShortArray(String key, short[] value) {
526 mMap.put(key, value);
530 * Inserts a char array value into the mapping of this Bundle, replacing
531 * any existing value for the given key. Either key or value may be null.
534 * @param value a char array object, or null
536 void putCharArray(String key, char[] value) {
538 mMap.put(key, value);
542 * Inserts an int array value into the mapping of this Bundle, replacing
543 * any existing value for the given key. Either key or value may be null.
546 * @param value an int array object, or null
548 public void putIntArray(String key, int[] value) {
550 mMap.put(key, value);
554 * Inserts a long array value into the mapping of this Bundle, replacing
555 * any existing value for the given key. Either key or value may be null.
558 * @param value a long array object, or null
560 public void putLongArray(String key, long[] value) {
562 mMap.put(key, value);
566 * Inserts a float array value into the mapping of this Bundle, replacing
567 * any existing value for the given key. Either key or value may be null.
570 * @param value a float array object, or null
572 void putFloatArray(String key, float[] value) {
574 mMap.put(key, value);
578 * Inserts a double array value into the mapping of this Bundle, replacing
579 * any existing value for the given key. Either key or value may be null.
582 * @param value a double array object, or null
584 public void putDoubleArray(String key, double[] value) {
586 mMap.put(key, value);
590 * Inserts a String array value into the mapping of this Bundle, replacing
591 * any existing value for the given key. Either key or value may be null.
594 * @param value a String array object, or null
596 public void putStringArray(String key, String[] value) {
598 mMap.put(key, value);
602 * Inserts a CharSequence array value into the mapping of this Bundle, replacing
603 * any existing value for the given key. Either key or value may be null.
606 * @param value a CharSequence array object, or null
608 void putCharSequenceArray(String key, CharSequence[] value) {
610 mMap.put(key, value);
614 * Returns the value associated with the given key, or false if
618 * @return a boolean value
627 // Log a message if the value was non-null but not of the expected type
628 void typeWarning(String key, Object value, String className,
635 sb.append(" but value was a ");
636 sb.append(value.getClass().getName());
637 sb.append(". The default value ");
644 void typeWarning(String key, Object value, String className,
646 typeWarning(key, value, className, "<null>", e);
650 * Returns the value associated with the given key, or defaultValue if
655 * @return a boolean value
672 * Returns the value associated with the given key, or (byte) 0 if
676 * @return a byte value
684 * Returns the value associated with the given key, or defaultValue if
689 * @return a byte value
706 * Returns the value associated with the given key, or (char) 0 if
710 * @return a char value
718 * Returns the value associated with the given key, or defaultValue if
723 * @return a char value
740 * Returns the value associated with the given key, or (short) 0 if
744 * @return a short value
752 * Returns the value associated with the given key, or defaultValue if
757 * @return a short value
774 * Returns the value associated with the given key, or 0 if
778 * @return an int value
786 * Returns the value associated with the given key, or defaultValue if
791 * @return an int value
808 * Returns the value associated with the given key, or 0L if
812 * @return a long value
820 * Returns the value associated with the given key, or defaultValue if
825 * @return a long value
842 * Returns the value associated with the given key, or 0.0f if
846 * @return a float value
854 * Returns the value associated with the given key, or defaultValue if
859 * @return a float value
876 * Returns the value associated with the given key, or 0.0 if
880 * @return a double value
888 * Returns the value associated with the given key, or defaultValue if
893 * @return a double value
910 * Returns the value associated with the given key, or null if
912 * value is explicitly associated with the key.
915 * @return a String value, or null
929 * Returns the value associated with the given key, or defaultValue if
931 * value is explicitly associated with the given key.
935 * value is associated with the given key.
936 * @return the String value associated with the given key, or defaultValue
945 * Returns the value associated with the given key, or null if
947 * value is explicitly associated with the key.
950 * @return a CharSequence value, or null
964 * Returns the value associated with the given key, or defaultValue if
966 * value is explicitly associated with the given key.
970 * value is associated with the given key.
971 * @return the CharSequence value associated with the given key, or defaultValue
980 * Returns the value associated with the given key, or null if
982 * value is explicitly associated with the key.
985 * @return a Serializable value, or null
1002 * Returns the value associated with the given key, or null if
1004 * value is explicitly associated with the key.
1007 * @return an ArrayList<String> value, or null
1024 * Returns the value associated with the given key, or null if
1026 * value is explicitly associated with the key.
1029 * @return an ArrayList<String> value, or null
1046 * Returns the value associated with the given key, or null if
1048 * value is explicitly associated with the key.
1051 * @return an ArrayList<CharSequence> value, or null
1068 * Returns the value associated with the given key, or null if
1070 * value is explicitly associated with the key.
1073 * @return a boolean[] value, or null
1090 * Returns the value associated with the given key, or null if
1092 * value is explicitly associated with the key.
1095 * @return a byte[] value, or null
1112 * Returns the value associated with the given key, or null if
1114 * value is explicitly associated with the key.
1117 * @return a short[] value, or null
1134 * Returns the value associated with the given key, or null if
1136 * value is explicitly associated with the key.
1139 * @return a char[] value, or null
1156 * Returns the value associated with the given key, or null if
1158 * value is explicitly associated with the key.
1161 * @return an int[] value, or null
1178 * Returns the value associated with the given key, or null if
1180 * value is explicitly associated with the key.
1183 * @return a long[] value, or null
1200 * Returns the value associated with the given key, or null if
1202 * value is explicitly associated with the key.
1205 * @return a float[] value, or null
1222 * Returns the value associated with the given key, or null if
1224 * value is explicitly associated with the key.
1227 * @return a double[] value, or null
1244 * Returns the value associated with the given key, or null if
1246 * value is explicitly associated with the key.
1249 * @return a String[] value, or null
1266 * Returns the value associated with the given key, or null if
1268 * value is explicitly associated with the key.
1271 * @return a CharSequence[] value, or null