/hardware/invensense/mlsdk/mllite/ |
accel.c | 20 * $Id: accel.c 4595 2011-01-25 01:43:03Z mcaramello $ 26 * @brief Motion Library - Accel Driver Layer. 27 * Provides the interface to setup and handle an accel 32 * @file accel.c 33 * @brief Accel setup and handling methods. 54 #define MPL_LOG_TAG "MPL-accel" 79 * @brief Used to determine if an accel is configured and 81 * @return INV_SUCCESS if the accel is present. 87 if (NULL != mldl_cfg->accel && 88 NULL != mldl_cfg->accel->resume & [all...] |
mldl_cfg_mpu.c | 61 struct ext_slave_platform_data *accel = &mldl_cfg->pdata->accel; local 86 if (mldl_cfg->accel) { 87 MPL_LOGD("slave_accel->suspend = %02x\n", (int)mldl_cfg->accel->suspend); 88 MPL_LOGD("slave_accel->resume = %02x\n", (int)mldl_cfg->accel->resume); 89 MPL_LOGD("slave_accel->read = %02x\n", (int)mldl_cfg->accel->read); 90 MPL_LOGD("slave_accel->type = %02x\n", mldl_cfg->accel->type); 92 mldl_cfg->accel->read_reg); 94 mldl_cfg->accel->read_len); 95 MPL_LOGD("slave_accel->endian = %02x\n", mldl_cfg->accel->endian) [all...] |
mldl_cfg.h | 125 struct ext_slave_descr *accel; member in struct:mldl_cfg 175 mldl_cfg->accel, &mldl_cfg->pdata->accel, 227 mldl_cfg->accel, &mldl_cfg->pdata->accel); 279 data, mldl_cfg->accel, 280 &mldl_cfg->pdata->accel);
|
mldmp.c | 136 if (mldl_cfg->accel && mldl_cfg->accel->resume) 155 if (NULL != mldl_cfg->accel){
|
mlBiasNoMotion.c | 31 #include "accel.h" 160 long accel[3], temp; local 171 // We always run the accel low pass filter at the highest sample rate possible 172 result = inv_get_accel(accel); 189 inv_obj->accel_lpf[kk] += inv_q30_mult(gain, accel[kk]); 190 temp = accel[0] - inv_obj->accel_lpf[0]; 203 // We have no motion according to accel
|
ml.c | 62 #include "accel.h" 204 if (NULL != mldl_cfg->accel){ 205 accelCal[ii] = mldl_cfg->pdata->accel.orientation[ii]; 232 if (NULL != mldl_cfg->accel){ 233 RANGE_FIXEDPOINT_TO_FLOAT(mldl_cfg->accel->range, accelScale); 254 if (NULL != mldl_cfg->accel){ 257 MPL_LOGE("Unable to set Accel Calibration\n"); 281 int endian = mldl_cfg->accel->endian; 283 if (mldl_cfg->pdata->accel.bus != EXT_SLAVE_BUS_SECONDARY) { 786 if (ACCEL_ID_KXSD9 == mldl_cfg->accel->id) [all...] |
/external/chromium/chrome/browser/ui/views/tab_contents/ |
render_view_context_menu_views.cc | 67 ui::Accelerator* accel) { 72 *accel = views::Accelerator(ui::VKEY_Z, false, true, false); 77 *accel = views::Accelerator(ui::VKEY_Z, true, true, false); 81 *accel = views::Accelerator(ui::VKEY_X, false, true, false); 85 *accel = views::Accelerator(ui::VKEY_C, false, true, false); 89 *accel = views::Accelerator(ui::VKEY_V, false, true, false); 93 *accel = views::Accelerator(ui::VKEY_A, false, true, false);
|
/external/webkit/Source/WebKit/qt/WebCoreSupport/ |
DeviceMotionProviderQt.cpp | 53 RefPtr<DeviceMotionData::Acceleration> accel = DeviceMotionData::Acceleration::create( local 63 m_motion = DeviceMotionData::create(accel, 64 accel, /* FIXME: Needs to provide acceleration include gravity. */
|
/hardware/invensense/libsensors_iio/software/core/mllite/ |
hal_outputs.c | 31 // int accuracy_accel; /**< Accel Accuracy */
64 long accel[3];
local 65 inv_get_accel_set(accel, accuracy, timestamp);
66 values[0] = accel[0] * ACCEL_CONVERSION;
67 values[1] = accel[1] * ACCEL_CONVERSION;
68 values[2] = accel[2] * ACCEL_CONVERSION;
78 * accel biases while at rest.
87 long gravity[3], accel[3];
local 89 inv_get_accel_set(accel, accuracy, timestamp);
91 accel[0] -= gravity[0] >> 14; [all...] |
data_builder.c | 49 /** Accel Bias in Chip Frame in Hardware units scaled by 2^16 */ 51 /** Temperature when accel bias was stored. */ 110 sensors.accel.accuracy = inv_data_builder.save.accel_accuracy; 148 /** Accel sensitivity. 151 * it works out to be the maximum accel value in g's * 2^15. 155 return sensors.accel.sensitivity; 223 /** Set Accel Sample rate in micro seconds. 224 * @param[in] sample_rate_us Set Accel Sample rate in us 235 sensors.accel.sample_rate_us = sample_rate_us; 236 sensors.accel.sample_rate_ms = sample_rate_us / 1000 [all...] |
data_builder.h | 19 /** This is a new sample of accel data */ 107 struct inv_single_sensor_t accel; member in struct:inv_sensor_cal_t 179 inv_error_t inv_build_accel(const long *accel, int status,
|
/external/chromium/chrome/browser/chromeos/login/ |
wizard_controller.cc | 121 bool AcceleratorPressed(const views::Accelerator& accel) { 126 if (accel == accel_toggle_accessibility_) { 128 } else if (accel == accel_cancel_update_) { 131 } else if (accel == accel_account_screen_) { 133 } else if (accel == accel_login_screen_) { 135 } else if (accel == accel_network_screen_) { 137 } else if (accel == accel_update_screen_) { 139 } else if (accel == accel_image_screen_) { 141 } else if (accel == accel_eula_screen_) { 143 } else if (accel == accel_register_screen_) [all...] |
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/ |
GL2CameraEye.java | 362 float[] accel = new float[3]; local 363 accel[0] = totalForce[0]/mass; 364 accel[1] = totalForce[1]/mass; 365 accel[2] = totalForce[2]/mass; 368 mVel[0] = mVel[0] + accel[0]*deltaT; 369 mVel[1] = mVel[1] + accel[1]*deltaT; 370 mVel[2] = mVel[2] + accel[2]*deltaT;
|
/hardware/invensense/mlsdk/ |
Android.mk | 58 $(MLLITE_DIR)/accel.c \ 84 ML_SOURCES += $(MLLITE_DIR)/accel/mantis.c
|
/external/qemu/distrib/sdl-1.2.15/test/ |
testgl.c | 452 int logo, int logocursor, int slowly, int bpp, float gamma, int noframe, int fsaa, int sync, int accel ) 538 if ( accel ) { 576 if ( accel ) { 793 int accel = 0; local 829 if ( strcmp(argv[i], "-accel") == 0 ) { 830 ++accel; 837 "Usage: %s [-twice] [-logo] [-logocursor] [-slow] [-bpp n] [-gamma n] [-noframe] [-fsaa] [-accel] [-sync] [-fullscreen]\n", 843 RunGLTest(argc, argv, logo, logocursor, slowly, bpp, gamma, noframe, fsaa, sync, accel);
|
/hardware/invensense/libsensors/ |
MPLSensor.h | 129 void fillAccel(unsigned char accel, struct sensor_t *list);
|
/external/quake/quake/src/QW/client/ |
pmove.c | 390 void PM_Accelerate (vec3_t wishdir, float wishspeed, float accel) 404 accelspeed = accel*frametime*wishspeed; 412 void PM_AirAccelerate (vec3_t wishdir, float wishspeed, float accel) 428 accelspeed = accel * wishspeed * frametime; 778 float speed, drop, friction, control, newspeed, accel; local
|
/external/chromium/chrome/browser/ui/views/ |
toolbar_view.h | 81 virtual bool GetAcceleratorInfo(int id, ui::Accelerator* accel);
|
/hardware/invensense/mlsdk/platform/include/linux/ |
mpu.h | 282 * @accel: Accel platform data 296 struct ext_slave_platform_data accel; member in struct:mpu_platform_data
|
/hardware/invensense/mlsdk/mlutils/ |
mputest.c | 63 #include "accel.h" 111 #define DEF_N_ACCEL_SAMPLES (20) /* num of accel samples to 831 * by the MPU Self Test. Requires 3 elements to store accel X, Y, 840 * calculates the accel biases. 862 if (mputestPData->accel.get_slave_descr == NULL) { 867 if (mputestCfgPtr->accel == NULL) { 873 /* resume the accel */ 883 accel data to be retrieved by MPU */ 904 MPL_LOGI("Accel biases : %+13.3f %+13.3f %+13.3f (LSB)\n", x, y, z); 906 MPL_LOGI("Accel biases : %+13.3f %+13.3f %+13.3f (gee)\n" [all...] |
/external/chromium/chrome/browser/resources/ |
menu.js | 136 if (attrs.accel) { 137 var accel = document.createElement('div'); 138 accel.className = 'accelerator'; 139 accel.textContent = attrs.accel; 140 accel.style.font = attrs.font; 141 this.appendChild(accel);
|
/hardware/invensense/libsensors_iio/ |
MPLSensor.cpp | 53 # warning "Third party accel" 237 /* read accel FSR to calcuate accel scale later */ 246 LOGE("HAL:Error opening accel FSR"); 251 LOGE("HAL:Error reading accel FSR"); 255 LOGV_IF(EXTRA_VERBOSE, "HAL:Accel FSR used %d", mAccelScale); 327 /* Takes external Accel Calibration Load Method */ 339 LOGV_IF(PROCESS_VERBOSE, "HAL:Original accel offset, %ld, %ld, %ld\n", 343 LOGV_IF(PROCESS_VERBOSE, "HAL:Set accel offset, %ld, %ld, %ld\n", 347 /* End of Accel Calibration Load Method * [all...] |
/development/samples/LunarLander/src/com/example/android/lunarlander/ |
LunarView.java | 730 double accel = PHYS_FIRE_ACCEL_SEC * elapsedFiring; local 733 ddx = Math.sin(radians) * accel; 734 ddy += Math.cos(radians) * accel; [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
Utils.java | 289 AccelerateInterpolator accel = new AccelerateInterpolator(); local 292 shrink.setDuration(FADE_TIME).setInterpolator(accel); 293 fadeout.setDuration(FADE_TIME).setInterpolator(accel);
|
/bionic/libc/kernel/common/linux/ |
fb.h | 201 __u32 accel; member in struct:fb_fix_screeninfo
|