Home
last modified time | relevance | path

Searched refs:Keys (Results 1 – 24 of 24) 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()
180 if (defaultPreferences.contains(Keys.KEY_RECORD_LOCATION)) { in upgradeTypesToStrings()
181 boolean location = removeBoolean(defaultPreferences, Keys.KEY_RECORD_LOCATION); in upgradeTypesToStrings()
182 settingsManager.set(SettingsManager.SCOPE_GLOBAL, Keys.KEY_RECORD_LOCATION, location); in upgradeTypesToStrings()
186 if (defaultPreferences.contains(Keys.KEY_USER_SELECTED_ASPECT_RATIO)) { in upgradeTypesToStrings()
188 Keys.KEY_USER_SELECTED_ASPECT_RATIO); in upgradeTypesToStrings()
189 settingsManager.set(SettingsManager.SCOPE_GLOBAL, Keys.KEY_USER_SELECTED_ASPECT_RATIO, in upgradeTypesToStrings()
194 if (defaultPreferences.contains(Keys.KEY_EXPOSURE_COMPENSATION_ENABLED)) { in upgradeTypesToStrings()
196 Keys.KEY_EXPOSURE_COMPENSATION_ENABLED); in upgradeTypesToStrings()
[all …]
DCameraSettingsActivity.java291 findPreference(Keys.KEY_PICTURE_SIZE_BACK)); in setVisibilities()
293 findPreference(Keys.KEY_VIDEO_QUALITY_BACK)); in setVisibilities()
297 findPreference(Keys.KEY_PICTURE_SIZE_FRONT)); in setVisibilities()
299 findPreference(Keys.KEY_VIDEO_QUALITY_FRONT)); in setVisibilities()
370 if (listPreference.getKey().equals(Keys.KEY_PICTURE_SIZE_BACK)) { in setEntries()
372 } else if (listPreference.getKey().equals(Keys.KEY_PICTURE_SIZE_FRONT)) { in setEntries()
374 } else if (listPreference.getKey().equals(Keys.KEY_VIDEO_QUALITY_BACK)) { in setEntries()
376 } else if (listPreference.getKey().equals(Keys.KEY_VIDEO_QUALITY_FRONT)) { in setEntries()
391 if (listPreference.getKey().equals(Keys.KEY_PICTURE_SIZE_BACK)) { in setSummary()
394 } 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.java50 mCameraFacingSettingKey = Keys.KEY_CAMERA_ID; in CameraFacingSetting()
74 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()
1252 Keys.KEY_VIDEOCAMERA_FLASH_MODE); in logVideoCapture()
1253 boolean gridLinesOn = Keys.areGridLinesOn(mActivity.getSettingsManager()); in logVideoCapture()
1665 enableTorchMode(Keys.isCameraBackFacing(settingsManager, mAppController.getModuleScope())); in setCameraParameters()
1839 Keys.KEY_CAMERA_ID, mCameraId); in switchCamera()
1902 Keys.KEY_VIDEOCAMERA_FLASH_MODE)); in enableTorchMode()
1954 .getString(mAppController.getCameraScope(), Keys.KEY_VIDEOCAMERA_FLASH_MODE); in storeImage()
[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()
DCameraActivity.java124 import com.android.camera.settings.Keys;
352 Keys.KEY_SHOULD_SHOW_REFOCUS_VIEWER_CLING)) {
354 Keys.KEY_SHOULD_SHOW_REFOCUS_VIEWER_CLING, false);
1516 Keys.setDefaults(mSettingsManager, mAppContext); in onCreateTasks()
1622 Keys.KEY_SHOULD_SHOW_REFOCUS_VIEWER_CLING)) { in onCreateTasks()
1712 Keys.KEY_CAMERA_MODULE_LAST_USED); in getModeIndex()
1719 Keys.KEY_USER_SELECTED_ASPECT_RATIO)) { in getModeIndex()
1726 Keys.KEY_STARTUP_MODULE_INDEX); in getModeIndex()
1843 Keys.KEY_STARTUP_MODULE_INDEX, in onPauseTasks()
1939 …!mSettingsManager.getBoolean(SettingsManager.SCOPE_GLOBAL, Keys.KEY_HAS_SEEN_PERMISSIONS_DIALOGS))… in checkPermissions()
[all …]
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/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/loader/
DTmaMediaItemReader.java53 private enum Keys { enum in TmaMediaItemReader
94 JSONArray events = getArray(json, Keys.EVENTS); in fromJson()
105 JSONArray children = getArray(json, Keys.CHILDREN); in fromJson()
113 return new TmaMediaItem(TmaLoaderUtils.parseFlags(getString(json, Keys.FLAGS), mFlags), in fromJson()
114 getEnum(json, Keys.PLAYABLE_HINT, mContentStyles, ContentStyle.NONE), in fromJson()
115 getEnum(json, Keys.BROWSABLE_HINT, mContentStyles, ContentStyle.NONE), in fromJson()
116 mMediaMetadataReader.fromJson(json.getJSONObject(Keys.METADATA.name())), in fromJson()
117 getEnumArray(json, Keys.CUSTOM_ACTIONS, mCustomActions), in fromJson()
118 mediaEvents, mediaItems, getString(json, Keys.INCLUDE)); in fromJson()
DTmaMediaEventReader.java48 private enum Keys { enum in TmaMediaEventReader
81 getEnum(json, Keys.STATE, mEventStates, EventState.NONE), in fromJson()
82 getEnum(json, Keys.ERROR_CODE, mErrorCodes, StateErrorCode.UNKNOWN_ERROR), in fromJson()
83 getString(json, Keys.ERROR_MESSAGE), in fromJson()
84 getString(json, Keys.ACTION_LABEL), in fromJson()
85 getEnum(json, Keys.INTENT, mResolutionIntents, ResolutionIntent.NONE), in fromJson()
86 getInt(json, Keys.POST_DELAY_MS)); in fromJson()
/packages/apps/Camera2/src/com/android/camera/one/
DOneCameraCaptureSetting.java24 import com.android.camera.settings.Keys;
51 settingsManager, cameraSettingScope, Keys.KEY_FLASH_MODE)); in create()
56 settingsManager, cameraSettingScope, Keys.KEY_EXPOSURE); in create()
60 SettingsManager.SCOPE_GLOBAL, Keys.KEY_CAMERA_HDR); in create()
/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/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