Giter Club home page Giter Club logo

sample-wake-me-up's Introduction

Wake Me Up

Wake Me Up is a sample app showcased in the Google I/O 2021 Developer Keynote that demonstrates interoperability between Jetpack Compose and the Android UI Toolkit, including fragments, SurfaceView, and more.

How to build

To build this demo, you must first download a copy of Filament for your operating system. Make sure to select a release that matches the version listed in build.gradle. The current release to use is 1.12.8.

After downloading the release, extract it and copy the binary called matc (Linux and macOS) or matc.exe (Windows) into this project's ./filament/bin. This binary is necessary to compile the shaders used by this demo.

Screenshots

Main Screen Alarms Screen

License

All photos licensed under CC0 and available on Flickr.

Licensed under MIT License. Please see LICENSE for more information.

sample-wake-me-up's People

Contributors

djnotes avatar nuhkoca avatar romainguy avatar simonmarquis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sample-wake-me-up's Issues

Images aren't displaying

Hi there,

I'm using the matc from 1.12.8. I've also tried bumping up the filament version and I am still not seeing images.

image

Logs:

2022-01-20 06:30:42.558 24067-24067/? I/xample.wakemeu: Late-enabling -Xcheck:jni
2022-01-20 06:30:42.583 24067-24067/? D/ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
2022-01-20 06:30:42.618 24067-24067/? W/re-initialized>: type=1400 audit(0.0:960): avc: granted { execute } for path="/data/data/com.example.wakemeup/code_cache/startup_agents/7db9b549-agent.so" dev="dm-12" ino=44130 scontext=u:r:untrusted_app:s0:c116,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c116,c257,c512,c768 tclass=file app=com.example.wakemeup
2022-01-20 06:30:42.625 24067-24067/? V/studio.deploy: Startup agent attached to VM
2022-01-20 06:30:42.625 24067-24067/? V/studio.deploy: No existing instrumentation found. Loading instrumentation from instruments-4ba6a5a0.jar
2022-01-20 06:30:42.631 24067-24067/? W/xample.wakemeu: DexFile /data/data/com.example.wakemeup/code_cache/.studio/instruments-4ba6a5a0.jar is in boot class path but is not in a known location
2022-01-20 06:30:42.794 24067-24067/? V/studio.deploy: ModifyParameterTransform failed: Landroid/app/ApplicationLoaders;
2022-01-20 06:30:42.795 24067-24067/? W/xample.wakemeu: Current dex file has more than one class in it. Calling RetransformClasses on this class might fail if no transformations are applied to it!
2022-01-20 06:30:42.879 24067-24067/? W/xample.wakemeu: Current dex file has more than one class in it. Calling RetransformClasses on this class might fail if no transformations are applied to it!
2022-01-20 06:30:42.880 24067-24067/? W/xample.wakemeu: Redefining intrinsic method java.lang.Thread java.lang.Thread.currentThread(). This may cause the unexpected use of the original definition of java.lang.Thread java.lang.Thread.currentThread()in methods that have already been compiled.
2022-01-20 06:30:42.880 24067-24067/? W/xample.wakemeu: Redefining intrinsic method boolean java.lang.Thread.interrupted(). This may cause the unexpected use of the original definition of boolean java.lang.Thread.interrupted()in methods that have already been compiled.
2022-01-20 06:30:42.898 24067-24067/? W/xample.wakemeu: Current dex file has more than one class in it. Calling RetransformClasses on this class might fail if no transformations are applied to it!
2022-01-20 06:30:43.062 24067-24067/? W/xample.wakemeu: Current dex file has more than one class in it. Calling RetransformClasses on this class might fail if no transformations are applied to it!
2022-01-20 06:30:43.244 24067-24067/com.example.wakemeup W/xample.wakemeu: Current dex file has more than one class in it. Calling RetransformClasses on this class might fail if no transformations are applied to it!
2022-01-20 06:30:43.248 24067-24067/com.example.wakemeup I/ActivityThread: Relaunch all activities: onCoreSettingsChange
2022-01-20 06:30:43.249 24067-24067/com.example.wakemeup D/CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10372; state: DISABLED
2022-01-20 06:30:43.360 24067-24067/com.example.wakemeup V/GraphicsEnvironment: ANGLE Developer option for 'com.example.wakemeup' set to: 'default'
2022-01-20 06:30:43.361 24067-24067/com.example.wakemeup V/GraphicsEnvironment: ANGLE GameManagerService for com.example.wakemeup: false
2022-01-20 06:30:43.361 24067-24067/com.example.wakemeup V/GraphicsEnvironment: Updatable production driver is not supported on the device.
2022-01-20 06:30:43.364 24067-24067/com.example.wakemeup D/NetworkSecurityConfig: No Network Security Config specified, using platform default
2022-01-20 06:30:43.365 24067-24067/com.example.wakemeup D/NetworkSecurityConfig: No Network Security Config specified, using platform default
2022-01-20 06:30:43.435 24067-24067/com.example.wakemeup E/xample.wakemeu: Invalid ID 0x00000000.
2022-01-20 06:30:43.488 24067-24067/com.example.wakemeup W/xample.wakemeu: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (unsupported, reflection, allowed)
2022-01-20 06:30:43.488 24067-24067/com.example.wakemeup W/xample.wakemeu: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (unsupported, reflection, allowed)
2022-01-20 06:30:43.729 24067-24094/com.example.wakemeup I/AdrenoGLES-0: QUALCOMM build                   : 85da404, I46ff5fc46f
    Build Date                       : 11/30/20
    OpenGL ES Shader Compiler Version: EV031.31.04.01
    Local Branch                     : promo490_3_Google
    Remote Branch                    : 
    Remote Branch                    : 
    Reconstruct Branch               : 
2022-01-20 06:30:43.729 24067-24094/com.example.wakemeup I/AdrenoGLES-0: Build Config                     : S P 10.0.4 AArch64
2022-01-20 06:30:43.729 24067-24094/com.example.wakemeup I/AdrenoGLES-0: Driver Path                      : /vendor/lib64/egl/libGLESv2_adreno.so
2022-01-20 06:30:43.729 24067-24094/com.example.wakemeup D/hw-ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
2022-01-20 06:30:43.733 24067-24094/com.example.wakemeup I/AdrenoGLES-0: PFP: 0x016ee190, ME: 0x00000000
2022-01-20 06:30:43.735 24067-24094/com.example.wakemeup W/AdrenoUtils: <ReadGpuID_from_sysfs:197>: Failed to open /sys/class/kgsl/kgsl-3d0/gpu_model
2022-01-20 06:30:43.735 24067-24094/com.example.wakemeup W/AdrenoUtils: <ReadGpuID:221>: Failed to read chip ID from gpu_model. Fallback to use the GSL path
2022-01-20 06:30:43.740 24067-24094/com.example.wakemeup D/hw-ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
2022-01-20 06:30:44.612 24067-24078/com.example.wakemeup W/System: A resource failed to call close. 

Sky graphic is visible when expanding/collapsing

If you have a clocks that are close enough together, you can see the sky rendering when you expand and collapse the view. I reproduced this on a physical Galaxy S8 (API 28) and a Pixel 5 (API 31) emulator.

sky-is-showing

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.