Commit Graph

2002 Commits

Author SHA1 Message Date
Baligh Uddin 03dc99c0ba Import translations. DO NOT MERGE
Change-Id: Ie23f2e6ed183ef562db099f159b11402c3a959b6
Auto-generated-cl: translation import
2016-05-17 00:21:31 -07:00
Sunny Goyal 4ec7134a77 Cleaning up the overlay interface
Overlays are supposed to use their own UI and not interfere with the
Launcher UI. If the UI needs to be put inside the Launcher, use customContent
instead.

Removing some unnecessary and unused methods related to overlays

Bug: 25993953
Change-Id: I4d715cdee04eb7b0ebef673d885a4258c521ff1f
2016-05-11 11:44:28 -07:00
Baligh Uddin ec997b9b6e Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 28632138
Change-Id: I8ac83686d296b781d7a9dbb0e9961990793c83cd
2016-05-06 09:34:49 -07:00
Baligh Uddin fc4faab9cb Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 28632138
Change-Id: I750d21dcd55652032c4a2fb02351accae3ceff8c
2016-05-06 09:26:23 -07:00
Sunny Goyal 2afb636180 Showing a toast when changing wallaper is disabled
Bug: 27940102
Change-Id: I373093d9b85dca356aaa8798931d5315981fd74c
2016-04-21 15:16:42 -07:00
Adam Cohen 9c6f32c2aa [DO NOT MERGE] Address some spacing issues in all apps related to new support library
issue 27581978

Change-Id: If7a1ea19aa586bb3de6bde960b16e59f86061227
(cherry picked from commit d797327b79)
2016-04-12 23:46:16 +00:00
Hyunyoung Song 63d093de02 Fixing a typo from <array> to <string-array>
Change-Id: Iadbbe59e0ba93a21373056fe6b4af9db7ce39f66
2016-04-08 12:17:25 -07:00
Hyunyoung Song f9dc857a0e Make com.android.launcher3.action.LAUNCH intent explicit
b/27967359

Change-Id: I355ffc0af07d5bddcf87d41cf42bead9d5c824dc
2016-04-08 10:55:50 -07:00
Hyunyoung Song 04907eea71 [DO NOT MERGE] updateOverlayBounds no longer rely on LauncherCallback method
mFixedSearchBarBounds is no longer used.

b/25255451

Change-Id: I3e2f7511c7a418f211a8b17a62b98f2736dfc91d
2016-04-04 16:23:18 -07:00
Geoff Mendal 645bdb373a Import translations. DO NOT MERGE
Change-Id: I728beebf58b37229d4836f627a2227519bc28734
Auto-generated-cl: translation import
2016-02-29 05:24:53 -08:00
Sunny Goyal eba87b1770 Chaning the 'title' attribute format to string to be consistent
with support libraries

Change-Id: I58f687f9ab5d6c0e42bebd4f0f75e1efc696b9fe
2016-02-26 09:46:11 -08:00
Sunny Goyal 59871ef875 Revert "Disabling som attributes so that dependencies can use compat libraries"
This reverts commit e1bd986d77.

Change-Id: I27490d0cb241b2e58ce45998f7f9e9bc8d84993c
2016-02-24 00:28:02 +00:00
Sunny Goyal e1bd986d77 Disabling som attributes so that dependencies can use compat libraries
Bug: 27101533
Change-Id: I18de77cffbbb234f25fb85dfe0334ed7fe113a74
2016-02-23 10:43:02 -08:00
Sunny Goyal a6194d3d92 Wrapping thw widgetList inside a layout, so that it has the same view structure as allApps
Change-Id: I28b035beb1c7e13101ec20ff671d3cad5f757c0e
2016-02-19 09:35:43 -08:00
Geoff Mendal 5a2d603ac5 Import translations. DO NOT MERGE
Change-Id: I17aa02de8c4cf240e1220dc891d5fdbb0955aaf7
Auto-generated-cl: translation import
2016-02-15 05:46:10 -08:00
Sunny Goyal bb702584fa Fixing crash during rotation
> Different views with same IDs were saving state
> Fixing scroll getting reset on rotation

Change-Id: Iae42419b83ee5ffa1bb43959f0931c8dfb761f32
2016-02-11 11:06:43 -08:00
Tony Wickham 4df1653331 Merge "Change widget host view background when giving focus to child." into ub-launcher3-burnaby-polish 2016-02-10 23:35:11 +00:00
Tony Wickham fb78856466 Change widget host view background when giving focus to child.
Before, the FocusIndicatorView stayed on the widget host unless the
widget had its own focus change listener, which caused a couple of
problems, namely  (1) it was hard to know where the focus was from
a user's standpoint, and (2) the focus indicator could get stuck on
the screen if you entered a widget and then long-pressed workspace.
Now, the focus indicator goes away and instead the widget is framed
with a white border to indicate that the focus is inside it. The
frame goes away when pressing ESC or when touching the screen.

