Git Product home page Git Product logo

animatordurationtile's People

Contributors

keyboardsurfer avatar nickbutcher 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  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

animatordurationtile's Issues

Bug: showing the dialog can crash the app

I got this exception :

10-23 13:09:45.316 28525-28525/uk.co.nickbutcher.animatordurationtile E/AndroidRuntime: FATAL EXCEPTION: main
Process: uk.co.nickbutcher.animatordurationtile, PID: 28525
android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@53b0d53 is not valid; is your activity running?
at android.view.ViewRootImpl.setView(ViewRootImpl.java:678)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:342)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:93)
at android.app.Dialog.show(Dialog.java:316)
at android.service.quicksettings.TileService.showDialog(TileService.java:232)
at uk.co.nickbutcher.animatordurationtile.SelectAnimatorDuration$1.run(SelectAnimatorDuration.java:69)
at android.service.quicksettings.TileService$H.handleMessage(TileService.java:401)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6077)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)

It's a bit rare, but it happens.

Question: which features do the tiles have?

Do we have those features:

  1. Single click I know you have, but do you also have long click?I've noticed that long clicking on the tile will actually show the app info screen. Is there a way to change this?
  2. , double click?
  3. animation between states?
  4. ability to put dynamic image (for example for a compass to show the north every second or so)?
  5. Ability to add more tiles as the user wishes (and only one service for all) ...

Window animation scale and Transition animation scale

Would either of these be reasonable to add to this project? I must still go and manually disable these two scales when doing certain espresso tests, and as they are directly next to the Animator duration scale it defeats the purpose of providing quick access.

Feature: "Don't keep activities" Quick Settings Tile

Thanks for the great work on this quick settings tile @nickbutcher. Will save a lot of settings navigation for my testing :) I was thinking of creating something similar for the "don't keep activities"-setting.
Would you be interested in extending your current "app" with such a feature (meaning I'd PR the new feature into this repo) or would you recommend to fork and/or create a new repo targeted solely at the "don't keep activities" setting?

Consider using tile long-press for popping duration dialog.

By specifying the action android.service.quicksettings.action.QS_TILE_PREFERENCES in an activity <intent-filter>, long-pressing on tiles from that app will launch that activity. In this case, that could be an invisible activity that hosts a dialog (or just is itself themed like a dialog) which allows the granular configuring of the duration. This should obviate the need for two separate tiles.

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.