Commit Graph

7223 Commits

Author SHA1 Message Date
Winson Chung
67ca7e4cc5 Initial changes to support AllApps on various form factors.
Change-Id: I7bacb36f8a70c8ac920426899193a7bb7b7abbcb
2013-11-01 12:51:56 -07:00
Adam Cohen
d77057a77b Merge "Reporting toIndex in scroll events (issue 11356512)" into jb-ub-now-jetsonic 2013-10-31 22:52:10 +00:00
Adam Cohen
e4602aeb51 Reporting toIndex in scroll events (issue 11356512)
Change-Id: I96a97865970e0b9a6760246c4f830f3ceff53f09
2013-10-31 15:49:01 -07:00
Adam Cohen
8590ecd29a Merge "Fix issue with adding widget with config activity to empty screen (issue 11381059)" into jb-ub-now-jetsonic 2013-10-31 22:31:06 +00:00
Adam Cohen
917e38851c Fix issue with adding widget with config activity to empty screen (issue 11381059)
Change-Id: Ic7eecb30422e7a6cf35ebe8470d9eba8752d406e
2013-10-31 15:04:59 -07:00
Michael Jurka
8775294020 Merge "Fix issues with sizing wallpapers" into jb-ub-now-jetsonic 2013-10-31 22:03:22 +00:00
Adam Cohen
fc6175df7d Merge "Fixing up PagedView to work in landscape mode" into jb-ub-now-jetsonic 2013-10-31 21:35:51 +00:00
Adam Cohen
3b185e2513 Fixing up PagedView to work in landscape mode
-> separated notion of page spacing and paged view padding
-> always position the current page within the rect
   created by pagedview's viewport + padding
-> space pages by a constant amount

Change-Id: I6bb35f72f04543f83b51ef981f8c9ded051623ac
2013-10-31 14:34:19 -07:00
Winson Chung
49ac59cbb3 Merge "Removing unused cling, tweaking translation character limits (Bug 11151675)" into jb-ub-now-jetsonic 2013-10-31 18:32:52 +00:00
Michael Jurka
454db97700 Fix issues with sizing wallpapers
- properly sync size across Launcher and wallpaper
picker
- remove code that was calculating wrong default
wallpaper size

Bug: 11324470

Change-Id: Ib4e7202363c56e3cb0c09d4448a7f96eef0a0915
2013-10-31 16:38:24 +01:00
Michael Jurka
9789c42eab Fix crashes for images that are not PNG or JPEG
Bug: 11341544

Change-Id: If2339b583e9a991f053a5f95f259156e3e4e9acd
2013-10-31 10:58:28 +01:00
Winson Chung
b88ae4158d Fixing crash with invalid current page.
Change-Id: I36e76176b6172a747a6526d96b82c9870b56067c
2013-10-29 17:21:56 -07:00
Adam Cohen
c53d77c7b0 Merge "Fixing regression in paging" into jb-ub-now-jetsonic 2013-10-29 22:27:43 +00:00
Adam Cohen
8bdbaab8e6 Fixing regression in paging
Change-Id: I9a76448aa09aea6a86a8a97860e48113c222a205
2013-10-29 15:25:12 -07:00
Michael Jurka
619a180be5 Make wallpaper picker/cropper more robust
- don't crash if image passed to wallpaper picker
is invalid
- close input streams correctly

Bug: 11413915
Bug: 11380658
Bug: 11362731

