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

1 2 3 4 5

  /cts/tests/acceleration/src/android/acceleration/cts/
HardwareAcceleratedActivity.java 17 package android.acceleration.cts;
SoftwareAcceleratedActivity.java 17 package android.acceleration.cts;
WindowFlagHardwareAcceleratedActivity.java 17 package android.acceleration.cts;
BaseAcceleratedActivity.java 17 package android.acceleration.cts;
19 import com.android.cts.acceleration.stub.R;
36 setContentView(R.layout.acceleration);
AcceleratedView.java 17 package android.acceleration.cts;
  /external/chromium_org/third_party/WebKit/Source/modules/device_orientation/
DeviceAcceleration.h 38 static DeviceAcceleration* create(DeviceMotionData::Acceleration* acceleration)
40 return new DeviceAcceleration(acceleration);
49 explicit DeviceAcceleration(DeviceMotionData::Acceleration*);
51 Member<DeviceMotionData::Acceleration> m_acceleration;
DeviceAcceleration.cpp 31 DeviceAcceleration::DeviceAcceleration(DeviceMotionData::Acceleration* acceleration)
32 : m_acceleration(acceleration)
DeviceMotionEvent.idl 27 readonly attribute DeviceAcceleration acceleration;
34 [Default=Undefined] optional DeviceAcceleration acceleration,
DeviceMotionEvent.cpp 63 DeviceAcceleration* DeviceMotionEvent::acceleration() function in class:blink::DeviceMotionEvent
65 if (!m_deviceMotionData->acceleration())
69 m_acceleration = DeviceAcceleration::create(m_deviceMotionData->acceleration());
DeviceMotionData.cpp 32 DeviceMotionData::Acceleration* DeviceMotionData::Acceleration::create(
35 return new DeviceMotionData::Acceleration(canProvideX, x, canProvideY, y, canProvideZ, z);
38 DeviceMotionData::Acceleration::Acceleration(bool canProvideX, double x, bool canProvideY, double y, bool canProvideZ, double z)
71 Acceleration* acceleration,
72 Acceleration* accelerationIncludingGravity,
77 return new DeviceMotionData(acceleration, accelerationIncludingGravity, rotationRate, canProvideInterval, interval);
83 DeviceMotionData::Acceleration::create
    [all...]
DeviceMotionEvent.h 55 DeviceAcceleration* acceleration();
  /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...]
  /external/chromium_org/ui/views/animation/
scroll_animator.h 30 // The ScrollAnimator does not own the delegate. Uses default acceleration.
34 // Use this if you would prefer different acceleration than the default.
35 void set_acceleration(float acceleration) { acceleration_ = acceleration; }
  /cts/tests/tests/acceleration/src/android/acceleration/cts/
SoftwareAccelerationTest.java 17 package android.acceleration.cts;
20 * Test that uses an Activity with hardware acceleration explicitly disabled
21 * and makes sure that all views are rendered using software acceleration.
HardwareAccelerationTest.java 17 package android.acceleration.cts;
20 * Test that uses an Activity with hardware acceleration enabled.
30 // Hardware acceleration should be available on devices with GL ES 2 or higher...
WindowFlagHardwareAccelerationTest.java 17 package android.acceleration.cts;
20 * Test that uses an Activity with hardware acceleration enabled.
30 // Hardware acceleration should be available on devices with GL ES 2 or higher...
  /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 43 outEvent->data[0] = event.acceleration.x - outEvent->data[0];
44 outEvent->data[1] = event.acceleration.y - outEvent->data[1];
45 outEvent->data[2] = event.acceleration.z - outEvent->data[2];
64 hwSensor.name = "Linear Acceleration Sensor";
  /hardware/akm/AK8975_FS/libsensors/
AdxlSensor.cpp 70 mPendingEvent.acceleration.x = ADXL_UNIT_CONVERSION(absinfo.value);
73 mPendingEvent.acceleration.y = ADXL_UNIT_CONVERSION(absinfo.value);
76 mPendingEvent.acceleration.z = ADXL_UNIT_CONVERSION(absinfo.value);
202 mPendingEvent.acceleration.x = ADXL_UNIT_CONVERSION(value);
204 mPendingEvent.acceleration.y = ADXL_UNIT_CONVERSION(value);
206 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 48 mPendingEvents[Accelerometer].acceleration.status = SENSOR_STATUS_ACCURACY_HIGH;
245 acc[0] = (int16_t)(data->acceleration.x / GRAVITY_EARTH * AKSC_LSG);
246 acc[1] = (int16_t)(data->acceleration.y / GRAVITY_EARTH * AKSC_LSG);
247 acc[2] = (int16_t)(data->acceleration.z / GRAVITY_EARTH * AKSC_LSG);
278 mPendingEvents[Accelerometer].acceleration.x = value * CONVERT_A;
282 mPendingEvents[Accelerometer].acceleration.y = value * CONVERT_A;
286 mPendingEvents[Accelerometer].acceleration.z = value * CONVERT_A;
  /external/chromium_org/ppapi/cpp/
video_decoder.cc 45 PP_HardwareAcceleration acceleration,
52 acceleration,
56 if (acceleration == PP_HARDWAREACCELERATION_NONE)
62 acceleration == PP_HARDWAREACCELERATION_WITHFALLBACK
video_decoder.h 68 /// @param[in] acceleration A <code>PP_HardwareAcceleration</code> specifying
79 PP_HardwareAcceleration acceleration,
  /external/chromium_org/ppapi/thunk/
ppb_video_decoder_api.h 28 PP_HardwareAcceleration acceleration,

Completed in 576 milliseconds

1 2 3 4 5