5932 Commits

Author SHA1 Message Date
Adam Powell
fa668cc930 Fix some drag behavior bugs in keyguard
Integrate from proto app

Make sure you can drag back up immediately without the delay of extra
offset on the challenge view.

There are still a few further tweaks to make here that will be
dependent on another upcoming patch.

Change-Id: I6af599e43d6be6da7b431dca5b87e39c157a54df
2012-10-31 17:01:38 -07:00
Svetoslav Ganov
cdb80888b7 Merge "Fix keypad accessibility." into jb-mr1-lockscreen-dev 2012-10-31 15:06:32 -07:00
Svetoslav Ganov
562afa97c2 Accessibility of the lock screen - strings
Change-Id: I573a65e5de4c258831bd14f4d54ab3eabf67b8e1
2012-10-31 14:32:08 -07:00
Baligh Uddin
5b0398448b Merge "Revert "Import translations. DO NOT MERGE"" into jb-mr1-lockscreen-dev 2012-10-31 10:37:04 -07:00
Baligh Uddin
8029f74fb8 Revert "Import translations. DO NOT MERGE"
Broken Build:
frameworks/base/core/res/res/values/symbols.xml:558: error: Symbol 'keyguard_accessibility_widget_changed' declared with <java-symbol> not defined
make: *** [out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1


This reverts commit 30a3eeaa4bc8d654b6ff3beb109b6af3f347b135

Change-Id: I505c6c1f3444c80519fbee50d7dda656f5c9b76e
2012-10-31 10:35:22 -07:00
Baligh Uddin
02dfd644c9 Merge "Import translations. DO NOT MERGE" into jb-mr1-lockscreen-dev 2012-10-31 10:13:00 -07:00
Adam Powell
e74fcc0eb1 Merge "Fix keyguard bugs" into jb-mr1-lockscreen-dev 2012-10-30 21:00:40 -07:00
Adam Powell
cdf8b48745 Fix keyguard bugs
Integrate from proto app

Get some layout/alignment right between security views, bouncer,
etc. Expand the space available for the more cramped security views
when not in the bouncer.

Fix bug 7434391 - don't allow widget swiping in bouncer mode. Fix a
few other bouncer-related state tracking problems as well.

Use layers when moving the security view around.

Change-Id: Ied14bab8bb5c3d997c734a3ae657b766c427253f
2012-10-30 20:57:10 -07:00
Jim Miller
162fc8e64b Merge "Re-enable transition animation between face unlock and backup" into jb-mr1-lockscreen-dev 2012-10-30 20:43:52 -07:00
Jim Miller
22ae05d50c Re-enable transition animation between face unlock and backup
Change-Id: Ia90cf73e400f45c8b73f34cbc521dcbc62258ca8
2012-10-30 20:37:57 -07:00
Baligh Uddin
30a3eeaa4b Import translations. DO NOT MERGE
Change-Id: I0909dffc40bf6e8325b97aa0c5a0ccc07830b330
Auto-generated-cl: translation import
2012-10-30 19:13:28 -07:00
Svetoslav Ganov
8ea7cbe6f3 Merge "Lockscreen accessibility - strings." into jb-mr1-lockscreen-dev 2012-10-30 18:40:51 -07:00
Svetoslav Ganov
0b6e2a45d8 Lockscreen accessibility - strings.
Change-Id: Ic38c2d3e3052979f4f1569e851f365c10d8c93f0
2012-10-30 18:39:16 -07:00
alanv
c7375afef7 Fix keypad accessibility.
Add lift-to-type to the PIN keypad. Speak entered PIN digits. Add content
descriptions to PIN keypad buttons.

Bug: 7436382
Change-Id: I7cb3977cc769598c5f783221e1257b13e5e108c7
2012-10-30 17:07:37 -07:00
Brian Colonna
0ca9723327 Merge "FUL uses square aspect ratio for all layouts fixes b/7426399" into jb-mr1-lockscreen-dev 2012-10-30 13:41:52 -07:00
Brian Colonna
68d257d788 FUL uses square aspect ratio for all layouts fixes b/7426399
When the referenced bug was filed, face unlock was only showing as a
tiny sliver on tablet layouts.  Due to other changes in the lockscreen
branch, it was no longer a sliver, but was still an incorrect layout,
with a width much greater than height.  This change makes face unlock
square for all layouts.

The face unlock RelativeLayout was replaced with a custom
FaceUnlockView derived from RelativeLayout.  The new view forces a
square layout using the same technique used by LockPatternView.

Note that there is still a bug where the pattern view covers the widget
area on portrait tablet layouts.  The face unlock view has this same
issue, but may resolve itself when the pattern bug is fixed.

Also note there are two other Face Unlock tablet bugs that existed
before this change (and therefore are not caused by this change):
 - flash during transition from spotlight animation to camera preview
 - PIN backup is upper-left instead of centered

Change-Id: I550eccfa3924f230a9dc43f0a9b59f1ea55a9273
2012-10-30 14:48:55 -04:00
Daniel Sandler
8a26bf5aea Impose a height & width downward on challenge views.
This means that challenges may no longer wrap_content, even
vertically. But it's the only way to rationalize across
different challenges, some of which want to be a fixed size,
some match_parent, and some wrap_content.

This change also fixes some problems with the password view
as well as PIN view (usable again on sw360 devices like
Galaxy Nexus).

Bug: 7427586
Change-Id: I648e68c5159fef7cf594d4bfe8f6d4bdd5da6b6a
Proto-Id: I280b4875a9deee5dfb7409bdfa8ed0b96fbd0cff
2012-10-30 13:59:07 -04:00
Svetoslav Ganov
3cd4640c0e Lockscreen accessibility - strings.
Change-Id: Ia0f5a6356592f53081040667d20abf5f8eb09ad2
2012-10-29 23:11:53 -07:00
Adam Powell
cfc3086b18 Keyguard polishing
Integrate from proto app

* New assets

* Layout changes

* Dragging behavior change for sliding challenge

* Realign camera for new padding

Change-Id: Ia177c60f59f1fc74000d95fc39b048321acf1246
2012-10-29 18:32:37 -07:00
Baligh Uddin
d4e3efe1c4 Import translations. DO NOT MERGE
Change-Id: Iae3bb5e577188966d95f5b55907ebc5794f1f8a2
Auto-generated-cl: translation import
2012-10-29 10:01:09 -07:00
Jim Miller
0b728244dc Update status area and emergency call logic to match new spec
Change-Id: Ic43d9d58168166aacf2b145663dc9412b099f9c2
2012-10-28 20:04:57 -07:00
Baligh Uddin
3326211e1e Import translations. DO NOT MERGE
Change-Id: Ib1def7a6a6aa0f56271d70678dd0400df2d5e826
Auto-generated-cl: translation import
2012-10-28 10:19:37 -07:00
Daniel Sandler
c606bf1af9 Improved handle touch interaction.
- the handle size is now entirely independent of asset size
- the handle doesn't have to have a handle graphic
- the handle top/bottom sizing can each change based on
  whether the challenge is visible
- now, the handle becomes very small when the challenge is
  visible, and does not intrude into the challenge rect
  itself (so you really need to drag downward through the
  top edge of the challenge to activate the handle and close
  the challenge)
- when the challenge is closed, the handle may be clicked to
  open

Bug: 7428215
Change-Id: I4ca7b4d5d475337295a6a7492a831abbba288ac5
Proto-Id: Ibc8997ece27ca1e0fa4deb651bb11860f95d7b23
2012-10-28 00:12:21 -04:00
Daniel Sandler
950c29ea7a Bigger lock icon.
Bug: 7428215
Change-Id: I02a1c94b5a80f49f16b9b8563b6b9613f90a6a93
Proto-Id: I9174769ce6750ed69758519a91948d845828d583
2012-10-28 00:10:11 -04:00
Adam Cohen
f9048cd09b Polish to 3d carousel and standard pager
-> updated assets
-> Always showing outlines as per new mock
-> Enabling layers on content during fades (still need to sort out layers for frames)
-> Added carousel overscroll as per discussion with danship
-> Fading side pages in carousel
-> other small polish

Change-Id: If88686768c621a65b175a74c07cb55a69321fd97
2012-10-27 16:36:44 -07:00
Chris Wren
1d269e8e8f Merge "single unlock target with honycomb semantics" into jb-mr1-lockscreen-dev 2012-10-26 21:50:34 -07:00
Daniel Sandler
fdbbbba4cd Updated add-widget graphics
Bug: 7421953
Change-Id: I7961e0e2b0e53467d57d3253d078055dc7614b4f
2012-10-26 22:59:38 -04:00
Adam Cohen
8daee80753 Merge "3D carousel initial stab -- paging outlines / alpha effects pending design" into jb-mr1-lockscreen-dev 2012-10-26 16:11:23 -07:00
Adam Cohen
9ec871def3 3D carousel initial stab -- paging outlines / alpha effects pending design
Change-Id: I2d9851472472a0affa9b46b2508fc7a1cb8c9779
2012-10-26 16:10:51 -07:00
Amith Yamasani
369f1c92e7 am 08482454: Merge "Fix the user name for the owner." into jb-mr1-dev
* commit '084824548f9706db8356ed4480c282288ffc0bd0':
  Fix the user name for the owner.
2012-10-26 15:57:10 -07:00
Amith Yamasani
084824548f Merge "Fix the user name for the owner." into jb-mr1-dev 2012-10-26 15:54:56 -07:00
Chris Wren
f0ee5b8135 single unlock target with honycomb semantics
Bug: 7411431
Change-Id: I27a86041c93369df2be2d53cb81c29658e70bcca
Proto-Id: I631fa48da4c67351366bcc1002a01dfa66a34d8c
2012-10-26 18:00:25 -04:00
Daniel Sandler
1f887cb292 Merge "Make the add widget button hitrectangle smaller." into jb-mr1-lockscreen-dev 2012-10-26 12:39:06 -07:00
Daniel Sandler
082351c98f Make the add widget button hitrectangle smaller.
Bug: 7421953
Proto-Id: I04fe3f06a7c53603dc38434a18cc52053ccc6bac
Change-Id: Ie26ad9a9c683f41bd8bf0b0b24e6832ab32d9469
2012-10-26 14:52:35 -04:00
Amith Yamasani
6f34b41114 Fix the user name for the owner.
Use a version number to update the name to Owner, from Primary.
For new installations, use the correct localized string.

Bug: 7417150

Fix a typo in the permission description.

Bug: 7333304
Change-Id: I123741e581c6a02d4597b3cd81f2ca48a8587e2a
2012-10-26 10:06:22 -07:00
John Spurlock
af5b49c12d Merge "Update swipe edge size to match ux prototype." into jb-mr1-lockscreen-dev 2012-10-26 08:27:32 -07:00
John Spurlock
000ea2191e Update swipe edge size to match ux prototype.
Change-Id: I0712c445d015615793b47310875c2cfcdeb574c1
2012-10-26 11:25:21 -04:00
John Spurlock
47cde77bc7 Fix camera bugs found overnight.
- Fix crash in CameraWidgetFrame after rotating to landscape
 - Fix pages drift to the left bug
 - Address Jim's comments on c/245706
 - Disable camera widget if landscape

Bug: 7419070
Bug: 7417798
Bug: 7418781
Change-Id: I5c730c7c1baf3c1872367b6392e6786578765298
2012-10-26 08:25:51 -04:00
Adam Powell
6f35209e72 Integrate assets from UX; drag/bouncer animation behavior in slider
Integrated changes from prototype app

Change-Id: I5f017431531b6d12aca89a674d865402c60c2104
2012-10-25 21:28:27 -07:00
Jim Miller
9b1db682c3 Fix issue where security view sometimes doesn't show.
Since the code is now very careful about loading layouts, we
sometimes get into a situation where the security view isn't shown.

This CL ensures the security method is shown at least once
when the view is inflated.

Change-Id: If80a46adb868d92194610eccaf9d8d6c2a2c5b3d
2012-10-25 19:39:58 -07:00
Adam Powell
0b1b552268 Keyguard bouncer notifications; focus moving and the bouncer; slops
Integrate changes from prototype app

* Add callbacks for bouncer state changes

* Dismiss the bouncer if focus leaves the challenge area

* Increase edge swipe region, treat this as a slop for
  SlidingChallengeLayout's drag handle. (This allows edge swipes in
  the drag handle area to still page widgets instead.)

