Skip to content

Commit

Permalink
[skip ci] Add UI design to show the capture progress related info pro…
Browse files Browse the repository at this point in the history
…vided by Camera2Extensions API 34

1. Update compileSdk as 34
2. Add UI to show capture progress related info when the following features are supported
   - StillCaptureLatency
   - Still capture processing progress
   - Postview image
   When the capture progress related UI is shown, the mode switch, capture button and strength slide controls will be disabled.
3. Add a slider for adjusting the extension strength when it is supported
   - The slider becomes visibile after retrieving the initial strength value from capture result
4. Add utils project dependence for YuvToRgbConvertor
   - All files under the utils folder are copied from the CameraXVideo project folder
5. Update the android build tools to version 7.4.2
  • Loading branch information
CharcoalChen committed Oct 24, 2023
1 parent 2b55d56 commit 1c7df81
Show file tree
Hide file tree
Showing 27 changed files with 1,681 additions and 181 deletions.
4 changes: 3 additions & 1 deletion Camera2Extensions/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ apply plugin: 'kotlin-kapt'
apply plugin: "androidx.navigation.safeargs"

android {
compileSdkVersion 'android-33'
defaultConfig {
testInstrumentationRunner kotlin_version
applicationId "com.android.example.camera2.extensions"
compileSdk 34
minSdkVersion 31
targetSdkVersion 33
versionCode 1
Expand Down Expand Up @@ -65,6 +65,7 @@ android {
dependencies {
implementation "androidx.activity:activity-ktx:1.2.3"
implementation "androidx.fragment:fragment-ktx:1.3.5"
implementation(project(":utils"))

// Kotlin lang
implementation 'androidx.core:core-ktx:1.6.0'
Expand All @@ -76,6 +77,7 @@ dependencies {
implementation 'androidx.appcompat:appcompat:1.3.0'
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.3.1'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'com.google.android.material:material:1.6.0'

// Navigation library
def nav_version = "2.3.5"
Expand Down
Loading

0 comments on commit 1c7df81

Please sign in to comment.