Commit Graph

49 Commits

Author SHA1 Message Date
Sunny Goyal 6c46a6d324 Using java_style enum generation for proto
This makes it easier to track various method parameters and simplifies
debug logging

Change-Id: Ib7c3d52590d0c36b2c8460c889ee3bead3454569
2016-12-15 09:30:35 -08:00
Hyunyoung Song 9117e94e4c Reduce the scope of proguard rule to fix the broken build.
Change-Id: I27506dc26875d320a61d5d016f72bb2d221ca4d1
2016-11-09 19:30:06 -08:00
Hyunyoung Song ee7c1c1950 Fix broken build
Change-Id: I51af52c9ddcae1675d15eb37a2f48fd0b3cd09c3
2016-11-09 18:03:56 -08:00
Hyunyoung Song 4d11a2a2a0 Fix all apps auto scroll issue on talkback mode
b/30769215

Change-Id: Idd0bbe1ac15c02d42eb28731955b80bab61ba6cc
2016-11-09 12:08:56 -08:00
Hyunyoung Song 7ccc4625e3 Responsive caret drawable
Change-Id: I9d40052d001c80d99db511af6134227f8e4e4239
2016-07-28 13:06:21 -07:00
Kenny Guy 44cba69638 Grey out suspended applications.
Grey out application shortcuts and all apps entries
for packages that are suspended.

Bug: 22776761
Change-Id: I1b63da1816aca1de52b9f9bee62d1b162d0cdf4d
2016-01-25 11:28:06 +00:00
Winson 0b90814f86 am c0880491: Highlighting sectioned apps on fast-scroll.
* commit 'c088049113c261331b5685e64050d14a31cd72df':
  Highlighting sectioned apps on fast-scroll.
2015-09-29 17:09:03 +00:00
Winson c088049113 Highlighting sectioned apps on fast-scroll.
- This CL fixes an old assumption we had about the height
  of rows in AllApps, and ensures that we account for the
  difference in height between the predictive icons and the
  normal icons.
- In addition, we refactor FastBitmapDrawable to have multiple
  states, which it manages in drawing itself, including the
  press state and fast scroll focus states.  And we also refactor
  some of the fast scroll logic in the all apps recycler view
  out to its own class.

Change-Id: I1988159b2767df733bbbfc7dc601859cde6c9943
2015-09-28 17:32:19 -07:00
Winson Chung 3eefff8d77 am 0947f5c2: Merge "Adding graphic for all apps empty search screen." into ub-launcher3-burnaby
* commit '0947f5c26804bc74b8f1242d856c1f703544c3de':
  Adding graphic for all apps empty search screen.
2015-08-28 21:20:28 +00:00
Winson fee206f241 Adding graphic for all apps empty search screen.
Change-Id: I976a327a5984790c458b0f36d33c0b1ac16ec59c
2015-08-28 12:34:55 -07:00
Winson 17fa39222d am 6779595b: Updating the scrollbar to make the fastscroller more visible.
* commit '6779595bec64fa4503c22f75c8e245a449fe665d':
  Updating the scrollbar to make the fastscroller more visible.
2015-08-20 19:59:40 +00:00
Winson 6779595bec Updating the scrollbar to make the fastscroller more visible.
Bug: 20035978
Change-Id: I56a865262cd07e6af11b4374a7e6354710116dcd
2015-08-20 19:51:08 +00:00
Winson Chung 7b7d6d09ee am a67cce2c: Merge "Tweaking fast scroller to follow touch closer." into ub-launcher3-burnaby
* commit 'a67cce2cb3b7d6fcf53ce1390238130194c393e5':
  Tweaking fast scroller to follow touch closer.
2015-08-20 19:31:53 +00:00
Winson d2eb49e4c3 Tweaking fast scroller to follow touch closer.
- Issue: The fast scroller currently does not follow the touch input
  because fundamentally, the fixed scrollbar height and the mapping
  of the scroll space to the scrollbar space is fundamentally incompatible.
- This CL changes the fast scroller to allow it to detach when the user
  fast-scrolls, then re-attaches after the user scrolls the screen and
  the current scroll position for the scrollbar picks up the thumb position.
- Since the scroll position and the fast scroller thumb is now detached,
  we can change the distribution of the fast scroll letters to make it
  independent of the rows for each section and instead uniformly distribute
  it along the scrollbar, which allows for more stability.
- There are edge cases where this fails, especially when there are few
  apps, which we can investigate further.
  
Bug: 20035978