Bug: 26744224

Change-Id: I14025576fd7a9f901b4d969b878af0bebad79a70
2016-02-10 15:28:18 -08:00
Sunny Goyal 0ac7ede56a Merging search bar with all apps
Change-Id: I78577124cd3c05d52669c3e52b0294d6eb1d194d
2016-02-08 14:55:22 -08:00
Sunny Goyal 0e04980310 Merge "Updating folder UI when icons are normalized > Increasing padding > Making the folder label bold and lighter color" into ub-launcher3-burnaby-polish 2016-02-03 19:32:02 +00:00
Tony Wickham 8a75806c1a Add extra space for the search bar.
Also fixed a broken test.

Change-Id: I1c270e69617528ea30f0e26a2101673e9b9fa63c
2016-02-01 14:15:37 -08:00
Sunny Goyal 5c556e7226 Updating folder UI when icons are normalized
> Increasing padding
  > Making the folder label bold and lighter color

Change-Id: Ib86d711c27cd03f366cdd35222d1f63f4a542f06
2016-01-29 18:46:19 -08:00
Sunny Goyal 2080603ca7 Removing some obsolete files
Change-Id: I45cc23afcecb67163da99a9b81ace0021f723c9b
2016-01-19 10:38:49 -08:00
Sunny Goyal 96a0963c4a Adding support for negative x and y in layout xml.
Fixing default configurations for some screen sizes.

> Negative values for x and y are parsed as distance from end
column and row respectively. e.g.  (-1, -2) => (3, 2) in a
4x4 grid

Bug: 26110981
Change-Id: I4ca30e225ed6e2a31610ab23235d2cd10e8d317c
2015-12-18 17:17:08 -08:00
Tony Wickham a7844dd4b1 Increase spacing between icons in All Apps on tablets.
Change-Id: If90332098f749295da07f4faca707a7a6965666b
2015-12-02 13:37:07 -08:00
Tony Wickham a3c74d10a7 Setting correct height for search bar widget options bundle.
- Seperate search bar height from its top and bottom paddings
- Report this height plus 8dps top and bottom for the widget options
- Use a separate bottom padding to adjust spacing between QSB and
  the workspace
- Add tests to verify the height of the search bar in both normal and
  tall modes (ran on Nexus 6, 7, and 10)
Change-Id: Ia7557785d1b38194eee869d0460456e8f33447d5
2015-10-29 12:18:28 -07:00
Geoff Mendal 8a9f7abcf1 Import translations. DO NOT MERGE
Change-Id: I4f645e8f071559ad56ee7963934f1039b06d6e96
Auto-generated-cl: translation import
2015-10-21 08:03:43 -07:00
Geoff Mendal 8c23c2d2ba Import translations. DO NOT MERGE
Change-Id: If930ef94a3abe3e27123d1fe3553b0a3a453ffec
Auto-generated-cl: translation import
2015-10-19 08:50:56 -07:00
Sunny Goyal 44b48f7702 am 28c6b963: Showing a permission prompt for direct call shortcuts
* commit '28c6b963d4ccac73ab857c839420513dd560945c':
  Showing a permission prompt for direct call shortcuts
2015-10-14 19:16:24 +00:00
Sunny Goyal 28c6b963d4 Showing a permission prompt for direct call shortcuts
Bug: 24580949
Change-Id: Idc92f9f5979a730f43b4905af2bc47b6834dc7a7
2015-10-12 11:46:01 -07:00
Geoff Mendal f7203499f4 Import translations. DO NOT MERGE
Change-Id: I30deecd0fedace5365a877a8333206e7cb015afb
Auto-generated-cl: translation import
2015-10-12 07:00:09 -07:00
Tony Wickham fa3c369cc3 am 37860923: Merge "Added launcher callback to specify search bar height." into ub-launcher3-burnaby
* commit '37860923619b1e467975a74764dff03ab657bdc7':
  Added launcher callback to specify search bar height.
2015-10-09 01:40:31 +00:00
Tony Wickham 3786092361 Merge "Added launcher callback to specify search bar height." into ub-launcher3-burnaby 2015-10-09 01:37:39 +00:00
Tony Wickham d70a4b7b78 am d6b4037b: Grid adjustments, specifically for Ryu.
* commit 'd6b4037b093445fefa7d036da339dd549fae7a9b':
  Grid adjustments, specifically for Ryu.
2015-10-09 00:38:29 +00:00
Tony Wickham 55616cd363 Added launcher callback to specify search bar height.
The search bar can now be be normal or tall. When it is set to tall,
the hotseat and page indicators move down so that the workspace isn't
compressed quite as much.

