/frameworks/base/core/java/android/hardware/ |
H A D | TriggerEvent.java | 38 * 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 D | SensorEvent.java | 22 * 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[ 487 public final float[] values; field in class:SensorEvent [all...] |
H A D | SensorListener.java | 21 * 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 D | TransitionValues.java | 27 * 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 D | VisibilityPropagation.java | 43 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 D | ChangeClipBounds.java | 53 private void captureValues(TransitionValues values) { argument 54 View view = values.view; 60 values.values.put(PROPNAME_CLIP, clip); 63 values.values.put(PROPNAME_BOUNDS, bounds); 81 || !startValues.values.containsKey(PROPNAME_CLIP) 82 || !endValues.values.containsKey(PROPNAME_CLIP)) { 85 Rect start = (Rect) startValues.values.get(PROPNAME_CLIP); 86 Rect end = (Rect) endValues.values [all...] |
/frameworks/base/test-runner/src/junit/runner/ |
H A D | Sorter.java | 13 public void swap(Vector values, int left, int right); argument 16 public static void sortStrings(Vector values , int left, int right, Swapper swapper) { 19 String mid= (String)values.elementAt((left + right) / 2); 21 while (((String)(values.elementAt(left))).compareTo(mid) < 0) 23 while (mid.compareTo((String)(values.elementAt(right))) < 0) 26 swapper.swap(values, left, right); 33 sortStrings(values, oleft, right, swapper); 35 sortStrings(values, left, oright, swapper);
|
/frameworks/base/core/java/android/content/ |
H A D | Entity.java | 34 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 D | AudioGainConfig.java | 20 * 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
|
H A D | MediaInserter.java | 50 public void insert(Uri tableUri, ContentValues values) throws RemoteException { argument 51 insert(tableUri, values, false); 54 public void insertwithPriority(Uri tableUri, ContentValues values) throws RemoteException { argument 55 insert(tableUri, values, true); 58 private void insert(Uri tableUri, ContentValues values, boolean priority) throws RemoteException { argument 65 list.add(new ContentValues(values));
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
H A D | AssetJsonWriter.java | 45 * 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/v17/leanback/kitkat/android/support/v17/leanback/transition/ |
H A D | Scale.java | 34 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/view/animation/ |
H A D | LookupTableInterpolator.java | 30 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/base/core/java/android/util/ |
H A D | LongArray.java | 80 * Adds the values in the specified array to this array. 82 public void addAll(LongArray values) { argument 83 final int count = values.mSize; 86 System.arraycopy(values.mValues, 0, mValues, mSize, count); 91 * Ensures capacity to append at least <code>count</code> values. 107 * Removes all values from this array. 161 * Returns the number of values in this array.
|
/frameworks/base/core/java/android/view/ |
H A D | OrientationListener.java | 96 public void onSensorChanged(int sensor, float[] values) { argument
|
/frameworks/base/core/java/com/android/internal/view/animation/ |
H A D | NativeInterpolatorFactoryHelper.java | 35 public static native long createLutInterpolator(float[] values); argument
|
/frameworks/base/core/tests/coretests/EnabledTestApp/src/com/android/frameworks/coretests/enabled_app/ |
H A D | DisabledProvider.java | 43 public Uri insert(Uri uri, ContentValues values) { argument 51 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
|
H A D | EnabledProvider.java | 43 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 D | TestProvider.java | 44 public Uri insert(Uri uri, ContentValues values) { argument 54 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
|
H A D | TestReceiver.java | 44 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/version/src/com/android/frameworks/coretests/version_test/ |
H A D | NullProvider.java | 21 public Uri insert(Uri uri, ContentValues values) { argument 31 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
|
/frameworks/base/core/tests/coretests/apks/version_nosys/src/com/android/frameworks/coretests/version_test/ |
H A D | NullProvider.java | 21 public Uri insert(Uri uri, ContentValues values) { argument 31 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | FrameValues.java | 24 * Returns the number of values in the Frame. 28 * @return The number of values in the Frame. 40 * Returns the values in the Frame as an array. 46 * @return The array of values in this frame. 99 * Assign the array of values to the frame. 103 * @param values The values to assign to the frame. 105 public void setValues(Object values) { argument 106 super.setValue(values);
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/ |
H A D | Objects.java | 87 public static int hash(Object... values) { argument 88 return Arrays.hashCode(values);
|
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/ |
H A D | GenericAdapter.java | 40 public static <T> void setArrayText(TextView view, T[] values) { argument 41 setText(view, Arrays.asList(values)); 45 public static <T> void setListAndArray(TextView view, List<T> list, T[] values) { argument 55 public static <T> void setGenericListAndArray(GenericView<T> view, List<T> list, T[] values) { argument
|