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

1 2 3 4 5 6

  /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;
AcceleratedView.java 17 package android.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...]
GameObject.java 188 public final void setAcceleration(Vector2 acceleration) {
189 mAcceleration.set(acceleration);
  /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...]
  /cts/tests/acceleration/src/android/acceleration/cts/
SoftwareAccelerationTest.java 17 package android.acceleration.cts;
19 import android.acceleration.SoftwareAcceleratedActivity;
24 * Test that uses an Activity with hardware acceleration explicitly disabled
25 * and makes sure that all views are rendered using software acceleration.
HardwareAccelerationTest.java 17 package android.acceleration.cts;
19 import android.acceleration.HardwareAcceleratedActivity;
24 * Test that uses an Activity with hardware acceleration enabled.
35 // 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;
  /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/deqp/framework/platform/win32/
tcuWGL.hpp 69 enum Acceleration
83 Acceleration acceleration; member in class:tcu::wgl::PixelFormatInfo
135 , acceleration (ACCELERATION_LAST)
  /hardware/interfaces/sensors/1.0/default/
convert.cpp 94 dst->u.vec3.x = src.acceleration.x;
95 dst->u.vec3.y = src.acceleration.y;
96 dst->u.vec3.z = src.acceleration.z;
97 dst->u.vec3.status = (SensorStatus)src.acceleration.status;
238 dst->acceleration.x = src.u.vec3.x;
239 dst->acceleration.y = src.u.vec3.y;
240 dst->acceleration.z = src.u.vec3.z;
241 dst->acceleration.status = (int8_t)src.u.vec3.status;
  /frameworks/native/libs/vr/libdvr/include/dvr/
dvr_pose.h 86 float32x4_t acceleration; member in struct:DvrPose
  /external/lz4/examples/
compress_functions.c 123 const int acceleration = 1; local
145 rv = LZ4_compress_fast(src, dst, src_size, max_dst_size, acceleration);
152 LZ4_compress_fast(src, dst, src_size, max_dst_size, acceleration);
158 rv = LZ4_compress_fast_extState(&state, src, dst, src_size, max_dst_size, acceleration);
165 LZ4_compress_fast_extState(&state, src, dst, src_size, max_dst_size, acceleration);
174 // //rv = LZ4_compress_generic_wrapper(&state, src, dst, src_size, max_dst_size, notLimited, byU16, noDict, noDictIssue, acceleration);
175 // LZ4_compress_generic_wrapper(&state, src, dst, src_size, max_dst_size, acceleration);
183 // //LZ4_compress_generic_wrapper(&state, src, dst, src_size, max_dst_size, notLimited, byU16, noDict, noDictIssue, acceleration);
184 // LZ4_compress_generic_wrapper(&state, src, dst, src_size, max_dst_size, acceleration);
273 // Using this function is identical to LZ4_compress_default except we need to specify an "acceleration" value. Defaults to 1
    [all...]
  /development/ndk/platforms/android-9/include/android/
sensor.h 119 ASensorVector acceleration; member in union:ASensorEvent::__anon2610
  /prebuilts/ndk/r10/platforms/android-12/arch-arm/usr/include/android/
sensor.h 119 ASensorVector acceleration; member in union:ASensorEvent::__anon61275
  /prebuilts/ndk/r10/platforms/android-12/arch-mips/usr/include/android/
sensor.h 119 ASensorVector acceleration; member in union:ASensorEvent::__anon61676
  /prebuilts/ndk/r10/platforms/android-12/arch-x86/usr/include/android/
sensor.h 119 ASensorVector acceleration; member in union:ASensorEvent::__anon62129

Completed in 888 milliseconds

1 2 3 4 5 6