Searched refs:Keys (Results 1 – 25 of 25) sorted by relevance
96 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 …]
284 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 …]
34 public class Keys { class131 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()
78 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()
50 mCameraFacingSettingKey = Keys.KEY_CAMERA_ID; in CameraFacingSetting()74 Keys.KEY_CAMERA_ID, in setDefault()
28 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 …]
64 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 …]
73 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 …]
20 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()
63 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 …]
125 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 …]
30 import com.android.camera.settings.Keys;492 Keys.KEY_FOCUS_MODE); in getFocusMode()
28 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 …]
49 private enum Keys { enum in TmaMediaEventReader87 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()
54 private enum Keys { enum in TmaMediaItemReader96 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()
32 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()
48 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 …]
23 import com.android.camera.settings.Keys;126 SettingsManager.SCOPE_GLOBAL, Keys.KEY_CAMERA_MODULE_LAST_USED); in getQuickSwitchToModuleId()
24 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()
33 import com.android.camera.settings.Keys;178 boolean isGridLinesOn = Keys.areGridLinesOn(settingsManager); in takePictureNow()
45 import com.android.camera.settings.Keys;291 mCameraSettingsScope, Keys.KEY_EXPOSURE, value);
63 import com.android.camera.settings.Keys;138 SettingsManager.SCOPE_GLOBAL, Keys.KEY_COUNTDOWN_DURATION); in takePicture()
1152 * Values as selected by Lookups via Keys.1164 * Keys should have a shape of [40]. If Lookups tensor has shape1167 * 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 Values1169 * must be selected. If no entry in Keys has 123456, a slice of zeroes1182 * * 1: Keys. A 1-D {@link %{OperandTypeLinkPfx}TENSOR_INT32} tensor with shape1183 * [ n ]; Keys and Values pair represent a map, i.e., the ith element1184 * in Keys (Keys[i]) is the key to select the ith sub-tensor in Values1185 * (Values[i]), where 0 <= i <= n-1. Keys tensor *MUST* be sorted in
1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...
1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ...