aboutsummaryrefslogtreecommitdiffhomepage
path: root/platform_tools/android/apps
Commit message (Collapse)AuthorAge
* SkAR Java: minor refactoring to TapHelper (now GestureHelper)Gravatar ziadb2018-07-27
| | | | | | | Bug: skia: Change-Id: I1983c6cb1727e86fec91a0c9a5706f26070b1b49 Reviewed-on: https://skia-review.googlesource.com/144021 Reviewed-by: Mike Reed <reed@google.com>
* SkAR Java: refactoring main app class & finger painting classGravatar ziadb2018-07-27
| | | | | | | | | | | Main things to look at: 1) onDrawFrame changes + moving many functions as separate helpers 2) SkARFingerPainting changes (name should change too) Bug: skia: Change-Id: I5068ce6c416a2f5d6c6c389cd63d08d5350e83e6 Reviewed-on: https://skia-review.googlesource.com/143701 Reviewed-by: Mike Reed <reed@google.com>
* SkAR Java: refactored project structureGravatar ziadb2018-07-26
| | | | | | | | | | 1) Changed file paths 2) Added helpers that were missing previously Bug: skia: Change-Id: Idb4194fcef815a23277a17670acf46255a47451d Reviewed-on: https://skia-review.googlesource.com/143680 Reviewed-by: Mike Reed <reed@google.com>
* SkAR Java: changes to DrawManager/FingerPaintingGravatar ziadb2018-07-26
| | | | | | | Bug: skia: Change-Id: I609fa91f89ec0cc011046d2f20716efd9b44d4da Reviewed-on: https://skia-review.googlesource.com/143643 Reviewed-by: Mike Reed <reed@google.com>
* SkAR Java: refactored SkARUtil (now PaintUtil)Gravatar ziadb2018-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SkAR Java: refactored SkARMatrix.java Merge branch 'master' of https://skia.googlesource.com/skia into skar-java SkAR Java: better UI for finger painting Merge branch 'master' of https://skia.googlesource.com/skia into skar-java SkAR Java: smooth finger painting, planes draw with outlines SkAR Java: better finger painting. Cleaner UI FREEZE.unindexed SkAR Java: drawing planes as paths Bug: skia: Change-Id: I56a26b358f1c5903fafe20cacf221c6eb6585c4b Reviewed-on: https://skia-review.googlesource.com/143541 Reviewed-by: Ziad Ben Hadj-Alouane <ziadb@google.com>
* SkAR Java: refactored SkARMatrix.java (now CanvasMatrixUtil.java)Gravatar ziadb2018-07-26
| | | | | | | Bug: skia: Change-Id: I57ff2f723b2445270246c96ee35e9669e2b21954 Reviewed-on: https://skia-review.googlesource.com/143503 Reviewed-by: Mike Reed <reed@google.com>
* SkAR Java: better UI for finger paintingGravatar ziadb2018-07-26
| | | | | | | | | | | | | | | | | | | | | Merge branch 'master' of https://skia.googlesource.com/skia into skar-java SkAR Java: smooth finger painting, planes draw with outlines SkAR Java: better finger painting. Cleaner UI FREEZE.unindexed SkAR Java: drawing planes as paths Bug: skia: Change-Id: If138d1d840c013848b1482830713affa5b5d815b Reviewed-on: https://skia-review.googlesource.com/143502 Reviewed-by: Mike Reed <reed@google.com>
* SkAR Java: smooth finger painting, planes draw with outlinesGravatar ziadb2018-07-26
| | | | | | | Bug: skia: Change-Id: I0e6f3c00f030f7a03c3829cd4ff22ac7459dc132 Reviewed-on: https://skia-review.googlesource.com/142685 Reviewed-by: Mike Reed <reed@google.com>
* SkAR Java: better finger painting. Cleaner UIGravatar ziadb2018-07-20
| | | | | | | Bug: skia: Change-Id: If3b595982deb42326213f2feffdddcaa46a5d8ff Reviewed-on: https://skia-review.googlesource.com/142506 Reviewed-by: Mike Reed <reed@google.com>
* SkAR-Java: finger painting first implementationGravatar ziadb2018-07-18
| | | | | | | | | | | | SkAR Java: drawing planes as paths FREEZE.unindexed Bug: skia: Change-Id: I2a7a8534fc1c35c4b8d6054bc1d6e682ffabc47a Reviewed-on: https://skia-review.googlesource.com/141827 Reviewed-by: Mike Reed <reed@google.com>
* SkAR Java: drawing planes as pathsGravatar ziadb2018-07-17
| | | | | | | | | FREEZE.unindexed Bug: skia: Change-Id: Ifcb73345d7073f13bf027d79fd90bf3fbff73e5b Reviewed-on: https://skia-review.googlesource.com/141229 Reviewed-by: Mike Reed <reed@google.com>
* SkAR Java: Animation supportGravatar ziadb2018-07-13
| | | | | | | Bug: skia: Change-Id: Ia43ccd7d9969e5167e6cd6f561b2d6d604e700a1 Reviewed-on: https://skia-review.googlesource.com/141100 Reviewed-by: Mike Reed <reed@google.com>
* Drawing point cloud + planes on CanvasGravatar ziadb2018-07-12
| | | | | | | | | Java-only version of SkAR: drawing on android Canvas Bug: skia: Change-Id: I76285aa85c7523ad9ae213d32a159b671d8aa30f Reviewed-on: https://skia-review.googlesource.com/141048 Reviewed-by: Mike Reed <reed@google.com>
* SkArCamera* filesGravatar ziadb2018-07-12
| | | | | | | | Bug: skia: Change-Id: I711143c53bf66ebc8130b2401738da3cde644fbe Reviewed-on: https://skia-review.googlesource.com/140560 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
* Java-only version of SkAR: drawing on android CanvasGravatar ziadb2018-07-12
| | | | | | | Bug: skia: Change-Id: I3b85fac93a2854d1575f71554e2a7da66e8a6a6f Reviewed-on: https://skia-review.googlesource.com/138920 Reviewed-by: Mike Reed <reed@google.com>
* SkAR: drawing text, shapes, rotation modes enabled, translating objectsGravatar ziadb2018-06-19
| | | | | | | | | | | | | | To run this app, you need to create an out directory as such: bin/gn gen out/arm64 --args='ndk="NDK_PATH" target_cpu="ABI"' For now, the only supported ABI is arm64 Change-Id: I012f0c6a0550d80a0028f42177d5ca72974d848d Bug: skia: Reviewed-on: https://skia-review.googlesource.com/130980 Reviewed-by: Mike Reed <reed@google.com> Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: Ziad Ben Hadj-Alouane <ziadb@google.com>
* Revert "Added support for visual debugging on Android Studio"Gravatar Hal Canary2018-06-01
| | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 222c9cfd1b3f50d21d4a1f93b0b52dd4973fe1b5. Reason for revert: Breaks documented workflow. Original change's description: > Added support for visual debugging on Android Studio > > Change-Id: Icaf848c31167db10d6fbb13d74c7287b03628fb6 > Bug: skia: > Reviewed-on: https://skia-review.googlesource.com/130144 > Reviewed-by: Derek Sollenberger <djsollen@google.com> TBR=djsollen@google.com,mtklein@google.com,bsalomon@google.com,halcanary@google.com,bungeman@google.com,ziadb@google.com Change-Id: I6e7ac2d16d9a0f267d75cd202fd4975be36da4f5 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: skia: Reviewed-on: https://skia-review.googlesource.com/131601 Reviewed-by: Hal Canary <halcanary@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
* Added support for visual debugging on Android StudioGravatar ziadb2018-06-01
| | | | | | | Change-Id: Icaf848c31167db10d6fbb13d74c7287b03628fb6 Bug: skia: Reviewed-on: https://skia-review.googlesource.com/130144 Reviewed-by: Derek Sollenberger <djsollen@google.com>
* Remove "/" from the generated jUnit method names.Gravatar Derek Sollenberger2018-05-23
| | | | | | | | | | | | The "/" character is not a valid character for method names in the CTS testing environment and is causing problems with some of the tooling so we are replacing the "/" with "_". Bug: b/80096930 Change-Id: Icdf790b0975f7c4205153887ffabaaaa85f07592 Reviewed-on: https://skia-review.googlesource.com/129581 Reviewed-by: Stephan Altmueller <stephana@google.com> Commit-Queue: Derek Sollenberger <djsollen@google.com>
* [viewer] Avoid per-frame json UI updatesGravatar Florin Malita2018-05-07
| | | | | | | | | | | | | | | | | | | The reason we push Json updates for every frame is to support the Android FPS meter - which happens to require the native FPS meter for updates. Instead of supporting two meters: 1) scale up the native FPS widget on Android (1.5x) 2) remove the Android widget 3) stop calling updateUIState() from onPaint() Change-Id: Ica8109869035b2f885743a7e38b50688b69fa5e4 Reviewed-on: https://skia-review.googlesource.com/126621 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Florin Malita <fmalita@chromium.org>
* Viewer/Amdroid: universal build, resources in APKGravatar Hal Canary2018-03-06
| | | | | | | | Change-Id: I57dda6e3329dbee720333b6e92142fce28f8dbd3 Reviewed-on: https://skia-review.googlesource.com/111940 Commit-Queue: Hal Canary <halcanary@google.com> Reviewed-by: Florin Malita <fmalita@chromium.org> Reviewed-by: Yuqian Li <liyuqian@google.com>
* SkQP: do test filtering correctlyGravatar Hal Canary2018-02-23
| | | | | | | | | | PLEASE NOTE: Instructions for running a single test have changed! No-Try: true Change-Id: I1923240e879daa7ff0556737ddd5aa3f58e0097c Reviewed-on: https://skia-review.googlesource.com/109566 Commit-Queue: Hal Canary <halcanary@google.com> Reviewed-by: Derek Sollenberger <djsollen@google.com>
* SkQP: run a single testGravatar Hal Canary2018-02-21
| | | | | | | | | | | | | | PLEASE NOTE: Instructions on running `am instrument` for the SkQP APK have changed. To run a single test, see the section "Running a single test" in `tools/skqp/README.md`. No-Try: true Change-Id: I0a2cbc47755929d6c6a927a3591ff98046779c77 Reviewed-on: https://skia-review.googlesource.com/108780 Reviewed-by: Derek Sollenberger <djsollen@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
* Android Tools: build x86_64 correctly.Gravatar Hal Canary2018-02-09
| | | | | | | | | | | | | | - Fix some naming confusion between `x64` and `x86-64`. - SkQP Universal (multi-arch apk) Build Script [tools/skqp/make_universal_apk] - skqp/build.gradle: add `universal` product flavor - skqp manifest: make debug build optional. No-Try: true Change-Id: Ic8cd88719a34786ab2d53771749b2beb9db98be5 Reviewed-on: https://skia-review.googlesource.com/105023 Commit-Queue: Hal Canary <halcanary@google.com> Reviewed-by: Stephan Altmueller <stephana@google.com>
* Remove ConstraintLayout from skqp appGravatar Stephan Altmueller2018-02-06
| | | | | | | | | Bug: skia: Change-Id: I25ca750c3baa8176b01d3b642a7cdbe67686dd77 Reviewed-on: https://skia-review.googlesource.com/103440 Reviewed-by: Hal Canary <halcanary@google.com> Reviewed-by: Derek Sollenberger <djsollen@google.com> Commit-Queue: Stephan Altmueller <stephana@google.com>
* SkQP: report formatting, junit classnameGravatar Hal Canary2018-01-31
| | | | | | | | Change-Id: Ibc5b55c98242c50b62b16134e0a504c04a458f6c Reviewed-on: https://skia-review.googlesource.com/102320 Reviewed-by: Hal Canary <halcanary@google.com> Reviewed-by: Derek Sollenberger <djsollen@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
* SkQP: More logging details.Gravatar Hal Canary2018-01-30
| | | | | | | Change-Id: I77936dcfc052f5ee15bc078020179e2eff1ba0e5 Reviewed-on: https://skia-review.googlesource.com/101742 Reviewed-by: Hal Canary <halcanary@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
* SkQP: ResourceFactoryGravatar Hal Canary2018-01-29
| | | | | | | Change-Id: Ic57a86ec115e3ace52615c0b8e9a22a915988850 Reviewed-on: https://skia-review.googlesource.com/101320 Reviewed-by: Derek Sollenberger <djsollen@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
* SkQP: re-enable workarounds for unit tests. Also, more loggingGravatar Hal Canary2018-01-26
| | | | | | | Change-Id: I74de5477c3cc9a034553363ac525d8f264478153 Reviewed-on: https://skia-review.googlesource.com/99862 Reviewed-by: Hal Canary <halcanary@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
* SkQP: Cloud ScriptsGravatar Hal Canary2018-01-23
| | | | | | | | | | | | | | | | | | - tools/skqp/generate_gn_args.sh - single script to generate configuration used to build SkQP. - tools/skqp/make_model.sh - script to execute make_gmkb.go and put the results in the correct place. - tools/skqp/{up,down}load_directory_contents.sh - scripts to move large assets into the cloud and retrieve them. - tools/skqp/gm_runner.cpp - treat missing text files as empty. - tools/skqp/make_apk.sh - make use of generate_gn_args.sh. - tools/skqp/make_{model,known_tests}.sh - better error handling, and also stop calling `git add`. Change-Id: Ib1803b4d68e63945f2c47f8eb6cb96375d24e3be Reviewed-on: https://skia-review.googlesource.com/98842 Reviewed-by: Hal Canary <halcanary@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
* SkQP: replace blacklist with: DoNotExecuteInExperimentalMode and ↵Gravatar Hal Canary2018-01-22
| | | | | | | | | | | NoScoreInCompatibilityTestMode Also clean up some things, fix docs, whitelist. Change-Id: I2818d973978ffe1b8ce0cc9c69f8d91ab4a0ef22 Reviewed-on: https://skia-review.googlesource.com/91805 Reviewed-by: Hal Canary <halcanary@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
* SkQP: better loggingGravatar Hal Canary2018-01-19
| | | | | | | Change-Id: If0b093cfe646f5805cc4d0660c581150fbf992f4 Reviewed-on: https://skia-review.googlesource.com/96702 Commit-Queue: Hal Canary <halcanary@google.com> Reviewed-by: Stephan Altmueller <stephana@google.com>
* SkQP: fix broken JUnit tests & report outputGravatar Hal Canary2018-01-18
| | | | | | | | | Switches over to writing output to the sd card. Change-Id: Ic287a741b9af471f823a7e97eb0c6d3d20f639d6 Reviewed-on: https://skia-review.googlesource.com/96380 Commit-Queue: Hal Canary <halcanary@google.com> Reviewed-by: Stephan Altmueller <stephana@google.com>
* Fix directory creation in skqp appGravatar Stephan Altmueller2018-01-16
| | | | | | | | Bug: skia: Change-Id: Id26832ccce7d09d3d3d640bcdd11a424f18943f7 Reviewed-on: https://skia-review.googlesource.com/92682 Reviewed-by: Hal Canary <halcanary@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
* First version of SkQP app to run on Firebase TestlabGravatar Stephan Altmueller2018-01-08
| | | | | | | | | | | | | | | | | | Adds activities to the skqp app so it can run as an Android app (as opposed to just instrumentation tests). A user can trigger the tests via a button. Adds the an intent receiver so the tests can be triggered on Firebase Testlab via the gameloop option. It adds the run_testlab.go script to run an apk across devices on Firebase Testlab. Bug: skia: Change-Id: I3ff5c37d743fa47913a916a0fa1e7db3c2cc79c7 Reviewed-on: https://skia-review.googlesource.com/89163 Commit-Queue: Stephan Altmueller <stephana@google.com> Reviewed-by: Kevin Lubick <kjlubick@google.com> Reviewed-by: Derek Sollenberger <djsollen@google.com>
* SkQP: better error report workflowGravatar Hal Canary2017-12-20
| | | | | | | | | | | | * Generate report in app after running all tests. * Add script to unpack backup.ab file. * Remove unused index file. * Streamline instructions in README.md. Change-Id: I44c80b17332eb4496ee31578287b691bd646d71a Reviewed-on: https://skia-review.googlesource.com/86742 Commit-Queue: Hal Canary <halcanary@google.com> Reviewed-by: Hal Canary <halcanary@google.com>
* SkQP: add junit appGravatar Hal Canary2017-12-18
| | | | | | | Change-Id: Ic32eaec6cce1509f07e7cf610717d3b12d335c89 Reviewed-on: https://skia-review.googlesource.com/83921 Reviewed-by: Hal Canary <halcanary@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
* apps/build.gradle: skiaOut is now absolute since a2e7f5ae10Gravatar Hal Canary2017-12-11
| | | | | | | Change-Id: I27df422a78209d60647db89a608fc31f9739a429 Reviewed-on: https://skia-review.googlesource.com/83361 Reviewed-by: Derek Sollenberger <djsollen@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
* remove mips support and botsGravatar Mike Klein2017-12-05
| | | | | | | | | | | The NDK has deprecated mips and mips64: https://developer.android.com/ndk/guides/abis.html Might as well clean this up now while I remember. Change-Id: Ie4b2334c75208082067cc16fe355d0349c7e0904 Reviewed-on: https://skia-review.googlesource.com/80560 Reviewed-by: Derek Sollenberger <djsollen@google.com>
* One-liner fix that allows Viewer to switch between Raster and OpenGLGravatar Chet Haase2017-02-23
| | | | | | | | | | | | | | A previous change to Viewer removed a key setTag() call that meant that the logic to replace the SurfaceView on a toggle between OpenGL/Raster was not able to execute, making the app useless after that toggle was performed. BUG=skia: Change-Id: Idddb7612209ce83d3461155c59f451407118e1d5 Reviewed-on: https://skia-review.googlesource.com/8789 Reviewed-by: Chris Dalton <csmartdalton@google.com> Commit-Queue: Chet Haase <chet@google.com>
* Avoid constant view inflation on viewer sample appGravatar Chet Haase2017-02-15
| | | | | | | | | | | | | | | | | | | The previous approach re-inflated views on every frame simply because the FPS number changed (which was passed in a JSON object and used to check whether the old view matched the new one based on a tag on the view that was set by the previous FPS string). The new approach is not pretty (there's no reason to even re-populate the views when the only thing that needs to happen is to set the appropriate FPS info in the floating TextView), but at least this avoids the inflation overhead of the previous approach. BUG=skia: Change-Id: Ide1c736c49663cfcf478653a7cdaa99c736f1783 Reviewed-on: https://skia-review.googlesource.com/8461 Reviewed-by: Derek Sollenberger <djsollen@google.com> Commit-Queue: Chet Haase <chet@google.com>
* Updates to viewer gradle scriptsGravatar Greg Daniel2017-02-09
| | | | | | | | BUG=skia: Change-Id: Ib847e5ae89d2ac3f496507f69f82f5bac4914f36 Reviewed-on: https://skia-review.googlesource.com/8133 Reviewed-by: Chris Dalton <csmartdalton@google.com>
* Add a script and documentation for building the Viewer APK.Gravatar Derek Sollenberger2017-01-06
| | | | | | | | | | | BUG=skia:6009 DOCS_PREVIEW= https://skia.org/?cl=6660 Change-Id: Ibcf0d1e7f3519e703bc74f0329d0ac92110e70ec Reviewed-on: https://skia-review.googlesource.com/6660 Commit-Queue: Derek Sollenberger <djsollen@google.com> Reviewed-by: Mike Klein <mtklein@chromium.org>
* Update Android Apps to work with GN.Gravatar Derek Sollenberger2017-01-04
| | | | | | | | | | | | This also includes the removal of an old example whose instructions are not compatible with GN. BUG=skia:6009 Change-Id: I2807829ca12c19292ae0f5a7ea250ed453f9a182 Reviewed-on: https://skia-review.googlesource.com/5620 Commit-Queue: Derek Sollenberger <djsollen@google.com> Reviewed-by: Mike Klein <mtklein@chromium.org>
* bench, samples, etc: s/SkAutoTUnref/sk_sp/Gravatar Hal Canary2016-11-07
| | | | | | | | | GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4437 Change-Id: Ice071684ac8a99e4bb405b4b9be8e8f42c7bac42 Reviewed-on: https://skia-review.googlesource.com/4437 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
* Cleanup use of legacy SkSurface creation methods a bitGravatar robertphillips2016-08-23
| | | | | | | | | This CL cleans up some remaining uses of the old API GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2223023002 Committed: https://skia.googlesource.com/skia/+/f21cd16228c20927fa4e9b937d6951471cfaa37a Review-Url: https://codereview.chromium.org/2223023002
* Remove vulkan from most build variantsGravatar liyuqian2016-08-22
| | | | | | | | | | | Since many devices don't support vulkan, we have to remove it for most build variants and only turn it on manually by selecting arm64vulkan build variant. BUG=skia:5516 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2255973003 Review-Url: https://codereview.chromium.org/2255973003
* Revert of Cleanup use of legacy SkSurface creation methods a bit (patchset ↵Gravatar robertphillips2016-08-08
| | | | | | | | | | | | | | | | | | | | | | | | | | #2 id:20001 of https://codereview.chromium.org/2223023002/ ) Reason for revert: webkit_headless! Original issue's description: > Cleanup use of legacy SkSurface creation methods a bit > > This: > removes the SK_SUPPORT_LEGACY_NEW_SURFACE_API flag from the bzl build > cleans up some remaining uses of the old API > > GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2223023002 > > Committed: https://skia.googlesource.com/skia/+/f21cd16228c20927fa4e9b937d6951471cfaa37a TBR=benjaminwagner@google.com,egdaniel@google.com # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review-Url: https://codereview.chromium.org/2220933004
* Cleanup use of legacy SkSurface creation methods a bitGravatar robertphillips2016-08-08
| | | | | | | | | | This: removes the SK_SUPPORT_LEGACY_NEW_SURFACE_API flag from the bzl build cleans up some remaining uses of the old API GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2223023002 Review-Url: https://codereview.chromium.org/2223023002
* More accurate render time and continuous freshGravatar liyuqian2016-07-06
| | | | | | | BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2129613002 Review-Url: https://codereview.chromium.org/2129613002