These 29 commits are when the Protocol Buffers files have changed:
Commit: | ea21c59 | |
---|---|---|
Author: | Trevor McGuire |
Clear main-cfg branch of all files
This commit does not contain any .proto
files.
Commit: | ebddf33 | |
---|---|---|
Author: | Kimberly Crevecoeur | |
Committer: | GitHub |
Mute Audio Default Setting (#268) * Implement default setting to start recordings muted or with audio * use new .withAudioEnabled API * Rename Mute Audio usages to default positive * audio uistate --------- Co-authored-by: Jaehwa Noh <shwoghk14@gmail.com>
The documentation is generated from this commit.
Commit: | e610e53 | |
---|---|---|
Author: | davidjiagoogle | |
Committer: | GitHub |
VideoQuality proto and VideoQualitySetting (#294) * VideoQuality proto and VideoQualitySetting * Update VideoQuality.kt * update * Update VideoQuality.kt * address comments * update * update * update * update * Update SettingsComponents.kt * spotless * address comment * add video resolution in debug overlay * update * update * added preview icon * Update PreviewScreenComponents.kt * Update PreviewViewModel.kt * address comments * Update SettingsComponents.kt * Update PreviewViewModel.kt * Update CameraExt.kt * Update CameraSession.kt * fallback strategy * Update SettingsComponents.kt * Update CameraSession.kt * Update Constraints.kt * address comments * address comments * Update FakeJcaSettingsSerializer.kt * spotless
Commit: | 1e28091 | |
---|---|---|
Author: | Kimberly Crevecoeur | |
Committer: | GitHub |
Rename CaptureMode setting model to StreamConfig (#297) * rename relevant instances of captureMode to streamConfig
Commit: | 9e99e0b | |
---|---|---|
Author: | Kimberly Crevecoeur | |
Committer: | Kimberly Crevecoeur |
rename captureMode setting model to streamConfig # Conflicts: # core/camera/src/main/java/com/google/jetpackcamera/core/camera/CameraXCameraUseCase.kt # feature/settings/src/main/java/com/google/jetpackcamera/settings/SettingsViewModel.kt # feature/settings/src/main/java/com/google/jetpackcamera/settings/ui/SettingsComponents.kt
Commit: | 41f953f | |
---|---|---|
Author: | Trevor McGuire | |
Committer: | GitHub |
Add Optical Image Stabilization mode (#289) * Add OIS stabilization mode * Default camera flip disabled when non-AUTO stabilization mode not supported on other lens * Apply spotless * Make AUTO stabilization fall back to OIS when available Instead of just choosing stabilization ON, this will now use OIS if it is available and ON is not. * Make UI show when AUTO chooses OIS Adds an icon to show when AUTO stabilization mode has chosen OIS rather than ON. Also adjusts ON icon to use a different "A" symbol. * Change cascading "if" condition to "when" * Move unsupported FPS sets for stabilization modes to Constraints * Rely on Constraints for unsupported FPS per StabilizationMode in UI * Rename StabilizationUiState.Set to StabilizationUiState.Enabled * Throw IllegalStateException when StabilizationUiState.Specific contains AUTO stabilization This should not be a legal state since it is not specific. * Require StabilizationUiState.Specific to not have AUTO stabilization mode
Commit: | 3f136fd | |
---|---|---|
Author: | Yasith Vidanaarachchi | |
Committer: | GitHub |
Add LLB as a FlashMode, and remove existing LLB toggle related settings (#269)
Commit: | 116e484 | |
---|---|---|
Author: | Trevor McGuire | |
Committer: | GitHub |
Add AUTO stabilization setting and enable by default (#278) * Add AUTO stabilization mode and make default Adds an AUTO stabilization mode that is now used by default. This mode will use preview stabilization or video stabilization depending on device support. This also does some refactoring to accommodate the new AUTO stabilization mode. Instead of keeping track of preview stabilization and video stabilization separately, we now use a single enum to track all stabilization modes. * Add AUTO selector to settings screen * Add StabilizationMode to CameraState Since this can now be resolved from AUTO or turned off temporarily during concurrent camera mode, we need to only show the indicator when it is actually on. This allows us to detect when and which stabilization mode is enabled. * Add icon for HIGH_QUALITY stabilization * Display stabilization mode from CaptureResult * Make AUTO only select ON when device configuration is supported High quality stabilization may affect WYSIWYG and performance. We'll only use high quality stabilization if it's explicitly turned on in the settings. * Only support AUTO in constraints when ON is supported * Better handling of camera switching No longer switch stabilization mode based on camera lens constraints when switching lenses. Now we will keep the mode, and will show that the mode is active based on the CameraState. This allows switching between back and front lens and maintaining the stabilization mode. AUTO mode will still remove the stabilization icon when it is not able to apply stabilization. * Show "AUTO" stabilization icon when in auto stabilization mode * Animate AUTO visibility icon Will fade in when stabilization is applied, and fade out otherwise * Remove unused protos
Commit: | 21fdaf1 | |
---|---|---|
Author: | Trevor McGuire | |
Committer: | GitHub |
Add AUTO stabilization setting and enable by default (#278) * Add AUTO stabilization mode and make default Adds an AUTO stabilization mode that is now used by default. This mode will use preview stabilization or video stabilization depending on device support. This also does some refactoring to accommodate the new AUTO stabilization mode. Instead of keeping track of preview stabilization and video stabilization separately, we now use a single enum to track all stabilization modes. * Add AUTO selector to settings screen * Add StabilizationMode to CameraState Since this can now be resolved from AUTO or turned off temporarily during concurrent camera mode, we need to only show the indicator when it is actually on. This allows us to detect when and which stabilization mode is enabled. * Add icon for HIGH_QUALITY stabilization * Display stabilization mode from CaptureResult * Make AUTO only select ON when device configuration is supported High quality stabilization may affect WYSIWYG and performance. We'll only use high quality stabilization if it's explicitly turned on in the settings. * Only support AUTO in constraints when ON is supported * Better handling of camera switching No longer switch stabilization mode based on camera lens constraints when switching lenses. Now we will keep the mode, and will show that the mode is active based on the CameraState. This allows switching between back and front lens and maintaining the stabilization mode. AUTO mode will still remove the stabilization icon when it is not able to apply stabilization. * Show "AUTO" stabilization icon when in auto stabilization mode * Animate AUTO visibility icon Will fade in when stabilization is applied, and fade out otherwise * Remove unused protos
Commit: | becc704 | |
---|---|---|
Author: | Yasith Vidanaarachchi |
animation prototype with scale
Commit: | 3e07a32 | |
---|---|---|
Author: | Kimberly Crevecoeur | |
Committer: | GitHub |
Implement duration limit to recordings (#231) Includes setting with options for unlimited or 5, 10, 30, 60 seconds duration.
Commit: | 4e4d815 | |
---|---|---|
Author: | heytsai | |
Committer: | GitHub |
Support Ultra HDR image capture (#206) * Add ImageOutputFormat settings to model - Add image output format proto and settings - Add supported output formats to settings * Support Ultra HDR image capture - Add supported image formats into CameraConstraints - Add UI for toggling capture between HDR image and HDR video - Hook up ImageFormat setting to CameraXCameraUseCase - Enable/Disable HdrCaptureModeToggleButton according to capture mode - Check image format and reset if needed when capture mode is changed - Not to bind video capture when capturing Ultra HDR image * Other - Display HDR icon text in QuickSettings as HDR instead of HLG10 --------- Co-authored-by: Ming-Da Tsai <mingdatsai@google.com>
Commit: | 17c50b5 | |
---|---|---|
Author: | Trevor McGuire | |
Committer: | GitHub |
Add per-lens and system constraints for HDR video (#168) * Remove constraints from CameraAppSettings These don't need to be persisted, and only need to be updated once on initialization. * Add constraints classes * Add constraints for dynamic range Whenever the camera is switched, the constraints of supported dynamic range need to be updated. * Add ConstraintsRepository to data layer Make ConstraintsRepository an injectible singleton to ensure we're using the same instance across the camera use case and the viewmodels * Add constraints to SettingsScreen * Add constraints to preview screen / quick settings * Add constraints to all tests and use new UiState classes Fix UiTestUtil dependency on new PreviewUiState sealed class Fix up FakeSettingsRepository to handle constraints Adapt PreviewViewModelTest to fit with constraint changes Delete tests that are no longer valid since Settings no longer contain constraints Fixup LocalSettingsRepositoryInstrumentedTest to use new naming for default settings Adapt CameraAppSettingsViewModelTest to use new SystemConstraints and SettingsViewModel changes * Apply spotless * Reorder and delete old proto fields for app settings We should only do this in pre-release versions. After a release, the field numbers need to be locked in a deprecated or added to a list of `reserved`.
Commit: | 6121243 | |
---|---|---|
Author: | Ming-Da Tsai | |
Committer: | Ming-Da Tsai |
Add ImageOutputFormat settings to model - Add image output format proto and settings - Add supported output formats to settings
Commit: | 7e342d9 | |
---|---|---|
Author: | Kimberly Crevecoeur | |
Committer: | GitHub |
Target FPS settings (#86) * add target fps setting ui and datastore value * implement setTargetFrameRate in CameraXCameraUseCase * modify available stabilizations based on selected fps
Commit: | 3bda628 | |
---|---|---|
Author: | Trevor McGuire | |
Committer: | GitHub |
Use LensFacing instead of flipCamera (#133) * Add LensFacing to model * Remove unused CameraUseCase data classes Use the classes in the model instead * Change CameraUseCase.flipCamera() to setLensFacing() * Use of setLensFacing rather than flipCamera Switches all usage to setting LensFacing directly rather than relying on booleans. * Add switch camera tests This will switch cameras using three methods: 1. The flip camera button on the preview screen 2. Double tapping the screen to flip cameras 3. Flipping cameras with the quick settings button * Fix unit test failures * Remove unused import and unnecessary changes * Fix BackgroundDeviceTest Fixes tests in BackgroundDeviceTest that use the flip camera button * Fix comments in LocalSettingsRepositoryInstrumentedTest
Commit: | 8498fe2 | |
---|---|---|
Author: | Trevor McGuire | |
Committer: | GitHub |
Add HDR settings to model (#111) * Convert settings tests to use Truth * Add dynamic range proto and setting Only includes SDR and HLG10 currently * Add supported dynamic ranges to settings * Apply spotless * Make copyright header years reflect date of inception
Commit: | 6e32e86 | |
---|---|---|
Author: | Trevor McGuire | |
Committer: | GitHub |
Copyright headers should reflect inception year (#115) * Tell spotless to never update existing year in copyright All files should use inception year for copyright * Update all copyright headers to file inception year based on git history * Update copyright after merge with main
Commit: | db184fe | |
---|---|---|
Author: | Trevor McGuire | |
Committer: | Trevor McGuire |
Add supported dynamic ranges to settings
Commit: | 3cf09b2 | |
---|---|---|
Author: | Trevor McGuire | |
Committer: | Trevor McGuire |
Add dynamic range proto and setting Only includes SDR and HLG10 currently
Commit: | aa88019 | |
---|---|---|
Author: | Kimberly Crevecoeur | |
Committer: | GitHub |
Settings to enable preview/video stabilization (#83) Add stabilization setting datastore and ui * Popup dialog setting in settings screen; options enabled/disabled based on device capability * UI icon on preview screen indicating when stabilization is active
Commit: | 7edde7e | |
---|---|---|
Author: | Kimberly Crevecoeur |
Merge branch 'main' into kim/demo_new_settings
Commit: | dd6e490 | |
---|---|---|
Author: | Kimberly Crevecoeur | |
Committer: | GitHub |
Rename enums (#66) * rename proto and setting enums
Commit: | 54daeec | |
---|---|---|
Author: | Kimberly Crevecoeur | |
Committer: | GitHub |
Capture Mode Setting and Integration (#37)
Commit: | 87b3433 | |
---|---|---|
Author: | Kimberly Crevecoeur | |
Committer: | GitHub |
Aspect Ratio Setting (#38)
Commit: | 7bf8722 | |
---|---|---|
Author: | Kimberly Crevecoeur | |
Committer: | Kimberly Crevecoeur |
demo setting backend and functions
Commit: | 2ccc32a | |
---|---|---|
Author: | Kimberly Crevecoeur | |
Committer: | GitHub |
Implement flip camera (#20) * functional persistent setting for camera direction * add flip camera button to preview screen * provide available device lens directions to settings * added available lens as a condition to set default to front camera
Commit: | d2df712 | |
---|---|---|
Author: | Kimberly Crevecoeur | |
Committer: | GitHub |
Connect CameraUseCase to settings data and implement rear camera flash (#16) * rename Settings class to CameraAppSettings * create flash setting * create flash setting UI for Settings Screen * functional implementation of default flash setting for rear camera
Commit: | 0738ef4 | |
---|---|---|
Author: | Kim | |
Committer: | GitHub |
Foundation for Settings UI and persistent datastore * create proto-datastore schema for jetpack camera app settings * create settings screen page with back navigation and functional settings * functional setting to set app dark mode * tests for DataStoreModule, LocalSettingsRepository, SettingsViewModel