/packages/apps/Camera2/src/com/android/camera/settings/ |
H A D | SettingsUpgrader.java | 35 // resource arrays. We no longer utilize such value arrays, and reference 75 * @throws a {@link ClassCastException} if the value for Version is not a 84 * and return the value that was removed. 91 boolean value = false; 93 value = oldPreferencesLocation.getBoolean(key, value); 95 Log.e(TAG, "error reading old value, removing and returning default", e); 98 return value; 103 * and return the value that was removed. 110 int value [all...] |
/packages/apps/Terminal/src/com/android/terminal/ |
H A D | TerminalCallbacks.java | 33 public int setTermPropBoolean(int prop, boolean value) { argument 37 public int setTermPropInt(int prop, int value) { argument 41 public int setTermPropString(int prop, String value) { argument
|
/packages/apps/Camera2/src/com/android/camera/processing/memory/ |
H A D | LruPool.java | 33 * return the same value instance. 36 * reconfigured by a subclass to be proportional to some other computed value. 52 * invoked when a value is evicted to make space, but NOT when an item is 59 void entryEvicted(TKey key, TValue value) { } argument 62 * Called after a cache miss to compute a value for the corresponding key. 63 * Returns the computed value or null if no value can be computed. The 74 * Returns the size of the entry for {@code key} and {@code value} in 80 int sizeOf(TKey key, TValue value) { argument 132 * Acquire a value fro 171 add(TKey key, TValue value) argument 250 checkedSizeOf(TKey key, TValue value) argument [all...] |
H A D | SimpleLruResourcePool.java | 45 TValue value; 47 value = mLruPool.acquire(key); 50 // We may not reach a point where we have have a value to reuse, 52 if(value == null) { 53 value = create(key); 56 return new SynchronizedResource<>(this, key, value); 60 * Create a new value for a given key. 65 * Recycle or reset a given value before it is added back to the pool, 68 protected TValue recycle(TKey key, TValue value) { argument 69 return value; 75 release(TKey key, TValue value) argument 94 SynchronizedResource(SimpleLruResourcePool<TKey, TValue> pool, TKey key, TValue value) argument [all...] |
/packages/apps/Messaging/src/android/support/v7/mms/pdu/ |
H A D | AcknowledgeInd.java | 28 * @param transactionId the transaction-id value 51 * Get X-Mms-Report-Allowed field value. 53 * @return the X-Mms-Report-Allowed value 60 * Set X-Mms-Report-Allowed field value. 62 * @param value the value 63 * @throws InvalidHeaderValueException if the value is invalid. 65 public void setReportAllowed(int value) throws InvalidHeaderValueException { argument 66 mPduHeaders.setOctet(value, PduHeaders.REPORT_ALLOWED); 70 * Get X-Mms-Transaction-Id field value 84 setTransactionId(byte[] value) argument [all...] |
H A D | MultimediaMessagePdu.java | 77 * @return the value 86 * @param value the value 87 * @throws NullPointerException if the value is null. 89 public void setSubject(EncodedStringValue value) { argument 90 mPduHeaders.setEncodedStringValue(value, PduHeaders.SUBJECT); 94 * Get To value. 96 * @return the value 103 * Add a "To" value. 105 * @param value th 108 addTo(EncodedStringValue value) argument 127 setPriority(int value) argument 145 setDate(long value) argument [all...] |
H A D | ReadRecInd.java | 24 * @param from the from value 25 * @param messageId the message ID value 27 * @param readStatus the read status value 28 * @param to the to value 56 * Get Date value. 58 * @return the value 65 * Set Date value. 67 * @param value the value 69 public void setDate(long value) { argument 88 setMessageId(byte[] value) argument 107 setTo(EncodedStringValue[] value) argument 126 setReadStatus(int value) argument [all...] |
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
H A D | AcknowledgeInd.java | 30 * @param transactionId the transaction-id value 53 * Get X-Mms-Report-Allowed field value. 55 * @return the X-Mms-Report-Allowed value 62 * Set X-Mms-Report-Allowed field value. 64 * @param value the value 65 * @throws InvalidHeaderValueException if the value is invalid. 67 public void setReportAllowed(int value) throws InvalidHeaderValueException { argument 68 mPduHeaders.setOctet(value, PduHeaders.REPORT_ALLOWED); 72 * Get X-Mms-Transaction-Id field value 86 setTransactionId(byte[] value) argument [all...] |
H A D | MultimediaMessagePdu.java | 79 * @return the value 88 * @param value the value 89 * @throws NullPointerException if the value is null. 91 public void setSubject(EncodedStringValue value) { argument 92 mPduHeaders.setEncodedStringValue(value, PduHeaders.SUBJECT); 96 * Get To value. 98 * @return the value 105 * Add a "To" value. 107 * @param value th 110 addTo(EncodedStringValue value) argument 129 setPriority(int value) argument 147 setDate(long value) argument [all...] |
H A D | ReadRecInd.java | 26 * @param from the from value 27 * @param messageId the message ID value 29 * @param readStatus the read status value 30 * @param to the to value 58 * Get Date value. 60 * @return the value 67 * Set Date value. 69 * @param value the value 71 public void setDate(long value) { argument 90 setMessageId(byte[] value) argument 109 setTo(EncodedStringValue[] value) argument 128 setReadStatus(int value) argument [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
H A D | ShadowSystemSettings.java | 35 public static boolean putInt(ContentResolver resolver, String name, int value) { argument 36 sValueMap.put(name, value); 41 public static boolean putString(ContentResolver resolver, String name, String value) { argument 42 sValueMap.put(name, value); 57 public static boolean putIntForUser(ContentResolver cr, String name, int value, argument 59 return putInt(cr, name, value); 69 Integer value = (Integer) sValueMap.get(name); 70 return value == null ? defaultValue : value;
|
/packages/apps/UnifiedEmail/src/com/android/mail/analytics/ |
H A D | Tracker.java | 29 void sendEvent(String category, String action, String label, long value); argument 30 void sendMenuItemEvent(String category, int itemResId, String label, long value); argument 33 void setCustomDimension(int index, String value); argument 40 void setCustomMetric(int index, Long value); argument
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/ |
H A D | itoa.h | 39 inline char* u32toa(uint32_t value, char* buffer) { argument 42 if (value < 10000) { 43 const uint32_t d1 = (value / 100) << 1; 44 const uint32_t d2 = (value % 100) << 1; 46 if (value >= 1000) 48 if (value >= 100) 50 if (value >= 10) 54 else if (value < 100000000) { 55 // value = bbbbcccc 56 const uint32_t b = value / 1000 113 i32toa(int32_t value, char* buffer) argument 123 u64toa(uint64_t value, char* buffer) argument 291 i64toa(int64_t value, char* buffer) argument [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
H A D | SignedLongLong.java | 24 * Class to represent a 128bit value using two long member variables. 26 * Mind that since signed variables are used to store the value internally 41 * @param value the hex-string 45 public static SignedLongLong fromString(String value) throws UnsupportedEncodingException { argument 50 if(value == null) throw new NullPointerException(); 51 value=value.trim(); 52 int valueLength = value.length(); 57 lsbStr = value; 59 lsbStr = value [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/util/ |
H A D | NumberUtils.java | 41 int value = unsignedByteToInt(bytes[i]); 42 result += (value << (i * 8));
|
/packages/apps/Dialer/java/com/android/dialer/common/ |
H A D | MathUtil.java | 25 * @param begin Begin value 26 * @param end End value 27 * @param percent Percentage value, between 0 and 1 37 * @param begin Begin value 38 * @param end End value 39 * @param percent Percentage value, between 0 and 1 47 * Clamps a value between two bounds inclusively. 49 * @param value Value to be clamped 52 * @return Clamped value 54 public static float clamp(float value, floa argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/ |
H A D | ParameterBrightness.java | 23 public ParameterBrightness(int id, int value) { argument 24 super(id, value, 0, 255);
|
H A D | ParameterHue.java | 23 public ParameterHue(int id, int value) { argument 24 super(id, value, 0, 360);
|
H A D | ParameterOpacity.java | 22 public ParameterOpacity(int id, int value) { argument 23 super(id, value, 0, 255);
|
H A D | ParameterSaturation.java | 23 public ParameterSaturation(int id, int value) { argument 24 super(id, value, 0, 100);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
H A D | Now.java | 25 public Now(C value) { argument 26 mValue = value;
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
H A D | ConsumerTrap.java | 22 * A consumer that saves the value that it is given. 30 public boolean consume(A value) { argument 31 mValue = value;
|
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/ |
H A D | StringResource.java | 24 public StringResource(final String name, final String value, final String comment) { argument 26 mValue = value;
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
H A D | ContentWriter.java | 57 public ContentWriter put(String key, Integer value) { argument 58 mValues.put(key, value); 62 public ContentWriter put(String key, Long value) { argument 63 mValues.put(key, value); 67 public ContentWriter put(String key, String value) { argument 68 mValues.put(key, value); 72 public ContentWriter put(String key, CharSequence value) { argument 73 mValues.put(key, value == null ? null : value.toString()); 77 public ContentWriter put(String key, Intent value) { argument 82 putIcon(Bitmap value, UserHandle user) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | TransitionStore.java | 24 public void put(Object key, Object value) { argument 25 mStorage.put(key, value); 39 T value = (T) mStorage.get(key); 40 return value == null ? valueIfNull : value;
|