/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
H A D | NativeSuggestOptions.java | 30 public void setIsGesture(final boolean value) { argument 31 setBooleanOption(IS_GESTURE, value); 34 public void setUseFullEditDistance(final boolean value) { argument 35 setBooleanOption(USE_FULL_EDIT_DISTANCE, value); 38 public void setBlockOffensiveWords(final boolean value) { argument 39 setBooleanOption(BLOCK_OFFENSIVE_WORDS, value); 42 public void setSpaceAwareGestureEnabled(final boolean value) { argument 43 setBooleanOption(SPACE_AWARE_GESTURE_ENABLED, value); 59 private void setBooleanOption(final int key, final boolean value) { argument 60 mOptions[key] = value 63 setIntegerOption(final int key, final int value) argument [all...] |
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/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/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/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/OMA-DM/engine/dmlib/dmengine/dm_persist/src/ |
H A D | dmBufferReader.cc | 65 UINT8 value = 0; local 67 Read((UINT8*)&value,sizeof(UINT8)); 69 return value; 76 UINT16 value = 0; local 78 Read((UINT8*)&value,sizeof(UINT16)); 80 return value; 86 UINT32 value = 0; local 88 Read((UINT8*)&value,sizeof(UINT32)); 90 return value;
|
/packages/apps/OMA-DM/engine/dmlib/dmengine/dm_ua/src/ |
H A D | dmMetaDataBuffer.cc | 29 UINT32 DMMetaDataBuffer::m_bCorrupted = 0; // due to multiple passing by value, it's reasonable to use static 70 UINT16 value = 0; local 74 value |= (*(m_pBuffer+m_nOffset)) << (i*8); 77 return value; 83 UINT32 value = 0; local 87 value |= (*(m_pBuffer + m_nOffset)) << (i*8); 90 return value; 95 FLOAT value = 0; local 96 UINT8 *ptr = (UINT8 *)&value; 105 return value; [all...] |
/packages/apps/OMA-DM/engine/xpl/src/ |
H A D | xpl_Regex.cc | 46 DMString value( str ); 63 result = ::is_date( value ); 71 result = ::is_time( value ); 79 result = ::is_float( 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 31 void sendMenuItemEvent(String category, int itemResId, String label, long value); argument 33 void setCustomDimension(int index, String value); argument 34 void setCustomMetric(int index, Long value); argument
|
/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...] |