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

12

/device/moto/stingray/whisper/
H A DSHA_TimeUtilsLoop.c54 // With other words: A value <= SHA_TIME_OFFSET_US will not produce the desired delay.
69 double value = 10.0; //((i * 33.3) - 12.1) / 10.0; local
70 value += 1.0;
/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
H A DDemoKitActivity.java352 public void sendCommand(byte command, byte target, int value) { argument
354 if (value > 255)
355 value = 255;
359 buffer[2] = (byte) value;
/device/moto/stingray/recovery/
H A Drecovery_ui.cpp124 char value[PROPERTY_VALUE_MAX]; local
126 property_get("ro.carrier", value, "");
127 if (strcmp("wifi-only", value) == 0)
H A Dmasterclear_bp.c53 UINT8 value; local
67 value = ((UINT8*)databuff)[buffer_index++];
68 LOGE("%s%02x ", string_buffer, value);
/device/samsung/crespo/liblight/
H A Dlights.c33 static int write_int(char const *path, int value) argument
40 ALOGV("write_int: path %s, value %d", path, value);
45 int bytes = sprintf(buffer, "%d\n", value);
/device/samsung/crespo/libsensors/
H A DGyroSensor.cpp63 float value; local
67 value = absinfo_x.value;
68 mPendingEvent.data[0] = value * CONVERT_GYRO_X;
69 value = absinfo_x.value;
70 mPendingEvent.data[1] = value * CONVERT_GYRO_Y;
71 value = absinfo_x.value;
72 mPendingEvent.data[2] = value * CONVERT_GYRO_
149 float value = event->value; local
[all...]
H A DAkmSensor.cpp82 // read the actual value of all sensors if they're enabled already
89 mPendingEvents[Accelerometer].acceleration.x = absinfo.value * CONVERT_A_X;
92 mPendingEvents[Accelerometer].acceleration.y = absinfo.value * CONVERT_A_Y;
95 mPendingEvents[Accelerometer].acceleration.z = absinfo.value * CONVERT_A_Z;
101 mPendingEvents[MagneticField].magnetic.x = absinfo.value * CONVERT_M_X;
104 mPendingEvents[MagneticField].magnetic.y = absinfo.value * CONVERT_M_Y;
107 mPendingEvents[MagneticField].magnetic.z = absinfo.value * CONVERT_M_Z;
113 mPendingEvents[Orientation].orientation.azimuth = absinfo.value;
116 mPendingEvents[Orientation].orientation.pitch = absinfo.value;
119 mPendingEvents[Orientation].orientation.roll = -absinfo.value;
257 processEvent(int code, int value) argument
[all...]
/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/asus/grouper/audio/
H A Daudio_route.c45 int value; member in struct:mixer_setting
176 path->setting[path->length].value = setting->value;
200 path->setting[i].value);
217 /* apply the new value */
218 ar->mixer_state[j].new_value = path->setting[i].value;
247 int value; local
250 /* Get name, type and value attributes (these may be empty) */
254 else if (strcmp(attr[i], "value") == 0)
275 /* Obtain the mixer ctl and value */
[all...]
H A Daudio_hw.c539 char value[32]; local
546 value, sizeof(value));
549 val = atoi(value);
844 char value[32]; local
851 value, sizeof(value));
854 val = atoi(value);
1035 char value[32]; local
1039 ret = str_parms_get_str(parms, "orientation", value, sizeo
[all...]
/device/generic/goldfish/audio/
H A DAudioHardwareGeneric.cpp289 String8 value; local
292 if (param.get(key, value) == NO_ERROR) {
397 String8 value; local
400 if (param.get(key, value) == NO_ERROR) {
/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 void Max_LCD::write(uint8_t value) { argument
258 LCD_sendchar(value);
/device/moto/stingray/liblights/
H A Dlights.c52 static int write_int(char const *path, int value) argument
59 int bytes = sprintf(buffer, "%d\n", value);
72 static int write_string(char const *path, char const *value) argument
79 int bytes = sprintf(buffer, "%s\n", value);
/device/samsung/crespo/libhwcomposer/
H A DSecHWC.cpp436 int what, int* value)
443 value[0] = 0;
447 value[0] = 1000000000.0 / gpsGrallocModule->psFrameBufferDevice->base.fps;
435 hwc_query(struct hwc_composer_device* dev, int what, int* value) argument
/device/samsung/crespo/sec_mm/sec_omx/sec_codecs/video/mfc_c110/dec/src/
H A DSsbSipMfcDecAPI.c87 void *SsbSipMfcDecOpen(void *value) argument
108 if (*(unsigned int *)value == NO_CACHE ||
109 *(unsigned int *)value == CACHE) {
110 DecArg.args.buf_type = *(unsigned int *)value;
116 ALOGE("SsbSipMfcDecOpenExt: value is invalid, value: %d\n", *(int *)value);
396 SSBSIP_MFC_ERROR_CODE SsbSipMfcDecSetConfig(void *openHandle, SSBSIP_MFC_DEC_CONF conf_type, void *value) argument
408 if (value == NULL) {
409 ALOGE("SsbSipMfcDecSetConfig: value i
453 SsbSipMfcDecGetConfig(void *openHandle, SSBSIP_MFC_DEC_CONF conf_type, void *value) argument
[all...]
/device/samsung/crespo/sec_mm/sec_omx/sec_codecs/video/mfc_c110/enc/src/
H A DSsbSipMfcEncAPI.c33 void *SsbSipMfcEncOpen(void *value) argument
54 if (*(unsigned int *)value == NO_CACHE ||
55 *(unsigned int *)value == CACHE) {
56 EncArg.args.buf_type = *(unsigned int *)value;
62 ALOGE("SsbSipMfcDecOpenExt: value is invalid, value: %d\n", *(int *)value);
177 ALOGE("SsbSipMfcEncInit: No such Pad value is supported.\n");
229 ALOGE("SsbSipMfcEncInit: No such Pad value is supported.\n");
300 ALOGE("SsbSipMfcEncInit: No such Pad value i
608 SsbSipMfcEncSetConfig(void *openHandle, SSBSIP_MFC_ENC_CONF conf_type, void *value) argument
655 SsbSipMfcEncGetConfig(void *openHandle, SSBSIP_MFC_ENC_CONF conf_type, void *value) argument
[all...]
/device/samsung/tuna/liblight/
H A Dlights.c50 static int write_int(char const *path, int value) argument
57 ALOGV("write_int: path %s, value %d", path, value);
62 int bytes = sprintf(buffer, "%d\n", value);
/device/samsung/crespo/libs3cjpeg/
H A DJpegEncoder.cpp95 jpg_return_status JpegEncoder::setConfig(jpeg_conf type, int32_t value) argument
104 if (value < 0 || value > MAX_JPG_WIDTH)
107 mArgs.enc_param->width = value;
111 if (value < 0 || value > MAX_JPG_HEIGHT)
114 mArgs.enc_param->height = value;
118 if (value < JPG_QUALITY_LEVEL_1 || value > JPG_QUALITY_LEVEL_4)
121 mArgs.enc_param->quality = (image_quality_type_t)value;
720 writeExifIfd(unsigned char **pCur, unsigned short tag, unsigned short type, unsigned int count, uint32_t value) argument
[all...]
/device/moto/wingray/libaudio/
H A DAudioPostProcessor.cpp140 void AudioPostProcessor::enableEcns(int value) argument
142 if (mEcnsEnabled!=value) {
143 ALOGD("enableEcns() new %08x old %08x)", value, mEcnsEnabled);
148 mEcnsEnabled = value;
H A DAudioHardware.cpp379 String8 value; local
391 if (param.get(key, value) == NO_ERROR) {
392 if (value == BT_NREC_VALUE_ON) {
403 if (param.get(key, value) == NO_ERROR) {
407 if (!strcasecmp(value.string(), mSndEndpoints[i].name)) {
409 ALOGD("Using custom acoustic parameters for %s", value.string());
416 "(%s not in acoustic database)", value.string());
427 String8 value; local
434 if (request.get(key, value) == NO_ERROR) {
435 value
1474 String8 value; local
1927 String8 value; local
[all...]
/device/samsung/crespo/libaudio/
H A DAudioHardware.cpp482 String8 value; local
493 if (param.get(key, value) == NO_ERROR) {
494 if (value == BT_NREC_VALUE_ON) {
505 if (param.get(key, value) == NO_ERROR) {
507 if (value == TTY_MODE_VALUE_OFF) {
509 } else if (value == TTY_MODE_VALUE_VCO) {
511 } else if (value == TTY_MODE_VALUE_HCO) {
513 } else if (value == TTY_MODE_VALUE_FULL) {
1387 String8 value; local
1390 if (param.get(key, value)
2027 int value; local
2076 String8 value; local
[all...]
/device/samsung/crespo/libcamera/
H A DSecCamera.cpp450 return ctrl.value;
453 static int fimc_v4l2_s_ctrl(int fp, unsigned int id, unsigned int value) argument
459 ctrl.value = value;
463 ALOGE("ERR(%s):VIDIOC_S_CTRL(id = %#x (%d), value = %d) failed ret = %d\n",
464 __func__, id, id-V4L2_CID_PRIVATE_BASE, value, ret);
469 return ctrl.value;
937 * the FIMC driver by calling fimc_v4l2_s_input() with a special value = 1000
2824 it current returns a negative err value, so avoid putting
2825 odd value int
[all...]

Completed in 287 milliseconds

12