├── Camera
├── ColorSpaceSampleCode
│ ├── README.md
│ ├── app
│ │ ├── build.gradle
│ │ ├── proguard-rules.pro
│ │ └── src
│ │ │ ├── androidTest
│ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── instantzoomsamplecode
│ │ │ │ └── ExampleInstrumentedTest.java
│ │ │ ├── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── java
│ │ │ │ └── com
│ │ │ │ │ └── example
│ │ │ │ │ └── instantzoomsamplecode
│ │ │ │ │ └── MainActivity.java
│ │ │ └── res
│ │ │ │ ├── drawable-v24
│ │ │ │ └── ic_launcher_foreground.xml
│ │ │ │ ├── drawable
│ │ │ │ └── ic_launcher_background.xml
│ │ │ │ ├── layout
│ │ │ │ ├── activity_main.xml
│ │ │ │ ├── content_main.xml
│ │ │ │ ├── fragment_first.xml
│ │ │ │ └── fragment_second.xml
│ │ │ │ ├── menu
│ │ │ │ └── menu_main.xml
│ │ │ │ ├── mipmap-anydpi-v26
│ │ │ │ ├── ic_launcher.xml
│ │ │ │ └── ic_launcher_round.xml
│ │ │ │ ├── mipmap-hdpi
│ │ │ │ ├── ic_launcher.webp
│ │ │ │ └── ic_launcher_round.webp
│ │ │ │ ├── mipmap-mdpi
│ │ │ │ ├── ic_launcher.webp
│ │ │ │ └── ic_launcher_round.webp
│ │ │ │ ├── mipmap-xhdpi
│ │ │ │ ├── ic_launcher.webp
│ │ │ │ └── ic_launcher_round.webp
│ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ ├── ic_launcher.webp
│ │ │ │ └── ic_launcher_round.webp
│ │ │ │ ├── mipmap-xxxhdpi
│ │ │ │ ├── ic_launcher.webp
│ │ │ │ └── ic_launcher_round.webp
│ │ │ │ ├── navigation
│ │ │ │ └── nav_graph.xml
│ │ │ │ ├── values-land
│ │ │ │ └── dimens.xml
│ │ │ │ ├── values-night
│ │ │ │ └── themes.xml
│ │ │ │ ├── values-w1240dp
│ │ │ │ └── dimens.xml
│ │ │ │ ├── values-w600dp
│ │ │ │ └── dimens.xml
│ │ │ │ ├── values
│ │ │ │ ├── colors.xml
│ │ │ │ ├── dimens.xml
│ │ │ │ ├── strings.xml
│ │ │ │ ├── styles.xml
│ │ │ │ └── themes.xml
│ │ │ │ └── xml
│ │ │ │ ├── backup_rules.xml
│ │ │ │ └── data_extraction_rules.xml
│ │ │ └── test
│ │ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── instantzoomsamplecode
│ │ │ └── ExampleUnitTest.java
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradle
│ │ └── wrapper
│ │ │ ├── gradle-wrapper.jar
│ │ │ └── gradle-wrapper.properties
│ ├── gradlew
│ ├── gradlew.bat
│ ├── local.properties
│ └── settings.gradle
├── FlashPowerControl
│ ├── README.md
│ ├── app
│ │ ├── build.gradle
│ │ ├── proguard-rules.pro
│ │ └── src
│ │ │ └── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── java
│ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── flashpowercontrol
│ │ │ │ ├── AutoFitTextureView.java
│ │ │ │ └── MainActivity.java
│ │ │ └── res
│ │ │ ├── drawable-v24
│ │ │ └── ic_launcher_foreground.xml
│ │ │ ├── drawable
│ │ │ └── ic_launcher_background.xml
│ │ │ ├── layout
│ │ │ └── activity_main.xml
│ │ │ ├── mipmap-anydpi-v26
│ │ │ ├── ic_launcher.xml
│ │ │ └── ic_launcher_round.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.webp
│ │ │ └── ic_launcher_round.webp
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.webp
│ │ │ └── ic_launcher_round.webp
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.webp
│ │ │ └── ic_launcher_round.webp
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.webp
│ │ │ └── ic_launcher_round.webp
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.webp
│ │ │ └── ic_launcher_round.webp
│ │ │ ├── values-night
│ │ │ └── themes.xml
│ │ │ ├── values
│ │ │ ├── colors.xml
│ │ │ ├── strings.xml
│ │ │ ├── styles.xml
│ │ │ └── themes.xml
│ │ │ └── xml
│ │ │ ├── backup_rules.xml
│ │ │ └── data_extraction_rules.xml
│ ├── build.gradle
│ ├── framework.jar
│ ├── gradle.properties
│ ├── gradle
│ │ └── wrapper
│ │ │ ├── gradle-wrapper.jar
│ │ │ └── gradle-wrapper.properties
│ ├── gradlew
│ ├── gradlew.bat
│ ├── local.properties
│ └── settings.gradle
├── InsensorZoomSampleCode
│ ├── README.md
│ ├── app
│ │ ├── build.gradle
│ │ ├── proguard-rules.pro
│ │ └── src
│ │ │ ├── androidTest
│ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── insensorzoomsamplecode
│ │ │ │ └── ExampleInstrumentedTest.java
│ │ │ ├── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── java
│ │ │ │ └── com
│ │ │ │ │ └── example
│ │ │ │ │ └── insensorzoomsamplecode
│ │ │ │ │ └── MainActivity.java
│ │ │ └── res
│ │ │ │ ├── drawable-v24
│ │ │ │ └── ic_launcher_foreground.xml
│ │ │ │ ├── drawable
│ │ │ │ └── ic_launcher_background.xml
│ │ │ │ ├── layout
│ │ │ │ └── activity_main.xml
│ │ │ │ ├── mipmap-anydpi-v26
│ │ │ │ ├── ic_launcher.xml
│ │ │ │ └── ic_launcher_round.xml
│ │ │ │ ├── mipmap-hdpi
│ │ │ │ ├── ic_launcher.webp
│ │ │ │ └── ic_launcher_round.webp
│ │ │ │ ├── mipmap-mdpi
│ │ │ │ ├── ic_launcher.webp
│ │ │ │ └── ic_launcher_round.webp
│ │ │ │ ├── mipmap-xhdpi
│ │ │ │ ├── ic_launcher.webp
│ │ │ │ └── ic_launcher_round.webp
│ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ ├── ic_launcher.webp
│ │ │ │ └── ic_launcher_round.webp
│ │ │ │ ├── mipmap-xxxhdpi
│ │ │ │ ├── ic_launcher.webp
│ │ │ │ └── ic_launcher_round.webp
│ │ │ │ ├── values-night
│ │ │ │ └── themes.xml
│ │ │ │ ├── values
│ │ │ │ ├── colors.xml
│ │ │ │ ├── strings.xml
│ │ │ │ ├── styles.xml
│ │ │ │ └── themes.xml
│ │ │ │ └── xml
│ │ │ │ ├── backup_rules.xml
│ │ │ │ └── data_extraction_rules.xml
│ │ │ └── test
│ │ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── insensorzoomsamplecode
│ │ │ └── ExampleUnitTest.java
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradle
│ │ └── wrapper
│ │ │ ├── gradle-wrapper.jar
│ │ │ └── gradle-wrapper.properties
│ ├── gradlew
│ ├── gradlew.bat
│ ├── local.properties
│ └── settings.gradle
├── InstantZoomSampleCode
│ ├── README.md
│ ├── app
│ │ ├── build.gradle
│ │ ├── proguard-rules.pro
│ │ └── src
│ │ │ ├── androidTest
│ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── instantzoomsamplecode
│ │ │ │ └── ExampleInstrumentedTest.java
│ │ │ ├── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── java
│ │ │ │ └── com
│ │ │ │ │ └── example
│ │ │ │ │ └── instantzoomsamplecode
│ │ │ │ │ └── MainActivity.java
│ │ │ └── res
│ │ │ │ ├── drawable-v24
│ │ │ │ └── ic_launcher_foreground.xml
│ │ │ │ ├── drawable
│ │ │ │ └── ic_launcher_background.xml
│ │ │ │ ├── layout
│ │ │ │ ├── activity_main.xml
│ │ │ │ ├── content_main.xml
│ │ │ │ ├── fragment_first.xml
│ │ │ │ └── fragment_second.xml
│ │ │ │ ├── menu
│ │ │ │ └── menu_main.xml
│ │ │ │ ├── mipmap-anydpi-v26
│ │ │ │ ├── ic_launcher.xml
│ │ │ │ └── ic_launcher_round.xml
│ │ │ │ ├── mipmap-hdpi
│ │ │ │ ├── ic_launcher.webp
│ │ │ │ └── ic_launcher_round.webp
│ │ │ │ ├── mipmap-mdpi
│ │ │ │ ├── ic_launcher.webp
│ │ │ │ └── ic_launcher_round.webp
│ │ │ │ ├── mipmap-xhdpi
│ │ │ │ ├── ic_launcher.webp
│ │ │ │ └── ic_launcher_round.webp
│ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ ├── ic_launcher.webp
│ │ │ │ └── ic_launcher_round.webp
│ │ │ │ ├── mipmap-xxxhdpi
│ │ │ │ ├── ic_launcher.webp
│ │ │ │ └── ic_launcher_round.webp
│ │ │ │ ├── navigation
│ │ │ │ └── nav_graph.xml
│ │ │ │ ├── values-land
│ │ │ │ └── dimens.xml
│ │ │ │ ├── values-night
│ │ │ │ └── themes.xml
│ │ │ │ ├── values-w1240dp
│ │ │ │ └── dimens.xml
│ │ │ │ ├── values-w600dp
│ │ │ │ └── dimens.xml
│ │ │ │ ├── values
│ │ │ │ ├── colors.xml
│ │ │ │ ├── dimens.xml
│ │ │ │ ├── strings.xml
│ │ │ │ ├── styles.xml
│ │ │ │ └── themes.xml
│ │ │ │ └── xml
│ │ │ │ ├── backup_rules.xml
│ │ │ │ └── data_extraction_rules.xml
│ │ │ └── test
│ │ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── instantzoomsamplecode
│ │ │ └── ExampleUnitTest.java
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradle
│ │ └── wrapper
│ │ │ ├── gradle-wrapper.jar
│ │ │ └── gradle-wrapper.properties
│ ├── gradlew
│ ├── gradlew.bat
│ ├── local.properties
│ └── settings.gradle
├── LICENSE
├── LowLightBoost
│ ├── README.md
│ ├── app
│ │ ├── build.gradle
│ │ ├── build
│ │ │ └── tmp
│ │ │ │ └── compileDebugJavaWithJavac
│ │ │ │ └── compileTransaction
│ │ │ │ └── stash-dir
│ │ │ │ ├── MainActivity$1.class.uniqueId3
│ │ │ │ ├── MainActivity$2.class.uniqueId6
│ │ │ │ ├── MainActivity$3.class.uniqueId1
│ │ │ │ ├── MainActivity$4.class.uniqueId7
│ │ │ │ ├── MainActivity$5.class.uniqueId5
│ │ │ │ ├── MainActivity$6.class.uniqueId2
│ │ │ │ ├── MainActivity$ImageSaver.class.uniqueId4
│ │ │ │ └── MainActivity.class.uniqueId0
│ │ ├── proguard-rules.pro
│ │ └── src
│ │ │ └── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── java
│ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── lowlightboost
│ │ │ │ ├── AutoFitTextureView.java
│ │ │ │ └── MainActivity.java
│ │ │ └── res
│ │ │ ├── drawable-v24
│ │ │ └── ic_launcher_foreground.xml
│ │ │ ├── drawable
│ │ │ └── ic_launcher_background.xml
│ │ │ ├── layout
│ │ │ └── activity_main.xml
│ │ │ ├── mipmap-anydpi-v26
│ │ │ ├── ic_launcher.xml
│ │ │ └── ic_launcher_round.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.webp
│ │ │ └── ic_launcher_round.webp
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.webp
│ │ │ └── ic_launcher_round.webp
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.webp
│ │ │ └── ic_launcher_round.webp
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.webp
│ │ │ └── ic_launcher_round.webp
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.webp
│ │ │ └── ic_launcher_round.webp
│ │ │ ├── values-night
│ │ │ └── themes.xml
│ │ │ ├── values
│ │ │ ├── colors.xml
│ │ │ ├── strings.xml
│ │ │ ├── styles.xml
│ │ │ └── themes.xml
│ │ │ └── xml
│ │ │ ├── backup_rules.xml
│ │ │ └── data_extraction_rules.xml
│ ├── build.gradle
│ ├── framework.jar
│ ├── gradle.properties
│ ├── gradle
│ │ └── wrapper
│ │ │ ├── gradle-wrapper.jar
│ │ │ └── gradle-wrapper.properties
│ ├── gradlew
│ ├── gradlew.bat
│ ├── local.properties
│ └── settings.gradle
├── README.md
└── UltraHDRSampleCode
│ ├── README.md
│ ├── app
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── ultrahdrsamplecode
│ │ │ └── ExampleInstrumentedTest.java
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── ultrahdrsamplecode
│ │ │ │ ├── FirstFragment.java
│ │ │ │ ├── MainActivity.java
│ │ │ │ └── SecondFragment.java
│ │ └── res
│ │ │ ├── drawable-v24
│ │ │ └── ic_launcher_foreground.xml
│ │ │ ├── drawable
│ │ │ └── ic_launcher_background.xml
│ │ │ ├── layout
│ │ │ ├── activity_main.xml
│ │ │ ├── content_main.xml
│ │ │ ├── fragment_first.xml
│ │ │ └── fragment_second.xml
│ │ │ ├── menu
│ │ │ └── menu_main.xml
│ │ │ ├── mipmap-anydpi-v26
│ │ │ ├── ic_launcher.xml
│ │ │ └── ic_launcher_round.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.webp
│ │ │ └── ic_launcher_round.webp
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.webp
│ │ │ └── ic_launcher_round.webp
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.webp
│ │ │ └── ic_launcher_round.webp
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.webp
│ │ │ └── ic_launcher_round.webp
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.webp
│ │ │ └── ic_launcher_round.webp
│ │ │ ├── navigation
│ │ │ └── nav_graph.xml
│ │ │ ├── values-land
│ │ │ └── dimens.xml
│ │ │ ├── values-night
│ │ │ └── themes.xml
│ │ │ ├── values-w1240dp
│ │ │ └── dimens.xml
│ │ │ ├── values-w600dp
│ │ │ └── dimens.xml
│ │ │ ├── values
│ │ │ ├── colors.xml
│ │ │ ├── dimens.xml
│ │ │ ├── strings.xml
│ │ │ ├── styles.xml
│ │ │ └── themes.xml
│ │ │ └── xml
│ │ │ ├── backup_rules.xml
│ │ │ └── data_extraction_rules.xml
│ │ └── test
│ │ └── java
│ │ └── com
│ │ └── example
│ │ └── ultrahdrsamplecode
│ │ └── ExampleUnitTest.java
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
│ ├── gradlew
│ ├── gradlew.bat
│ ├── local.properties
│ └── settings.gradle
├── Display
├── README.md
└── stc_sample_code
│ ├── Android.mk
│ ├── CMakeLists.txt
│ ├── README.md
│ ├── inc
│ ├── stc_demo_imp.h
│ └── stc_demo_service.h
│ ├── src
│ ├── stc_demo_imp.cpp
│ └── stc_demo_service.cpp
│ └── test
│ └── stc_demo_test.cpp
├── README.md
└── video
├── .gitignore
├── .idea
├── .gitignore
├── androidTestResultsUserPreferences.xml
├── checkstyle-idea.xml
├── codeStyles
│ ├── Project.xml
│ └── codeStyleConfig.xml
├── compiler.xml
└── misc.xml
├── LICENSE.txt
├── README.md
├── build.gradle
├── demos
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── qti
│ │ │ └── video
│ │ │ └── MainActivity.java
│ │ └── res
│ │ ├── drawable-v24
│ │ └── ic_launcher_foreground.xml
│ │ ├── drawable
│ │ └── ic_launcher_background.xml
│ │ ├── layout
│ │ └── activity_main.xml
│ │ ├── mipmap-anydpi-v26
│ │ ├── ic_launcher.xml
│ │ └── ic_launcher_round.xml
│ │ ├── mipmap-hdpi
│ │ ├── ic_launcher.webp
│ │ └── ic_launcher_round.webp
│ │ ├── mipmap-mdpi
│ │ ├── ic_launcher.webp
│ │ └── ic_launcher_round.webp
│ │ ├── mipmap-xhdpi
│ │ ├── ic_launcher.webp
│ │ └── ic_launcher_round.webp
│ │ ├── mipmap-xxhdpi
│ │ ├── ic_launcher.webp
│ │ └── ic_launcher_round.webp
│ │ ├── mipmap-xxxhdpi
│ │ ├── ic_launcher.webp
│ │ └── ic_launcher_round.webp
│ │ ├── values-night
│ │ └── themes.xml
│ │ ├── values
│ │ ├── colors.xml
│ │ ├── strings.xml
│ │ └── themes.xml
│ │ └── xml
│ │ ├── backup_rules.xml
│ │ └── data_extraction_rules.xml
└── depthcapture
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ ├── androidTest
│ └── java
│ │ └── qti
│ │ └── video
│ │ └── depthcapture
│ │ └── DepthCaptureInstrumentedTest.java
│ ├── main
│ ├── AndroidManifest.xml
│ ├── java
│ │ └── qti
│ │ │ └── video
│ │ │ └── depthcapture
│ │ │ ├── AppConfig.java
│ │ │ ├── CameraSource.java
│ │ │ ├── CannedDataSource.java
│ │ │ ├── DepthCaptureActivity.java
│ │ │ ├── DepthRecorder.java
│ │ │ ├── MockCameraSource.java
│ │ │ ├── TrackBuffer.java
│ │ │ ├── TrackDataSource.java
│ │ │ └── playback
│ │ │ ├── BokehEffect.java
│ │ │ ├── BokehRenderer.java
│ │ │ ├── DepthPlaybackActivity.java
│ │ │ ├── DepthVideoSource.java
│ │ │ └── GlUtils.java
│ └── res
│ │ ├── layout
│ │ ├── activity_main.xml
│ │ └── activity_playback.xml
│ │ ├── raw
│ │ ├── bokeh_frag.frag
│ │ └── bokeh_vert.vert
│ │ └── values
│ │ ├── colors.xml
│ │ └── strings.xml
│ └── test
│ └── java
│ └── qti
│ └── video
│ └── depthcapture
│ └── ExampleUnitTest.java
├── gradle.properties
├── gradlew
├── gradlew.bat
├── libraries
└── QtiVideoExt
│ ├── .gitignore
│ ├── build.gradle
│ ├── consumer-rules.pro
│ ├── proguard-rules.pro
│ └── src
│ ├── androidTest
│ └── java
│ │ └── qti
│ │ └── video
│ │ ├── ExampleInstrumentedTest.java
│ │ └── depth
│ │ └── DepthInstrumentedTest.java
│ └── main
│ ├── AndroidManifest.xml
│ ├── assets
│ └── QMediaCodecCapabilities_sm8550_kalama.json
│ └── java
│ └── qti
│ └── video
│ ├── QMediaCodecCapabilities.java
│ ├── QMediaExtensions.java
│ └── depth
│ ├── DepthExtractor.java
│ ├── DepthFormat.java
│ ├── DepthMuxer.java
│ ├── Mp4Box.java
│ ├── Mp4BoxParser.java
│ ├── Mp4BoxTreeParser.java
│ ├── Mp4DepthMetaEditor.java
│ ├── Mp4DepthMetaParser.java
│ ├── Mp4FreeBox.java
│ ├── Mp4InMemBox.java
│ ├── Mp4MetaUtils.java
│ └── Mp4Utils.java
├── sample-apps
└── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ └── main
│ ├── AndroidManifest.xml
│ ├── java
│ └── com
│ │ └── example
│ │ └── VideoSampleApp
│ │ ├── GFXSurface.java
│ │ ├── Hdr10Encode.java
│ │ ├── Hdr10PlusEncode.java
│ │ ├── LtrEncode.java
│ │ ├── MainActivity.java
│ │ ├── MbRoiEncode.java
│ │ ├── ProSightEncode.java
│ │ ├── QpControlEncode.java
│ │ ├── QpOverrideEncode.java
│ │ ├── RoiEncode.java
│ │ ├── SdrDecode.java
│ │ └── SliceRsyncEncode.java
│ └── res
│ ├── drawable-v24
│ └── ic_launcher_foreground.xml
│ ├── drawable
│ └── ic_launcher_background.xml
│ ├── layout
│ └── activity_main.xml
│ ├── mipmap-anydpi-v26
│ ├── ic_launcher.xml
│ └── ic_launcher_round.xml
│ ├── mipmap-hdpi
│ ├── ic_launcher.webp
│ └── ic_launcher_round.webp
│ ├── mipmap-mdpi
│ ├── ic_launcher.webp
│ └── ic_launcher_round.webp
│ ├── mipmap-xhdpi
│ ├── ic_launcher.webp
│ └── ic_launcher_round.webp
│ ├── mipmap-xxhdpi
│ ├── ic_launcher.webp
│ └── ic_launcher_round.webp
│ ├── mipmap-xxxhdpi
│ ├── ic_launcher.webp
│ └── ic_launcher_round.webp
│ ├── values-night
│ └── themes.xml
│ ├── values
│ ├── colors.xml
│ ├── strings.xml
│ └── themes.xml
│ └── xml
│ ├── backup_rules.xml
│ └── data_extraction_rules.xml
└── settings.gradle
/Camera/ColorSpaceSampleCode/app/build.gradle:
--------------------------------------------------------------------------------
1 | plugins {
2 | id 'com.android.application'
3 | }
4 |
5 | android {
6 | compileSdkVersion 33
7 |
8 | defaultConfig {
9 | applicationId "com.example.instantzoomsamplecode"
10 | minSdk 33
11 | targetSdk 33
12 | versionCode 1
13 | versionName "1.0"
14 |
15 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
16 | }
17 |
18 | buildTypes {
19 | release {
20 | minifyEnabled false
21 | proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
22 | }
23 | }
24 | compileOptions {
25 | sourceCompatibility JavaVersion.VERSION_1_8
26 | targetCompatibility JavaVersion.VERSION_1_8
27 | }
28 | buildFeatures {
29 | viewBinding true
30 | }
31 | }
32 |
33 | dependencies {
34 | compileOnly files('../framework.jar')
35 | implementation 'androidx.appcompat:appcompat:1.3.0'
36 | implementation 'com.google.android.material:material:1.4.0'
37 | implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
38 | implementation 'androidx.navigation:navigation-fragment:2.3.5'
39 | implementation 'androidx.navigation:navigation-ui:2.3.5'
40 | testImplementation 'junit:junit:4.13.2'
41 | androidTestImplementation 'androidx.test.ext:junit:1.1.3'
42 | androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
43 | }
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/app/src/androidTest/java/com/example/instantzoomsamplecode/ExampleInstrumentedTest.java:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
2 | # SPDX-License-Identifier: Apache-2.0
3 |
4 | package com.example.instantzoomsamplecode;
5 |
6 | import android.content.Context;
7 |
8 | import androidx.test.platform.app.InstrumentationRegistry;
9 | import androidx.test.ext.junit.runners.AndroidJUnit4;
10 |
11 | import org.junit.Test;
12 | import org.junit.runner.RunWith;
13 |
14 | import static org.junit.Assert.*;
15 |
16 | /**
17 | * Instrumented test, which will execute on an Android device.
18 | *
19 | * @see Testing documentation
20 | */
21 | @RunWith(AndroidJUnit4.class)
22 | public class ExampleInstrumentedTest {
23 | @Test
24 | public void useAppContext() {
25 | // Context of the app under test.
26 | Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
27 | assertEquals("com.example.instantzoomsamplecode", appContext.getPackageName());
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
12 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/app/src/main/res/drawable-v24/ic_launcher_foreground.xml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
15 |
18 |
21 |
22 |
23 |
24 |
30 |
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/app/src/main/res/layout/activity_main.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
15 |
16 |
24 |
25 |
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/app/src/main/res/layout/content_main.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
19 |
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/app/src/main/res/layout/fragment_first.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
18 |
19 |
28 |
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/app/src/main/res/layout/fragment_second.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
18 |
19 |
27 |
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/app/src/main/res/menu/menu_main.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/app/src/main/res/mipmap-hdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/ColorSpaceSampleCode/app/src/main/res/mipmap-hdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/ColorSpaceSampleCode/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/app/src/main/res/mipmap-mdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/ColorSpaceSampleCode/app/src/main/res/mipmap-mdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/ColorSpaceSampleCode/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/app/src/main/res/mipmap-xhdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/ColorSpaceSampleCode/app/src/main/res/mipmap-xhdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/ColorSpaceSampleCode/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/ColorSpaceSampleCode/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/ColorSpaceSampleCode/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/ColorSpaceSampleCode/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/ColorSpaceSampleCode/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/app/src/main/res/navigation/nav_graph.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
13 |
14 |
17 |
18 |
23 |
24 |
27 |
28 |
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/app/src/main/res/values-land/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 | 48dp
3 |
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/app/src/main/res/values-night/themes.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
16 |
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/app/src/main/res/values-w1240dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 | 200dp
3 |
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/app/src/main/res/values-w600dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 | 48dp
3 |
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #FFBB86FC
4 | #FF6200EE
5 | #FF3700B3
6 | #FF03DAC5
7 | #FF018786
8 | #FF000000
9 | #FFFFFFFF
10 | #3F51B5
11 | #303F9F
12 | #FF4081
13 |
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 | 16dp
3 |
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | ColorSpaceSampleCode
3 | Settings
4 |
5 | First Fragment
6 | Second Fragment
7 | Next
8 | Previous
9 |
10 | Hello first fragment
11 | Hello second fragment. Arg: %1$s
12 |
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/app/src/main/res/values/themes.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
16 |
17 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/app/src/main/res/xml/backup_rules.xml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
13 |
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/app/src/main/res/xml/data_extraction_rules.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
12 |
13 |
19 |
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/app/src/test/java/com/example/instantzoomsamplecode/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
2 | # SPDX-License-Identifier: Apache-2.0
3 |
4 | package com.example.instantzoomsamplecode;
5 |
6 | import org.junit.Test;
7 |
8 | import static org.junit.Assert.*;
9 |
10 | /**
11 | * Example local unit test, which will execute on the development machine (host).
12 | *
13 | * @see Testing documentation
14 | */
15 | public class ExampleUnitTest {
16 | @Test
17 | public void addition_isCorrect() {
18 | assertEquals(4, 2 + 2);
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 | plugins {
3 | id 'com.android.application' version '7.2.0' apply false
4 | id 'com.android.library' version '7.2.0' apply false
5 | }
6 |
7 | task clean(type: Delete) {
8 | delete rootProject.buildDir
9 | }
10 |
11 | allprojects {
12 | gradle.projectsEvaluated {
13 | tasks.withType(JavaCompile) {
14 | Set fileSet = options.bootstrapClasspath.getFiles()
15 | List newFileList = new ArrayList<>()
16 | newFileList.add(new File("./framework.jar"))
17 | newFileList.addAll(fileSet)
18 | options.bootstrapClasspath = files(
19 | newFileList.toArray()
20 | )
21 | }
22 | }
23 |
24 | }
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 | # IDE (e.g. Android Studio) users:
3 | # Gradle settings configured through the IDE *will override*
4 | # any settings specified in this file.
5 | # For more details on how to configure your build environment visit
6 | # http://www.gradle.org/docs/current/userguide/build_environment.html
7 | # Specifies the JVM arguments used for the daemon process.
8 | # The setting is particularly useful for tweaking memory settings.
9 | org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
10 | # When configured, Gradle will run in incubating parallel mode.
11 | # This option should only be used with decoupled projects. More details, visit
12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
13 | # org.gradle.parallel=true
14 | # AndroidX package structure to make it clearer which packages are bundled with the
15 | # Android operating system, and which are packaged with your app"s APK
16 | # https://developer.android.com/topic/libraries/support-library/androidx-rn
17 | android.useAndroidX=true
18 | # Enables namespacing of each library's R class so that its R class includes only the
19 | # resources declared in the library itself and none from the library's dependencies,
20 | # thereby reducing the size of the R class for that library
21 | android.nonTransitiveRClass=true
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/ColorSpaceSampleCode/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Fri May 26 15:57:16 CST 2023
2 | distributionBase=GRADLE_USER_HOME
3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
4 | distributionPath=wrapper/dists
5 | zipStorePath=wrapper/dists
6 | zipStoreBase=GRADLE_USER_HOME
7 |
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/local.properties:
--------------------------------------------------------------------------------
1 | ## This file must *NOT* be checked into Version Control Systems,
2 | # as it contains information specific to your local configuration.
3 | #
4 | # Location of the SDK. This is only used by Gradle.
5 | # For customization when using a Version Control System, please read the
6 | # header note.
7 | #Tue Jun 27 11:16:40 CST 2023
8 | sdk.dir=C\:\\Users\\mingwax\\AppData\\Local\\Android\\Sdk
9 |
--------------------------------------------------------------------------------
/Camera/ColorSpaceSampleCode/settings.gradle:
--------------------------------------------------------------------------------
1 | pluginManagement {
2 | repositories {
3 | gradlePluginPortal()
4 | google()
5 | mavenCentral()
6 | }
7 | }
8 | dependencyResolutionManagement {
9 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
10 | repositories {
11 | google()
12 | mavenCentral()
13 | }
14 | }
15 | rootProject.name = "ColorSpaceSampleCode"
16 | include ':app'
17 |
--------------------------------------------------------------------------------
/Camera/FlashPowerControl/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
--------------------------------------------------------------------------------
/Camera/FlashPowerControl/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
12 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Camera/FlashPowerControl/app/src/main/res/drawable-v24/ic_launcher_foreground.xml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
15 |
18 |
21 |
22 |
23 |
24 |
30 |
--------------------------------------------------------------------------------
/Camera/FlashPowerControl/app/src/main/res/layout/activity_main.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
16 |
23 |
29 |
30 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/Camera/FlashPowerControl/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/Camera/FlashPowerControl/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/Camera/FlashPowerControl/app/src/main/res/mipmap-hdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/FlashPowerControl/app/src/main/res/mipmap-hdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/Camera/FlashPowerControl/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/FlashPowerControl/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/Camera/FlashPowerControl/app/src/main/res/mipmap-mdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/FlashPowerControl/app/src/main/res/mipmap-mdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/Camera/FlashPowerControl/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/FlashPowerControl/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/Camera/FlashPowerControl/app/src/main/res/mipmap-xhdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/FlashPowerControl/app/src/main/res/mipmap-xhdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/Camera/FlashPowerControl/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/FlashPowerControl/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/Camera/FlashPowerControl/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/FlashPowerControl/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/Camera/FlashPowerControl/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/FlashPowerControl/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/Camera/FlashPowerControl/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/FlashPowerControl/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/Camera/FlashPowerControl/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/FlashPowerControl/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/Camera/FlashPowerControl/app/src/main/res/values-night/themes.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
16 |
--------------------------------------------------------------------------------
/Camera/FlashPowerControl/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #FFBB86FC
4 | #FF6200EE
5 | #FF3700B3
6 | #FF03DAC5
7 | #FF018786
8 | #FF000000
9 | #FFFFFFFF
10 | #3F51B5
11 | #303F9F
12 | #FF4081
13 |
--------------------------------------------------------------------------------
/Camera/FlashPowerControl/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | flashpowercontrol
3 |
--------------------------------------------------------------------------------
/Camera/FlashPowerControl/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
--------------------------------------------------------------------------------
/Camera/FlashPowerControl/app/src/main/res/values/themes.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
16 |
--------------------------------------------------------------------------------
/Camera/FlashPowerControl/app/src/main/res/xml/backup_rules.xml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
13 |
--------------------------------------------------------------------------------
/Camera/FlashPowerControl/app/src/main/res/xml/data_extraction_rules.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
12 |
13 |
19 |
--------------------------------------------------------------------------------
/Camera/FlashPowerControl/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 | plugins {
3 | id 'com.android.application' version '8.0.1' apply false
4 | id 'com.android.library' version '8.0.1' apply false
5 | }
6 |
7 | task clean(type: Delete) {
8 | delete rootProject.buildDir
9 | }
10 |
11 | allprojects {
12 | gradle.projectsEvaluated {
13 | tasks.withType(JavaCompile) {
14 | Set fileSet = options.bootstrapClasspath.getFiles()
15 | List newFileList = new ArrayList<>()
16 | newFileList.add(new File("./framework.jar"))
17 | newFileList.addAll(fileSet)
18 | options.bootstrapClasspath = files(
19 | newFileList.toArray()
20 | )
21 | }
22 | }
23 |
24 | }
--------------------------------------------------------------------------------
/Camera/FlashPowerControl/framework.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/FlashPowerControl/framework.jar
--------------------------------------------------------------------------------
/Camera/FlashPowerControl/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 | # IDE (e.g. Android Studio) users:
3 | # Gradle settings configured through the IDE *will override*
4 | # any settings specified in this file.
5 | # For more details on how to configure your build environment visit
6 | # http://www.gradle.org/docs/current/userguide/build_environment.html
7 | # Specifies the JVM arguments used for the daemon process.
8 | # The setting is particularly useful for tweaking memory settings.
9 | org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
10 | # When configured, Gradle will run in incubating parallel mode.
11 | # This option should only be used with decoupled projects. More details, visit
12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
13 | # org.gradle.parallel=true
14 | # AndroidX package structure to make it clearer which packages are bundled with the
15 | # Android operating system, and which are packaged with your app"s APK
16 | # https://developer.android.com/topic/libraries/support-library/androidx-rn
17 | android.useAndroidX=true
18 | # Enables namespacing of each library's R class so that its R class includes only the
19 | # resources declared in the library itself and none from the library's dependencies,
20 | # thereby reducing the size of the R class for that library
21 | android.nonTransitiveRClass=true
--------------------------------------------------------------------------------
/Camera/FlashPowerControl/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/FlashPowerControl/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/Camera/FlashPowerControl/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Tue Aug 27 10:44:41 CST 2024
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
5 | zipStoreBase=GRADLE_USER_HOME
6 | zipStorePath=wrapper/dists
7 |
--------------------------------------------------------------------------------
/Camera/FlashPowerControl/local.properties:
--------------------------------------------------------------------------------
1 | ## This file must *NOT* be checked into Version Control Systems,
2 | # as it contains information specific to your local configuration.
3 | #
4 | # Location of the SDK. This is only used by Gradle.
5 | # For customization when using a Version Control System, please read the
6 | # header note.
7 | #Fri Aug 23 16:56:27 CST 2024
8 | sdk.dir=C\:\\Users\\chunzhao\\AppData\\Local\\Android\\Sdk
9 |
--------------------------------------------------------------------------------
/Camera/FlashPowerControl/settings.gradle:
--------------------------------------------------------------------------------
1 | pluginManagement {
2 | repositories {
3 | gradlePluginPortal()
4 | google()
5 | mavenCentral()
6 | }
7 | }
8 | dependencyResolutionManagement {
9 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
10 | repositories {
11 | google()
12 | mavenCentral()
13 | }
14 | }
15 |
16 | include ':app'
17 |
--------------------------------------------------------------------------------
/Camera/InsensorZoomSampleCode/app/build.gradle:
--------------------------------------------------------------------------------
1 | plugins {
2 | id 'com.android.application'
3 | }
4 |
5 | android {
6 | compileSdkVersion 33
7 |
8 | defaultConfig {
9 | applicationId "com.example.insensorzoomsamplecode"
10 | minSdk 33
11 | targetSdk 33
12 | versionCode 1
13 | versionName "1.0"
14 |
15 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
16 | }
17 |
18 | buildTypes {
19 | release {
20 | minifyEnabled false
21 | proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
22 | }
23 | }
24 | compileOptions {
25 | sourceCompatibility JavaVersion.VERSION_1_8
26 | targetCompatibility JavaVersion.VERSION_1_8
27 | }
28 | buildFeatures {
29 | viewBinding true
30 | }
31 | }
32 |
33 | dependencies {
34 | compileOnly files('../framework.jar')
35 | implementation 'androidx.appcompat:appcompat:1.3.0'
36 | implementation 'com.google.android.material:material:1.4.0'
37 | implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
38 | implementation 'androidx.navigation:navigation-fragment:2.3.5'
39 | implementation 'androidx.navigation:navigation-ui:2.3.5'
40 | testImplementation 'junit:junit:4.13.2'
41 | androidTestImplementation 'androidx.test.ext:junit:1.1.3'
42 | androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
43 | }
--------------------------------------------------------------------------------
/Camera/InsensorZoomSampleCode/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
--------------------------------------------------------------------------------
/Camera/InsensorZoomSampleCode/app/src/androidTest/java/com/example/insensorzoomsamplecode/ExampleInstrumentedTest.java:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
2 | # SPDX-License-Identifier: Apache-2.0
3 |
4 | package com.example.insensorzoomsamplecode;
5 |
6 | import android.content.Context;
7 |
8 | import androidx.test.platform.app.InstrumentationRegistry;
9 | import androidx.test.ext.junit.runners.AndroidJUnit4;
10 |
11 | import org.junit.Test;
12 | import org.junit.runner.RunWith;
13 |
14 | import static org.junit.Assert.*;
15 |
16 | /**
17 | * Instrumented test, which will execute on an Android device.
18 | *
19 | * @see Testing documentation
20 | */
21 | @RunWith(AndroidJUnit4.class)
22 | public class ExampleInstrumentedTest {
23 | @Test
24 | public void useAppContext() {
25 | // Context of the app under test.
26 | Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
27 | assertEquals("com.example.insensorzoomsamplecode", appContext.getPackageName());
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/Camera/InsensorZoomSampleCode/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
12 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Camera/InsensorZoomSampleCode/app/src/main/res/layout/activity_main.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
15 |
16 |
24 |
25 |
--------------------------------------------------------------------------------
/Camera/InsensorZoomSampleCode/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/Camera/InsensorZoomSampleCode/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/Camera/InsensorZoomSampleCode/app/src/main/res/mipmap-hdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/InsensorZoomSampleCode/app/src/main/res/mipmap-hdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/Camera/InsensorZoomSampleCode/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/InsensorZoomSampleCode/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/Camera/InsensorZoomSampleCode/app/src/main/res/mipmap-mdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/InsensorZoomSampleCode/app/src/main/res/mipmap-mdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/Camera/InsensorZoomSampleCode/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/InsensorZoomSampleCode/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/Camera/InsensorZoomSampleCode/app/src/main/res/mipmap-xhdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/InsensorZoomSampleCode/app/src/main/res/mipmap-xhdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/Camera/InsensorZoomSampleCode/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/InsensorZoomSampleCode/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/Camera/InsensorZoomSampleCode/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/InsensorZoomSampleCode/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/Camera/InsensorZoomSampleCode/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/InsensorZoomSampleCode/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/Camera/InsensorZoomSampleCode/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/InsensorZoomSampleCode/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/Camera/InsensorZoomSampleCode/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/InsensorZoomSampleCode/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/Camera/InsensorZoomSampleCode/app/src/main/res/values-night/themes.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
16 |
--------------------------------------------------------------------------------
/Camera/InsensorZoomSampleCode/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #FFBB86FC
4 | #FF6200EE
5 | #FF3700B3
6 | #FF03DAC5
7 | #FF018786
8 | #FF000000
9 | #FFFFFFFF
10 | #3F51B5
11 | #303F9F
12 | #FF4081
13 |
--------------------------------------------------------------------------------
/Camera/InsensorZoomSampleCode/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | InsensorZoomSampleCode
3 |
--------------------------------------------------------------------------------
/Camera/InsensorZoomSampleCode/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
--------------------------------------------------------------------------------
/Camera/InsensorZoomSampleCode/app/src/main/res/values/themes.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
16 |
--------------------------------------------------------------------------------
/Camera/InsensorZoomSampleCode/app/src/main/res/xml/backup_rules.xml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
13 |
--------------------------------------------------------------------------------
/Camera/InsensorZoomSampleCode/app/src/main/res/xml/data_extraction_rules.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
12 |
13 |
19 |
--------------------------------------------------------------------------------
/Camera/InsensorZoomSampleCode/app/src/test/java/com/example/insensorzoomsamplecode/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
2 | # SPDX-License-Identifier: Apache-2.0
3 |
4 | package com.example.insensorzoomsamplecode;
5 |
6 | import org.junit.Test;
7 |
8 | import static org.junit.Assert.*;
9 |
10 | /**
11 | * Example local unit test, which will execute on the development machine (host).
12 | *
13 | * @see Testing documentation
14 | */
15 | public class ExampleUnitTest {
16 | @Test
17 | public void addition_isCorrect() {
18 | assertEquals(4, 2 + 2);
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/Camera/InsensorZoomSampleCode/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 | plugins {
3 | id 'com.android.application' version '7.2.0' apply false
4 | id 'com.android.library' version '7.2.0' apply false
5 | }
6 |
7 | task clean(type: Delete) {
8 | delete rootProject.buildDir
9 | }
10 |
11 | allprojects {
12 | gradle.projectsEvaluated {
13 | tasks.withType(JavaCompile) {
14 | Set fileSet = options.bootstrapClasspath.getFiles()
15 | List newFileList = new ArrayList<>()
16 | newFileList.add(new File("./framework.jar"))
17 | newFileList.addAll(fileSet)
18 | options.bootstrapClasspath = files(
19 | newFileList.toArray()
20 | )
21 | }
22 | }
23 |
24 | }
--------------------------------------------------------------------------------
/Camera/InsensorZoomSampleCode/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 | # IDE (e.g. Android Studio) users:
3 | # Gradle settings configured through the IDE *will override*
4 | # any settings specified in this file.
5 | # For more details on how to configure your build environment visit
6 | # http://www.gradle.org/docs/current/userguide/build_environment.html
7 | # Specifies the JVM arguments used for the daemon process.
8 | # The setting is particularly useful for tweaking memory settings.
9 | org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
10 | # When configured, Gradle will run in incubating parallel mode.
11 | # This option should only be used with decoupled projects. More details, visit
12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
13 | # org.gradle.parallel=true
14 | # AndroidX package structure to make it clearer which packages are bundled with the
15 | # Android operating system, and which are packaged with your app"s APK
16 | # https://developer.android.com/topic/libraries/support-library/androidx-rn
17 | android.useAndroidX=true
18 | # Enables namespacing of each library's R class so that its R class includes only the
19 | # resources declared in the library itself and none from the library's dependencies,
20 | # thereby reducing the size of the R class for that library
21 | android.nonTransitiveRClass=true
--------------------------------------------------------------------------------
/Camera/InsensorZoomSampleCode/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/InsensorZoomSampleCode/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/Camera/InsensorZoomSampleCode/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Thu Jun 01 14:04:36 CST 2023
2 | distributionBase=GRADLE_USER_HOME
3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
4 | distributionPath=wrapper/dists
5 | zipStorePath=wrapper/dists
6 | zipStoreBase=GRADLE_USER_HOME
7 |
--------------------------------------------------------------------------------
/Camera/InsensorZoomSampleCode/local.properties:
--------------------------------------------------------------------------------
1 | ## This file is automatically generated by Android Studio.
2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3 | #
4 | # This file should *NOT* be checked into Version Control Systems,
5 | # as it contains information specific to your local configuration.
6 | #
7 | # Location of the SDK. This is only used by Gradle.
8 | # For customization when using a Version Control System, please read the
9 | # header note.
10 | sdk.dir=C\:\\Users\\jiaoyuan\\Downloads\\android-sdk-windows
--------------------------------------------------------------------------------
/Camera/InsensorZoomSampleCode/settings.gradle:
--------------------------------------------------------------------------------
1 | pluginManagement {
2 | repositories {
3 | gradlePluginPortal()
4 | google()
5 | mavenCentral()
6 | }
7 | }
8 | dependencyResolutionManagement {
9 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
10 | repositories {
11 | google()
12 | mavenCentral()
13 | }
14 | }
15 | rootProject.name = "InsensorZoomSampleCode"
16 | include ':app'
17 |
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/app/build.gradle:
--------------------------------------------------------------------------------
1 | plugins {
2 | id 'com.android.application'
3 | }
4 |
5 | android {
6 | compileSdkVersion 33
7 |
8 | defaultConfig {
9 | applicationId "com.example.instantzoomsamplecode"
10 | minSdk 33
11 | targetSdk 33
12 | versionCode 1
13 | versionName "1.0"
14 |
15 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
16 | }
17 |
18 | buildTypes {
19 | release {
20 | minifyEnabled false
21 | proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
22 | }
23 | }
24 | compileOptions {
25 | sourceCompatibility JavaVersion.VERSION_1_8
26 | targetCompatibility JavaVersion.VERSION_1_8
27 | }
28 | buildFeatures {
29 | viewBinding true
30 | }
31 | }
32 |
33 | dependencies {
34 | compileOnly files('../framework.jar')
35 | implementation 'androidx.appcompat:appcompat:1.3.0'
36 | implementation 'com.google.android.material:material:1.4.0'
37 | implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
38 | implementation 'androidx.navigation:navigation-fragment:2.3.5'
39 | implementation 'androidx.navigation:navigation-ui:2.3.5'
40 | testImplementation 'junit:junit:4.13.2'
41 | androidTestImplementation 'androidx.test.ext:junit:1.1.3'
42 | androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
43 | }
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/app/src/androidTest/java/com/example/instantzoomsamplecode/ExampleInstrumentedTest.java:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
2 | # SPDX-License-Identifier: Apache-2.0
3 |
4 | package com.example.instantzoomsamplecode;
5 |
6 | import android.content.Context;
7 |
8 | import androidx.test.platform.app.InstrumentationRegistry;
9 | import androidx.test.ext.junit.runners.AndroidJUnit4;
10 |
11 | import org.junit.Test;
12 | import org.junit.runner.RunWith;
13 |
14 | import static org.junit.Assert.*;
15 |
16 | /**
17 | * Instrumented test, which will execute on an Android device.
18 | *
19 | * @see Testing documentation
20 | */
21 | @RunWith(AndroidJUnit4.class)
22 | public class ExampleInstrumentedTest {
23 | @Test
24 | public void useAppContext() {
25 | // Context of the app under test.
26 | Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
27 | assertEquals("com.example.instantzoomsamplecode", appContext.getPackageName());
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
12 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/app/src/main/res/drawable-v24/ic_launcher_foreground.xml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
15 |
18 |
21 |
22 |
23 |
24 |
30 |
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/app/src/main/res/layout/activity_main.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
15 |
16 |
24 |
25 |
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/app/src/main/res/layout/content_main.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
19 |
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/app/src/main/res/layout/fragment_first.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
18 |
19 |
28 |
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/app/src/main/res/layout/fragment_second.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
18 |
19 |
27 |
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/app/src/main/res/menu/menu_main.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/app/src/main/res/mipmap-hdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/InstantZoomSampleCode/app/src/main/res/mipmap-hdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/InstantZoomSampleCode/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/app/src/main/res/mipmap-mdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/InstantZoomSampleCode/app/src/main/res/mipmap-mdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/InstantZoomSampleCode/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/app/src/main/res/mipmap-xhdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/InstantZoomSampleCode/app/src/main/res/mipmap-xhdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/InstantZoomSampleCode/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/InstantZoomSampleCode/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/InstantZoomSampleCode/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/InstantZoomSampleCode/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/InstantZoomSampleCode/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/app/src/main/res/navigation/nav_graph.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
13 |
14 |
17 |
18 |
23 |
24 |
27 |
28 |
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/app/src/main/res/values-land/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 | 48dp
3 |
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/app/src/main/res/values-night/themes.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
16 |
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/app/src/main/res/values-w1240dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 | 200dp
3 |
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/app/src/main/res/values-w600dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 | 48dp
3 |
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #FFBB86FC
4 | #FF6200EE
5 | #FF3700B3
6 | #FF03DAC5
7 | #FF018786
8 | #FF000000
9 | #FFFFFFFF
10 | #3F51B5
11 | #303F9F
12 | #FF4081
13 |
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 | 16dp
3 |
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | InstantZoomSampleCode
3 | Settings
4 |
5 | First Fragment
6 | Second Fragment
7 | Next
8 | Previous
9 |
10 | Hello first fragment
11 | Hello second fragment. Arg: %1$s
12 |
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/app/src/main/res/values/themes.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
16 |
17 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/app/src/main/res/xml/backup_rules.xml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
13 |
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/app/src/main/res/xml/data_extraction_rules.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
12 |
13 |
19 |
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/app/src/test/java/com/example/instantzoomsamplecode/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
2 | # SPDX-License-Identifier: Apache-2.0
3 |
4 | package com.example.instantzoomsamplecode;
5 |
6 | import org.junit.Test;
7 |
8 | import static org.junit.Assert.*;
9 |
10 | /**
11 | * Example local unit test, which will execute on the development machine (host).
12 | *
13 | * @see Testing documentation
14 | */
15 | public class ExampleUnitTest {
16 | @Test
17 | public void addition_isCorrect() {
18 | assertEquals(4, 2 + 2);
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 | plugins {
3 | id 'com.android.application' version '7.2.0' apply false
4 | id 'com.android.library' version '7.2.0' apply false
5 | }
6 |
7 | task clean(type: Delete) {
8 | delete rootProject.buildDir
9 | }
10 |
11 | allprojects {
12 | gradle.projectsEvaluated {
13 | tasks.withType(JavaCompile) {
14 | Set fileSet = options.bootstrapClasspath.getFiles()
15 | List newFileList = new ArrayList<>()
16 | newFileList.add(new File("./framework.jar"))
17 | newFileList.addAll(fileSet)
18 | options.bootstrapClasspath = files(
19 | newFileList.toArray()
20 | )
21 | }
22 | }
23 |
24 | }
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 | # IDE (e.g. Android Studio) users:
3 | # Gradle settings configured through the IDE *will override*
4 | # any settings specified in this file.
5 | # For more details on how to configure your build environment visit
6 | # http://www.gradle.org/docs/current/userguide/build_environment.html
7 | # Specifies the JVM arguments used for the daemon process.
8 | # The setting is particularly useful for tweaking memory settings.
9 | org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
10 | # When configured, Gradle will run in incubating parallel mode.
11 | # This option should only be used with decoupled projects. More details, visit
12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
13 | # org.gradle.parallel=true
14 | # AndroidX package structure to make it clearer which packages are bundled with the
15 | # Android operating system, and which are packaged with your app"s APK
16 | # https://developer.android.com/topic/libraries/support-library/androidx-rn
17 | android.useAndroidX=true
18 | # Enables namespacing of each library's R class so that its R class includes only the
19 | # resources declared in the library itself and none from the library's dependencies,
20 | # thereby reducing the size of the R class for that library
21 | android.nonTransitiveRClass=true
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/InstantZoomSampleCode/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Fri May 26 15:57:16 CST 2023
2 | distributionBase=GRADLE_USER_HOME
3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
4 | distributionPath=wrapper/dists
5 | zipStorePath=wrapper/dists
6 | zipStoreBase=GRADLE_USER_HOME
7 |
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/local.properties:
--------------------------------------------------------------------------------
1 | ## This file is automatically generated by Android Studio.
2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3 | #
4 | # This file should *NOT* be checked into Version Control Systems,
5 | # as it contains information specific to your local configuration.
6 | #
7 | # Location of the SDK. This is only used by Gradle.
8 | # For customization when using a Version Control System, please read the
9 | # header note.
10 | sdk.dir=C\:\\Users\\jiaoyuan\\Downloads\\android-sdk-windows
--------------------------------------------------------------------------------
/Camera/InstantZoomSampleCode/settings.gradle:
--------------------------------------------------------------------------------
1 | pluginManagement {
2 | repositories {
3 | gradlePluginPortal()
4 | google()
5 | mavenCentral()
6 | }
7 | }
8 | dependencyResolutionManagement {
9 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
10 | repositories {
11 | google()
12 | mavenCentral()
13 | }
14 | }
15 | rootProject.name = "InstantZoomSampleCode"
16 | include ':app'
17 |
--------------------------------------------------------------------------------
/Camera/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
2 |
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 |
7 | http://www.apache.org/licenses/LICENSE-2.0
8 |
9 | Unless required by applicable law or agreed to in writing, software
10 | distributed under the License is distributed on an "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | See the License for the specific language governing permissions and
13 | limitations under the License.
14 |
15 | SPDX-License-Identifier: Apache-2.0
16 |
--------------------------------------------------------------------------------
/Camera/LowLightBoost/app/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/MainActivity$1.class.uniqueId3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/LowLightBoost/app/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/MainActivity$1.class.uniqueId3
--------------------------------------------------------------------------------
/Camera/LowLightBoost/app/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/MainActivity$2.class.uniqueId6:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/LowLightBoost/app/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/MainActivity$2.class.uniqueId6
--------------------------------------------------------------------------------
/Camera/LowLightBoost/app/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/MainActivity$3.class.uniqueId1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/LowLightBoost/app/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/MainActivity$3.class.uniqueId1
--------------------------------------------------------------------------------
/Camera/LowLightBoost/app/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/MainActivity$4.class.uniqueId7:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/LowLightBoost/app/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/MainActivity$4.class.uniqueId7
--------------------------------------------------------------------------------
/Camera/LowLightBoost/app/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/MainActivity$5.class.uniqueId5:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/LowLightBoost/app/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/MainActivity$5.class.uniqueId5
--------------------------------------------------------------------------------
/Camera/LowLightBoost/app/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/MainActivity$6.class.uniqueId2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/LowLightBoost/app/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/MainActivity$6.class.uniqueId2
--------------------------------------------------------------------------------
/Camera/LowLightBoost/app/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/MainActivity$ImageSaver.class.uniqueId4:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/LowLightBoost/app/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/MainActivity$ImageSaver.class.uniqueId4
--------------------------------------------------------------------------------
/Camera/LowLightBoost/app/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/MainActivity.class.uniqueId0:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/LowLightBoost/app/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/MainActivity.class.uniqueId0
--------------------------------------------------------------------------------
/Camera/LowLightBoost/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
--------------------------------------------------------------------------------
/Camera/LowLightBoost/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
12 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Camera/LowLightBoost/app/src/main/res/drawable-v24/ic_launcher_foreground.xml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
15 |
18 |
21 |
22 |
23 |
24 |
30 |
--------------------------------------------------------------------------------
/Camera/LowLightBoost/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/Camera/LowLightBoost/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/Camera/LowLightBoost/app/src/main/res/mipmap-hdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/LowLightBoost/app/src/main/res/mipmap-hdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/Camera/LowLightBoost/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/LowLightBoost/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/Camera/LowLightBoost/app/src/main/res/mipmap-mdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/LowLightBoost/app/src/main/res/mipmap-mdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/Camera/LowLightBoost/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/LowLightBoost/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/Camera/LowLightBoost/app/src/main/res/mipmap-xhdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/LowLightBoost/app/src/main/res/mipmap-xhdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/Camera/LowLightBoost/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/LowLightBoost/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/Camera/LowLightBoost/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/LowLightBoost/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/Camera/LowLightBoost/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/LowLightBoost/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/Camera/LowLightBoost/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/LowLightBoost/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/Camera/LowLightBoost/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/LowLightBoost/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/Camera/LowLightBoost/app/src/main/res/values-night/themes.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
16 |
--------------------------------------------------------------------------------
/Camera/LowLightBoost/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #FFBB86FC
4 | #FF6200EE
5 | #FF3700B3
6 | #FF03DAC5
7 | #FF018786
8 | #FF000000
9 | #FFFFFFFF
10 | #3F51B5
11 | #303F9F
12 | #FF4081
13 |
--------------------------------------------------------------------------------
/Camera/LowLightBoost/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | lowlightboost
3 |
--------------------------------------------------------------------------------
/Camera/LowLightBoost/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
--------------------------------------------------------------------------------
/Camera/LowLightBoost/app/src/main/res/values/themes.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
16 |
--------------------------------------------------------------------------------
/Camera/LowLightBoost/app/src/main/res/xml/backup_rules.xml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
13 |
--------------------------------------------------------------------------------
/Camera/LowLightBoost/app/src/main/res/xml/data_extraction_rules.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
12 |
13 |
19 |
--------------------------------------------------------------------------------
/Camera/LowLightBoost/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 | plugins {
3 | id 'com.android.application' version '8.0.1' apply false
4 | id 'com.android.library' version '8.0.1' apply false
5 | }
6 |
7 | task clean(type: Delete) {
8 | delete rootProject.buildDir
9 | }
10 |
11 | allprojects {
12 | gradle.projectsEvaluated {
13 | tasks.withType(JavaCompile) {
14 | Set fileSet = options.bootstrapClasspath.getFiles()
15 | List newFileList = new ArrayList<>()
16 | newFileList.add(new File("./framework.jar"))
17 | newFileList.addAll(fileSet)
18 | options.bootstrapClasspath = files(
19 | newFileList.toArray()
20 | )
21 | }
22 | }
23 |
24 | }
--------------------------------------------------------------------------------
/Camera/LowLightBoost/framework.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/LowLightBoost/framework.jar
--------------------------------------------------------------------------------
/Camera/LowLightBoost/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 | # IDE (e.g. Android Studio) users:
3 | # Gradle settings configured through the IDE *will override*
4 | # any settings specified in this file.
5 | # For more details on how to configure your build environment visit
6 | # http://www.gradle.org/docs/current/userguide/build_environment.html
7 | # Specifies the JVM arguments used for the daemon process.
8 | # The setting is particularly useful for tweaking memory settings.
9 | org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
10 | # When configured, Gradle will run in incubating parallel mode.
11 | # This option should only be used with decoupled projects. More details, visit
12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
13 | # org.gradle.parallel=true
14 | # AndroidX package structure to make it clearer which packages are bundled with the
15 | # Android operating system, and which are packaged with your app"s APK
16 | # https://developer.android.com/topic/libraries/support-library/androidx-rn
17 | android.useAndroidX=true
18 | # Enables namespacing of each library's R class so that its R class includes only the
19 | # resources declared in the library itself and none from the library's dependencies,
20 | # thereby reducing the size of the R class for that library
21 | android.nonTransitiveRClass=true
--------------------------------------------------------------------------------
/Camera/LowLightBoost/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/LowLightBoost/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/Camera/LowLightBoost/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Tue Aug 27 10:44:41 CST 2024
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
5 | zipStoreBase=GRADLE_USER_HOME
6 | zipStorePath=wrapper/dists
7 |
--------------------------------------------------------------------------------
/Camera/LowLightBoost/local.properties:
--------------------------------------------------------------------------------
1 | ## This file must *NOT* be checked into Version Control Systems,
2 | # as it contains information specific to your local configuration.
3 | #
4 | # Location of the SDK. This is only used by Gradle.
5 | # For customization when using a Version Control System, please read the
6 | # header note.
7 | #Fri Aug 23 16:56:27 CST 2024
8 | sdk.dir=C\:\\Users\\chunzhao\\AppData\\Local\\Android\\Sdk
9 |
--------------------------------------------------------------------------------
/Camera/LowLightBoost/settings.gradle:
--------------------------------------------------------------------------------
1 | pluginManagement {
2 | repositories {
3 | gradlePluginPortal()
4 | google()
5 | mavenCentral()
6 | }
7 | }
8 | dependencyResolutionManagement {
9 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
10 | repositories {
11 | google()
12 | mavenCentral()
13 | }
14 | }
15 |
16 | include ':app'
17 |
--------------------------------------------------------------------------------
/Camera/README.md:
--------------------------------------------------------------------------------
1 | Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
2 |
3 | SPDX-License-Identifier: Apache-2.0
4 |
5 | # QAPI_SampleCode -- Camera
6 | ## It's used for sharing how to call new camera APIs
7 |
8 |
9 | # License
10 | License Text Normalizer is licensed under the Apache-2.0 “New” or “Revised” License. See [LICENSE](https://github.com/quic/android-on-snapdragon/blob/master/Camera/LICENSE) for the full license text.
11 |
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/build.gradle:
--------------------------------------------------------------------------------
1 | plugins {
2 | id 'com.android.application'
3 | }
4 |
5 | android {
6 | compileSdk 34
7 |
8 | defaultConfig {
9 | applicationId "com.example.ultrahdrsamplecode"
10 | minSdk 30
11 | targetSdk 34
12 | versionCode 1
13 | versionName "1.0"
14 |
15 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
16 | }
17 |
18 | buildTypes {
19 | release {
20 | minifyEnabled false
21 | proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
22 | }
23 | }
24 | compileOptions {
25 | sourceCompatibility JavaVersion.VERSION_1_8
26 | targetCompatibility JavaVersion.VERSION_1_8
27 | }
28 | buildFeatures {
29 | viewBinding true
30 | }
31 | }
32 |
33 | dependencies {
34 |
35 | implementation 'androidx.appcompat:appcompat:1.6.1'
36 | implementation 'com.google.android.material:material:1.9.0'
37 | implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
38 | implementation 'androidx.navigation:navigation-fragment:2.5.3'
39 | implementation 'androidx.navigation:navigation-ui:2.5.3'
40 | testImplementation 'junit:junit:4.13.2'
41 | androidTestImplementation 'androidx.test.ext:junit:1.1.5'
42 | androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
43 | }
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/src/androidTest/java/com/example/ultrahdrsamplecode/ExampleInstrumentedTest.java:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
2 | # SPDX-License-Identifier: Apache-2.0
3 |
4 | package com.example.ultrahdrsamplecode;
5 |
6 | import android.content.Context;
7 |
8 | import androidx.test.platform.app.InstrumentationRegistry;
9 | import androidx.test.ext.junit.runners.AndroidJUnit4;
10 |
11 | import org.junit.Test;
12 | import org.junit.runner.RunWith;
13 |
14 | import static org.junit.Assert.*;
15 |
16 | /**
17 | * Instrumented test, which will execute on an Android device.
18 | *
19 | * @see Testing documentation
20 | */
21 | @RunWith(AndroidJUnit4.class)
22 | public class ExampleInstrumentedTest {
23 | @Test
24 | public void useAppContext() {
25 | // Context of the app under test.
26 | Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
27 | assertEquals("com.example.ultrahdrsamplecode", appContext.getPackageName());
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
12 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/src/main/java/com/example/ultrahdrsamplecode/FirstFragment.java:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
2 | # SPDX-License-Identifier: Apache-2.0
3 |
4 |
5 | package com.example.ultrahdrsamplecode;
6 |
7 | import android.os.Bundle;
8 | import android.view.LayoutInflater;
9 | import android.view.View;
10 | import android.view.ViewGroup;
11 |
12 | import androidx.annotation.NonNull;
13 | import androidx.fragment.app.Fragment;
14 | import androidx.navigation.fragment.NavHostFragment;
15 |
16 | import com.example.ultrahdrsamplecode.databinding.FragmentFirstBinding;
17 |
18 | public class FirstFragment extends Fragment {
19 |
20 | private FragmentFirstBinding binding;
21 |
22 | @Override
23 | public View onCreateView(
24 | LayoutInflater inflater, ViewGroup container,
25 | Bundle savedInstanceState
26 | ) {
27 |
28 | binding = FragmentFirstBinding.inflate(inflater, container, false);
29 | return binding.getRoot();
30 |
31 | }
32 |
33 | public void onViewCreated(@NonNull View view, Bundle savedInstanceState) {
34 | super.onViewCreated(view, savedInstanceState);
35 |
36 | binding.buttonFirst.setOnClickListener(new View.OnClickListener() {
37 | @Override
38 | public void onClick(View view) {
39 | NavHostFragment.findNavController(FirstFragment.this)
40 | .navigate(R.id.action_FirstFragment_to_SecondFragment);
41 | }
42 | });
43 | }
44 |
45 | @Override
46 | public void onDestroyView() {
47 | super.onDestroyView();
48 | binding = null;
49 | }
50 |
51 | }
52 |
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/src/main/java/com/example/ultrahdrsamplecode/SecondFragment.java:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
2 | # SPDX-License-Identifier: Apache-2.0
3 |
4 | package com.example.ultrahdrsamplecode;
5 |
6 | import android.os.Bundle;
7 | import android.view.LayoutInflater;
8 | import android.view.View;
9 | import android.view.ViewGroup;
10 |
11 | import androidx.annotation.NonNull;
12 | import androidx.fragment.app.Fragment;
13 | import androidx.navigation.fragment.NavHostFragment;
14 |
15 | import com.example.ultrahdrsamplecode.databinding.FragmentSecondBinding;
16 |
17 | public class SecondFragment extends Fragment {
18 |
19 | private FragmentSecondBinding binding;
20 |
21 | @Override
22 | public View onCreateView(
23 | LayoutInflater inflater, ViewGroup container,
24 | Bundle savedInstanceState
25 | ) {
26 |
27 | binding = FragmentSecondBinding.inflate(inflater, container, false);
28 | return binding.getRoot();
29 |
30 | }
31 |
32 | public void onViewCreated(@NonNull View view, Bundle savedInstanceState) {
33 | super.onViewCreated(view, savedInstanceState);
34 |
35 | binding.buttonSecond.setOnClickListener(new View.OnClickListener() {
36 | @Override
37 | public void onClick(View view) {
38 | NavHostFragment.findNavController(SecondFragment.this)
39 | .navigate(R.id.action_SecondFragment_to_FirstFragment);
40 | }
41 | });
42 | }
43 |
44 | @Override
45 | public void onDestroyView() {
46 | super.onDestroyView();
47 | binding = null;
48 | }
49 |
50 | }
51 |
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/src/main/res/layout/activity_main.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
15 |
16 |
24 |
25 |
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/src/main/res/layout/content_main.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
19 |
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/src/main/res/layout/fragment_first.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
18 |
19 |
28 |
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/src/main/res/layout/fragment_second.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
18 |
19 |
27 |
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/src/main/res/menu/menu_main.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/src/main/res/mipmap-hdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/UltraHDRSampleCode/app/src/main/res/mipmap-hdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/UltraHDRSampleCode/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/src/main/res/mipmap-mdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/UltraHDRSampleCode/app/src/main/res/mipmap-mdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/UltraHDRSampleCode/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/src/main/res/mipmap-xhdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/UltraHDRSampleCode/app/src/main/res/mipmap-xhdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/UltraHDRSampleCode/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/UltraHDRSampleCode/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/UltraHDRSampleCode/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/UltraHDRSampleCode/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/UltraHDRSampleCode/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/src/main/res/navigation/nav_graph.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
13 |
14 |
17 |
18 |
23 |
24 |
27 |
28 |
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/src/main/res/values-land/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 | 48dp
3 |
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/src/main/res/values-night/themes.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
16 |
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/src/main/res/values-w1240dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 | 200dp
3 |
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/src/main/res/values-w600dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 | 48dp
3 |
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #FFBB86FC
4 | #FF6200EE
5 | #FF3700B3
6 | #FF03DAC5
7 | #FF018786
8 | #FF000000
9 | #FFFFFFFF
10 | #3F51B5
11 | #303F9F
12 | #FF4081
13 |
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 | 16dp
3 |
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | UltraHDRSampleCode
3 | Settings
4 |
5 | First Fragment
6 | Second Fragment
7 | Next
8 | Previous
9 |
10 | Hello first fragment
11 | Hello second fragment. Arg: %1$s
12 |
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/src/main/res/values/themes.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
16 |
17 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/src/main/res/xml/backup_rules.xml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
13 |
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/src/main/res/xml/data_extraction_rules.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
12 |
13 |
19 |
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/app/src/test/java/com/example/ultrahdrsamplecode/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
2 | # SPDX-License-Identifier: Apache-2.0
3 |
4 | package com.example.ultrahdrsamplecode;
5 |
6 | import org.junit.Test;
7 |
8 | import static org.junit.Assert.*;
9 |
10 | /**
11 | * Example local unit test, which will execute on the development machine (host).
12 | *
13 | * @see Testing documentation
14 | */
15 | public class ExampleUnitTest {
16 | @Test
17 | public void addition_isCorrect() {
18 | assertEquals(4, 2 + 2);
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 | plugins {
3 | id 'com.android.application' version '7.2.0' apply false
4 | id 'com.android.library' version '7.2.0' apply false
5 | }
6 |
7 | task clean(type: Delete) {
8 | delete rootProject.buildDir
9 | }
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 | # IDE (e.g. Android Studio) users:
3 | # Gradle settings configured through the IDE *will override*
4 | # any settings specified in this file.
5 | # For more details on how to configure your build environment visit
6 | # http://www.gradle.org/docs/current/userguide/build_environment.html
7 | # Specifies the JVM arguments used for the daemon process.
8 | # The setting is particularly useful for tweaking memory settings.
9 | org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
10 | # When configured, Gradle will run in incubating parallel mode.
11 | # This option should only be used with decoupled projects. More details, visit
12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
13 | # org.gradle.parallel=true
14 | # AndroidX package structure to make it clearer which packages are bundled with the
15 | # Android operating system, and which are packaged with your app"s APK
16 | # https://developer.android.com/topic/libraries/support-library/androidx-rn
17 | android.useAndroidX=true
18 | # Enables namespacing of each library's R class so that its R class includes only the
19 | # resources declared in the library itself and none from the library's dependencies,
20 | # thereby reducing the size of the R class for that library
21 | android.nonTransitiveRClass=true
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/Camera/UltraHDRSampleCode/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Mon Sep 04 22:06:58 CST 2023
2 | distributionBase=GRADLE_USER_HOME
3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
4 | distributionPath=wrapper/dists
5 | zipStorePath=wrapper/dists
6 | zipStoreBase=GRADLE_USER_HOME
7 |
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/local.properties:
--------------------------------------------------------------------------------
1 | ## This file is automatically generated by Android Studio.
2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3 | #
4 | # This file should *NOT* be checked into Version Control Systems,
5 | # as it contains information specific to your local configuration.
6 | #
7 | # Location of the SDK. This is only used by Gradle.
8 | # For customization when using a Version Control System, please read the
9 | # header note.
10 | sdk.dir=C\:\\Users\\jiaoyuan\\Downloads\\android-sdk-windows
--------------------------------------------------------------------------------
/Camera/UltraHDRSampleCode/settings.gradle:
--------------------------------------------------------------------------------
1 | pluginManagement {
2 | repositories {
3 | gradlePluginPortal()
4 | google()
5 | mavenCentral()
6 | }
7 | }
8 | dependencyResolutionManagement {
9 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
10 | repositories {
11 | google()
12 | mavenCentral()
13 | }
14 | }
15 | rootProject.name = "UltraHDRSampleCode"
16 | include ':app'
17 |
--------------------------------------------------------------------------------
/Display/README.md:
--------------------------------------------------------------------------------
1 | # Snapdragon Display
2 |
3 | This repository contains Android support libraries and sample applications for Snapdragon Display
4 |
5 | ## License
6 |
7 | Snapdragon Display is licensed under the Apache-2.0 license. Check out the LICENSE file for more details.
8 |
9 | ## Developing Snapdragon Display
10 |
11 | #### Project branches
12 |
13 | Development work happens on the `main` branch. Pull requests should normally be made to this branch from `dev` branch.
14 |
15 | The `release` branch holds the most recent stable release.
16 |
17 | The `dev` branch holds unreviewed changes.
18 |
--------------------------------------------------------------------------------
/Display/stc_sample_code/Android.mk:
--------------------------------------------------------------------------------
1 | LOCAL_PATH := $(call my-dir)
2 | include $(CLEAR_VARS)
3 | STC_INCLUDES := $(TOP)/vendor/qcom/proprietary/display-noship/snapdragoncolor/include/
4 | LOCAL_MODULE := libstc-demo
5 | LOCAL_MODULE_TAGS := optional
6 | LOCAL_CFLAGS := -Wno-missing-field-initializers -Wconversion\
7 | -DLOG_TAG=\"STC_OEM_SAMPLE\" -DUNIX_OS
8 |
9 | LOCAL_SHARED_LIBRARIES := liblog libcutils libutils libdisplaydebug libsdm-color libbinder libtinyxml2_1
10 | LOCAL_SHARED_LIBRARIES += libsdmutils libqservice
11 |
12 | LOCAL_C_INCLUDES += $(LOCAL_PATH)/inc
13 | LOCAL_C_INCLUDES += $(STC_INCLUDES)
14 |
15 | LOCAL_HEADER_LIBRARIES := display_headers display_proprietary_intf_headers
16 |
17 | LOCAL_LDLIBS := -L$(SYSROOT)/usr/lib -llog
18 |
19 | LOCAL_SRC_FILES := src/stc_demo_service.cpp src/stc_demo_imp.cpp
20 |
21 | LOCAL_PROPRIETARY_MODULE := true
22 | include $(BUILD_SHARED_LIBRARY)
23 |
24 | include $(CLEAR_VARS)
25 | LOCAL_MODULE := stc_demo_test
26 | LOCAL_MODULE_TAGS := optional
27 | LOCAL_CFLAGS := -Wno-missing-field-initializers -Wconversion\
28 | -DLOG_TAG=\"STC_OEM_TEST\" -DUNIX_OS
29 |
30 | LOCAL_SHARED_LIBRARIES := liblog libcutils libutils libbinder
31 | LOCAL_SHARED_LIBRARIES += libqservice libstc-demo
32 |
33 | LOCAL_C_INCLUDES := $(TOP)/vendor/qcom/proprietary/commonsys-intf/display/include/ \
34 | LOCAL_C_INCLUDES += $(LOCAL_PATH)/inc
35 |
36 | LOCAL_HEADER_LIBRARIES := display_headers
37 |
38 | LOCAL_SRC_FILES := test/stc_demo_test.cpp
39 | LOCAL_PROPRIETARY_MODULE := true
40 | include $(BUILD_EXECUTABLE)
41 |
--------------------------------------------------------------------------------
/Display/stc_sample_code/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | project(STC-SAMPLE)
2 | cmake_minimum_required(VERSION 3.12)
3 | add_compile_options(-std=c++11 -Wno-unused-parameter)
4 | add_definitions("-DSTCLIB_ON_LINUX")
5 | include_directories (./inc
6 | ../../../../../../../hardware/qcom/display/sdm/include/
7 | ../../../../display-noship/snapdragoncolor/include/
8 | ../../../../../../../hardware/qcom/display/
9 | ../../../../../../../hardware/qcom/display/libqservice/
10 | ../../../../../opensource/commonsys-intf/display/include/
11 | ../../../../../proprietary/commonsys-intf/display/include/)
12 |
13 | add_library(stc-oem-HW-modulate SHARED
14 | ./src/stc_oem_imp_HW_modulate.cpp)
15 |
16 | target_link_libraries(stc-oem-HW-modulate dl)
17 | set(CMAKE_BUILD_TYPE Debug)
18 | set(CMAKE_SKIP_BUILD_RPATH true)
--------------------------------------------------------------------------------
/Display/stc_sample_code/README.md:
--------------------------------------------------------------------------------
1 | # stc_sample_code
2 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Android On Snapdragon
2 |
3 | This repository contains Android support libraries and sample applications for Snapdragon
4 |
--------------------------------------------------------------------------------
/video/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | .DS_Store
4 | /captures
5 | .externalNativeBuild
6 | .cxx
7 | local.properties
8 |
9 | # below items are created from github
10 |
11 | # Built application files
12 | *.apk
13 | *.aar
14 | *.ap_
15 | *.aab
16 |
17 | # Files for the ART/Dalvik VM
18 | *.dex
19 |
20 | # Java class files
21 | *.class
22 |
23 | # Generated files
24 | bin/
25 | gen/
26 | out/
27 | # Uncomment the following line in case you need and you don't have the release build type files in your app
28 | # release/
29 |
30 | # Gradle files
31 | .gradle/
32 | build/
33 |
34 | # Local configuration file (sdk path, etc)
35 | /local.properties
36 |
37 | # Proguard folder generated by Eclipse
38 | proguard/
39 |
40 | # Log Files
41 | *.log
42 |
43 | # Android Studio Navigation editor temp files
44 | .navigation/
45 |
46 | # Android Studio captures folder
47 | captures/
48 |
49 | # IntelliJ
50 | *.iml
51 | .idea
52 |
53 | # Keystore files
54 | # Uncomment the following lines if you do not want to check your keystore files in.
55 | #*.jks
56 | #*.keystore
57 |
58 | # External native build folder generated in Android Studio 2.2 and later
59 | .externalNativeBuild
60 | .cxx/
61 |
62 | # Google Services (e.g. APIs or Firebase)
63 | # google-services.json
64 |
65 | # Freeline
66 | freeline.py
67 | freeline/
68 | freeline_project_description.json
69 |
70 | # fastlane
71 | fastlane/report.xml
72 | fastlane/Preview.html
73 | fastlane/screenshots
74 | fastlane/test_output
75 | fastlane/readme.md
76 |
77 | # Version control
78 | vcs.xml
79 |
80 | # lint
81 | lint/intermediates/
82 | lint/generated/
83 | lint/outputs/
84 | lint/tmp/
85 | # lint/reports/
86 | /gradle/
87 |
--------------------------------------------------------------------------------
/video/.idea/.gitignore:
--------------------------------------------------------------------------------
1 | # Default ignored files
2 | /shelf/
3 | /workspace.xml
4 |
--------------------------------------------------------------------------------
/video/.idea/androidTestResultsUserPreferences.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
22 |
23 |
--------------------------------------------------------------------------------
/video/.idea/checkstyle-idea.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 10.9.3
5 | JavaOnlyWithTests
6 | true
7 | true
8 |
9 |
11 |
12 |
26 |
27 |
--------------------------------------------------------------------------------
/video/.idea/codeStyles/codeStyleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/video/.idea/compiler.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/video/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/video/LICENSE.txt:
--------------------------------------------------------------------------------
1 | Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
2 |
3 | Redistribution and use in source and binary forms, with or without
4 | modification, are permitted provided that the following conditions are met:
5 |
6 | 1. Redistributions of source code must retain the above copyright notice,
7 | this list of conditions and the following disclaimer.
8 |
9 | 2. Redistributions in binary form must reproduce the above copyright notice,
10 | this list of conditions and the following disclaimer in the documentation
11 | and/or other materials provided with the distribution.
12 |
13 | 3. Neither the name of the copyright holder nor the names of its contributors
14 | may be used to endorse or promote products derived from this software
15 | without specific prior written permission.
16 |
17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
18 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
21 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
22 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27 | POSSIBILITY OF SUCH DAMAGE.
28 |
29 | SPDX-License-Identifier: Apache-2.0
30 |
--------------------------------------------------------------------------------
/video/README.md:
--------------------------------------------------------------------------------
1 | # QtiVideoExt
2 |
3 | `QtiVideoExt` is a support library for utilizing qcom video codec extensions on Android, including
4 | codec tunings, quality enhancement etc.
5 |
6 | ## License
7 |
8 | QtiVideoExt is licensed under the Apache-2.0 license. Check out the LICENSE file for more details.
9 |
10 | ## Developing QtiVideoExt
11 |
12 | #### Project branches
13 |
14 | Development work happens on the `main` branch. Pull requests should normally be made to this branch from `dev` branch.
15 |
16 | The `release` branch holds the most recent stable release.
17 |
18 | The `dev` branch holds unreviewed changes.
19 |
20 | #### Using Android Studio
21 |
22 | To develop QtiVideoExt using Android Studio, simply open the project in the root directory of this repository.
23 |
--------------------------------------------------------------------------------
/video/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 | plugins {
3 | id 'com.android.application' version '7.4.1' apply false
4 | id 'com.android.library' version '7.4.1' apply false
5 | id 'checkstyle'
6 | }
7 |
8 | tasks.withType(JavaCompile) {
9 | options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
10 | }
11 |
12 | task clean(type: Delete) {
13 | delete rootProject.buildDir
14 | }
15 |
16 | subprojects {
17 | apply plugin: 'checkstyle'
18 |
19 | configurations {
20 | checkstyleConfig
21 | }
22 |
23 | dependencies {
24 | checkstyle 'com.puppycrawl.tools:checkstyle:10.9.3'
25 | checkstyleConfig 'com.puppycrawl.tools:checkstyle:10.9.3'
26 | }
27 |
28 | checkstyle {
29 | toolVersion '10.9.3'
30 |
31 | // read google_checks.xml from checkstyle jar to avoid submitting the xml
32 | config = resources.text.fromArchiveEntry(
33 | configurations.checkstyleConfig[0],
34 | 'google_checks.xml')
35 |
36 | ignoreFailures = false
37 | showViolations = true
38 | }
39 |
40 | task checkstyleTask(type: Checkstyle) {
41 | source 'src'
42 | include '**/*.java'
43 | exclude '**/gen/**'
44 | exclude '**/R.java'
45 | classpath = files()
46 |
47 | }
48 |
49 | afterEvaluate {
50 | if (project.plugins.hasPlugin('com.android.application')
51 | || project.plugins.hasPlugin('com.android.library')) {
52 | preBuild.dependsOn checkstyleTask
53 | check.dependsOn checkstyleTask
54 | checkstyleTask.mustRunAfter assemble
55 | }
56 | }
57 | }
58 |
--------------------------------------------------------------------------------
/video/demos/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
--------------------------------------------------------------------------------
/video/demos/app/build.gradle:
--------------------------------------------------------------------------------
1 | plugins {
2 | id 'com.android.application'
3 | }
4 |
5 | android {
6 | compileSdk 33
7 |
8 | defaultConfig {
9 | applicationId "qti.video.demo"
10 | minSdk 33
11 | targetSdk 33
12 | versionCode 1
13 | versionName '1.1'
14 |
15 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
16 | }
17 |
18 | buildTypes {
19 | release {
20 | minifyEnabled false
21 | }
22 | }
23 | compileOptions {
24 | sourceCompatibility JavaVersion.VERSION_11
25 | targetCompatibility JavaVersion.VERSION_11
26 | }
27 | buildToolsVersion '33.0.1'
28 | namespace 'qti.video.demo'
29 | }
30 |
31 | dependencies {
32 | implementation 'com.google.android.material:material:1.8.0'
33 | implementation project(path: ':libraries:QtiVideoExt')
34 |
35 | testImplementation 'junit:junit:4.13.2'
36 | androidTestImplementation 'androidx.test.ext:junit:1.1.5'
37 | androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
38 | }
--------------------------------------------------------------------------------
/video/demos/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
--------------------------------------------------------------------------------
/video/demos/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
6 |
7 |
8 |
9 |
10 |
20 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/video/demos/app/src/main/res/drawable-v24/ic_launcher_foreground.xml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
15 |
18 |
21 |
22 |
23 |
24 |
30 |
--------------------------------------------------------------------------------
/video/demos/app/src/main/res/layout/activity_main.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
19 |
20 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/video/demos/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/video/demos/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/video/demos/app/src/main/res/mipmap-hdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/video/demos/app/src/main/res/mipmap-hdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/video/demos/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/video/demos/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/video/demos/app/src/main/res/mipmap-mdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/video/demos/app/src/main/res/mipmap-mdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/video/demos/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/video/demos/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/video/demos/app/src/main/res/mipmap-xhdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/video/demos/app/src/main/res/mipmap-xhdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/video/demos/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/video/demos/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/video/demos/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/video/demos/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/video/demos/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/video/demos/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/video/demos/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/video/demos/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/video/demos/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/video/demos/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/video/demos/app/src/main/res/values-night/themes.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
16 |
--------------------------------------------------------------------------------
/video/demos/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #FFBB86FC
4 | #FF6200EE
5 | #FF3700B3
6 | #FF03DAC5
7 | #FF018786
8 | #FF000000
9 | #FFFFFFFF
10 |
--------------------------------------------------------------------------------
/video/demos/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | QtiVideoExt
3 | Test the QMediaCodecCapabilities API
4 |
--------------------------------------------------------------------------------
/video/demos/app/src/main/res/values/themes.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
16 |
--------------------------------------------------------------------------------
/video/demos/app/src/main/res/xml/backup_rules.xml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
13 |
--------------------------------------------------------------------------------
/video/demos/app/src/main/res/xml/data_extraction_rules.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
12 |
13 |
19 |
--------------------------------------------------------------------------------
/video/demos/depthcapture/.gitignore:
--------------------------------------------------------------------------------
1 | /build
--------------------------------------------------------------------------------
/video/demos/depthcapture/build.gradle:
--------------------------------------------------------------------------------
1 | plugins {
2 | id 'com.android.application'
3 | }
4 |
5 | android {
6 | namespace 'qti.video.depthcapture'
7 | compileSdk 33
8 |
9 | defaultConfig {
10 | applicationId "qti.video.depthcapture"
11 | minSdk 33
12 | targetSdk 33
13 | versionCode 1
14 | versionName '1.1'
15 |
16 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
17 | }
18 |
19 | buildTypes {
20 | release {
21 | minifyEnabled false
22 | proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
23 | }
24 | }
25 | compileOptions {
26 | sourceCompatibility JavaVersion.VERSION_11
27 | targetCompatibility JavaVersion.VERSION_11
28 | }
29 | buildToolsVersion '33.0.1'
30 | }
31 |
32 | dependencies {
33 | implementation project(path: ':libraries:QtiVideoExt')
34 | implementation "androidx.annotation:annotation:1.6.0"
35 | implementation 'androidx.graphics:graphics-core:1.0.0-alpha04'
36 | testImplementation 'junit:junit:4.13.2'
37 | androidTestImplementation 'androidx.test.ext:junit:1.1.5'
38 | androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
39 | }
40 |
--------------------------------------------------------------------------------
/video/demos/depthcapture/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
--------------------------------------------------------------------------------
/video/demos/depthcapture/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
11 |
12 |
16 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/video/demos/depthcapture/src/main/java/qti/video/depthcapture/AppConfig.java:
--------------------------------------------------------------------------------
1 | /*
2 | **************************************************************************************************
3 | * Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
4 | * SPDX-License-Identifier: Apache-2.0
5 | **************************************************************************************************
6 | */
7 |
8 | package qti.video.depthcapture;
9 |
10 | public final class AppConfig {
11 | public static final String APP_EXTERNAL_DIR
12 | = "/storage/emulated/0/Android/data/qti.video.depthcapture/files";
13 |
14 | // adb push \\hw-lubiny-lv\Public\depth\IMG_0400_remuxed.mp4 \
15 | // /storage/emulated/0/Android/data/qti.video.depthcapture/files/
16 | public static final String MOCK_CAMERA_INPUT_CLIP = APP_EXTERNAL_DIR + "/IMG_0400_remuxed.mp4";
17 | public static final int VIDEO_WIDTH = 1920;
18 | public static final int VIDEO_HEIGHT = 1080;
19 | public static final String CAPTURE_OUTPUT_FILE_PATH
20 | = APP_EXTERNAL_DIR + "/depth_capture_output.mp4";
21 |
22 | // adb push \\hw-lubiny-lv\Public\depth\GDepthClip.mp4 \
23 | // /storage/emulated/0/Android/data/qti.video.depthcapture/files/
24 | public static final String DEPTH_CLIP_SAMPLE = APP_EXTERNAL_DIR + "/GDepthClip.mp4";
25 |
26 | }
27 |
--------------------------------------------------------------------------------
/video/demos/depthcapture/src/main/java/qti/video/depthcapture/TrackBuffer.java:
--------------------------------------------------------------------------------
1 | /*
2 | **************************************************************************************************
3 | * Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
4 | * SPDX-License-Identifier: Apache-2.0
5 | **************************************************************************************************
6 | */
7 |
8 | package qti.video.depthcapture;
9 |
10 | import android.media.MediaCodec;
11 | import java.nio.ByteBuffer;
12 |
13 | public class TrackBuffer {
14 | public final ByteBuffer byteBuf;
15 | public final MediaCodec.BufferInfo bufferInfo;
16 |
17 | TrackBuffer(ByteBuffer byteBuf, MediaCodec.BufferInfo bufferInfo, Object obj) {
18 | assert (byteBuf != null);
19 | assert (bufferInfo != null);
20 | this.byteBuf = byteBuf;
21 | this.bufferInfo = bufferInfo;
22 | this.internalObj = obj;
23 | }
24 |
25 | final Object internalObj;
26 | }
27 |
--------------------------------------------------------------------------------
/video/demos/depthcapture/src/main/java/qti/video/depthcapture/TrackDataSource.java:
--------------------------------------------------------------------------------
1 | /*
2 | **************************************************************************************************
3 | * Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
4 | * SPDX-License-Identifier: Apache-2.0
5 | **************************************************************************************************
6 | */
7 |
8 | package qti.video.depthcapture;
9 |
10 | import android.media.MediaFormat;
11 |
12 | public interface TrackDataSource {
13 |
14 | interface OutputListener {
15 | void onOutputAvailable();
16 |
17 | void onEos();
18 | }
19 |
20 | MediaFormat getFormat();
21 |
22 | void setOutputListener(OutputListener listener);
23 |
24 | // non-blocking call
25 | TrackBuffer dequeueBuffer();
26 |
27 | void queueBuffer(TrackBuffer buffer);
28 |
29 | boolean isEos();
30 | }
31 |
--------------------------------------------------------------------------------
/video/demos/depthcapture/src/main/res/raw/bokeh_frag.frag:
--------------------------------------------------------------------------------
1 | #version 300 es
2 |
3 | #extension GL_OES_EGL_image_external : require
4 | #extension GL_OES_EGL_image_external_essl3 : require
5 | #extension GL_EXT_YUV_target : require
6 |
7 | precision mediump float;
8 |
9 | const float BLUR_R = 0.02;
10 |
11 | in vec2 vTextureCoord;
12 | out vec4 gl_FragColor;
13 |
14 | //const float DEPTH_THRESHOLD = 0.4;
15 | uniform float uDepthThreshold;
16 | uniform __samplerExternal2DY2YEXT sVideoTexture;
17 | uniform __samplerExternal2DY2YEXT sDepthTexture;
18 |
19 | vec4 getBlurColor(vec2 coord) {
20 | vec4 p0 = texture(sVideoTexture, coord);
21 | vec4 p1 = texture(sVideoTexture, vec2(coord.x+BLUR_R, coord.y));
22 | vec4 p2 = texture(sVideoTexture, vec2(coord.x-BLUR_R, coord.y));
23 | vec4 p3 = texture(sVideoTexture, vec2(coord.x, coord.y+BLUR_R));
24 | vec4 p4 = texture(sVideoTexture, vec2(coord.x, coord.y-BLUR_R));
25 | vec4 p5 = texture(sVideoTexture, vec2(coord.x+BLUR_R/2.0, coord.y+BLUR_R/2.0));
26 | vec4 p6 = texture(sVideoTexture, vec2(coord.x+BLUR_R/2.0, coord.y-BLUR_R/2.0));
27 | vec4 p7 = texture(sVideoTexture, vec2(coord.x-BLUR_R/2.0, coord.y+BLUR_R/2.0));
28 | vec4 p8 = texture(sVideoTexture, vec2(coord.x-BLUR_R/2.0, coord.y-BLUR_R/2.0));
29 |
30 | // vec4 p = (p0+p1+p2+p3+p4)/5.0;
31 | vec4 p = (p0+p1+p2+p3+p4+p5+p6+p7+p8)/9.0;
32 | return p;
33 | }
34 |
35 | void main() {
36 | vec2 texCoord = vec2((vTextureCoord.x + 1.0) / 2.0, 1.0 - (vTextureCoord.y + 1.0) / 2.0);
37 | vec4 depthColor = texture(sDepthTexture, texCoord);
38 | vec4 videoColor;
39 |
40 | if (depthColor.x > uDepthThreshold) {
41 | videoColor = texture(sVideoTexture, texCoord);
42 | } else {
43 | videoColor = getBlurColor(texCoord);
44 | }
45 |
46 | gl_FragColor = vec4(yuv_2_rgb(videoColor.xyz, itu_709), 0.0);
47 | }
48 |
--------------------------------------------------------------------------------
/video/demos/depthcapture/src/main/res/raw/bokeh_vert.vert:
--------------------------------------------------------------------------------
1 | #version 300 es
2 |
3 | in vec4 aPosition;
4 | out vec2 vTextureCoord;
5 |
6 | void main() {
7 | gl_Position = aPosition;
8 | vTextureCoord = aPosition.xy;
9 | }
10 |
--------------------------------------------------------------------------------
/video/demos/depthcapture/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #FF000000
4 | #FFFFFFFF
5 |
--------------------------------------------------------------------------------
/video/demos/depthcapture/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | DepthCapture
3 |
--------------------------------------------------------------------------------
/video/demos/depthcapture/src/test/java/qti/video/depthcapture/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | /*
2 | **************************************************************************************************
3 | * Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
4 | * SPDX-License-Identifier: Apache-2.0
5 | **************************************************************************************************
6 | */
7 |
8 | package qti.video.depthcapture;
9 |
10 | import static org.junit.Assert.assertEquals;
11 |
12 | import org.junit.Test;
13 |
14 | /**
15 | * Example local unit test, which will execute on the development machine (host).
16 | *
17 | * @see Testing documentation
18 | */
19 | public class ExampleUnitTest {
20 | @Test
21 | public void addition_isCorrect() {
22 | assertEquals(4, 2 + 2);
23 | }
24 | }
--------------------------------------------------------------------------------
/video/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 | # IDE (e.g. Android Studio) users:
3 | # Gradle settings configured through the IDE *will override*
4 | # any settings specified in this file.
5 | # For more details on how to configure your build environment visit
6 | # http://www.gradle.org/docs/current/userguide/build_environment.html
7 | # Specifies the JVM arguments used for the daemon process.
8 | # The setting is particularly useful for tweaking memory settings.
9 | org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
10 | # When configured, Gradle will run in incubating parallel mode.
11 | # This option should only be used with decoupled projects. More details, visit
12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
13 | # org.gradle.parallel=true
14 | # AndroidX package structure to make it clearer which packages are bundled with the
15 | # Android operating system, and which are packaged with your app"s APK
16 | # https://developer.android.com/topic/libraries/support-library/androidx-rn
17 | android.useAndroidX=true
18 | # Enables namespacing of each library's R class so that its R class includes only the
19 | # resources declared in the library itself and none from the library's dependencies,
20 | # thereby reducing the size of the R class for that library
21 | android.nonTransitiveRClass=true
22 | android.suppressUnsupportedCompileSdk=33
--------------------------------------------------------------------------------
/video/libraries/QtiVideoExt/.gitignore:
--------------------------------------------------------------------------------
1 | /build
--------------------------------------------------------------------------------
/video/libraries/QtiVideoExt/build.gradle:
--------------------------------------------------------------------------------
1 | plugins {
2 | id 'com.android.library'
3 | }
4 |
5 | android {
6 | compileSdk 33
7 |
8 | defaultConfig {
9 | minSdk 33
10 | targetSdk 33
11 |
12 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
13 | consumerProguardFiles "consumer-rules.pro"
14 | versionName '1.0'
15 | versionCode 1
16 | }
17 |
18 | buildTypes {
19 | release {
20 | minifyEnabled false
21 | proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
22 | }
23 | }
24 | compileOptions {
25 | sourceCompatibility JavaVersion.VERSION_11
26 | targetCompatibility JavaVersion.VERSION_11
27 | }
28 | buildToolsVersion '33.0.1'
29 | namespace 'qti.video'
30 | }
31 |
32 | dependencies {
33 | testImplementation 'junit:junit:4.13.2'
34 | // core library
35 | androidTestImplementation 'androidx.test:core:1.5.0'
36 | androidTestImplementation 'androidx.test:runner:1.5.2'
37 | androidTestImplementation 'androidx.test:rules:1.5.0'
38 | // junit runner and junit rules
39 | androidTestImplementation 'androidx.test.ext:junit:1.1.5'
40 | androidTestImplementation 'androidx.test.ext:truth:1.5.0'
41 | androidTestImplementation 'com.google.truth:truth:1.1.3'
42 | // espresso
43 | androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
44 | }
45 |
46 |
--------------------------------------------------------------------------------
/video/libraries/QtiVideoExt/consumer-rules.pro:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/video/libraries/QtiVideoExt/consumer-rules.pro
--------------------------------------------------------------------------------
/video/libraries/QtiVideoExt/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
--------------------------------------------------------------------------------
/video/libraries/QtiVideoExt/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/video/libraries/QtiVideoExt/src/main/java/qti/video/depth/DepthFormat.java:
--------------------------------------------------------------------------------
1 | /*
2 | **************************************************************************************************
3 | * Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
4 | * SPDX-License-Identifier: Apache-2.0
5 | **************************************************************************************************
6 | */
7 |
8 | package qti.video.depth;
9 |
10 | /**
11 | * Depth format. It contains keys and values for depth inner track formats.
12 | */
13 | public final class DepthFormat {
14 | public static final String KEY_TRACK_TYPE = "depth-track-type";
15 | public static final int TRACK_TYPE_SHARP_VIDEO = 0;
16 | public static final int TRACK_TYPE_DEPTH_LINEAR = 1;
17 | public static final int TRACK_TYPE_DEPTH_INVERSE = 2;
18 | public static final int TRACK_TYPE_METADATA = 3;
19 | public static final int TRACK_TYPE_TRANSLUCENT_VIDEO = 4;
20 | public static final int MAX_TRACK_TYPE_COUNT = 5;
21 |
22 | // Non-public meta keys and types for depth container.
23 | // Only used by muxer and extractor internally.
24 | static final String META_KEY_EDVD_OFFSET = "editable.tracks.offset";
25 | static final int META_TYPE_EDVD_OFFSET = 78; // type 78: BE 64-bit Unsigned Integer
26 | static final String META_KEY_EDVD_LENGTH = "editable.tracks.length";
27 | static final int META_TYPE_EDVD_LENGTH = 78; // type 78: BE 64-bit Unsigned Integer
28 | static final String META_KEY_DEPTH_TRACK_TYPES = "editable.tracks.map";
29 | static final int META_TYPE_DEPTH_TRACK_TYPES = 0; // type 0: no type needs to be indicated
30 | }
31 |
--------------------------------------------------------------------------------
/video/libraries/QtiVideoExt/src/main/java/qti/video/depth/Mp4FreeBox.java:
--------------------------------------------------------------------------------
1 | /*
2 | **************************************************************************************************
3 | * Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved.
4 | * SPDX-License-Identifier: Apache-2.0
5 | **************************************************************************************************
6 | */
7 |
8 | package qti.video.depth;
9 |
10 | import java.util.Arrays;
11 |
12 | class Mp4FreeBox extends Mp4InMemBox {
13 | // huge free box is not allowed to avoid out of memory
14 | private static final int MAX_FREE_BOX_SIZE = 1024 * 1024;
15 | private static final byte FREE_BOX_FILL = '1';
16 |
17 | private Mp4FreeBox(int u32Size) {
18 | super(Mp4Box.FOURCC_FREE, new byte[u32Size - Mp4Box.SIZE_COMPACT_BOX_HEADER]);
19 | Arrays.fill(getPayload(), FREE_BOX_FILL);
20 | }
21 |
22 | public static Mp4FreeBox createFreeBox(long u32BoxSize) {
23 | assert (u32BoxSize <= MAX_FREE_BOX_SIZE);
24 | return new Mp4FreeBox((int) u32BoxSize);
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/video/sample-apps/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
--------------------------------------------------------------------------------
/video/sample-apps/app/build.gradle:
--------------------------------------------------------------------------------
1 | plugins {
2 | id 'com.android.application'
3 | }
4 |
5 | android {
6 | namespace 'com.example.VideoSampleApp'
7 |
8 | defaultConfig {
9 | applicationId 'qti.video.VideoSampleApp'
10 | versionCode 1
11 | versionName '2.1'
12 | minSdk 33
13 | }
14 |
15 | buildTypes {
16 | release {
17 | minifyEnabled false
18 | proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
19 | }
20 | }
21 | compileOptions {
22 | sourceCompatibility JavaVersion.VERSION_11
23 | targetCompatibility JavaVersion.VERSION_11
24 | }
25 | compileSdk 33
26 | buildToolsVersion '33.0.1'
27 | }
28 |
29 | dependencies {
30 | implementation project(path: ':libraries:QtiVideoExt')
31 | implementation 'androidx.appcompat:appcompat:1.6.1'
32 | implementation 'com.google.android.material:material:1.8.0'
33 | implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
34 | testImplementation 'junit:junit:4.13.2'
35 | androidTestImplementation 'androidx.test.ext:junit:1.1.5'
36 | androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
37 | }
38 |
--------------------------------------------------------------------------------
/video/sample-apps/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
--------------------------------------------------------------------------------
/video/sample-apps/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
20 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/video/sample-apps/app/src/main/res/drawable-v24/ic_launcher_foreground.xml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
15 |
18 |
21 |
22 |
23 |
24 |
30 |
--------------------------------------------------------------------------------
/video/sample-apps/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/video/sample-apps/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/video/sample-apps/app/src/main/res/mipmap-hdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/video/sample-apps/app/src/main/res/mipmap-hdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/video/sample-apps/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/video/sample-apps/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/video/sample-apps/app/src/main/res/mipmap-mdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/video/sample-apps/app/src/main/res/mipmap-mdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/video/sample-apps/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/video/sample-apps/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/video/sample-apps/app/src/main/res/mipmap-xhdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/video/sample-apps/app/src/main/res/mipmap-xhdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/video/sample-apps/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/video/sample-apps/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/video/sample-apps/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/video/sample-apps/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/video/sample-apps/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/video/sample-apps/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/video/sample-apps/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/video/sample-apps/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/video/sample-apps/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/quic/android-on-snapdragon/79203af2f053edfce661bb0c537f02965848bb2b/video/sample-apps/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/video/sample-apps/app/src/main/res/values-night/themes.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
16 |
--------------------------------------------------------------------------------
/video/sample-apps/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #FFBB86FC
4 | #FF6200EE
5 | #FF3700B3
6 | #FF03DAC5
7 | #FF018786
8 | #FF000000
9 | #FFFFFFFF
10 |
--------------------------------------------------------------------------------
/video/sample-apps/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | VideoSampleApp
3 | Start
4 | Input File:
5 | Output File:
6 | Extensions
7 | Feature
8 |
9 | - ROI
10 | - LTR
11 | - QP Control
12 | - QP Override
13 | - Slice and Rsync
14 | - Pro Sight
15 | - MBROI
16 |
17 |
18 | - HDR10 to SDR
19 | - HDR10+ to HDR10
20 | - HDR10 to HDR10+
21 |
22 |
--------------------------------------------------------------------------------
/video/sample-apps/app/src/main/res/values/themes.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
16 |
--------------------------------------------------------------------------------
/video/sample-apps/app/src/main/res/xml/backup_rules.xml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
13 |
--------------------------------------------------------------------------------
/video/sample-apps/app/src/main/res/xml/data_extraction_rules.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
12 |
13 |
19 |
--------------------------------------------------------------------------------
/video/settings.gradle:
--------------------------------------------------------------------------------
1 | pluginManagement {
2 | repositories {
3 | gradlePluginPortal()
4 | google()
5 | mavenCentral()
6 | }
7 | }
8 | dependencyResolutionManagement {
9 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
10 | repositories {
11 | google()
12 | mavenCentral()
13 | }
14 | }
15 | rootProject.name = "QtiVideoExt"
16 | include ':libraries:QtiVideoExt'
17 | include ':demos:app'
18 | include ':demos:depthcapture'
19 | include ':sample-apps:app'
20 |
--------------------------------------------------------------------------------