Change-Id: Id92a946eab3a93524999f92efd847a501a95f002
2015-10-08 16:58:05 -07:00
Tony Wickham d6b4037b09 Grid adjustments, specifically for Ryu.
> Less than 14% of the screen is used for left/right workspace padding.
  (To be clear, this means 7% for the left and 7% for the right.)
> Hotseat icons are the same size as workspace icons.
> Far left and right hotseat edges line up with workspace edges.
> All Apps button is scaled down 8dp.

Bug: 24003478

Change-Id: Idb057ab0f6ba29e7fd93feac7573ca2e07c7e839
2015-10-08 09:23:10 -07:00
Sunny Goyal d306055f2d Moving a few testing classes to a separate package
Change-Id: Ied1c063de3e938695493e4937f554686e0719dad
2015-10-07 11:12:38 -07:00
Geoff Mendal 79d0ac937b Import translations. DO NOT MERGE
Change-Id: Ibbe258e46dd396e9186a47b3881796e12f689e33
Auto-generated-cl: translation import
2015-10-07 07:19:53 -07:00
Geoff Mendal 53d3be63a5 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 22482938
Change-Id: I758693c47b7d200da62bc1e9df4d0faaf9b147f2
2015-10-06 14:06:53 -07:00
Sunny Goyal fd4264b2b5 Merge "Jailing the saved instance state of all the dynamically generated views" into ub-launcher3-burnaby-polish 2015-10-05 18:26:19 +00:00
Sunny Goyal d1a0e8b5c8 Jailing the saved instance state of all the dynamically generated views
Using itemId instead of generating a new id for each item. This is because
if the process gets killed, View.generateId will get reset but we will still
receive the generated item id map in onRestoreInstance. This will cause
conflicts with newly generated item ids.

We wrap all the generated homescreen views inside a single sparse array. This
ensures that we do not cause any conflict with dynamically generated views in
other parts of the UI.

Bug: 16840760
Change-Id: I6fe69c2e1dd463402f51222715fae31b9d4dd240
2015-10-05 18:25:49 +00:00
Geoff Mendal 521c59a882 Import translations. DO NOT MERGE
Change-Id: Id66043bc65557ef6a886bb1bec6ef18590a7056b
Auto-generated-cl: translation import
2015-10-05 07:19:24 -07:00
Sunny Goyal c469aadd92 Adding progress information for preload icons in content description
Bug: 24086091
Change-Id: Id8fb024973f4affd998627d30077e2764b07edc4
2015-10-01 11:24:59 -07:00
Geoff Mendal 91dd087271 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 22482938
Change-Id: Id607b75f77fe89ee801336c8bc3e7d7db3ad59fa
2015-09-30 14:08:36 -05:00
Geoff Mendal 9fa63a3720 Import translations. DO NOT MERGE
Change-Id: I9f55cad49486a35efa5f85b54e894951b3e0964c
Auto-generated-cl: translation import
2015-09-30 07:12:17 -07:00
Sunny Goyal e78e3d734b Accessibility fixes
1) Use a different content description for temporary new page
2) Use different accessibility description for add widget toast
3) Announce when an item is deleted
4) Announce when hovering over a drop target
5) Announce state during drag-n-drop and widget resize (similar to seekbar)

Bug: 23573321, 24057944
Change-Id: Icabb317625e70c78e11c0b4f99b9339172d93594
2015-09-25 10:22:47 -07:00
Winson 122a753dab Adding small padding between icons in AllApps.
Bug: 23948851
Change-Id: If7daf84be0c5b314c5afd896d2601028ee243c80
2015-09-23 23:13:21 +00:00
Winson 4616347537 Fixing workspace state issue with option menu.
- Hitting a ctrl key combo will actually call onPrepareOptionsMenu(), which
  will change the state of the workspace incorrectly.  Instead, listen for
  the menu button, and only allow the user to enter overview mode if they
  are currently not dragging or in an overlay state (like all apps or
  widgets).
- Also making the overview buttons focusable so that they are focused when
  you go into overview mode.

Bug: 22483367
Change-Id: Ie6e9febd8a5a4e7ad25d745639d42d1c7b9801b4
2015-09-22 17:33:39 -07:00
Winson fa56b3f2f1 Requiring key chord to delete icons and folders on the workspace
- Also fixing case where the all apps button to search for more apps
  was not focusable

Bug: 20639227
Change-Id: Ie4d9092e654d3cafc0eb346b3bb744ec3e295e92
2015-09-14 19:47:19 +00:00
Winson 1268855200 Compressing Launcher resources.
Bug: 23812987

Change-Id: I66452a321c3c48661387282ba782ba948e0aae6b
2015-09-04 19:53:21 +00:00