Change-Id: I973e6bdc532d24a64efd6d174e89fdac626d7ee3
2013-10-29 22:50:30 +01:00
Winson Chung
88400d521e Merge "Initial changes to support smaller landscape layouts." into jb-ub-now-jetsonic 2013-10-29 01:34:00 +00:00
Winson Chung
6e1c0d34bb Initial changes to support smaller landscape layouts.
Change-Id: If0abe2b82eb08bae4f1ce65b805362d548acb876
2013-10-28 18:30:25 -07:00
Adam Cohen
76bf5553e0 Merge "A bit of code cleanup (issue 11026590)" into jb-ub-now-jetsonic 2013-10-29 00:49:38 +00:00
Adam Cohen
4fe4c93222 A bit of code cleanup (issue 11026590)
Change-Id: I8b2ef52f59abdbe3ca286eac6e639f19a11f7970
2013-10-28 16:21:21 -07:00
Adam Cohen
849d120102 Merge "Finished getting rid of mPageSpacing" into jb-ub-now-jetsonic 2013-10-28 22:17:38 +00:00
Winson Chung
fb7cd745e7 Merge "Ensuring the widget page is full when shown (Bug 10883258)" into jb-ub-now-jetsonic 2013-10-28 21:37:35 +00:00
Adam Cohen
0cd0eba42e Finished getting rid of mPageSpacing
Change-Id: I5dc8255e6cc902430a91dc27ad1edec5d4308468
2013-10-28 14:22:41 -07:00
Winson Chung
7bb3752d20 Ensuring the widget page is full when shown (Bug 10883258)
Change-Id: I9481b5551a2efc093d0fb81fc62a811b34d93d7c
2013-10-28 11:07:57 -07:00
Adam Cohen
7397e62460 Add visible touch feedback to items in folders
Change-Id: I41937f7864bca39232079a90139679ebd5cc2a07
2013-10-24 12:12:46 -07:00
Adam Cohen
1c6dee7204 Merge "Fix issue where empty page doesn't get deleted when flinging to delete a widget in spring loaded" into jb-ub-now-jetsonic 2013-10-23 23:17:06 +00:00
Adam Cohen
e97a3b3ff8 Fix issue where empty page doesn't get deleted when flinging to delete a widget in spring loaded
Change-Id: I59a78a4b9135b2c96f0adb4a2e63b19d504706b7
2013-10-23 16:15:33 -07:00
Michael Jurka
03a526b276 Merge "Stop using a separate ImageView for default wallpaper" into jb-ub-now-jetsonic 2013-10-23 21:59:53 +00:00
Michael Jurka
83699e56be Stop using a separate ImageView for default wallpaper
Fixes janky transition when going from default
wallpaper to another wallpaper

Bug: 11278179

Change-Id: I738d1ae7bbc5e2d139a084e721b53fed9008367f
2013-10-23 23:54:21 +02:00
Adam Cohen
a718fc279d Merge "Cleaning some page animations" into jb-ub-now-jetsonic 2013-10-23 21:17:17 +00:00
Adam Cohen
ad4e15cae4 Cleaning some page animations
-> Fix jump when last page gets delted (issue 10908427)
-> Fade out empty screen
-> If the final page is empty, and that is the current page when
   spring loaded mode ends, animate back to the previous page
   and then fade out the final page. Examples: cancel widget
   or shortcut drop on the final page, scroll to final page and
   drop an icon into a the hotseat, etc.

Change-Id: I13438fb0af6555b6f0b511b7aff51b3972431438
2013-10-23 14:11:45 -07:00
Daniel Sandler
0b5e98f7c2 am 55585dbc: Fix loading widgets in <include>d workspaces.
* commit '55585dbc1d5d9281416f346167832f2a2f443c0c':
  Fix loading widgets in <include>d workspaces.
2013-10-23 12:09:53 -07:00
Daniel Sandler
55585dbc1d Fix loading widgets in <include>d workspaces.
Resetting the item id was breaking the widget loading code
and is totally unnecessary.

Bug: 11352675
Change-Id: I2e70e542ecc5d8c0664b674ebdac5d520b71b8a0
2013-10-23 18:52:18 +00:00
Michael Jurka
3d7f086f6a Merge "Prevent memory leaks coming from LauncherAnimUtils" into jb-ub-now-jetsonic 2013-10-23 18:39:18 +00:00
Michael Jurka
d9546fc66b Don't recreate pages every time you go to All Apps
Bug: 11300025

