Searched defs:value (Results 1 - 25 of 105) sorted by relevance

12345

/device/samsung/manta/libsensors/
H A DLightSensor.cpp31 void LightSensor::handleData(int value) { argument
32 ALOGV("LightSensor::handleData value %d", value);
35 mPendingEvent.light = value * 8.9;
H A DPressureSensor.cpp37 void PressureSensor::handleData(int value) { argument
38 ALOGV("PressureSensor::handleData value %d", value);
39 mPendingEvent.pressure = value * PRESSURE_HECTO_PA;
H A DIioSensorBase.cpp38 void IioSensorBase::handleData(int value) { argument
104 bool IioSensorBase::readValue(int *value) { argument
111 if (fscanf(mIioSysfsChanFp, "%d\n", value) != 1)
191 int value; local
193 if (mEnabled && readValue(&value)) {
194 handleData(value);
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/
H A DServoController.java33 public void onPositionChange(double value) { argument
34 byte v = (byte) (value * 255);
H A DColorLEDController.java32 public void onPositionChange(double value) { argument
33 int v = (int) (255 * value);
46 public LabelClickListener(Slider slider, double value) { argument
48 mValue = value;
H A DSlider.java15 void onPositionChange(double value); argument
/device/htc/flounder/sensor_hub/libsensors/
H A DSensorBase.cpp71 const char *path, const char *value, int bytes)
82 amt = write(fd, value, bytes);
70 write_sys_attribute( const char *path, const char *value, int bytes) argument
/device/lge/mako/camera/QCamera/stack/mm-camera-test/src/
H A Dmm_qcamera_rdi.c72 int value = RDI_MASK; local
126 int value = RDI_MASK; local
135 //pme->cam->ops->set_parm(pme->cam->camera_handle,MM_CAMERA_PARM_CH_INTERFACE, &value);
H A Dmm_qcamera_video.c387 int value = 1; local
409 pme->cam->ops->set_parm(pme->cam->camera_handle,MM_CAMERA_PARM_RECORDING_HINT, &value);
/device/asus/grouper/liblights/
H A Dlights.c36 static int write_int(char const *path, int value) argument
43 int bytes = sprintf(buffer, "%d\n", value);
/device/generic/goldfish/opengl/system/GLESv2_enc/
H A DGL2Encoder.cpp174 void GL2Encoder::s_glPixelStorei(void *self, GLenum param, GLint value) argument
177 ctx->m_glPixelStorei_enc(ctx, param, value);
179 ctx->m_state->setPixelStore(param, value);
1027 void GL2Encoder::s_glUniformMatrix2fv(void *self , GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
1031 ctx->m_glUniformMatrix2fv_enc(self, hostLoc, count, transpose, value);
1034 void GL2Encoder::s_glUniformMatrix3fv(void *self , GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
1038 ctx->m_glUniformMatrix3fv_enc(self, hostLoc, count, transpose, value);
1041 void GL2Encoder::s_glUniformMatrix4fv(void *self , GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
1045 ctx->m_glUniformMatrix4fv_enc(self, hostLoc, count, transpose, value);
/device/htc/flounder/lights/
H A Dlights.c36 static int write_int(char const *path, int value) argument
43 int bytes = snprintf(buffer, 20, "%d\n", value);
/device/lge/mako/camera/
H A DQCameraHWI_Record_7x27A.cpp74 char value[PROPERTY_VALUE_MAX]; local
77 property_get("persist.debug.sf.showfps", value, "0");
78 mDebugFps = atoi(value);
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
H A Dmm_qcamera_video.c402 int value = 1; local
425 pme->cam->ops->set_parm(pme->cam->camera_handle,MM_CAMERA_PARM_RECORDING_HINT, &value);
/device/samsung/manta/recovery/
H A Drecovery_updater.c86 static void set_bootflag(FILE* f, int value) { argument
88 buffer[7] = '0' + value;
/device/asus/deb/kernel-headers/media/
H A Dmsm_gemini.h59 void *value; member in struct:msm_gemini_ctrl_cmd
/device/asus/deb/original-kernel-headers/media/
H A Dmsm_gemini.h70 void *value; member in struct:msm_gemini_ctrl_cmd
/device/asus/flo/kernel-headers/media/
H A Dmsm_gemini.h59 void *value; member in struct:msm_gemini_ctrl_cmd
/device/asus/flo/original-kernel-headers/media/
H A Dmsm_gemini.h70 void *value; member in struct:msm_gemini_ctrl_cmd
/device/asus/fugu/recovery/
H A Drecovery_updater.c227 int value = 0; local
247 value = (int)*(ptr + addr_offset);
256 return value;
/device/generic/goldfish/camera/
H A DEmulatedCameraDevice.cpp129 float* value = new float[3]; local
130 value[0] = r_scale; value[1] = 1.0f; value[2] = b_scale;
131 mSupportedWhiteBalanceScale.add(String8(mode), value); local
140 /* Computes the pixel value after adjusting the white balance to the current
141 * one. The input the y, u, v channel of the pixel and the adjusted value will
/device/generic/goldfish/opengl/system/GLESv1_enc/
H A DGLEncoder.cpp258 void GLEncoder::s_glPixelStorei(void *self, GLenum param, GLint value) argument
261 ctx->m_glPixelStorei_enc(ctx, param, value);
263 ctx->m_state->setPixelStore(param, value);
/device/generic/goldfish/opengl/system/egl/
H A DeglDisplay.cpp406 /* To get the value of attribute <a> of config <c> use the following formula:
407 * value = *(m_configs + (int)c*m_numConfigAttribs + a);
409 EGLBoolean eglDisplay::getAttribValue(EGLConfig config, EGLint attribIdx, EGLint * value) argument
416 *value = *(m_configs + (intptr_t)config*m_numConfigAttribs + attribIdx);
420 EGLBoolean eglDisplay::getConfigAttrib(EGLConfig config, EGLint attrib, EGLint * value) argument
424 EGLBoolean ret = getAttribValue(config, m_attribs.valueFor(attrib), value);
431 EGLint value = 0; local
434 getAttribValue(config, i, &value);
435 DBG("{%d}[%d] %d\n", (int)config, i, value);
439 /* To set the value o
442 setAttribValue(EGLConfig config, EGLint attribIdx, EGLint value) argument
453 setConfigAttrib(EGLConfig config, EGLint attrib, EGLint value) argument
[all...]
/device/google/accessory/arduino/USB_Host_Shield/
H A DMax_LCD.cpp252 inline void Max_LCD::command(uint8_t value) { argument
253 LCD_sendcmd(value);
257 inline size_t Max_LCD::write(uint8_t value) { argument
258 LCD_sendchar(value);
/device/htc/flounder/health/
H A Dhealthd-flounder.cpp99 int64_t value = 0; local
101 value = strtoll(buf, NULL, 0);
103 return value;

Completed in 493 milliseconds

12345