Change-Id: I732de1a8d999a34c7cc8aa8ed99e24b597f3444c
2012-10-25 13:57:19 -07:00
Chet Haase
b3975088b6 am 9023cf91: Merge "Set wallpaper bitmap reference to null before reloading" into jb-mr1-dev
* commit '9023cf91018c75a179d04256fd4e306065528117':
  Set wallpaper bitmap reference to null before reloading
2012-10-25 12:23:20 -07:00
Chet Haase
9023cf9101 Merge "Set wallpaper bitmap reference to null before reloading" into jb-mr1-dev 2012-10-25 12:19:34 -07:00
Chet Haase
589a6af173 Set wallpaper bitmap reference to null before reloading
Give the GC a chance to collect the current bitmap if it needs to,
as it allocates memory for the next one. This helps avoid OOM situations
that can sometimes occur in extreme circumstances (huge bitmaps)

Also set the default_wallpaper to the right default size.

Issue #7352961 Wallpaper edge is cut-off while scrolling through home page

Change-Id: If76b55061d04b29af7f66a6162e307b8b53bf4ae
2012-10-25 11:57:09 -07:00
John Spurlock
dcc9681b0d Manual frameworks/base merge from lockhotness (camera).
Change-Id: I8649ef77b706120a2297ddccd9bbb4d7ddf026a9
Proto-Id: Ia60ed9ee263b6053b9ca00d71fbd3ffc64a96278
2012-10-25 14:35:19 -04:00
Daniel Sandler
d5692742c1 PIN pad cosmetics.
Also pull the Klondike telephone exchange letter strings out
into arrays.xml so we can override it for specific locales.

Change-Id: Idf79ff8bfd53e5a8277271cc85ac7a1784ae3b64
2012-10-25 03:30:28 -04:00
Daniel Sandler
2c1ce0564f Cleaning up password input.
Starting to try to show the IME at the right times.

Change-Id: Idc681304c309022666a03c26885a5c94ab4ec2a2
2012-10-25 01:30:00 -04:00
Daniel Sandler
51d39f2df9 Add ECA to PIN view
Change-Id: I46e854dc8d5920bb506ac9996af7ea3ca845468a
2012-10-25 01:18:30 -04:00
Adam Powell
eee209313d Beginnings of bouncer support; add scrims and state tracking
Integrating from prototype app

Change-Id: Ib142cf371c5997f547266d8af7e25129fb4e1343
2012-10-24 16:33:44 -07:00
Adam Powell
c0657fb36c Integrate changes from lockscreen proto app
Fix padding/layout issues in MultiPaneChallengeLayout

Change-Id: I610b4c0cc321a690fa29d071d6a960c05ffbe3a7
2012-10-24 14:01:37 -07:00