Initial commit of our new Android app to demo Skia.
authorliyuqian <liyuqian@google.com>
Mon, 9 May 2016 15:49:29 +0000 (08:49 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 9 May 2016 15:49:29 +0000 (08:49 -0700)
commit796c5bb4655a511553970e111c96d90963fb9ae4
treec6ac0daf5a9a1756ddc55ec09728b2c0d3b31b29
parent5a493cdbeca87f85e2b08914c176c29d914083d9
Initial commit of our new Android app to demo Skia.

Currently, there's only a simple Activity with a title bar and a surface view
that connects with Skia viewer native application.

Before integrating user action events, I want to make sure that the design and
implementation so far are good.  Note that the old NativeApplication-based
Activity (ViewerActivity) is still there for reference and test purposes. It
will be removed eventually.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1952323004

Review-Url: https://codereview.chromium.org/1952323004
platform_tools/android/apps/viewer/src/main/AndroidManifest.xml
platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/ViewerActivity.java
platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/ViewerApplication.java [new file with mode: 0644]
platform_tools/android/apps/viewer/src/main/res/layout/activity_main.xml [new file with mode: 0644]
tools/viewer/sk_app/VulkanWindowContext.h
tools/viewer/sk_app/android/Window_android.cpp
tools/viewer/sk_app/android/Window_android.h
tools/viewer/sk_app/android/surface_glue_android.cpp [new file with mode: 0644]
tools/viewer/sk_app/android/surface_glue_android.h [new file with mode: 0644]