/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
D | OutputController.java | 15 setupServoController(1, R.id.servo1); in onAccesssoryAttached() 16 setupServoController(2, R.id.servo2); in onAccesssoryAttached() 17 setupServoController(3, R.id.servo3); in onAccesssoryAttached() 19 setupLedController(1, R.id.leds1); in onAccesssoryAttached() 20 setupLedController(2, R.id.leds2); in onAccesssoryAttached() 21 setupLedController(3, R.id.leds3); in onAccesssoryAttached() 23 setupRelayController(1, R.id.relay1); in onAccesssoryAttached() 24 setupRelayController(2, R.id.relay2); in onAccesssoryAttached()
|
D | InputController.java | 22 mTemperature = (TextView) findViewById(R.id.tempValue); in InputController() 23 mLightView = (TextView) findViewById(R.id.lightPercentValue); in InputController() 24 mLightRawView = (TextView) findViewById(R.id.lightRawValue); in InputController() 25 mJoystickView = (JoystickView) findViewById(R.id.joystickView); in InputController() 110 viewId = R.id.Button1; in SwitchDisplayer() 115 viewId = R.id.Button2; in SwitchDisplayer() 120 viewId = R.id.Button3; in SwitchDisplayer() 125 viewId = R.id.Button4; in SwitchDisplayer()
|
D | DemoKitPhone.java | 40 mInputLabel = (TextView) findViewById(R.id.inputLabel); in showControls() 41 mOutputLabel = (TextView) findViewById(R.id.outputLabel); in showControls() 42 mInputContainer = (LinearLayout) findViewById(R.id.inputContainer); in showControls() 43 mOutputContainer = (LinearLayout) findViewById(R.id.outputContainer); in showControls() 67 case R.id.inputLabel: in onClick() 71 case R.id.outputLabel: in onClick()
|
D | AccessoryController.java | 14 protected View findViewById(int id) { in findViewById() argument 15 return mHostActivity.findViewById(id); in findViewById()
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/ |
D | mm_qcamera_pp.c | 186 pme->stream[MM_CAMERA_ISP_PIX_OUTPUT1].id = pme->cam->ops->add_stream( in prepareReprocess() 194 if (!pme->stream[MM_CAMERA_ISP_PIX_OUTPUT1].id) { in prepareReprocess() 201 pme->stream[MM_CAMERA_PREVIEW].id = pme->cam->ops->add_stream( in prepareReprocess() 209 if (!pme->stream[MM_CAMERA_PREVIEW].id) { in prepareReprocess() 214 pme->stream[MM_CAMERA_ISP_PIX_OUTPUT1].id); in prepareReprocess() 215 pme->stream[MM_CAMERA_ISP_PIX_OUTPUT1].id = 0; in prepareReprocess() 220 pme->stream[MM_CAMERA_VIDEO].id = pme->cam->ops->add_stream( in prepareReprocess() 228 if (!pme->stream[MM_CAMERA_VIDEO].id) { in prepareReprocess() 233 pme->stream[MM_CAMERA_PREVIEW].id); in prepareReprocess() 234 pme->stream[MM_CAMERA_PREVIEW].id = 0; in prepareReprocess() [all …]
|
D | mm_qcamera_main_menu.c | 751 ctrl.id = V4L2_CID_ZOOM_ABSOLUTE; in camera_preview_video_zoom_change_tbl() 917 queryctrl.id = V4L2_CID_CONTRAST; in increase_contrast() 930 control.id = V4L2_CID_CONTRAST; in increase_contrast() 961 queryctrl.id = V4L2_CID_CONTRAST; in decrease_contrast() 974 control.id = V4L2_CID_CONTRAST; in decrease_contrast() 1004 queryctrl.id = V4L2_CID_BRIGHTNESS; in decrease_brightness() 1017 control.id = V4L2_CID_BRIGHTNESS; in decrease_brightness() 1047 queryctrl.id = V4L2_CID_BRIGHTNESS; in increase_brightness() 1060 control.id = V4L2_CID_BRIGHTNESS; in increase_brightness() 1092 queryctrl.id = V4L2_CID_EXPOSURE; in increase_EV() [all …]
|
D | mm_qcamera_preview.c | 410 if (pme->stream[i].id == stream_id) { in mm_stream_initbuf() 459 if (pme->stream[i].id == stream_id) { 522 if (pme->stream[i].id == stream_id) { in mm_stream_deinitbuf() 554 if (pme->stream[i].id == stream_id) { 810 pme->stream[MM_CAMERA_SAEC].id = in mm_app_prepare_stats() 814 if (!pme->stream[MM_CAMERA_SAEC].id) { in mm_app_prepare_stats() 820 … CDBG_ERROR("%s :Add stream is successful stream ID = %d",__func__,pme->stream[MM_CAMERA_SAEC].id); in mm_app_prepare_stats() 826 …c = pme->cam->ops->config_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[MM_CAMERA_SAEC].id, in mm_app_prepare_stats() 832 pme->stream[MM_CAMERA_SAWB].id = in mm_app_prepare_stats() 836 if (!pme->stream[MM_CAMERA_SAWB].id) { in mm_app_prepare_stats() [all …]
|
D | mm_qcamera_video.c | 237 … = pme->cam->ops->config_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[MM_CAMERA_VIDEO].id, in mm_app_config_video() 250 …cam->ops->config_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id, in mm_app_config_video() 266 pme->stream[MM_CAMERA_VIDEO].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->ch_id, in mm_app_prepare_video() 270 if(!pme->stream[MM_CAMERA_VIDEO].id) { in mm_app_prepare_video() 276 CDBG("Add stream is successfull stream ID = %d",pme->stream[MM_CAMERA_PREVIEW].id); in mm_app_prepare_video() 279 …pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->c… in mm_app_prepare_video() 283 CDBG("Add Snapshot main is successfull stream ID = %d",pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id); in mm_app_prepare_video() 284 if(!pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id) { in mm_app_prepare_video() 302 … = pme->cam->ops->del_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[MM_CAMERA_VIDEO].id))){ in mm_app_unprepare_video() 307 …cam->ops->del_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id))){ in mm_app_unprepare_video() [all …]
|
D | mm_qcamera_rdi.c | 192 pme->stream[MM_CAMERA_RDI].id = pme->cam->ops->add_stream(pme->cam->camera_handle, in mm_app_prepare_rdi() 199 if (!pme->stream[MM_CAMERA_RDI].id) { in mm_app_prepare_rdi() 204 CDBG("%s :Add RDI stream is successfull stream ID = %d",__func__,pme->stream[MM_CAMERA_RDI].id); in mm_app_prepare_rdi() 212 pme->stream[MM_CAMERA_RDI].id, in mm_app_prepare_rdi() 240 stream[0] = pme->stream[MM_CAMERA_RDI].id; in mm_app_streamon_rdi() 302 stream[0] = pme->stream[MM_CAMERA_RDI].id; in mm_app_streamoff_rdi() 322 pme->stream[MM_CAMERA_RDI].id))) { in mm_app_streamoff_rdi() 348 stream[0] = pme->stream[MM_CAMERA_RDI].id; in mm_app_streamdel_rdi() 351 …c = pme->cam->ops->del_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[MM_CAMERA_RDI].id))) { in mm_app_streamdel_rdi()
|
D | mm_qcamera_snapshot.c | 247 if (pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id == recvd_frame->bufs[i]->stream_id) { in encodeData() 251 } else if (pme->stream[MM_CAMERA_SNAPSHOT_THUMBNAIL].id == recvd_frame->bufs[i]->stream_id){ in encodeData() 305 pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id, in encodeData() 336 pme->stream[MM_CAMERA_SNAPSHOT_THUMBNAIL].id, in encodeData() 435 if (pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id == recvd_frame->bufs[i]->stream_id) { in snapshot_raw_cb() 472 …pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->c… in mm_app_add_snapshot_stream() 476 CDBG("Add Snapshot main is successfull stream ID = %d",pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id); in mm_app_add_snapshot_stream() 477 if (!pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id) { in mm_app_add_snapshot_stream() 483 …pme->stream[MM_CAMERA_SNAPSHOT_THUMBNAIL].id = pme->cam->ops->add_stream(pme->cam->camera_handle,p… in mm_app_add_snapshot_stream() 486 if (!pme->stream[MM_CAMERA_SNAPSHOT_THUMBNAIL].id) { in mm_app_add_snapshot_stream() [all …]
|
/device/htc/flounder/sensor_hub/libsensors/ |
D | CwMcuSensor.cpp | 1067 int id; in readEvents() local 1074 id = processEvent(data_temp); in readEvents() 1075 if (id == CW_META_DATA) { in readEvents() 1080 } else if ((id == TIME_DIFF_EXHAUSTED) || (id == CW_TIME_BASE)) { in readEvents() 1081 ALOGV("readEvents: id = %d\n", id); in readEvents() 1084 uint64_t event_mcu_time = mPendingEvents[id].timestamp; in readEvents() 1087 if (event_mcu_time < last_mcu_timestamp[id]) { in readEvents() 1090 event_mcu_time, last_mcu_timestamp[id]); in readEvents() 1096 if (offset_reset[id]) { in readEvents() 1097 ALOGV("offset changed, id = %d, offset = %" PRId64 "\n", id, time_offset); in readEvents() [all …]
|
/device/lge/hammerhead/camera/QCamera2/HAL3/ |
D | QCamera3Factory.cpp | 154 const char* id, uint32_t halVersion, struct hw_device_t** device) in open_legacy() argument 268 const struct hw_module_t *module, const char *id, in camera_device_open() argument 276 if (!id) { in camera_device_open() 280 return gQCamera3Factory->cameraDeviceOpen(atoi(id), hw_device); in camera_device_open()
|
D | QCamera3Factory.h | 49 const char* id, uint32_t halVersion, struct hw_device_t** device); 56 static int camera_device_open(const struct hw_module_t *module, const char *id,
|
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
D | GLClientState.cpp | 99 void GLClientState::setBufferObject(int location, GLuint id) in setBufferObject() argument 105 m_states[location].bufferObject = id; in setBufferObject() 299 const GLuint* id = (const GLuint*)pid; in compareTexId() local 301 return (GLint)(*id) - (GLint)rec->id; in compareTexId() 341 GLClientState::TextureRec* GLClientState::addTextureRec(GLuint id, in addTextureRec() argument 369 while (tex != m_tex.textures && id < prev->id) { in addTextureRec() 372 tex->id = id; in addTextureRec()
|
D | GLClientState.h | 87 void setBufferObject(int location, GLuint id); 94 void unBindBuffer(GLuint id) in unBindBuffer() argument 96 if (m_currentArrayVbo == id) m_currentArrayVbo = 0; in unBindBuffer() 97 else if (m_currentIndexVbo == id) m_currentIndexVbo = 0; in unBindBuffer() 100 int bindBuffer(GLenum target, GLuint id) in bindBuffer() argument 105 m_currentArrayVbo = id; in bindBuffer() 108 m_currentIndexVbo = id; in bindBuffer() 205 GLuint id; member 218 TextureRec* addTextureRec(GLuint id, GLenum target);
|
/device/asus/flo/camera/QCamera2/HAL/ |
D | QCamera2Factory.cpp | 189 const struct hw_module_t *module, const char *id, in camera_device_open() argument 197 if (!id) { in camera_device_open() 201 return gQCamera2Factory.cameraDeviceOpen(atoi(id), hw_device); in camera_device_open()
|
/device/asus/flo/camera/QCamera2/HAL3/ |
D | QCamera3Factory.cpp | 192 const struct hw_module_t *module, const char *id, in camera_device_open() argument 200 if (!id) { in camera_device_open() 204 return gQCamera3Factory.cameraDeviceOpen(atoi(id), hw_device); in camera_device_open()
|
/device/lge/hammerhead/camera/QCamera2/HAL/ |
D | QCamera2Factory.cpp | 189 const struct hw_module_t *module, const char *id, in camera_device_open() argument 197 if (!id) { in camera_device_open() 201 return gQCamera2Factory.cameraDeviceOpen(atoi(id), hw_device); in camera_device_open()
|
/device/moto/shamu/dataservices/rmnetctl/inc/ |
D | librmnetctl.h | 382 uint32_t id, 403 uint32_t id, 423 uint32_t id, 446 uint32_t id,
|
/device/moto/shamu/camera/QCamera/HAL2/core/src/ |
D | QCameraStream.cpp | 397 int QCameraStream::deallocateStreamId(int id) { in deallocateStreamId() argument 398 if (id < 0 || id >= STREAM_TABLE_SIZE) in deallocateStreamId() 400 mStreamTable[id] = NULL; in deallocateStreamId() 404 QCameraStream *QCameraStream::getStreamAtId(int id) { in getStreamAtId() argument 405 if (id < 0 || id >= STREAM_TABLE_SIZE) in getStreamAtId() 408 return mStreamTable[id]; in getStreamAtId()
|
/device/moto/shamu/dataservices/rmnetctl/src/ |
D | librmnetctl.c | 710 uint32_t id, in rmnet_new_vnd_prefix() argument 742 request.vnd.id = id; in rmnet_new_vnd_prefix() 756 uint32_t id, in rmnet_new_vnd() argument 760 return rmnet_new_vnd_prefix(hndl, id, error_code, new_vnd, 0); in rmnet_new_vnd() 764 uint32_t id, in rmnet_get_vnd_name() argument 780 request.vnd.id = id; in rmnet_get_vnd_name() 803 uint32_t id, in rmnet_add_del_vnd_tc_flow() argument 822 request.flow_control.id = id; in rmnet_add_del_vnd_tc_flow()
|
/device/moto/shamu/camera/QCamera2/ |
D | QCamera2Factory.h | 54 const char* id, uint32_t halVersion, struct hw_device_t** device); 62 static int camera_device_open(const struct hw_module_t *module, const char *id,
|
D | QCamera2Factory.cpp | 181 const char* id, uint32_t halVersion, struct hw_device_t** device) in open_legacy() argument 358 const struct hw_module_t *module, const char *id, in camera_device_open() argument 366 if (!id) { in camera_device_open() 370 return gQCamera2Factory->cameraDeviceOpen(atoi(id), hw_device); in camera_device_open()
|
/device/generic/goldfish/vibrator/ |
D | vibrator_qemu.c | 55 static int qemu_vibra_open(const hw_module_t* module, const char* id __unused, in qemu_vibra_open() 89 .id = VIBRATOR_HARDWARE_MODULE_ID,
|
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera.c | 96 int id = 0; in mm_camera_util_chip_is_a_family() local 99 fscanf(fp, "%d", &id); in mm_camera_util_chip_is_a_family() 102 if (id == 126) in mm_camera_util_chip_is_a_family() 164 if (rc >= 0 && ev.id == MSM_CAMERA_MSM_NOTIFY) { in mm_camera_event_notify() 1427 sub.id = MSM_CAMERA_MSM_NOTIFY; in mm_camera_evt_sub() 1603 int32_t mm_camera_util_s_ctrl(int32_t fd, uint32_t id, int32_t *value) in mm_camera_util_s_ctrl() argument 1609 control.id = id; in mm_camera_util_s_ctrl() 1616 __func__, fd, id, (uint32_t)value, rc); in mm_camera_util_s_ctrl() 1637 int32_t mm_camera_util_g_ctrl( int32_t fd, uint32_t id, int32_t *value) in mm_camera_util_g_ctrl() argument 1643 control.id = id; in mm_camera_util_g_ctrl() [all …]
|