/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
H A D | NativeSuggestOptions.java | 28 public void setIsGesture(final boolean value) { argument 29 setBooleanOption(IS_GESTURE, value); 32 public void setUseFullEditDistance(final boolean value) { argument 33 setBooleanOption(USE_FULL_EDIT_DISTANCE, value); 49 private void setBooleanOption(final int key, final boolean value) { argument 50 mOptions[key] = value ? 1 : 0; 53 private void setIntegerOption(final int key, final int value) { argument 54 mOptions[key] = value;
|
H A D | SeekBarDialogPreference.java | 36 public void writeValue(final int value, final String key); argument 38 public String getValueText(final int value); argument 39 public void feedbackValue(final int value); argument 64 final int value = mValueProxy.readValue(getKey()); 65 setSummary(mValueProxy.getValueText(value)); 78 private int getProgressFromValue(final int value) { argument 79 return value - mMinValue; 86 private int clipValue(final int value) { argument 87 final int clippedValue = Math.min(mMaxValue, Math.max(mMinValue, value)); 100 final int value [all...] |
/packages/apps/UnifiedEmail/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/UnifiedEmail/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/Contacts/tests/src/com/android/contacts/util/ |
H A D | StreamItemEntryBuilder.java | 38 public StreamItemEntryBuilder setText(String value) { argument 39 mText = value; 43 public StreamItemEntryBuilder setComment(String value) { argument 44 mComment = value; 48 public StreamItemEntryBuilder setAccountType(String value) { argument 49 mAccountType = value; 53 public StreamItemEntryBuilder setAccountName(String value) { argument 54 mAccountName = value; 58 public StreamItemEntryBuilder setDataSet(String value) { argument 59 mDataSet = value; [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
H A D | Consumers.java | 29 A value) { 32 accepted = consumer.consume(value); 34 if (!accepted && value != null) value.close(); 39 final Consumer<A> consumer, final A value) { 41 consumer.consume(value); 45 consumer.consume(value); 52 final Consumer<A> consumer, final A value) { 54 consumeCloseable(consumer, value); 58 consumeCloseable(consumer, value); 28 consumeCloseable(Consumer<A> consumer, A value) argument 38 consumeAsync(Handler handler, final Consumer<A> consumer, final A value) argument 51 consumeCloseableAsync(Handler handler, final Consumer<A> consumer, final A value) argument [all...] |
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
|
H A D | Now.java | 25 public Now(C value) { argument 26 mValue = value;
|
/packages/apps/Camera2/tests/exiftool_parser/ |
H A D | parser.py | 28 # | | | x) name = value 74 # find the raw value in the parenthesis 75 value = re.search("\(SubDirectory\) -->", s) variable 76 if value: 77 value = "NO_VALUE" variable 79 value = re.search("\(.*\)\n", s) variable 80 if (name != 'Model' and value): 81 value = value.group(0)[1:-2] variable 83 value variable 84 value = value.group(0)[2:-1] variable 86 value = "NO_VALUE" variable [all...] |
/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 32 void setCustomDimension(int index, String value); argument 33 void setCustomMetric(int index, Long value); argument
|
/packages/services/Telephony/common/src/com/android/services/telephony/common/ |
H A D | MoreStrings.java | 24 public static String toSafeString(String value) { argument 25 if (value == null) { 32 for (int i = 0; i < value.length(); i++) { 33 final char c = value.charAt(i);
|
/packages/apps/Settings/src/com/android/settings/widget/ |
H A D | ChartAxis.java | 33 /** Convert raw value into screen point. */ 34 public float convertToPoint(long value); argument 35 /** Convert screen point into raw value. */ 39 * Build label that describes given raw value. If the label is rounded for 40 * display, return the rounded value. 42 public long buildLabel(Resources res, SpannableStringBuilder builder, long value); argument 48 * Test if given raw value should cause the axis to grow or shrink; 49 * returning positive value to grow and negative to shrink. 51 public int shouldAdjustAxis(long value); argument
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ |
H A D | LogStatement.java | 55 // Keys for internal key/value pairs 108 * Utility function to test whether a key-value pair exists in a LogStatement. 116 * value in the {@code values} array 120 * queryValue} matches the corresponding value in {@code values} 139 * Utility function to set a value in a LogStatement. 147 * @param newValue the replacement value to go into the {@code values} array 149 * @returns {@true} if the key exists and the value was successfully set, {@false} otherwise 184 jsonWriter.name(CURRENT_TIME_KEY).value(System.currentTimeMillis()); 185 jsonWriter.name(UPTIME_KEY).value(time); 186 jsonWriter.name(EVENT_TYPE_KEY).value(mTyp [all...] |
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
H A D | IconLoaderTest.java | 46 public void assertNull(NowOrLater<?> value) { argument 47 if (value.haveNow()) { 48 assertNull(value.getNow()); 51 value.getLater(consumer); 56 public void assertNotNull(NowOrLater<?> value) { argument 57 if (value.haveNow()) { 58 assertNotNull(value.getNow()); 61 value.getLater(consumer); 69 public boolean consume(Object value) { argument 72 mValue = value; [all...] |
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/apps/Exchange/src/com/android/exchange/ |
H A D | MockParserStream.java | 33 Object value; field in class:MockParserStream 49 value = _value; 53 return value;
|
/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/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/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;
|
/packages/apps/Nfc/nci/jni/ |
H A D | RouteDataSet.cpp | 197 xmlChar* value = xmlGetProp (node1, (const xmlChar*) "Type"); local 198 if (value && (xmlStrcmp (value, (const xmlChar*) "SecElemSelectedRoutes") == 0)) 211 else if (value && (xmlStrcmp (value, (const xmlChar*) "DefaultRoutes") == 0)) 224 if (value) 225 xmlFree (value); 344 xmlChar* value = NULL; local 347 value = xmlGetProp (element, id); 348 if (value) 416 xmlChar* value = NULL; local [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
H A D | DbQueryUtils.java | 33 /** Returns a WHERE clause asserting equality of a field to a value. */ 34 public static String getEqualityClause(String field, String value) { argument 35 return getClauseWithOperator(field, "=", value); 38 /** Returns a WHERE clause asserting equality of a field to a value. */ 39 public static String getEqualityClause(String field, long value) { argument 40 return getClauseWithOperator(field, "=", value); 43 /** Returns a WHERE clause asserting in-equality of a field to a value. */ 44 public static String getInequalityClause(String field, long value) { argument 45 return getClauseWithOperator(field, "!=", value); 48 private static String getClauseWithOperator(String field, String operator, String value) { argument 58 getClauseWithOperator(String field, String operator, long value) argument 125 escapeLikeValue(StringBuilder sb, String value, char escapeChar) argument [all...] |