History log of /frameworks/support/car/src/main/java/androidx/car/moderator/ContentRateLimiter.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a69391c0e387422698abe643a1bf05142acf6359 17-May-2018 Anthony Chen <ajchen@google.com> Hook up the CarConfigurationManager.

Remove the usage of the CarUxRestrictionsHelper and instead, connect to
the Car directly within SpeedBumpController. This allows two managers to
be retreived without the need for an interface.

Fixes: 79999780
Test: boot on sample app and test
Change-Id: I4601f3068562497d966fbfd0c1d5e997d8fd4064
/frameworks/support/car/src/main/java/androidx/car/moderator/ContentRateLimiter.java
848c0b37ff4505299655447f6e50e09fcf2d5948 26-Apr-2018 Anthony Chen <ajchen@google.com> Migrate floats to doubles.

Currently, no need for the micro-optimization of floats. The usage of
floats make things difficult for future libraries as well, such as if
you want to store values into a JSON file or any other file.

Instead, just use doubles.

Change-Id: I8f2d1cddbb2c2572543259fadc3101447ff43118
Fixes: 78592859
Test: ./gradlew car:connectedCheck
/frameworks/support/car/src/main/java/androidx/car/moderator/ContentRateLimiter.java
ac5fe7c617c66850fff75a9fce9979c6e5674b0f 06-Mar-2018 Aurimas Liutikas <aurimas@google.com> Refactor support library

Test: None
Change-Id: I92e450c739fc9d77e8f8840bed4165ab88247fd6
/frameworks/support/car/src/main/java/androidx/car/moderator/ContentRateLimiter.java
f27b1ffc67228d73326ec3426fef4c9db75cd6fd 06-Mar-2018 Aurimas Liutikas <aurimas@google.com> Revert "Refactor support library."

This reverts commit b31c3281d870e9abb673db239234d580dcc4feff.

Change-Id: Icfa5b9af633739ad2c857dff22a2181bac6661ef
/frameworks/support/car/src/main/java/androidx/car/moderator/ContentRateLimiter.java
b31c3281d870e9abb673db239234d580dcc4feff 20-Feb-2018 Aurimas Liutikas <aurimas@google.com> Refactor support library.

Test: None
Change-Id: I11a047324832801555673dac45ec1d6590a6338b
/frameworks/support/car/src/main/java/androidx/car/moderator/ContentRateLimiter.java
b6ea9180650d7b9378fe96cde79028e5aa209524 11-Jan-2018 Anthony Chen <ajchen@google.com> Implement a speed bump view.

This view is meant as a wrapper for any content that a developer wishes
to monitor taps over. It will monitor for a set number of taps within a
given frame of time. If that value is passed over, then further
interaction is locked out.

By default, speed bump wraps the drawer and content views.

The values for maximum number of taps is also hardcoded right now. This
will be changed in the future once a system wide configuration mechanism
is implemented.

Test: Test on sample app and unit tests.
Fixes: 70338632
Change-Id: Ib2b78ed2d72ef081792acdc91b595c658d47c48e
/frameworks/support/car/src/main/java/androidx/car/moderator/ContentRateLimiter.java