1
0
Форкнуть 0
Граф коммитов

49 Коммитов

Автор SHA1 Сообщение Дата
Kristen Halper b4ace80301
Fix PhotoEditor drag&drop UI test (#38)
* 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
2022-05-02 09:00:35 -04:00
Cesar Valiente 188efc5a2e
Added issues and PR templates (#37) 2022-04-05 11:44:27 +02:00
Kristen Halper 2341babb8f
Add FoldingVideoPlusTrivia sample (#36)
* 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>
2022-03-11 16:05:59 -08:00
Kristen Halper e52c21050f
Use test kit in sample UI tests (#33)
* Update PhotoEditor dependencies and tests

* Update FoldingVideo dependencies and tests

* Update SourceEditor dependencies and tests

* Update TwoNote dependencies and tests

* Import ForceClick
2022-03-02 11:02:31 -05:00
Craig Dunn c14d6a4258
update to 1.0.0 stable release (#32)
* update to 1.0.0 stable release

and slidingpanelayout-1.2.0 stable release

* update README
2022-01-26 16:59:02 -08:00
Craig Dunn 53ee217437
update to rc01 (#31)
* [foldingvideo] update to rc01

* [photoeditor] update to rc01

* [sourceeditor] update to rc01

* [twonote] update to rc01

* [photoeditor] fix build issues

* [ebookreader] update to rc01

* [sourceeditor] fix build issues

* [twonote] fix build issues

* [ebookreader] update to rc01

* [travelplanner] update to rc01

* [twodo] update to rc01

* [travelplanner] config updates

trying to fix CI build issue

* [travelplanner] update lifecycle version

* [travelplanner] package version updates
2021-12-16 14:52:26 -08:00
Craig Dunn a033fcb331 ktlint fixes and minor comment updates 2021-12-07 07:45:21 -08:00
Craig Dunn de3d73a389 [twonote] update to beta04 2021-12-07 07:45:21 -08:00
Craig Dunn cd20fd1d23 [sourceeditor] update to beta04
NOTE: app crashed without the Java 1.8 gradle updates
2021-12-07 07:45:21 -08:00
Craig Dunn e56195fc3b [photoeditor] update to beta04 2021-12-07 07:45:21 -08:00
Craig Dunn 5437aa379c [foldingvideo] update to beta04 2021-12-07 07:45:21 -08:00
Craig Dunn 934cfa1e8b splash screen content update 2021-10-26 12:55:02 -07:00
Craig Dunn 33301ff828 add splash-screen instructions 2021-10-26 12:55:02 -07:00
Craig Dunn 1573313b21 fix build warning 2021-10-26 12:55:02 -07:00
Craig Dunn dd2f3dea07 [foldingvideopluschat] splash screen 2021-10-26 12:55:02 -07:00
Craig Dunn 9225a74809 [foldingvideo] splash screen 2021-10-26 12:55:02 -07:00
Craig Dunn 48020ab950 [ebook] splash screen 2021-10-26 12:55:02 -07:00
Craig Dunn de9ec7b497 [twonote] splash screen 2021-10-26 12:55:02 -07:00
Craig Dunn b02b47f517 [sourceeditor] fix klint 2021-10-26 12:55:02 -07:00
Craig Dunn 3b9a496690 [photoeditor] splash screen 2021-10-26 12:55:02 -07:00
Craig Dunn 058387c0de update to an icon+text splash screen layout (with screenshots) 2021-10-26 12:55:02 -07:00
Craig Dunn 20d4de2a66 [sourceeditor] splash screen test 2021-10-26 12:55:02 -07:00
Kristen Halper 650b75cd55
Use inksdk for inking in TwoNote (#24)
* 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>
2021-10-06 13:55:29 -04:00
Craig Dunn 35e4a5c2b8
[TravelPlanner] add to build (#23)
* [TravelPlanner] add to build

* [TravelPlanner] fix build warnings

TODO: test optionsMenu still works

* [TravelPlanner] fix build warnings
2021-09-13 10:04:25 -07:00
Craig Dunn 453a3bd29f
[ebook] rename folder (#22) 2021-09-02 15:10:08 -07:00
Craig Dunn 978cc81934
[TravelPlanner] initial commit (#21)
* [TravelPlanner] initial commit

* [TravelPlanner] update SlidingPaneLayout to beta01

* [TravelPlanner] add readme and screenshot
2021-09-02 14:30:24 -07:00
Craig Dunn c0be45b89a
update to beta02 (#19)
* [ebook] update to WM beta02 / SPL beta01

* [twodo] update to WM beta02/ SPL beta01

* [sourceditor] update to WM beta02

* [photoeditor] update to WM beta02

* [foldingvideo] updates WM to beta02

* [twonote] update to WM beta02
2021-09-01 17:21:35 -07:00
Craig Dunn b02d957a81
[splash] better adapt to hinge width (#18)
* 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
2021-09-01 10:27:23 -07:00
Kristen Halper 28acaa47ab
Issue 16 (PhotoEditor) (#17)
* 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
2021-08-30 11:15:25 -07:00
Craig Dunn 96efe782c7
update to beta01 (#15)
* [SourceEditor] update to beta01

* [PhotoEditor] update to beta01

* [FoldingVideo] update to beta01

* [FoldingVideoPlusChat] update to beta01

* [TwoDo] update SlidingPaneLayout to alpha04

SPL alpha04 is compatible with window alpha10

* [eBookReader] update SlidingPaneLayout to alpha04

SPL alpha04 is compatible with window alpha10

* {TwoDo] fix build error android:exported="true"

* [eBookReader] update test dependencies

* [FoldingVideo] update test dependencies

* [TwoNote] update to beta01

* gradle updates

* cleanup

* remove commented gradle config

* remove commented gradle config
2021-08-25 12:11:47 -07:00
Parker Schroeder 69f74414df
Convert TwoNote to Window Manager (#12)
* 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>
2021-08-24 15:58:35 -07:00
raymondliu2022 69c0f35c71
Adding eBook Sample to repository CI pipeline (#10)
* Added project to pipeline, pushing to test. Some linter changes

* Added missing gradle script files

* Added ktlint, fixed gitignore, and added wrapper jar

* Linting fixes

* More linter fixes

* Last Linting fixes

* Slight linting fixes after merge
2021-08-18 12:39:20 +02:00
Craig Dunn a86bc9fff0
[all] update Window Manager to alpha10 (#13)
* update Window Manager to alpha10

SlidingPaneLayout package depends on alpha09, so using SNAPSHOT temporarily

* update SlidingPaneLayout

* update TwoDo to alpha10

* remove unused usings

* update SourceEditor to alpha10

* update PhotoEditor to alpha10

* optimize imports

* code cleanup

* update FoldingVideo to alpha10

* update FoldingVideoWithChat to alpha10
2021-08-12 10:32:43 -07:00
Craig Dunn 475a0a427b update screenshots 2021-07-29 21:50:04 -07:00
Parker Schroeder c59c5f34d3
Convert PhotoEditor to Window Manager (#11)
* 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 :)
2021-07-29 11:42:44 -07:00
Hersh Vakharia dec91d0659
TwoDo - dual screen todo list app (#8)
* added twodo

* update .gitignore

* renamed package

* Cleaned up gradle dependencies

* refactored directory structure to match package name

* code cleanup, viewbindings

* Update build_test_check.yml

* Added gradle-wrapper.jar

Co-authored-by: Craig Dunn <craig.dunn@microsoft.com>
2021-07-28 15:51:02 -07:00
Parker Schroeder 997fba4f0f
Convert SourceEditor to Window Manager (#5)
* 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>
2021-07-27 14:59:25 -07:00
raymondliu2022 c9d47df612
Updated screenshot (#7) 2021-07-22 12:57:49 -07:00
raymondliu2022 99191ffe25
Ebook reader sample (#3)
* Initial Commit

* renamed root

* Licensing Headers

* README and code commenting

* Fix README links

* Bug fix for app resuming

* Addressing comments from reviews

* Removing some books

* Removed even more books :(

* Removing mentions of Project G
2021-07-22 11:29:24 -07:00
Cesar Valiente c412bc775c
Build pipeline setup (#4)
* 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
2021-07-09 00:41:35 +02:00
raymondliu2022 20c26a9f6a
Video + chat sample (#2)
* Create .gitignore

* Initial commit

* Code reorganize. Added a basic README

* README and licensing stuff

* Renamed root directory

* Update README.md

* Fix README links
2021-07-01 10:57:03 -07:00
Hersh Vakharia 8643abafbf
FoldingVideo sample app (#1)
* initial commit

* Fixed image extensions

* more detailed readme, improved images

* Added license to kt and xml files

* Made app background black, updated images
2021-07-01 10:55:55 -07:00
Craig Dunn 9a40fae450 update README and SUPPORT 2021-06-22 13:38:19 -07:00
Microsoft Open Source 244d9563a2 LICENSE committed 2021-06-22 13:13:27 -07:00
Microsoft Open Source b751432a8a SUPPORT.md committed 2021-06-22 13:13:26 -07:00
Microsoft Open Source cee92fa5a5 SECURITY.md committed 2021-06-22 13:13:25 -07:00
Microsoft Open Source feabf2357e README.md committed 2021-06-22 13:13:25 -07:00
Microsoft Open Source af7366ce8e CODE_OF_CONDUCT.md committed 2021-06-22 13:13:24 -07:00
microsoft-github-operations[bot] 2285de295f
Initial commit 2021-06-22 20:13:21 +00:00