/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/ |
H A D | SpeedEvaluator.java | 20 public static float evaluate(float value) { argument 22 if (value < 4.0) { 25 if (value < 2.2) { 28 if (value > 35.0) { 31 if (value > 50.0) {
|
H A D | SpeedVarianceEvaluator.java | 20 public static float evaluate(float value) { argument 22 if (value > 0.06) { 25 if (value > 0.15) { 28 if (value > 0.3) { 31 if (value > 0.6) {
|
H A D | AnglesVarianceEvaluator.java | 20 public static float evaluate(float value) { argument 22 if (value > 0.05) { 25 if (value > 0.10) { 28 if (value > 0.20) { 31 if (value > 0.40) { 34 if (value > 0.80) { 37 if (value > 1.50) {
|
H A D | EndPointLengthEvaluator.java | 20 public static float evaluate(float value) { argument 22 if (value < 0.05) { 25 if (value < 0.1) { 28 if (value < 0.2) { 31 if (value < 0.3) { 34 if (value < 0.4) { 37 if (value < 0.5) {
|
H A D | EndPointRatioEvaluator.java | 20 public static float evaluate(float value) { argument 22 if (value < 0.85) { 25 if (value < 0.75) { 28 if (value < 0.65) { 31 if (value < 0.55) { 34 if (value < 0.45) { 37 if (value < 0.35) {
|
H A D | LengthCountEvaluator.java | 23 public static float evaluate(float value) { argument 25 if (value < 0.09) { 28 if (value < 0.05) { 31 if (value < 0.02) { 34 if (value > 0.6) { 37 if (value > 0.9) { 40 if (value > 1.2) {
|
H A D | PointerCountEvaluator.java | 20 public static float evaluate(int value) { argument 21 return (value - 1) * (value - 1);
|
H A D | AnglesPercentageEvaluator.java | 20 public static float evaluate(float value) { argument 22 if (value < 1.00) { 25 if (value < 0.90) { 28 if (value < 0.70) {
|
H A D | SpeedAnglesPercentageEvaluator.java | 20 public static float evaluate(float value) { argument 22 if (value < 1.00) { 25 if (value < 0.90) { 28 if (value < 0.70) {
|
H A D | DurationCountEvaluator.java | 20 public static float evaluate(float value) { argument 22 if (value < 0.0105) { 25 if (value < 0.00909) { 28 if (value < 0.00667) { 31 if (value > 0.0333) { 34 if (value > 0.0500) {
|
H A D | SpeedRatioEvaluator.java | 20 public static float evaluate(float value) { argument 22 if (value == 0) { 25 if (value <= 1.0) { 28 if (value <= 0.5) { 31 if (value > 9.0) { 34 if (value > 18.0) {
|
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
H A D | NativeSuggestOptions.java | 34 public void setIsGesture(final boolean value) { argument 35 setBooleanOption(IS_GESTURE, value); 38 public void setUseFullEditDistance(final boolean value) { argument 39 setBooleanOption(USE_FULL_EDIT_DISTANCE, value); 42 public void setBlockOffensiveWords(final boolean value) { argument 43 setBooleanOption(BLOCK_OFFENSIVE_WORDS, value); 46 public void setWeightForLocale(final float value) { argument 47 // We're passing this option as a fixed point value, in thousands. This is decoded in 49 setIntegerOption(WEIGHT_FOR_LOCALE_IN_THOUSANDS, (int) (value * 1000)); 56 private void setBooleanOption(final int key, final boolean value) { argument 60 setIntegerOption(final int key, final int value) argument [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/DocumentsUI/src/com/android/documentsui/base/ |
H A D | BooleanConsumer.java | 21 void accept(boolean value); argument
|
/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/Messaging/src/android/support/v7/mms/pdu/ |
H A D | ReadOrigInd.java | 44 * Get Date value. 46 * @return the value 53 * Set Date value. 55 * @param value the value 57 public void setDate(long value) { argument 58 mPduHeaders.setLongInteger(value, PduHeaders.DATE); 62 * Get From value. 63 * From-value = Value-length 64 * (Address-present-token Encoded-string-value | Inser 78 setFrom(EncodedStringValue value) argument 97 setMessageId(byte[] value) argument 116 setReadStatus(int value) argument 135 setTo(EncodedStringValue[] value) argument [all...] |
H A D | RetrieveConf.java | 57 * Get CC value. 59 * @return the value 66 * Add a "CC" value. 68 * @param value the value 69 * @throws NullPointerException if the value is null. 71 public void addCc(EncodedStringValue value) { argument 72 mPduHeaders.appendEncodedStringValue(value, PduHeaders.CC); 76 * Get Content-type value. 78 * @return the value 90 setContentType(byte[] value) argument 109 setDeliveryReport(int value) argument 130 setFrom(EncodedStringValue value) argument 151 setMessageClass(byte[] value) argument 170 setMessageId(byte[] value) argument 189 setReadReport(int value) argument 208 setRetrieveStatus(int value) argument 227 setRetrieveText(EncodedStringValue value) argument 246 setTransactionId(byte[] value) argument [all...] |
H A D | NotificationInd.java | 50 * @return the value 59 * @param value the value 60 * @throws InvalidHeaderValueException if the value is invalid. 63 public void setContentClass(int value) throws InvalidHeaderValueException { argument 64 mPduHeaders.setOctet(value, PduHeaders.CONTENT_CLASS); 68 * Get X-Mms-Content-Location value. 70 * Content-location-value = Uri-value 72 * @return the value 85 setContentLocation(byte[] value) argument 107 setExpiry(long value) argument 129 setFrom(EncodedStringValue value) argument 151 setMessageClass(byte[] value) argument 171 setMessageSize(long value) argument 191 setSubject(EncodedStringValue value) argument 211 setTransactionId(byte[] value) argument 231 setDeliveryReport(int value) argument [all...] |
H A D | SendConf.java | 44 * Get Message-ID value. 46 * @return the value 53 * Set Message-ID value. 55 * @param value the value 56 * @throws NullPointerException if the value is null. 58 public void setMessageId(byte[] value) { argument 59 mPduHeaders.setTextString(value, PduHeaders.MESSAGE_ID); 65 * @return the value 74 * @param value th 77 setResponseStatus(int value) argument 96 setTransactionId(byte[] value) argument [all...] |
H A D | SendReq.java | 51 * @param contentType the content type value 52 * @param from the from value 54 * @param transactionId the transaction-id value 90 * Get Bcc value. 92 * @return the value 99 * Add a "BCC" value. 101 * @param value the value 102 * @throws NullPointerException if the value is null. 104 public void addBcc(EncodedStringValue value) { argument 114 setBcc(EncodedStringValue[] value) argument 133 addCc(EncodedStringValue value) argument 143 setCc(EncodedStringValue[] value) argument 162 setContentType(byte[] value) argument 181 setDeliveryReport(int value) argument 202 setExpiry(long value) argument 222 setMessageSize(long value) argument 243 setMessageClass(byte[] value) argument 262 setReadReport(int value) argument 272 setTo(EncodedStringValue[] value) argument 291 setTransactionId(byte[] value) argument [all...] |
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
H A D | RetrieveConf.java | 59 * Get CC value. 61 * @return the value 68 * Add a "CC" value. 70 * @param value the value 71 * @throws NullPointerException if the value is null. 73 public void addCc(EncodedStringValue value) { argument 74 mPduHeaders.appendEncodedStringValue(value, PduHeaders.CC); 78 * Get Content-type value. 80 * @return the value 92 setContentType(byte[] value) argument 111 setDeliveryReport(int value) argument 132 setFrom(EncodedStringValue value) argument 153 setMessageClass(byte[] value) argument 172 setMessageId(byte[] value) argument 191 setReadReport(int value) argument 215 setRetrieveStatus(int value) argument 234 setRetrieveText(EncodedStringValue value) argument 253 setTransactionId(byte[] value) argument [all...] |
H A D | NotificationInd.java | 52 * @return the value 61 * @param value the value 62 * @throws InvalidHeaderValueException if the value is invalid. 65 public void setContentClass(int value) throws InvalidHeaderValueException { argument 66 mPduHeaders.setOctet(value, PduHeaders.CONTENT_CLASS); 70 * Get X-Mms-Content-Location value. 72 * Content-location-value = Uri-value 74 * @return the value 87 setContentLocation(byte[] value) argument 109 setExpiry(long value) argument 131 setFrom(EncodedStringValue value) argument 153 setMessageClass(byte[] value) argument 173 setMessageSize(long value) argument 193 setSubject(EncodedStringValue value) argument 213 setTransactionId(byte[] value) argument 233 setDeliveryReport(int value) argument [all...] |
H A D | SendReq.java | 53 * @param contentType the content type value 54 * @param from the from value 56 * @param transactionId the transaction-id value 93 * Get Bcc value. 95 * @return the value 102 * Add a "BCC" value. 104 * @param value the value 105 * @throws NullPointerException if the value is null. 107 public void addBcc(EncodedStringValue value) { argument 117 setBcc(EncodedStringValue[] value) argument 136 addCc(EncodedStringValue value) argument 146 setCc(EncodedStringValue[] value) argument 165 setContentType(byte[] value) argument 184 setDeliveryReport(int value) argument 205 setExpiry(long value) argument 225 setMessageSize(long value) argument 246 setMessageClass(byte[] value) argument 265 setReadReport(int value) argument 275 setTo(EncodedStringValue[] value) argument 294 setTransactionId(byte[] value) argument [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...] |