Change-Id: I8322f862107e6f330deff692885233706564bffd
2015-08-20 19:25:48 +00:00
Vadim Tryshev fedca43d39 Moving drag-drop related code into a separate package.
This is per an earlier CR comment "we should probably move all this code to its own package (launcher3.dragndrop) in a separate cl".

I'm not moving DragSource because it's referred from gsa code.

Bug: 22609426
Change-Id: Ia7204dab99c0c395c66b77143a2d60411153f5f3
2015-08-20 07:45:57 -07:00
Adam Cohen ce77f36aff Don't obfuscate Launcher3
Change-Id: I86ac745602c0d3c09842ed9553f7589c232f5d23
2015-07-24 16:26:33 -07:00
Winson Chung b1777447d9 Refactoring fast scroller.
- Fixing issue with fast scroller not fitting name width.
- Refactoring fast scrolling/scroll bar code out of base recycler view
- Adding animations to fast scroller to match design
- Smooth scrolling when jumping between app rows
- Fixing issue with fast scroller jumping when you first pick it up
- Fixing issue with wrong background paddings being used

Bug: 21874346
Bug: 22031923
Change-Id: I9f011b1f375751f437604b900e95a2942d3f4601
2015-06-23 14:24:15 -07:00
Winson Chung fd98e3e3fc Fixing proguard stripping animation method. 2015-06-12 12:20:34 -07:00
Sunny Goyal 0573977143 Removing some unused functionalities
> Removing obsolete progrard rules
> Removing BackgroundAlphaMultiplier from CellLayout, which is always 1
> Removign otiline animation from workspace. This animation never runs,
as it is called during startReordeing which always happens when
overview mode (workspaceInModalState() is true)

Change-Id: I43219e41ea188771bc818988c1bcbd523f28cba6
2015-05-19 20:03:06 -07:00
Sunny Goyal fe0d1f2458 Animating dragview color change when dragging over ButtonDropTarget
Change-Id: I642438be681769812302dba0b6deca38f89f7a16
2015-04-29 11:25:16 -07:00
Sunny Goyal 546bbf2f8d Removing market icon
Change-Id: I7837cd8083cf2c07444b509fcfb7447151ba76b5
2015-04-17 12:51:24 -07:00
Winson Chung 9cbea78b19 Ensuring that our animation callbacks are not stripped by pro guard.
Bug 20296035
2015-04-16 21:18:34 -07:00
Sunny Goyal be7939c960 Proguard changing methods required for click feedback aniamtion
Bug: 18323452
Change-Id: Iac6d75a3c46c3a4c2a74af43bd1fca738235c2d5
2014-11-10 16:02:38 -08:00
Sunny Goyal 3484638cad Adding a circular progress bar for preloader icons
Change-Id: I1b5ba61c01a16a8cb5d3f9e31f827f8c99a1ffc9
2014-07-16 13:37:56 -07:00
Winson Chung a694524047 Adding migration Clings. (Bug 11973614)
- Refactoring Launcher cling code out to LauncherClings.

Change-Id: Iff4f84f5b8bfeb69b1be0b4802022c3eb20b6f2c
2014-01-10 22:28:16 +00:00
Winson Chung af40f205d7 Initial changes to restore clings.
Change-Id: Ie23e6e9f39679e8d35955a4a7db804d03f8b4d3f
2013-09-20 17:22:05 -07:00
Michael Jurka e0300694d6 Remove unused proguard flags
Change-Id: Iae52eb3a5dd27e636aa1fb86a52a1025c3fcf416
2013-09-12 20:41:21 +02:00
Daniel Sandler a127b7ad15 New icon to dump heap information and share it.
Alternatively,
  $ adb shell am start -n <pkg>/com.android.launcher3.MemoryDumpActivity

Change-Id: I8c615ec3abffaf6ad693c93bdf569550d8f97298
2013-06-17 15:29:22 -04:00
Daniel Sandler 325dc23624 Launcher2 is now Launcher3.
Changes include
  - moving from com.android.launcher{,2} to
    com.android.launcher3
  - removing wallpapers
  - new temporary icon

Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b
2013-06-05 23:30:20 -04:00
Winson Chung fba22b172d Fixing proguard issues with last change.
Change-Id: Ic6990330a4831f86ace987ab3c975fd69dac7c4d
2011-08-22 22:44:08 -07:00
Adam Cohen 7f4eabe370 Adding initial folder animation
-Changed CellLayout/CellLayoutChildren to use padding in the more
 standard way

