Searched refs:values (Results 1 - 25 of 807) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/transition/
H A DVisibilityPropagation.java43 public void captureValues(TransitionValues values) { argument
44 View view = values.view;
45 Integer visibility = (Integer) values.values.get(Visibility.PROPNAME_VISIBILITY);
49 values.values.put(PROPNAME_VISIBILITY, visibility);
56 values.values.put(PROPNAME_VIEW_CENTER, loc);
65 * Returns {@link android.view.View#getVisibility()} for the View at the time the values
67 * @param values Th
71 getViewVisibility(TransitionValues values) argument
89 getViewX(TransitionValues values) argument
100 getViewY(TransitionValues values) argument
104 getViewCoordinate(TransitionValues values, int coordinateIndex) argument
[all...]
H A DTransitionValues.java27 * Data structure which holds cached values for the transition.
28 * The view field is the target which all of the values pertain to.
29 * The values field is a map which holds information for fields
31 * be unique to avoid clobbering values stored by other transitions,
36 * <p>These values are cached during the
38 * capture} phases of a scene change, once when the start values are captured
39 * and again when the end values are captured. These start/end values are then
47 * The View with these values
52 * The set of values tracke
54 public final Map<String, Object> values = new ArrayMap<String, Object>(); field in class:TransitionValues
[all...]
H A DChangeClipBounds.java54 private void captureValues(TransitionValues values) { argument
55 View view = values.view;
61 values.values.put(PROPNAME_CLIP, clip);
64 values.values.put(PROPNAME_BOUNDS, bounds);
82 || !startValues.values.containsKey(PROPNAME_CLIP)
83 || !endValues.values.containsKey(PROPNAME_CLIP)) {
86 Rect start = (Rect) startValues.values.get(PROPNAME_CLIP);
87 Rect end = (Rect) endValues.values
[all...]
/frameworks/support/transition/src/android/support/transition/
H A DVisibilityPropagation.java44 public void captureValues(TransitionValues values) { argument
45 View view = values.view;
46 Integer visibility = (Integer) values.values.get(Visibility.PROPNAME_VISIBILITY);
50 values.values.put(PROPNAME_VISIBILITY, visibility);
57 values.values.put(PROPNAME_VIEW_CENTER, loc);
66 * Returns {@link android.view.View#getVisibility()} for the View at the time the values
68 * @param values Th
72 getViewVisibility(TransitionValues values) argument
90 getViewX(TransitionValues values) argument
101 getViewY(TransitionValues values) argument
105 getViewCoordinate(TransitionValues values, int coordinateIndex) argument
[all...]
H A DTransitionValues.java26 * Data structure which holds cached values for the transition.
27 * The view field is the target which all of the values pertain to.
28 * The values field is a map which holds information for fields
30 * be unique to avoid clobbering values stored by other transitions,
35 * <p>These values are cached during the
37 * capture} phases of a scene change, once when the start values are captured
38 * and again when the end values are captured. These start/end values are then
46 * The set of values tracked by transitions for this scene
48 public final Map<String, Object> values field in class:TransitionValues
[all...]
H A DChangeClipBounds.java57 private void captureValues(TransitionValues values) { argument
58 View view = values.view;
64 values.values.put(PROPNAME_CLIP, clip);
67 values.values.put(PROPNAME_BOUNDS, bounds);
85 || !startValues.values.containsKey(PROPNAME_CLIP)
86 || !endValues.values.containsKey(PROPNAME_CLIP)) {
89 Rect start = (Rect) startValues.values.get(PROPNAME_CLIP);
90 Rect end = (Rect) endValues.values
[all...]
/frameworks/base/core/java/android/hardware/
H A DSensorEvent.java22 * course the sensor's {@link SensorEvent#values data}.
37 * screen. In this system, coordinates behind the screen have negative Z values.
59 * The length and contents of the {@link #values values} array depends on
65 * Sensor.TYPE_ACCELEROMETER}:</h4> All values are in SI units (m/s^2)
68 * <li> values[0]: Acceleration minus Gx on the x-axis </li>
69 * <li> values[1]: Acceleration minus Gy on the y-axis </li>
70 * <li> values[2]: Acceleration minus Gz on the z-axis </li>
117 * gravity[0] = alpha * gravity[0] + (1 - alpha) * event.values[0];
118 * gravity[1] = alpha * gravity[1] + (1 - alpha) * event.values[
632 public final float[] values; field in class:SensorEvent
[all...]
H A DTriggerEvent.java38 * The length and contents of the {@link #values values} array depends on
46 public final float[] values; field in class:TriggerEvent
60 values = new float[size];
H A DSensorListener.java21 * sensor values have changed.
30 * <p>Called when sensor values have changed.
31 * The length and contents of the values array vary
45 * device's screen orientation changes. To access the unswapped values,
46 * use indices 3, 4 and 5 in values[].
50 * All values are angles in degrees.
52 * <p>values[0]: Azimuth, rotation around the Z axis (0<=azimuth<360).
55 * <p>values[1]: Pitch, rotation around X axis (-180<=pitch<=180), with positive
56 * values when the z-axis moves toward the y-axis.
58 * <p>values[
90 onSensorChanged(int sensor, float[] values) argument
[all...]
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/
H A DGenericConverter.java25 public static <T> String convertArrayList(ArrayList<T> values) { argument
26 return convert(values);
30 public static String convertLinkedList(LinkedList<?> values) { argument
31 return convert(values);
34 private static <T> String convert(List<T> values) { argument
35 if (values == null) {
39 for (T val : values) {
/frameworks/base/core/java/android/content/
H A DEntity.java34 public Entity(ContentValues values) { argument
35 mValues = values;
47 public void addSubValue(Uri uri, ContentValues values) { argument
48 mSubValues.add(new Entity.NamedContentValues(uri, values));
53 public final ContentValues values; field in class:Entity.NamedContentValues
55 public NamedContentValues(Uri uri, ContentValues values) { argument
57 this.values = values;
66 sb.append("\n -> ").append(namedValue.values);
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/
H A DMultiValueMap.java15 ArrayList<T> values = mMap.get(key);
16 if (values == null) {
17 values = new ArrayList<>();
18 mMap.put(key, values);
20 values.add(value);
25 List<T> values = mMap.get(key);
26 if (values == null) {
28 } else if (values.size() == 1) {
29 return values.get(0);
37 List<T> values
97 public Collection<T> values() { method in class:MultiValueMap
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DInterpolator.java36 * Reset the Interpolator to have the specified number of values and an
38 * values for each keyFrame must be assigned using setKeyFrame().
45 * Reset the Interpolator to have the specified number of values and
46 * keyFrames. After this call the values for each keyFrame must be assigned
65 * values (with an implicity blend array of [0, 0, 1, 1] giving linear
66 * transition to the next set of key values).
71 * @param values Array of values associated with theis key frame
73 public void setKeyFrame(int index, int msec, float[] values) { argument
74 setKeyFrame(index, msec, values, nul
87 setKeyFrame(int index, int msec, float[] values, float[] blend) argument
121 timeToValues(float[] values) argument
136 timeToValues(int msec, float[] values) argument
160 nativeSetKeyFrame(long native_instance, int index, int msec, float[] values, float[] blend) argument
162 nativeTimeToValues(long native_instance, int msec, float[] values) argument
[all...]
/frameworks/base/media/java/android/media/
H A DAudioGainConfig.java20 * The AudioGainConfig is used by APIs setting or getting values on a given gain
36 int[] values, int rampDurationMs) {
41 mValues = values;
70 * Gain values for each channel in the order of bits set in
73 public int[] values() { method in class:AudioGainConfig
35 AudioGainConfig(int index, AudioGain gain, int mode, int channelMask, int[] values, int rampDurationMs) argument
/frameworks/base/libs/androidfw/tests/data/sparse/
H A Dgen_strings.sh3 OUTPUT_default=res/values/strings.xml
4 OUTPUT_v26=res/values-v26/strings.xml
/frameworks/base/core/java/android/provider/
H A DSyncStateContract.java105 ContentValues values = new ContentValues();
106 values.put(Columns.DATA, data);
107 values.put(Columns.ACCOUNT_NAME, account.name);
108 values.put(Columns.ACCOUNT_TYPE, account.type);
109 provider.insert(uri, values);
114 ContentValues values = new ContentValues();
115 values.put(Columns.DATA, data);
116 values.put(Columns.ACCOUNT_NAME, account.name);
117 values.put(Columns.ACCOUNT_TYPE, account.type);
118 return provider.insert(uri, values);
[all...]
/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/opt/calendar/tests/src/com/android/calendarcommon2/
H A DRecurrenceSetTest.java43 final ContentValues values = verifyPopulateContentValues(recurrence,
46 verifyRecurrenceSetInitialization(new RecurrenceSet(values),
56 final ContentValues values = verifyPopulateContentValues(recurrence,
58 verifyRecurrenceSetInitialization(new RecurrenceSet(values),
67 final ContentValues values = verifyPopulateContentValues(recurrence,
69 verifyRecurrenceSetInitialization(new RecurrenceSet(values),
80 final ContentValues values = verifyPopulateContentValues(recurrence,
84 verifyRecurrenceSetInitialization(new RecurrenceSet(values),
95 final ContentValues values = verifyPopulateContentValues(recurrence, null,
100 verifyRecurrenceSetInitialization(new RecurrenceSet(values),
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DSmsMessageBodyTest.java262 int[] values = {0, 0, 0, SmsConstants.ENCODING_7BIT, 0, 0};
280 values[0] = sTestMsgCounts[i];
281 values[1] = len;
282 values[2] = sSeptetUnitsRemaining[i];
284 callGsmLengthMethods(testStr, false, values);
285 callGsmLengthMethods(testStr, true, values);
286 callCdmaLengthMethods(testStr, false, values);
287 callCdmaLengthMethods(testStr, true, values);
294 int[] values = {0, 0, 0, SmsConstants.ENCODING_16BIT, 0, 0};
314 values[
383 fillData(int enabledLangsIndex, boolean use7bitOnly, int[] values, int length) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/content/
H A DCrossUserContentService.java34 final ContentValues values = new ContentValues();
35 values.put(LocalProvider.COLUMN_TEXT_NAME, key);
36 values.put(LocalProvider.COLUMN_INTEGER_NAME, value);
37 getContentResolver().update(uri, values, null, null);
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DConverterTest.java33 ArrayList<String> values = new ArrayList<String>();
35 values.add("Hello");
36 values.add("World");
39 mBinder.setList(values);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DInMatcher.java38 public InMatcher(Collection<T> values) { argument
39 Preconditions.checkNotNull("values", values);
40 mValues = values;
43 public InMatcher(T... values) { argument
44 Preconditions.checkNotNull(values);
45 mValues = Arrays.asList(values);
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/
H A DScale.java33 private void captureValues(TransitionValues values) { argument
34 View view = values.view;
35 values.values.put(PROPNAME_SCALE, view.getScaleX());
55 final float startScale = (Float) startValues.values.get(PROPNAME_SCALE);
56 final float endScale = (Float) endValues.values.get(PROPNAME_SCALE);
/frameworks/base/core/java/android/database/
H A DCursorJoiner.java24 * supports the case where the tuple of key column values is unique.
149 * next() are guaranteed to point to the row that was indicated. Reading values
196 * array and saves them in values beginning at startingIndex, skipping a slot
198 * values will be stored in slots 1, 3, and 5.
199 * @param values the String[] to populate
201 * @param columnIndicies the indicies of the values to read from the cursor
202 * @param startingIndex the slot in which to start storing values, and must be either 0 or 1.
204 private static void populateValues(String[] values, Cursor cursor, int[] columnIndicies, argument
208 values[startingIndex + i*2] = cursor.getString(columnIndicies[i]);
235 * Compare the values
242 compareStrings(String... values) argument
[all...]
/frameworks/base/tools/aapt2/optimize/
H A DVersionCollapser.cpp74 for (auto iter = entry->values.rbegin(); iter != entry->values.rend();
104 make_filter_iterator(iter + 1, entry->values.rend(), pred);
111 // Now erase the nullptr values.
112 entry->values.erase(
113 std::remove_if(entry->values.begin(), entry->values.end(),
116 entry->values.end());
124 for (std::unique_ptr<ResourceConfigValue>& config_value : entry->values) {
142 std::sort(entry->values
[all...]

Completed in 932 milliseconds

1234567891011>>