HomeSort by relevance Sort by last modified time
    Searched refs:acceleration (Results 1 - 25 of 110) sorted by null

1 2 3 4 5

  /cts/tests/acceleration/src/android/acceleration/
HardwareAcceleratedActivity.java 17 package android.acceleration;
SoftwareAcceleratedActivity.java 17 package android.acceleration;
BaseAcceleratedActivity.java 17 package android.acceleration;
19 import android.acceleration.cts.R;
36 setContentView(R.layout.acceleration);
WindowFlagHardwareAcceleratedActivity.java 17 package android.acceleration;
  /hardware/bsp/intel/peripheral/libupm/examples/java/
MMA7660Sample.java 56 float[] acceleration = accel.getAcceleration(); local
57 System.out.println("Raw Values: x = " + acceleration[0] + " y = " + acceleration[1]
58 + " x = " + acceleration[2]);
  /external/replicaisland/src/com/replica/replicaisland/
Interpolator.java 20 * Helper class for interpolating velocity over time given a target velocity and acceleration.
22 * Note that acceleration is effectively an absolute value--it always points in the direction of
35 // Rather than simply interpolating acceleration and velocity for each time step
36 // (as in, position += (velocity * time); velocity += (acceleration * time);),
49 // change in position = velocity * time + (0.5 * acceleration * (time^2))
50 // change in velocity = acceleration * time
52 public void set(float current, float target, float acceleration) {
55 mAcceleration = acceleration;
63 // point the acceleration at the target, or zero it if we are already
67 // calculate scaled acceleration (0.5 * acceleration * (time^2)
    [all...]
  /frameworks/native/include/input/
VelocityControl.h 27 * Specifies parameters that govern pointer or wheel acceleration.
39 // The scaled speed at which acceleration begins to be applied.
41 // small precise motions that are performed without any acceleration.
47 // The scaled speed at which maximum acceleration is applied.
49 // the range of speeds over which the acceleration factor is interpolated.
50 // The wider the range, the smoother the acceleration.
56 // The acceleration factor.
61 // Default is 1.0 (no acceleration).
62 float acceleration; member in struct:android::VelocityControlParameters
65 scale(1.0f), lowThreshold(0.0f), highThreshold(0.0f), acceleration(1.0f)
    [all...]
  /hardware/bsp/intel/peripheral/sensors/mraa/sensors/
LSM9DS0Accelerometer.cpp 63 getAccelerometer(&data->acceleration.x, &data->acceleration.y, &data->acceleration.z);
64 data->acceleration.x *= Sensor::kGravitationalAcceleration;
65 data->acceleration.y *= Sensor::kGravitationalAcceleration;
66 data->acceleration.z *= Sensor::kGravitationalAcceleration;
MMA7660Accelerometer.cpp 61 getAcceleration(&data->acceleration.x, &data->acceleration.y, &data->acceleration.z);
62 data->acceleration.x *= Sensor::kGravitationalAcceleration;
63 data->acceleration.y *= Sensor::kGravitationalAcceleration;
64 data->acceleration.z *= Sensor::kGravitationalAcceleration;
MPU9150Accelerometer.cpp 63 getAccelerometer(&data->acceleration.x, &data->acceleration.y, &data->acceleration.z);
64 data->acceleration.x *= Sensor::kGravitationalAcceleration;
65 data->acceleration.y *= Sensor::kGravitationalAcceleration;
66 data->acceleration.z *= Sensor::kGravitationalAcceleration;
LSM303dAccelerometer.cpp 69 data->acceleration.x = (double)rawdatap[0] * conversion_constant;
70 data->acceleration.y = (double)rawdatap[1] * conversion_constant;
71 data->acceleration.z = (double)rawdatap[2] * conversion_constant;
  /cts/tests/acceleration/src/android/acceleration/cts/
SoftwareAccelerationTest.java 17 package android.acceleration.cts;
19 import android.acceleration.SoftwareAcceleratedActivity;
22 * Test that uses an Activity with hardware acceleration explicitly disabled
23 * and makes sure that all views are rendered using software acceleration.
HardwareAccelerationTest.java 17 package android.acceleration.cts;
19 import android.acceleration.HardwareAcceleratedActivity;
22 * Test that uses an Activity with hardware acceleration enabled.
32 // Hardware acceleration should be available on devices with GL ES 2 or higher...
WindowFlagHardwareAccelerationTest.java 17 package android.acceleration.cts;
19 import android.acceleration.WindowFlagHardwareAcceleratedActivity;
22 * Test that uses an Activity with hardware acceleration enabled.
32 // Hardware acceleration should be available on devices with GL ES 2 or higher...
BaseAccelerationTest.java 17 package android.acceleration.cts;
19 import android.acceleration.AcceleratedView;
20 import android.acceleration.BaseAcceleratedActivity;
  /external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/iphone/
iPhoneAccelerometer.mm 64 void iPhoneAccelerometer::didAccelerate(UIAcceleration *acceleration)
68 mTempState.x = acceleration.x;
69 mTempState.y = acceleration.y;
70 mTempState.z = acceleration.z;
  /hardware/bsp/intel/peripheral/libupm/src/adxl335/
adxl335.h 118 * Gets the acceleration along all 3 axes
124 void acceleration(float *xAccel, float *yAccel, float *zAccel);
128 * Gets the acceleration along all 3 axes
130 * @return Array containing acceleration on X, Y, Z axes
132 float *acceleration();
javaupm_adxl335.i 21 %typemap(out) float *acceleration {
41 %ignore acceleration(float *, float *, float *);
adxl335.cxx 89 void ADXL335::acceleration(float *xAccel, float *yAccel, float *zAccel) function in class:ADXL335
105 float *ADXL335::acceleration() function in class:ADXL335
108 acceleration(&v[0], &v[1], &v[2]);
  /frameworks/native/libs/input/
VelocityControl.cpp 20 // Log debug messages about acceleration.
76 // Apply full acceleration above the high speed threshold.
77 scale *= mParameters.acceleration;
79 // Linearly interpolate the acceleration to apply between the low and high
83 * (mParameters.acceleration - 1);
90 mParameters.acceleration,
97 mParameters.acceleration);
  /frameworks/native/services/sensorservice/
LinearAccelerationSensor.cpp 36 .name = "Linear Acceleration Sensor",
54 outEvent->data[0] = event.acceleration.x - outEvent->data[0];
55 outEvent->data[1] = event.acceleration.y - outEvent->data[1];
56 outEvent->data[2] = event.acceleration.z - outEvent->data[2];
  /hardware/akm/AK8975_FS/libsensors/
AdxlSensor.cpp 71 mPendingEvent.acceleration.x = ADXL_UNIT_CONVERSION(absinfo.value);
74 mPendingEvent.acceleration.y = ADXL_UNIT_CONVERSION(absinfo.value);
77 mPendingEvent.acceleration.z = ADXL_UNIT_CONVERSION(absinfo.value);
203 mPendingEvent.acceleration.x = ADXL_UNIT_CONVERSION(value);
205 mPendingEvent.acceleration.y = ADXL_UNIT_CONVERSION(value);
207 mPendingEvent.acceleration.z = ADXL_UNIT_CONVERSION(value);
KionixSensor.cpp 66 mPendingEvent.acceleration.x = KIONIX_UNIT_CONVERSION(absinfo.value);
69 mPendingEvent.acceleration.y = KIONIX_UNIT_CONVERSION(absinfo.value);
72 mPendingEvent.acceleration.z = KIONIX_UNIT_CONVERSION(absinfo.value);
180 mPendingEvent.acceleration.x = KIONIX_UNIT_CONVERSION(value);
182 mPendingEvent.acceleration.y = KIONIX_UNIT_CONVERSION(value);
184 mPendingEvent.acceleration.z = KIONIX_UNIT_CONVERSION(value);
AkmSensor.cpp 49 mPendingEvents[Accelerometer].acceleration.status = SENSOR_STATUS_ACCURACY_HIGH;
246 acc[0] = (int16_t)(data->acceleration.x / GRAVITY_EARTH * AKSC_LSG);
247 acc[1] = (int16_t)(data->acceleration.y / GRAVITY_EARTH * AKSC_LSG);
248 acc[2] = (int16_t)(data->acceleration.z / GRAVITY_EARTH * AKSC_LSG);
279 mPendingEvents[Accelerometer].acceleration.x = value * CONVERT_A;
283 mPendingEvents[Accelerometer].acceleration.y = value * CONVERT_A;
287 mPendingEvents[Accelerometer].acceleration.z = value * CONVERT_A;
  /external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/includes/iphone/
iPhoneAccelerometer.h 38 void didAccelerate(UIAcceleration *acceleration);

Completed in 276 milliseconds

1 2 3 4 5