Change-Id: I16ddcf1b435621bb0c0199ca7ac119b9e7ca7214
2013-10-23 15:41:49 +02:00
Michael Jurka
7c70d64d4c Prevent memory leaks coming from LauncherAnimUtils
Use weak references for global animation list

Bug: 11322014

Change-Id: I38bb9184e45840113129781fa83ab40ec96d3868
2013-10-23 15:22:17 +02:00
Michael Jurka
00a4093fa6 Merge "Add script to push changes to system wallpaper cropper" into jb-ub-now-jetsonic 2013-10-23 11:54:45 +00:00
Winson Chung
0091e3766e Removing unused cling, tweaking translation character limits (Bug 11151675)
Change-Id: I601d92ecca5a479d7778824e3b120634bdae6a45
2013-10-22 14:40:17 -07:00
Winson Chung
39789cba2b Merge "Removing tablet-specific assets." into jb-ub-now-jetsonic 2013-10-22 18:11:46 +00:00
Adam Cohen
401dc4117b am 4d3f022c: (-s ours) Merge "DO NOT MERGE: Fix leak when animations are created but never started" into jb-ub-now-indigo-rose
* commit '4d3f022c9a7170dd4b069ee71534f1baf30cb2f4':
  DO NOT MERGE: Fix leak when animations are created but never started
2013-10-22 02:47:40 -07:00
Winson Chung
9ba343d734 am a78b25f8: (-s ours) DO NOT MERGE
* commit 'a78b25f89de49b68a6dd7ddef5aaefe7919f3698':
  DO NOT MERGE
2013-10-22 02:47:40 -07:00
Adam Cohen
4d3f022c9a Merge "DO NOT MERGE: Fix leak when animations are created but never started" into jb-ub-now-indigo-rose 2013-10-22 00:25:08 +00:00
Winson Chung
a78b25f89d DO NOT MERGE
Clearing reference to SavedState bundle after restoring from it. (Bug 11322014)
(cherry picked from commit d8e596db4b)

Change-Id: I106f4897ef4ab43d996c0b926ce08ab6ccb2d8a4
2013-10-22 00:20:19 +00:00
Adam Cohen
313bbd2f3b Merge "Clearing reference to SavedState bundle after restoring from it. (Bug 11322014)" into jb-ub-now-jetsonic 2013-10-22 00:19:35 +00:00
Winson Chung
d8e596db4b Clearing reference to SavedState bundle after restoring from it. (Bug 11322014) 2013-10-21 17:14:12 -07:00
Michael Jurka
7e839ec8f6 DO NOT MERGE: Fix leak when animations are created but never started
Bug: 11322014
(cherry picked from commit e206ff0f73)

Change-Id: I5aaf76d7c96e4a7878946d7de337acd858c11f44
2013-10-22 00:13:12 +00:00
Michael Jurka
4edc931562 Merge "Fix leak when animations are created but never started" into jb-ub-now-jetsonic 2013-10-21 23:00:42 +00:00
Michael Jurka
e206ff0f73 Fix leak when animations are created but never started
Bug: 11322014
2013-10-21 15:57:38 -07:00
Michael Jurka
862f7e3950 Load images on a bg thread
Bug: 11134758

Change-Id: Ie789a2fcb2024832ac104cd9cdbc3602abee85ee
2013-10-21 14:51:49 -07:00
Winson Chung
5e02abeae6 Removing tablet-specific assets.
Change-Id: Ia1115911ae476c6218a5bd21e1c07e3039f704ac
2013-10-21 11:32:16 -07:00
Ed Heyl
4f98332b98 am 6811c5a4: override Launcher2 (aosp)
* commit '6811c5a414a15fa34b4f6917c3f250b3498a89ed':
  override Launcher2 (aosp)
2013-10-18 11:08:18 -07:00