Lines Matching refs:cb
336 public void initializeButton(int buttonId, ButtonCallback cb) { in initializeButton() argument
337 initializeButton(buttonId, cb, null); in initializeButton()
348 public void initializeButton(int buttonId, ButtonCallback cb, ButtonCallback preCb) { in initializeButton() argument
352 initializeFlashButton(button, cb, preCb, R.array.camera_flashmode_icons); in initializeButton()
355 initializeTorchButton(button, cb, preCb, R.array.video_flashmode_icons); in initializeButton()
358 initializeHdrPlusFlashButton(button, cb, preCb, R.array.camera_flashmode_icons); in initializeButton()
361 initializeCameraButton(button, cb, preCb, R.array.camera_id_icons); in initializeButton()
364 initializeHdrPlusButton(button, cb, preCb, R.array.pref_camera_hdr_plus_icons); in initializeButton()
367 initializeHdrButton(button, cb, preCb, R.array.pref_camera_hdr_icons); in initializeButton()
370 initializeGridLinesButton(button, cb, preCb, R.array.grid_lines_icons); in initializeButton()
373 initializeCountdownButton(button, cb, preCb, R.array.countdown_duration_icons); in initializeButton()
388 public void initializePushButton(int buttonId, View.OnClickListener cb, in initializePushButton() argument
391 button.setOnClickListener(cb); in initializePushButton()
420 public void initializePushButton(int buttonId, View.OnClickListener cb, in initializePushButton() argument
422 initializePushButton(buttonId, cb, imageId, NO_RESOURCE); in initializePushButton()
428 public void initializePushButton(int buttonId, View.OnClickListener cb) { in initializePushButton() argument
429 initializePushButton(buttonId, cb, NO_RESOURCE, NO_RESOURCE); in initializePushButton()
574 .ExposureCompensationSetCallback cb) { in setExposureCompensationCallback() argument
575 if (cb == null) { in setExposureCompensationCallback()
587 cb.setExposure(compValue); in setExposureCompensationCallback()
665 final ButtonCallback cb, final ButtonCallback preCb, int resIdImages) { in initializeFlashButton() argument
683 if (cb != null) { in initializeFlashButton()
684 cb.onStateChanged(state); in initializeFlashButton()
694 final ButtonCallback cb, final ButtonCallback preCb, int resIdImages) { in initializeTorchButton() argument
712 if (cb != null) { in initializeTorchButton()
713 cb.onStateChanged(state); in initializeTorchButton()
723 final ButtonCallback cb, final ButtonCallback preCb, int resIdImages) { in initializeHdrPlusFlashButton() argument
741 if (cb != null) { in initializeHdrPlusFlashButton()
742 cb.onStateChanged(state); in initializeHdrPlusFlashButton()
752 final ButtonCallback cb, final ButtonCallback preCb, int resIdImages) { in initializeCameraButton() argument
776 if (cb != null) { in initializeCameraButton()
777 cb.onStateChanged(cameraId); in initializeCameraButton()
788 final ButtonCallback cb, final ButtonCallback preCb, int resIdImages) { in initializeHdrPlusButton() argument
803 if (cb != null) { in initializeHdrPlusButton()
804 cb.onStateChanged(state); in initializeHdrPlusButton()
821 final ButtonCallback cb, final ButtonCallback preCb, int resIdImages) { in initializeHdrButton() argument
836 if (cb != null) { in initializeHdrButton()
837 cb.onStateChanged(state); in initializeHdrButton()
854 final ButtonCallback cb, final ButtonCallback preCb, int resIdImages) { in initializeCountdownButton() argument
870 if(cb != null) { in initializeCountdownButton()
871 cb.onStateChanged(state); in initializeCountdownButton()
893 final ButtonCallback cb, final ButtonCallback preCb, int resIdImages) { in initializeGridLinesButton() argument
907 if (cb != null) { in initializeGridLinesButton()
908 cb.onStateChanged(state); in initializeGridLinesButton()
925 public void initializePanoOrientationButtons(final ButtonCallback cb) { in initializePanoOrientationButtons() argument
973 if (cb != null) { in initializePanoOrientationButtons()
978 cb.onStateChanged(state); in initializePanoOrientationButtons()