Change-Id: I728f1b699232422be76eb29b4cf710cd5723a0aa
2011-04-21 17:14:26 -07:00
Adam Cohen 6788269814 Fixing widget resize visual / ux ugliness, Bug: 4082591
Change-Id: Ib258e02f52dd83418db0c0249efdc90d2424f059
2011-03-14 12:16:52 -07:00
Adam Cohen ee31b79739 Fixing proguard issue for resize animations
Change-Id: I5c91644f4efc4b152b6c8c7e6ee5818cc0715e02
2011-03-01 12:36:37 -08:00
Michael Jurka bd00fff8dd updating proguard flags for parallax changes 2011-01-19 00:40:23 -08:00
Amith Yamasani 2dc162f41b Fix crash when launching voice search from Home.
Proguaaaaaaaaaaaaard!!!!!

Bug: 3212256
2010-11-19 10:22:19 -08:00
Winson Chung 13fe1fdcd6 Fixing proguard related crash due to striping animation callbacks.
Change-Id: I7277ba232b1f2f0decf69ea0d2a2ece6948d5cb6
2010-11-18 15:02:54 -08:00
Michael Jurka e17dd53d65 Fixed crash on builds with proguard enabled 2010-10-19 10:10:11 -07:00
Winson Chung 7c0736e024 Fixing proguard related issues with new animation property for page backgrounds.
Change-Id: Id2d0f453cd8b9128ed0d7831e58565765c43d8fc
2010-09-29 10:10:47 -07:00
Michael Jurka 5f1c509d5a supporting swipable home screens on xlarge devices
- icons and widgets on home screens can be "dimmed"
- celllayout no longer renders a dimmed version of itself, but instead its children make dimmed versions of themselves
- celllayout no longer always takes up full size of workspace, in landscape mode 
neighboring screens (celllayouts) are visible
- on xlarge devices, in landscape mode side screens are "dimmed"
- moved holographic outline helper to its own file
- fixed bug where mini-screens were still able to scroll left/right

Change-Id: I9e85ab4147edfae1e7525c3d11d42be3fabf4f6d
2010-09-13 15:16:10 -07:00
Patrick Dubroy ceae05d573 Add a market button to the toolbar.
We determine the default app market activity by resolving an intent,
and fetch the icon from the activity's meta-data.
2010-08-30 18:08:43 -07:00
Michael Jurka b2c838c2eb removed the temp screen rotation button
Change-Id: I26d5a840270065e43d4f66b3c53c7e9d52ce4200
2010-08-16 20:53:10 -07:00
Adam Cohen 4dfd261e50 Adding progaurd exception for click handler that's only
called by reflection.

Change-Id: Idac09b60605fda74334f5a2157b7369207cc7ef2
2010-08-11 18:55:58 -07:00
Michael Jurka 6860a8913a fixed crash during animation to all apps
- proguard was stripping getter/setter that was
  used only by reflection
2010-08-05 11:00:01 -07:00
Michael Jurka f6710fa8af telling proguard not to strip three onClick handlers
that are only used by reflection (they are 
  referenced in layout-xlarge/launcher.xml)
2010-08-04 11:08:04 -07:00
Daniel Sandler b465cd6b1c Fix proguard flags.
Fixes a crash in the new hotseat launcher icons.

Change-Id: Idcb7441647f16c783a47dfe09400f04fa8980dd3
2010-04-23 16:46:54 -04:00
Romain Guy 3af600182f Last minute hack to deliver touch events to widget in landscape mode.
Bug #2562729

In landscape, the left and right dots buttons are 93dip wide; this makes them overlap
with widgets at the bottom of the screen. The dots do not need to be that wide but
we chose this size to make it easier to tap them in portrait. To avoid issues in
landscape, this change introduces a new type of ImageView that can ignore touch
events in a certain zone. This was easier and cheaper than re-cutting 36+ assets.

Change-Id: Id261fba41a43dede943e72060e39e87658e4b0df
2010-04-05 18:39:24 -07:00
Romain Guy 5347b3f6e4 Re-enable Proguard, supports 3D all apps correctly now.
Change-Id: I84ab56054c9f57985fec9107c3977691177b85a4
2010-03-11 10:36:05 -08:00
Romain Guy 5aafe7c249 Resurrect the All Apps button.
Change-Id: Ic7dc985bfc1eec6d6c059ff37a61c84b8cb103de
2010-03-10 18:26:59 -08:00
Ying Wang 932b29dbd8 Enable Proguard on Launcher2. 2010-03-03 17:13:54 -08:00