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

1 2

  /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);
PatrolComponent.java 258 public void setMovementSpeed(float speed, float acceleration) {
260 mAcceleration = acceleration;
NPCComponent.java 61 private static final float ACCELERATION = 300.0f;
100 mAcceleration = ACCELERATION;
482 public void setSpeeds(float horizontalImpulse, float slowHorizontalImpulse, float upImpulse, float downImpulse, float acceleration) {
487 mAcceleration = acceleration;
  /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;
  /external/deqp/framework/platform/win32/
tcuWGL.hpp 70 enum Acceleration
84 Acceleration acceleration; member in class:tcu::wgl::PixelFormatInfo
136 , acceleration (ACCELERATION_LAST)
tcuWGL.cpp 306 static PixelFormatInfo::Acceleration translateAcceleration (int accel)
377 info.acceleration = translateAcceleration(values[WGL_ACCELERATION_ARB]);
571 if (info.acceleration != wgl::PixelFormatInfo::ACCELERATION_FULL)
  /external/lz4/lib/
lz4.c 50 * Select "acceleration" for LZ4_compress_fast() when parameter value <= 0
660 const U32 acceleration)
701 assert(acceleration >= 1);
732 unsigned searchMatchNb = acceleration << LZ4_skipTrigger;
753 unsigned searchMatchNb = acceleration << LZ4_skipTrigger;
    [all...]
lz4.h 172 Same as LZ4_compress_default(), but allows selection of "acceleration" factor.
173 The larger the acceleration value, the faster the algorithm, but also the lesser the compression.
175 An acceleration value of "1" is the same as regular LZ4_compress_default()
178 LZ4LIB_API int LZ4_compress_fast (const char* src, char* dst, int srcSize, int dstCapacity, int acceleration);
189 LZ4LIB_API int LZ4_compress_fast_extState (void* state, const char* src, char* dst, int srcSize, int dstCapacity, int acceleration);
197 * note: acceleration parameter is fixed to "default".
304 LZ4LIB_API int LZ4_compress_fast_continue (LZ4_stream_t* streamPtr, const char* src, char* dst, int srcSize, int dstCapacity, int acceleration);
450 LZ4LIB_API int LZ4_compress_fast_extState_fastReset (void* state, const char* src, char* dst, int srcSize, int dstCapacity, int acceleration);
lz4frame.c 741 int const acceleration = (level < 0) ? -level + 1 : 1; local
744 return LZ4_compress_fast_continue((LZ4_stream_t*)ctx, src, dst, srcSize, dstCapacity, acceleration);
746 return LZ4_compress_fast_extState_fastReset(ctx, src, dst, srcSize, dstCapacity, acceleration);
752 int const acceleration = (level < 0) ? -level + 1 : 1; local
754 return LZ4_compress_fast_continue((LZ4_stream_t*)ctx, src, dst, srcSize, dstCapacity, acceleration);
    [all...]
  /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...]
  /build/make/target/board/
BoardConfigEmuCommon.mk 20 # the GLES renderer disables itself if host GL acceleration isn't available.
  /external/webrtc/webrtc/modules/audio_processing/test/android/apmtest/jni/
main.c 281 event.acceleration.x, event.acceleration.y,
282 event.acceleration.z);
  /external/python/cpython2/Mac/Modules/drag/
_Dragmodule.c 869 ZoomAcceleration acceleration; local
877 &acceleration))
882 acceleration);
896 ZoomAcceleration acceleration; local
904 &acceleration))
909 acceleration);
996 PyDoc_STR("(Rect fromRect, Rect toRect, SInt16 zoomSteps, ZoomAcceleration acceleration) -> None")},
998 PyDoc_STR("(RgnHandle region, Point zoomDistance, SInt16 zoomSteps, ZoomAcceleration acceleration) -> None")},
    [all...]
  /external/lz4/programs/
bench.c 53 int const acceleration = (clevel < 0) ? -clevel + 1 : 1; local
54 return LZ4_compress_fast(src, dst, srcSize, dstSize, acceleration);
  /device/generic/goldfish/sensors/
sensors_qemu.c 83 SENSOR_(ACCELERATION,"acceleration") \
171 * to enable the acceleration sensor.
328 /* "acceleration:<x>:<y>:<z>" corresponds to an acceleration event */
329 if (sscanf(buff, "acceleration:%g:%g:%g", params+0, params+1, params+2)
333 events[ID_ACCELERATION].acceleration.x = params[0];
334 events[ID_ACCELERATION].acceleration.y = params[1];
335 events[ID_ACCELERATION].acceleration.z = params[2];
    [all...]
  /device/google/contexthub/sensorhal/
hubconnection.cpp 685 sv = &initEv(&nev[cnt], timestamp, type, sensor)->acceleration;
740 COMMS_SENSOR_ACCEL_WRIST_AWARE)->acceleration;
795 sv = &initEv(&nev[cnt], timestamp, type, sensor)->acceleration;
826 COMMS_SENSOR_ACCEL_WRIST_AWARE)->acceleration;
    [all...]

Completed in 595 milliseconds

1 2