Searched defs:values (Results 1 - 25 of 299) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/hardware/
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 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 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/base/core/java/android/transition/
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 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 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/base/tools/aapt2/
H A DResourceTable_test.cpp137 std::vector<ResourceConfigValue*> values = local
139 ASSERT_EQ(2u, values.size());
140 EXPECT_EQ(std::string("phone"), values[0]->product);
141 EXPECT_EQ(std::string("tablet"), values[1]->product);
/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/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/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/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/packages/StatementService/src/com/android/statementservice/retriever/
H A DAssetJsonWriter.java45 * Appends a field to the output, putting both the key and value in lowercase. Null values are
65 * Appends an array to the output, putting both the key and values in lowercase. If {@code
66 * values} is null, this field will not be written. Individual values in the list must not be
69 public void writeArrayUpper(String key, List<String> values) { argument
75 if (values != null) {
79 for (String value : values) {
/frameworks/support/core-ui/java/android/support/v4/view/animation/
H A DLookupTableInterpolator.java30 public LookupTableInterpolator(float[] values) { argument
31 mValues = values;
48 // Calculate values to account for small offsets as the lookup table has discrete values
53 // Linearly interpolate between the table values
/frameworks/support/transition/src/android/support/transition/
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 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...]
/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/support/v7/preference/src/android/support/v7/preference/internal/
H A DAbstractMultiSelectListPreference.java57 public abstract void setValues(Set<String> values); argument
/frameworks/base/core/java/android/preference/
H A DPreferenceDataStore.java34 * safely store the given values. Time expensive operations need to be done in the background to
64 * @param values The set of new values for the preference.
67 default void putStringSet(String key, @Nullable Set<String> values) { argument
136 * Retrieve a set of String values from the data store.
/frameworks/base/core/java/android/view/
H A DOrientationListener.java96 public void onSensorChanged(int sensor, float[] values) { argument
/frameworks/base/core/tests/coretests/EnabledTestApp/src/com/android/frameworks/coretests/enabled_app/
H A DDisabledProvider.java43 public Uri insert(Uri uri, ContentValues values) { argument
51 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
H A DEnabledProvider.java43 public Uri insert(Uri uri, ContentValues values) { argument
51 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/base/core/tests/coretests/apks/install_complete_package_info/src/com/android/frameworks/coretests/
H A DTestProvider.java44 public Uri insert(Uri uri, ContentValues values) { argument
54 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
H A DTestReceiver.java44 public Uri insert(Uri uri, ContentValues values) { argument
54 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/base/core/tests/coretests/apks/install_multi_package/src/com/android/frameworks/coretests/
H A DFirstChildTestProvider.java44 public Uri insert(Uri uri, ContentValues values) { argument
54 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument

Completed in 879 milliseconds

1234567891011>>