Lines Matching refs:preCb
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()
665 final ButtonCallback cb, final ButtonCallback preCb, int resIdImages) { in initializeFlashButton() argument
676 setPreChangeCallback(button, preCb); in initializeFlashButton()
694 final ButtonCallback cb, final ButtonCallback preCb, int resIdImages) { in initializeTorchButton() argument
705 setPreChangeCallback(button, preCb); in initializeTorchButton()
723 final ButtonCallback cb, final ButtonCallback preCb, int resIdImages) { in initializeHdrPlusFlashButton() argument
734 setPreChangeCallback(button, preCb); in initializeHdrPlusFlashButton()
752 final ButtonCallback cb, final ButtonCallback preCb, int resIdImages) { in initializeCameraButton() argument
762 setPreChangeCallback(button, preCb); in initializeCameraButton()
788 final ButtonCallback cb, final ButtonCallback preCb, int resIdImages) { in initializeHdrPlusButton() argument
796 setPreChangeCallback(button, preCb); in initializeHdrPlusButton()
821 final ButtonCallback cb, final ButtonCallback preCb, int resIdImages) { in initializeHdrButton() argument
829 setPreChangeCallback(button, preCb); in initializeHdrButton()
854 final ButtonCallback cb, final ButtonCallback preCb, int resIdImages) { in initializeCountdownButton() argument
863 setPreChangeCallback(button, preCb); in initializeCountdownButton()
893 final ButtonCallback cb, final ButtonCallback preCb, int resIdImages) { in initializeGridLinesButton() argument
900 setPreChangeCallback(button, preCb); in initializeGridLinesButton()
1000 private void setPreChangeCallback(MultiToggleImageButton button, final ButtonCallback preCb) { in setPreChangeCallback() argument
1004 if(preCb != null) { in setPreChangeCallback()
1005 preCb.onStateChanged(state); in setPreChangeCallback()