* Update dependencies
* Add "Files" package to android manifest
So the launch intent for the Files package can be accessed (https://developer.android.com/training/package-visibility)
* Use target context and different intent flag
* Use test kit coordinates instead of hardcoding
* Copy in new FoldingVideoPlusTrivia project
* Rename to trivia fragment
* Add basic code for updating layouts at timestamps
* Update fun fact layout
* Rename to FoldingVideoPlusTrivia
* Add soundtrack layout
* Add cast layout
* Finish refactoring from chat to trivia sample
* Move controls to bottom pane in dual landscape
* Add overlay for large screens
* Update readme
* Add to test matrix
Co-authored-by: Craig Dunn <craig.dunn@microsoft.com>
* Replace PenDrawView
Implement an InkView in place of the previous PenDrawView that handled draw events
* Implement basic InkView functions
* Implement eraser
* Add persistent images
Images retain color info when saved
* Add erasing and highlighting
* Added stroke width persistence
* Add undo and enable/disable features
* Reformat and lint
* Render on CPU instead of GPU
* Modify pressure settings and add special hover for highlighter
* Update peninfo tests with changed method parameters
* Fix bug when choosing white as custom color
* Add renderGPU as styleable attribute for InkView
* Update fragment handling to pass UI tests
* Update mockito version
* Disable highlighter for use with inksdk
* Add log statement to try/catch block
Co-authored-by: Parker Schroeder <ptschroeder@wisc.edu>
* animation is anchored to the wrong side of the hinge
addresses #14 (although now the notepad image will be _slightly_ to the left-of-center on the second screen)
* add padding to center properly
takes account of hinge (folding feature) width
* address ktlint warnings
* Adjust view inflation order
Make sure view visibility is only being changed after updated window manager information has been collected
* Combine main activity and activity fragment
TODO: fix rotation issue
* Make sure to update view model when image changes
* Linting and fragment restructuring
* Add initial twonote project
* Implement window manager
* Add device rotation logic
Rotation logic needs both orientation and spanned status to determine if the device is actually rotated
* Linting and documentation
* Set new primary colors
change colors to differentiate from original TwoNote app
* Fix typo
Co-authored-by: Cesar Valiente <cevalien@microsoft.com>
* Initial commit
* Add SlidingPaneLayout
replace the SurfaceDuoLayout that previously managed window transitions
* Add app windows to the sliding panes
* Add window manager code
Switching over to window manager since SlidingPaneLayout doesn't support rotated device orientations
* Initial plan for layout configurations
* Rewired app functions to the layout
The app is functionally identical to the old one, but the code still needs some reformatting to simplify things
* Reformat some files
* rename package
* Cleanup and documentation
* Remove ScreenManager assertions
* Remove unused imports
* Update default image
chipmunk :)
* Initial commit
* Update gradle version
* Add some windows manager boilerplate
currently using a deprecated approach to inflate fragments. May need to change it to resolve errors
* Remove custom microsoft layout
Removed conflicting layout code that was causing the app to crash
* Switch fragments to original implementation
Reuse the fragments from the original SourceEditor
* Add a vertical ReactiveGuide
Tested ReactiveGuide effectiveness as a hinge position indicator
* Add Guides to facilitate dual screens
Created a bounding box that defines the edges of each fragment
* Reimplement regular app functions
Uncommented code that handles user input (buttons, typing, etc)
* Add support for 7.3" foldable emulator
Support Android Studio's 7.3" emulator of a foldable device without an occluding hinge
* Linting and documentation
* PR cleanup
* Update outdated dependencies
* Update ktlint version
Upgrade ktlint to a version that doesn't rely on jcenter (and re-lint the project)
* Add project to build-text-check workflow
* Fix double preview span
* rename package to match repo
also rename applicationId in build.gradle
* Update hardcoded HTML
Co-authored-by: Craig Dunn <craig.dunn@microsoft.com>
* Created simple, yet useful enough, worflow to build, test and run static analysis checks
* Added more general purpose rules to ignore files
* Added missing gradlew executables needed tu run easily gradle tasks
* Added more ignore rules
* Added ktlint for FoldingVideo folder/app
* Deleted unneeded tests (they don't add any value)
* Addressed ktlint issues in FoldingVideo app/folder
* Added missing gradle elements
* Added more ignore rules for FoldingVideoPlusChat app/folder
* Added ktlint to FoldingVideoPlusChat app/folder
* Addressed FoldingVideoPlusChat app/folder ktlint issues