aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src/main/java/com/wireguard/android/widget (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Clean up error messagesSamuel Holland2018-12-151-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Localize exception messagesZachary Wander2018-12-111-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Remodel the ModelSamuel Holland2018-12-083-7/+9
| | | | | | | | | | | | | | - The configuration and crypto model is now entirely independent of Android classes other than Nullable and TextUtils. - Model classes are immutable and use builders that enforce the appropriate optional/required attributes. - The Android config proxies (for Parcelable and databinding) are moved to the Android side of the codebase, and are designed to be safe for two-way databinding. This allows proper observability in TunnelDetailFragment. - Various robustness fixes and documentation updates to helper classes. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Auto-format the source directoriesSamuel Holland2018-11-115-349/+343
| | | | | | Blame Jason for writing Java in vim. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: update copyright headersJason A. Donenfeld2018-09-0610-12/+10
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* MonkeyedSnackbar: removeJason A. Donenfeld2018-08-261-36/+0
| | | | | | This didn't actually help with much and caused problems. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* FloatingActionsMenu: don't wrap context on asus api 21Jason A. Donenfeld2018-07-301-2/+6
| | | | | | Works around frameworks bug. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Show different color for multiselectionJason A. Donenfeld2018-07-301-0/+57
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* MonkeyedSnackbar: fix typosJason A. Donenfeld2018-07-291-3/+6
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* MonkeyedSnackbar: work around Harsh's broken phoneJason A. Donenfeld2018-07-291-0/+33
| | | | | | | | I think I'd probably like to revert this, since presumably there's a good reason in the first place why the support lib disables animations when accessibility services are turned on? Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* FloatingActionButtonBehavior: animate transitionsJason A. Donenfeld2018-07-291-4/+32
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* FloatingActionButonBehavior: set translation back to 0 when snackbar diesJason A. Donenfeld2018-07-291-0/+7
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* FloatingActionBehaviour: Adjust constructorsHarsh Shandilya2018-07-261-2/+3
| | | | | | Get these in line with the parent class Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* FloatingActionsMenuRecyclerViewScrollListener: add final modifiersJason A. Donenfeld2018-07-221-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* treewide: Optimize importsHarsh Shandilya2018-07-221-2/+0
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* fab: move in direct ratio to scrollJason A. Donenfeld2018-07-204-45/+50
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* fab: make icons always whiteJason A. Donenfeld2018-07-201-1/+1
| | | | | | | | With the new shade of blue, perhaps this simply looks better. I don't like hard coding the color away from the theme, however. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* fab: use auto calculated fling thresholdJason A. Donenfeld2018-07-181-3/+8
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* fab: make fab respond to recyclerview scroll eventsHarsh Shandilya2018-07-181-0/+38
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* fab: slide fab up when a snackbar showsHarsh Shandilya2018-07-181-0/+32
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* global: Add nullity annotationsEric Kuck2018-07-137-47/+36
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Clean up warningsJason A. Donenfeld2018-07-112-1/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* fab: remove asus hackJason A. Donenfeld2018-07-111-3/+0
| | | | | | Let's hope Eric's changes make this no longer required. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* fab: use support library's renderingEric Kuck2018-07-115-599/+86
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* QuickTileService: automatically slash the tileJason A. Donenfeld2018-07-091-0/+236
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: move to Apache 2.0Jason A. Donenfeld2018-07-066-6/+6
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* android: FloatingActionsMenu: Don't create labels on ASUS' Android 5 devicesHarsh Shandilya2018-06-301-0/+3
| | | | | | | | They have completely wrecked the framework there and all efforts to work around their absolutely broken software have been in vain, hence let's atleast let users be able to use the app, labels or otherwise. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* global: Small cleanupsJason A. Donenfeld2018-06-252-5/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* treewide: Optimize importsHarsh Shandilya2018-06-231-3/+16
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* fab: properly get theme colorJason A. Donenfeld2018-06-051-8/+7
| | | | | | | Harsh changed this before, but my original way is what the support library does internally. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* fab: Remove useless overrideHarsh Shandilya2018-06-051-5/+0
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* fab: Use themed context to set styleHarsh Shandilya2018-06-051-1/+1
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* FloatingActionsMenu: remove unused importsJason A. Donenfeld2018-06-041-3/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* FloatingActionButton: Cleanup declaration of TranslucentLayerDrawable classHarsh Shandilya2018-06-011-2/+2
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* FloatingActionButton: Make attribute grabbing not be terribleHarsh Shandilya2018-06-011-8/+8
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* global: fix theme situation and clean up cruft while adding more cruftJason A. Donenfeld2018-06-013-21/+41
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* fab: default to app theme colorsHarsh Shandilya2018-06-012-7/+14
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* fab: use AppCompatTextView for labelHarsh Shandilya2018-06-011-2/+3
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* fab: cleanupHarsh Shandilya2018-06-013-34/+32
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* FloatingActionButton: import cleaned up getbase codeJason A. Donenfeld2018-05-294-0/+1226
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: fix up copyrightsJason A. Donenfeld2018-05-033-13/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: Add or update copyright headers in Java codeSamuel Holland2018-05-022-0/+10
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* global: Fix or suppress most lints/warningsSamuel Holland2018-01-083-10/+11
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* ToggleSwitch: Improve reliabilitySamuel Holland2018-01-081-20/+5
| | | | | | It's not great, but it's better than it was. Signed-off-by: Samuel Holland <samuel@sholland.org>
* Serviceless rewrite, part 1Samuel Holland2018-01-063-13/+116
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* Rename package widgets -> widgetSamuel Holland2018-01-061-0/+72
Signed-off-by: Samuel Holland <samuel@sholland.org>