Lines Matching refs:index
181 int index = 0; in onSettingChanged() local
184 index = mSettingsManager.getIndexOfCurrentValue(mAppController.getCameraScope(), in onSettingChanged()
188 index = mSettingsManager.getIndexOfCurrentValue(mAppController.getCameraScope(), in onSettingChanged()
192 index = mSettingsManager.getIndexOfCurrentValue(mAppController.getModuleScope(), in onSettingChanged()
196 index = mSettingsManager.getIndexOfCurrentValue(mAppController.getModuleScope(), in onSettingChanged()
200 index = mSettingsManager.getIndexOfCurrentValue(SettingsManager.SCOPE_GLOBAL, in onSettingChanged()
204 index = mSettingsManager.getIndexOfCurrentValue(SettingsManager.SCOPE_GLOBAL, in onSettingChanged()
208 index = mSettingsManager.getIndexOfCurrentValue(SettingsManager.SCOPE_GLOBAL, in onSettingChanged()
216 index = mSettingsManager.getIndexOfCurrentValue(SettingsManager.SCOPE_GLOBAL, in onSettingChanged()
221 if (button != null && button.getState() != index) { in onSettingChanged()
222 button.setState(Math.max(index, 0), false); in onSettingChanged()
615 int index = mSettingsManager.getIndexOfCurrentValue(mAppController.getCameraScope(), in initializeFlashButton() local
617 button.setState(index >= 0 ? index : 0, false); in initializeFlashButton()
642 int index = mSettingsManager.getIndexOfCurrentValue(mAppController.getCameraScope(), in initializeTorchButton() local
644 button.setState(index >= 0 ? index : 0, false); in initializeTorchButton()
669 int index = mSettingsManager.getIndexOfCurrentValue(mAppController.getModuleScope(), in initializeHdrPlusFlashButton() local
671 button.setState(index >= 0 ? index : 0, false); in initializeHdrPlusFlashButton()
695 int index = mSettingsManager.getIndexOfCurrentValue(mAppController.getModuleScope(), in initializeCameraButton() local
697 button.setState(index >= 0 ? index : 0, false); in initializeCameraButton()
727 int index = mSettingsManager.getIndexOfCurrentValue(SettingsManager.SCOPE_GLOBAL, in initializeHdrPlusButton() local
729 button.setState(index >= 0 ? index : 0, false); in initializeHdrPlusButton()
758 int index = mSettingsManager.getIndexOfCurrentValue(SettingsManager.SCOPE_GLOBAL, in initializeHdrButton() local
760 button.setState(index >= 0 ? index : 0, false); in initializeHdrButton()
790 int index = mSettingsManager.getIndexOfCurrentValue(SettingsManager.SCOPE_GLOBAL, in initializeCountdownButton() local
792 button.setState(index >= 0 ? index : 0, false); in initializeCountdownButton()
840 int index = mSettingsManager.getIndexOfCurrentValue(SettingsManager.SCOPE_GLOBAL, in initializeGridLinesButton() local
842 button.setState(index >= 0 ? index : 0, true); in initializeGridLinesButton()
868 for (int index = 0; index < numImageIds; index++) { in initializePanoOrientationButtons()
873 i = index; in initializePanoOrientationButtons()
875 i = numImageIds - index - 1; in initializePanoOrientationButtons()