Home
last modified time | relevance | path

Searched refs:Keys (Results 1 – 22 of 22) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/settings/
DAppUpgrader.java96 super(Keys.KEY_UPGRADE_VERSION, APP_UPGRADE_VERSION); in AppUpgrader()
147 Keys.KEY_STARTUP_MODULE_INDEX); in upgrade()
179 if (defaultPreferences.contains(Keys.KEY_RECORD_LOCATION)) { in upgradeTypesToStrings()
180 boolean location = removeBoolean(defaultPreferences, Keys.KEY_RECORD_LOCATION); in upgradeTypesToStrings()
181 settingsManager.set(SettingsManager.SCOPE_GLOBAL, Keys.KEY_RECORD_LOCATION, location); in upgradeTypesToStrings()
185 if (defaultPreferences.contains(Keys.KEY_USER_SELECTED_ASPECT_RATIO)) { in upgradeTypesToStrings()
187 Keys.KEY_USER_SELECTED_ASPECT_RATIO); in upgradeTypesToStrings()
188 settingsManager.set(SettingsManager.SCOPE_GLOBAL, Keys.KEY_USER_SELECTED_ASPECT_RATIO, in upgradeTypesToStrings()
193 if (defaultPreferences.contains(Keys.KEY_EXPOSURE_COMPENSATION_ENABLED)) { in upgradeTypesToStrings()
195 Keys.KEY_EXPOSURE_COMPENSATION_ENABLED); in upgradeTypesToStrings()
[all …]
DCameraSettingsActivity.java290 findPreference(Keys.KEY_PICTURE_SIZE_BACK)); in setVisibilities()
292 findPreference(Keys.KEY_VIDEO_QUALITY_BACK)); in setVisibilities()
296 findPreference(Keys.KEY_PICTURE_SIZE_FRONT)); in setVisibilities()
298 findPreference(Keys.KEY_VIDEO_QUALITY_FRONT)); in setVisibilities()
369 if (listPreference.getKey().equals(Keys.KEY_PICTURE_SIZE_BACK)) { in setEntries()
371 } else if (listPreference.getKey().equals(Keys.KEY_PICTURE_SIZE_FRONT)) { in setEntries()
373 } else if (listPreference.getKey().equals(Keys.KEY_VIDEO_QUALITY_BACK)) { in setEntries()
375 } else if (listPreference.getKey().equals(Keys.KEY_VIDEO_QUALITY_FRONT)) { in setEntries()
390 if (listPreference.getKey().equals(Keys.KEY_PICTURE_SIZE_BACK)) { in setSummary()
393 } else if (listPreference.getKey().equals(Keys.KEY_PICTURE_SIZE_FRONT)) { in setSummary()
[all …]
DKeys.java34 public class Keys { class
131 if (!settingsManager.isSet(SettingsManager.SCOPE_GLOBAL, Keys.KEY_VIDEO_QUALITY_BACK)) { in setDefaults()
133 Keys.KEY_VIDEO_QUALITY_BACK); in setDefaults()
139 if (!settingsManager.isSet(SettingsManager.SCOPE_GLOBAL, Keys.KEY_VIDEO_QUALITY_FRONT)) { in setDefaults()
141 Keys.KEY_VIDEO_QUALITY_FRONT); in setDefaults()
DResolutionSetting.java76 Keys.KEY_PICTURE_SIZE_FRONT : Keys.KEY_PICTURE_SIZE_BACK; in setPictureAspectRatio()
110 Keys.KEY_PICTURE_SIZE_FRONT : Keys.KEY_PICTURE_SIZE_BACK; in getPictureSize()
DCameraFacingSetting.java48 mCameraFacingSettingKey = Keys.KEY_CAMERA_ID; in CameraFacingSetting()
67 Keys.KEY_CAMERA_ID, in setDefault()
/packages/apps/Camera2/src/com/android/camera/
DButtonManager.java28 import com.android.camera.settings.Keys;
187 if (key.equals(Keys.KEY_FLASH_MODE)) { in onSettingChanged()
189 Keys.KEY_FLASH_MODE); in onSettingChanged()
191 } else if (key.equals(Keys.KEY_VIDEOCAMERA_FLASH_MODE)) { in onSettingChanged()
193 Keys.KEY_VIDEOCAMERA_FLASH_MODE); in onSettingChanged()
195 } else if (key.equals(Keys.KEY_HDR_PLUS_FLASH_MODE)) { in onSettingChanged()
197 Keys.KEY_HDR_PLUS_FLASH_MODE); in onSettingChanged()
199 } else if (key.equals(Keys.KEY_CAMERA_ID)) { in onSettingChanged()
201 Keys.KEY_CAMERA_ID); in onSettingChanged()
203 } else if (key.equals(Keys.KEY_CAMERA_HDR_PLUS)) { in onSettingChanged()
[all …]
DPhotoModule.java64 import com.android.camera.settings.Keys;
344 Keys.KEY_CAMERA_HDR_PLUS, true); in switchToGcamCapture()
394 settingsManager.setToDefault(mAppController.getModuleScope(), Keys.KEY_CAMERA_ID); in init()
397 Keys.KEY_CAMERA_ID); in init()
493 settingsManager.set(mAppController.getModuleScope(), Keys.KEY_CAMERA_ID, mCameraId); in switchCamera()
530 if (Keys.isCameraBackFacing(settingsManager,
532 if (Keys.requestsReturnToHdrPlus(settingsManager,
562 Keys.KEY_CAMERA_ID);
565 if (Keys.isHdrOn(settingsManager)) {
566 … settingsManager.set(mAppController.getCameraScope(), Keys.KEY_SCENE_MODE,
[all …]
DCaptureModule.java73 import com.android.camera.settings.Keys;
416 mSettingsManager.getInteger(mAppController.getModuleScope(), Keys.KEY_CAMERA_ID)); in init()
493 .getInteger(SettingsManager.SCOPE_GLOBAL, Keys.KEY_COUNTDOWN_DURATION); in onShutterButtonClick()
510 Keys.KEY_FLASH_MODE); in decorateSessionAtCaptureTime()
511 boolean gridLinesOn = Keys.areGridLinesOn(mSettingsManager); in decorateSessionAtCaptureTime()
513 .getInteger(SettingsManager.SCOPE_GLOBAL, Keys.KEY_COUNTDOWN_DURATION); in decorateSessionAtCaptureTime()
700 SettingsManager.SCOPE_GLOBAL, Keys.KEY_CAMERA_HDR_PLUS) == 1; in resume()
703 SettingsManager.SCOPE_GLOBAL, Keys.KEY_CAMERA_HDR); in resume()
765 settingsManager.set(SettingsManager.SCOPE_GLOBAL, Keys.KEY_CAMERA_HDR_PLUS, true); in hardResetSettings()
766 settingsManager.set(mAppController.getModuleScope(), Keys.KEY_CAMERA_ID, in hardResetSettings()
[all …]
DVideoModule.java63 import com.android.camera.settings.Keys;
344 Keys.KEY_CAMERA_ID); in init()
734 String videoQualityKey = isCameraFrontFacing() ? Keys.KEY_VIDEO_QUALITY_FRONT in readVideoPreferences()
735 : Keys.KEY_VIDEO_QUALITY_BACK; in readVideoPreferences()
1251 Keys.KEY_VIDEOCAMERA_FLASH_MODE); in logVideoCapture()
1252 boolean gridLinesOn = Keys.areGridLinesOn(mActivity.getSettingsManager()); in logVideoCapture()
1664 enableTorchMode(Keys.isCameraBackFacing(settingsManager, mAppController.getModuleScope())); in setCameraParameters()
1838 Keys.KEY_CAMERA_ID, mCameraId); in switchCamera()
1901 Keys.KEY_VIDEOCAMERA_FLASH_MODE)); in enableTorchMode()
1953 .getString(mAppController.getCameraScope(), Keys.KEY_VIDEOCAMERA_FLASH_MODE); in storeImage()
[all …]
DCameraActivity.java123 import com.android.camera.settings.Keys;
350 Keys.KEY_SHOULD_SHOW_REFOCUS_VIEWER_CLING)) {
352 Keys.KEY_SHOULD_SHOW_REFOCUS_VIEWER_CLING, false);
1512 Keys.setDefaults(mSettingsManager, mAppContext); in onCreateTasks()
1618 Keys.KEY_SHOULD_SHOW_REFOCUS_VIEWER_CLING)) { in onCreateTasks()
1708 Keys.KEY_CAMERA_MODULE_LAST_USED); in getModeIndex()
1715 Keys.KEY_USER_SELECTED_ASPECT_RATIO)) { in getModeIndex()
1722 Keys.KEY_STARTUP_MODULE_INDEX); in getModeIndex()
1810 Keys.KEY_STARTUP_MODULE_INDEX, in onPauseTasks()
1906 …!mSettingsManager.getBoolean(SettingsManager.SCOPE_GLOBAL, Keys.KEY_HAS_SEEN_PERMISSIONS_DIALOGS))… in checkPermissions()
[all …]
DPermissionsActivity.java20 import com.android.camera.settings.Keys;
132 Keys.KEY_HAS_SEEN_PERMISSIONS_DIALOGS)) { in checkPermissions()
178 Keys.KEY_HAS_SEEN_PERMISSIONS_DIALOGS, in onRequestPermissionsResult()
DFocusOverlayManager.java30 import com.android.camera.settings.Keys;
492 Keys.KEY_FOCUS_MODE); in getFocusMode()
/packages/apps/Camera2/src/com/android/camera/widget/
DIndicatorIconController.java28 import com.android.camera.settings.Keys;
179 Keys.KEY_VIDEOCAMERA_FLASH_MODE, mFlashIndicator, in syncFlashIndicator()
184 Keys.KEY_HDR_PLUS_FLASH_MODE, mFlashIndicator, in syncFlashIndicator()
188 Keys.KEY_FLASH_MODE, mFlashIndicator, in syncFlashIndicator()
206 Keys.KEY_CAMERA_HDR_PLUS, mHdrIndicator, in syncHdrIndicator()
211 Keys.KEY_CAMERA_HDR, mHdrIndicator, in syncHdrIndicator()
230 Keys.KEY_CAMERA_PANO_ORIENTATION, mPanoIndicator, in syncPanoIndicator()
258 mController.getCameraScope(), Keys.KEY_EXPOSURE); in syncExposureIndicator()
287 Keys.KEY_COUNTDOWN_DURATION, mCountdownTimerIndicator, in syncCountdownTimerIndicator()
328 if (key.equals(Keys.KEY_FLASH_MODE)) { in onSettingChanged()
[all …]
/packages/apps/Camera2/src/com/android/camera/app/
DCameraAppUI.java47 import com.android.camera.settings.Keys;
806 Keys.KEY_SHOULD_SHOW_SETTINGS_BUTTON_CLING); in CameraAppUI()
1252 Keys.KEY_FLASH_SUPPORTED_BACK_CAMERA)) { in onChangeCamera()
1254 Keys.KEY_FLASH_SUPPORTED_BACK_CAMERA, in onChangeCamera()
1259 Keys.KEY_HDR_SUPPORT_MODE_BACK_CAMERA)) { in onChangeCamera()
1270 Keys.KEY_HDR_SUPPORT_MODE_BACK_CAMERA, hdrSupportMode); in onChangeCamera()
1577 Keys.KEY_SHOULD_SHOW_SETTINGS_BUTTON_CLING, false); in onSettingsSelected()
1784 if (Keys.areGridLinesOn(mController.getSettingsManager())) { in getGridLinesCallback()
2003 if (key.equals(Keys.KEY_CAMERA_HDR)) {
2047 Keys.KEY_HDR_SUPPORT_MODE_BACK_CAMERA);
[all …]
DFirstRunDialog.java29 import com.android.camera.settings.Keys;
140 return !mSettingsManager.isSet(SettingsManager.SCOPE_GLOBAL, Keys.KEY_RECORD_LOCATION); in shouldShowLocationDialog()
177 Keys.KEY_USER_SELECTED_ASPECT_RATIO, in promptAspectRatioPreferenceDialog()
221 Keys.KEY_RECORD_LOCATION, in promptLocationPreferenceDialog()
DModuleManagerImpl.java23 import com.android.camera.settings.Keys;
126 SettingsManager.SCOPE_GLOBAL, Keys.KEY_CAMERA_MODULE_LAST_USED); in getQuickSwitchToModuleId()
/packages/apps/Camera2/src/com/android/camera/one/
DOneCameraCaptureSetting.java24 import com.android.camera.settings.Keys;
49 SettingObserver.ofString(settingsManager, cameraSettingScope, Keys.KEY_FLASH_MODE)); in create()
51 settingsManager, cameraSettingScope, Keys.KEY_EXPOSURE); in create()
55 SettingsManager.SCOPE_GLOBAL, Keys.KEY_CAMERA_HDR); in create()
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/
DResourceCaptureToolsImpl.java33 import com.android.camera.settings.Keys;
178 boolean isGridLinesOn = Keys.areGridLinesOn(settingsManager); in takePictureNow()
/packages/apps/Camera2/src/com/android/camera/captureintent/state/
DStateOpeningCamera.java45 import com.android.camera.settings.Keys;
291 mCameraSettingsScope, Keys.KEY_EXPOSURE, value);
DStateReadyForCapture.java63 import com.android.camera.settings.Keys;
138 SettingsManager.SCOPE_GLOBAL, Keys.KEY_COUNTDOWN_DURATION); in takePicture()
/packages/inputmethods/LatinIME/dictionaries/
Dnl_wordlist.combined.gz
Dtr_wordlist.combined.gz