Home
last modified time | relevance | path

Searched refs:Keys (Results 1 – 25 of 25) 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.java284 findPreference(Keys.KEY_PICTURE_SIZE_BACK)); in setVisibilities()
286 findPreference(Keys.KEY_VIDEO_QUALITY_BACK)); in setVisibilities()
290 findPreference(Keys.KEY_PICTURE_SIZE_FRONT)); in setVisibilities()
292 findPreference(Keys.KEY_VIDEO_QUALITY_FRONT)); in setVisibilities()
351 if (key.equals(Keys.KEY_RECORD_LOCATION) in onSharedPreferenceChanged()
372 if (listPreference.getKey().equals(Keys.KEY_PICTURE_SIZE_BACK)) { in setEntries()
374 } else if (listPreference.getKey().equals(Keys.KEY_PICTURE_SIZE_FRONT)) { in setEntries()
376 } else if (listPreference.getKey().equals(Keys.KEY_VIDEO_QUALITY_BACK)) { in setEntries()
378 } else if (listPreference.getKey().equals(Keys.KEY_VIDEO_QUALITY_FRONT)) { in setEntries()
393 if (listPreference.getKey().equals(Keys.KEY_PICTURE_SIZE_BACK)) { 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.java78 Keys.KEY_PICTURE_SIZE_FRONT : Keys.KEY_PICTURE_SIZE_BACK; in setPictureAspectRatio()
112 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 …]
DPermissionsActivity.java20 import com.android.camera.settings.Keys;
119 Keys.KEY_RECORD_LOCATION) in checkPermissions()
128 Keys.KEY_HAS_SEEN_PERMISSIONS_DIALOGS)) { in checkPermissions()
169 Keys.KEY_HAS_SEEN_PERMISSIONS_DIALOGS, in onRequestPermissionsResult()
DVideoModule.java63 import com.android.camera.settings.Keys;
341 Keys.KEY_CAMERA_ID); in init()
731 String videoQualityKey = isCameraFrontFacing() ? Keys.KEY_VIDEO_QUALITY_FRONT in readVideoPreferences()
732 : Keys.KEY_VIDEO_QUALITY_BACK; in readVideoPreferences()
1246 Keys.KEY_VIDEOCAMERA_FLASH_MODE); in logVideoCapture()
1247 boolean gridLinesOn = Keys.areGridLinesOn(mActivity.getSettingsManager()); in logVideoCapture()
1653 enableTorchMode(Keys.isCameraBackFacing(settingsManager, mAppController.getModuleScope())); in setCameraParameters()
1827 Keys.KEY_CAMERA_ID, mCameraId); in switchCamera()
1890 Keys.KEY_VIDEOCAMERA_FLASH_MODE)); in enableTorchMode()
1942 .getString(mAppController.getCameraScope(), Keys.KEY_VIDEOCAMERA_FLASH_MODE); in storeImage()
[all …]
DCameraActivity.java125 import com.android.camera.settings.Keys;
350 Keys.KEY_SHOULD_SHOW_REFOCUS_VIEWER_CLING)) {
352 Keys.KEY_SHOULD_SHOW_REFOCUS_VIEWER_CLING, false);
1515 Keys.setDefaults(mSettingsManager, mAppContext); in onCreateTasks()
1621 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()
1847 Keys.KEY_STARTUP_MODULE_INDEX, in onPauseTasks()
1941 SettingsManager.SCOPE_GLOBAL, Keys.KEY_RECORD_LOCATION) && 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/
DTmaMediaEventReader.java49 private enum Keys { enum in TmaMediaEventReader
87 getEnum(json, Keys.STATE, mEventStates, EventState.NONE), in fromJson()
88 getEnum(json, Keys.ERROR_CODE, mErrorCodes, StateErrorCode.UNKNOWN_ERROR), in fromJson()
89 getString(json, Keys.ERROR_MESSAGE), in fromJson()
90 getString(json, Keys.ACTION_LABEL), in fromJson()
91 getEnum(json, Keys.INTENT, mResolutionIntents, ResolutionIntent.NONE), in fromJson()
92 getEnum(json, Keys.ACTION, mActions, Action.NONE), in fromJson()
93 getInt(json, Keys.POST_DELAY_MS), in fromJson()
94 getString(json, Keys.THROW_EXCEPTION), in fromJson()
95 getString(json, Keys.TOGGLE_ITEM)); in fromJson()
DTmaMediaItemReader.java54 private enum Keys { enum in TmaMediaItemReader
96 JSONArray events = getArray(json, Keys.EVENTS); in fromJson()
107 JSONArray children = getArray(json, Keys.CHILDREN); in fromJson()
115 return new TmaMediaItem(TmaLoaderUtils.parseFlags(getString(json, Keys.FLAGS), mFlags), in fromJson()
116 getEnum(json, Keys.PLAYABLE_HINT, mContentStyles, ContentStyle.NONE), in fromJson()
117 getEnum(json, Keys.BROWSABLE_HINT, mContentStyles, ContentStyle.NONE), in fromJson()
118 mMediaMetadataReader.fromJson(json.getJSONObject(Keys.METADATA.name())), in fromJson()
119 getInt(json, Keys.SELF_UPDATE_MS), in fromJson()
120 getEnumArray(json, Keys.CUSTOM_ACTIONS, mCustomActions), in fromJson()
121 mediaEvents, mediaItems, getString(json, Keys.INCLUDE)); in fromJson()
/packages/apps/Camera2/src/com/android/camera/app/
DFirstRunDialog.java32 import com.android.camera.settings.Keys;
146 return !mSettingsManager.isSet(SettingsManager.SCOPE_GLOBAL, Keys.KEY_RECORD_LOCATION); in shouldShowLocationDialog()
183 Keys.KEY_USER_SELECTED_ASPECT_RATIO, in promptAspectRatioPreferenceDialog()
220 Keys.KEY_HAS_SEEN_PERMISSIONS_DIALOGS, true); in checkLocationPermission()
239 Keys.KEY_RECORD_LOCATION, in promptLocationPreferenceDialog()
DCameraAppUI.java48 import com.android.camera.settings.Keys;
807 Keys.KEY_SHOULD_SHOW_SETTINGS_BUTTON_CLING); in CameraAppUI()
1253 Keys.KEY_FLASH_SUPPORTED_BACK_CAMERA)) { in onChangeCamera()
1255 Keys.KEY_FLASH_SUPPORTED_BACK_CAMERA, in onChangeCamera()
1260 Keys.KEY_HDR_SUPPORT_MODE_BACK_CAMERA)) { in onChangeCamera()
1271 Keys.KEY_HDR_SUPPORT_MODE_BACK_CAMERA, hdrSupportMode); in onChangeCamera()
1578 Keys.KEY_SHOULD_SHOW_SETTINGS_BUTTON_CLING, false); in onSettingsSelected()
1785 if (Keys.areGridLinesOn(mController.getSettingsManager())) { in getGridLinesCallback()
2004 if (key.equals(Keys.KEY_CAMERA_HDR)) {
2048 Keys.KEY_HDR_SUPPORT_MODE_BACK_CAMERA);
[all …]
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;
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/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/modules/NeuralNetworks/tools/api/
Dtypes.spec1152 * Values as selected by Lookups via Keys.
1164 * Keys should have a shape of [40]. If Lookups tensor has shape
1167 * has the value 123456, that value must be located in Keys tensor.
1168 * If the sixth entry of Keys contains 123456, the sixth slice of Values
1169 * must be selected. If no entry in Keys has 123456, a slice of zeroes
1182 * * 1: Keys. A 1-D {@link %{OperandTypeLinkPfx}TENSOR_INT32} tensor with shape
1183 * [ n ]; Keys and Values pair represent a map, i.e., the ith element
1184 * in Keys (Keys[i]) is the key to select the ith sub-tensor in Values
1185 * (Values[i]), where 0 <= i <= n-1. Keys tensor *MUST* be sorted in
/packages/inputmethods/LatinIME/dictionaries/
Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...
Dtr_wordlist.combined.gz1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ...