Searched defs:values (Results 1 - 25 of 163) sorted by last modified time

1234567

/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java99 * Default values will generally produce a reasonable spacing between components
100 * but values may change between different releases of the platform.
172 * Fields can use this value to indicate that their values
177 * intended to avoid confusion between valid values whose sign may not be known.
749 // Find suitable row/col values when at least one is undefined.
1193 Bounds[] values = groupBounds.values;
1194 for (int i = 0; i < values.length; i++) {
1195 values[i].reset();
1220 // Add values compute
2199 public final V[] values; field in class:GridLayout.PackedMap
2201 PackedMap(K[] keys, V[] values) argument
[all...]
/frameworks/support/v7/palette/src/android/support/v7/graphics/
H A DPalette.java120 * Good values for {@code numColors} depend on the source image type.
121 * For landscapes, a good values are in the range 12-16. For images which are largely made up
125 * number will increase the time needed to compute the values.
484 * Copy a {@link Swatch}'s HSL values into a new float[].
504 private static float weightedMean(float... values) { argument
508 for (int i = 0; i < values.length; i += 2) {
509 float value = values[i];
510 float weight = values[i + 1];
579 * Return this swatch's HSL values.
586 // Lazily generate HSL values fro
[all...]
/frameworks/support/gradle/wrapper/
H A Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/gradle/wrapper/ org/gradle/wrapper/Download ...
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/
H A DScale.java34 private void captureValues(TransitionValues values) { argument
35 View view = values.view;
36 values.values.put(PROPNAME_SCALE, view.getScaleX());
56 final float startScale = (Float) startValues.values.get(PROPNAME_SCALE);
57 final float endScale = (Float) endValues.values.get(PROPNAME_SCALE);
/frameworks/support/v4/java/android/support/v4/content/
H A DFileProvider.java402 * values are bound to <i>selection</i> as {@link java.lang.String} values.
419 Object[] values = new Object[projection.length];
424 values[i++] = file.getName();
427 values[i++] = file.length();
432 values = copyOf(values, i);
435 cursor.addRow(values);
470 public Uri insert(Uri uri, ContentValues values) { argument
479 public int update(Uri uri, ContentValues values, Strin argument
[all...]
H A DModernAsyncTask.java217 * The specified values are the values passed to {@link #publishProgress}.
219 * @param values The values indicating progress.
225 protected void onProgressUpdate(Progress... values) { argument
445 * @param values The progress values to update the UI with.
450 protected final void publishProgress(Progress... values) { argument
453 new AsyncTaskResult<Progress>(this, values)).sendToTarget();
/frameworks/support/v4/java/android/support/v4/util/
H A DArrayMap.java195 * Return a {@link java.util.Collection} for iterating over and interacting with all values
202 public Collection<V> values() { method in class:ArrayMap
/frameworks/opt/photoviewer/sample/src/com/example/photoviewersample/
H A DSampleProvider.java49 public Uri insert(Uri uri, ContentValues values) { argument
145 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIccProvider.java337 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { argument
359 pin2 = values.getAsString("pin2");
365 pin2 = values.getAsString("pin2");
373 String tag = values.getAsString("tag");
374 String number = values.getAsString("number");
376 String newTag = values.getAsString("newTag");
377 String newNumber = values.getAsString("newNumber");
/frameworks/opt/telephony/src/java/com/google/android/mms/util/
H A DSqliteWrapper.java89 ContentValues values, String where, String[] selectionArgs) {
91 return resolver.update(uri, values, where, selectionArgs);
111 Uri uri, ContentValues values) {
113 return resolver.insert(uri, values);
88 update(Context context, ContentResolver resolver, Uri uri, ContentValues values, String where, String[] selectionArgs) argument
110 insert(Context context, ContentResolver resolver, Uri uri, ContentValues values) argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DSmsMessageBodyTest.java261 int[] values = {0, 0, 0, SmsConstants.ENCODING_7BIT, 0, 0};
279 values[0] = sTestMsgCounts[i];
280 values[1] = len;
281 values[2] = sSeptetUnitsRemaining[i];
283 callGsmLengthMethods(testStr, false, values);
284 callGsmLengthMethods(testStr, true, values);
285 callCdmaLengthMethods(testStr, false, values);
286 callCdmaLengthMethods(testStr, true, values);
293 int[] values = {0, 0, 0, SmsConstants.ENCODING_16BIT, 0, 0};
313 values[
382 fillData(int enabledLangsIndex, boolean use7bitOnly, int[] values, int length) argument
[all...]
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardUtils.java372 * Escaped characters in those values are automatically unescaped into original form.
413 public static boolean containsOnlyPrintableAscii(final String...values) {
414 if (values == null) {
417 return containsOnlyPrintableAscii(Arrays.asList(values));
420 public static boolean containsOnlyPrintableAscii(final Collection<String> values) { argument
421 if (values == null) {
424 for (final String value : values) {
444 public static boolean containsOnlyNonCrLfPrintableAscii(final String...values) {
445 if (values == null) {
448 return containsOnlyNonCrLfPrintableAscii(Arrays.asList(values));
451 containsOnlyNonCrLfPrintableAscii(final Collection<String> values) argument
494 containsOnlyAlphaDigitHyphen(final Collection<String> values) argument
530 containsOnlyWhiteSpaces(final Collection<String> values) argument
[all...]
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DEventRecurrence.java98 /* values for bit vector that keeps track of what we have already seen */
296 int count, int[] values)
302 s.append(values[i]);
305 s.append(values[count]);
573 * properties. We don't have any case-sensitive values in RRULE, except possibly
578 * - allows lower-case property and enumeration values [optional]
582 * - improved validation on various values (e.g. UNTIL timestamps)
702 * @return A new array with values, sized to hold the exact number of elements.
706 int[] values;
710 values
295 appendNumbers(StringBuilder s, String label, int count, int[] values) argument
[all...]
H A DRecurrenceSet.java51 * @param values The values retrieved from the Events table.
53 public RecurrenceSet(ContentValues values) argument
55 String rruleStr = values.getAsString(CalendarContract.Events.RRULE);
56 String rdateStr = values.getAsString(CalendarContract.Events.RDATE);
57 String exruleStr = values.getAsString(CalendarContract.Events.EXRULE);
58 String exdateStr = values.getAsString(CalendarContract.Events.EXDATE);
180 * Populates the database map of values with the appropriate RRULE, RDATE,
181 * EXRULE, and EXDATE values extracted from the parsed iCalendar component.
184 * @param values Th
190 populateContentValues(ICalendar.Component component, ContentValues values) argument
325 populateComponent(ContentValues values, ICalendar.Component component) argument
[all...]
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
H A DEventRecurrenceTest.java314 values = v;
318 int[] values; field in class:EventRecurrenceTest.Check
335 for (int n : ck.values) {
/frameworks/ml/bordeaux/learning/multiclass_pa/jni/
H A Djni_multiclass_pa.cpp26 void CreateIndexValuePairs(const int* indices, const float* values, argument
31 pair<int, float> new_pair(indices[i], values[i]);
66 jfloat* values = env->GetFloatArrayElements(value_array, NULL); local
71 if (values && indices && value_len == index_len) {
74 CreateIndexValuePairs(indices, values, value_len, &inputs);
77 env->ReleaseFloatArrayElements(value_array, values, JNI_ABORT);
82 env->ReleaseFloatArrayElements(value_array, values, JNI_ABORT);
99 jfloat* values = env->GetFloatArrayElements(value_array, NULL); local
104 if (values && indices && value_len == index_len) {
106 CreateIndexValuePairs(indices, values, value_le
[all...]
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/java/android/bordeaux/learning/
H A DStochasticLinearRanker.java64 * keys and values. The first sample should have higher rank than the second
79 public float scoreSample(String[] keys, float[] values) { argument
80 return nativeScoreSample(keys, values, mNativeClassifier);
129 public boolean setModelWeights(String[] keys, float [] values, float normalizer){ argument
130 return nativeSetWeightClassifier(keys, values, normalizer, mNativeClassifier);
178 private native float nativeScoreSample(String[] keys, float[] values, long classifierPtr); argument
180 private native void nativeGetWeightClassifier(String [] keys, float[] values, float normalizer, argument
183 private native void nativeGetParameterClassifier(String [] keys, String[] values, argument
188 private native boolean nativeSetWeightClassifier(String [] keys, float[] values, argument
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/jni/
H A Djni_stochastic_linear_ranker.cpp30 void CreateSparseWeightVector(JNIEnv* env, const jobjectArray keys, const float* values, argument
37 sample->SetElement(key, static_cast<double>(values[i]));
42 void ConvertParameter2Object(JNIEnv* env, jobjectArray *keys, jobjectArray *values, argument
48 env->SetObjectArrayElement(*values, index, jstrV);
51 void DecomposeSparseWeightVector(JNIEnv* env, jobjectArray *keys, jfloatArray *values, argument
64 env->SetFloatArrayRegion(*values, i, 1, s);
450 jfloat* values = env->GetFloatArrayElements(value_array, NULL); local
454 if (values && key_array && values_len == keys_len) {
456 CreateSparseWeightVector(env, key_array, values, values_len, &sample);
457 env->ReleaseFloatArrayElements(value_array, values, JNI_ABOR
[all...]
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DStochasticLinearRankerWithPrior.java88 public float scoreSample(String[] keys, float[] values) { argument
90 return super.scoreSample(keys, values);
94 return (1 - mAutoAlpha) * super.scoreSample(keys,values) +
95 mAutoAlpha * priorScoreSample(keys,values);
97 return priorScoreSample(keys,values);
99 return (1 - mAlpha) * super.scoreSample(keys,values) +
100 mAlpha * priorScoreSample(keys,values);
104 public float priorScoreSample(String[] keys, float[] values) { argument
108 score = score + mPriorWeights.get(keys[i]) * values[i];
/frameworks/multidex/gradle/wrapper/
H A Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/gradle/wrapper/ org/gradle/wrapper/Download ...
/frameworks/native/include/input/
H A DInput.h196 float values[MAX_AXES]; member in struct:android::PointerCoords
/frameworks/native/libs/gui/tests/
H A DSRGB_test.cpp414 // Save the values of the middle pixel for later comparison against SRGB
415 uint8_t values[PIXEL_SIZE] = {}; local
420 values[c] = mLockedBuffer.data[middleOffset + c];
466 float rgbAsSRGB = (c == 3) ? values[c] / 255.0f :
467 linearToSRGB(values[c] / 255.0f);
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_api.cpp9195 void GLTrace_glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values) { argument
9225 // copy argument values
9229 arg_values->add_int64value((uintptr_t)values);
9234 glContext->hooks->gl.glGetSynciv(sync, pname, bufSize, length, values);
9241 (void *) values,
16148 void GLTrace_glGetSyncivAPPLE(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values) { argument
16178 // copy argument values
16182 arg_values->add_int64value((uintptr_t)values);
16187 glContext->hooks->gl.glGetSyncivAPPLE(sync, pname, bufSize, length, values);
16194 (void *) values,
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp345 int32_t values[NUM_DISPLAY_ATTRIBUTES - 1]; local
346 memset(values, 0, sizeof(values));
361 DISPLAY_ATTRIBUTES, values);
372 config.refresh = nsecs_t(values[i]);
375 config.width = values[i];
378 config.height = values[i];
381 config.xdpi = values[i] / 1000.0f;
384 config.ydpi = values[i] / 1000.0f;
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DDecodeTask.java501 protected void onProgressUpdate(Void... values) { argument

Completed in 588 milliseconds

1234567