• Home
  • History
  • Annotate
  • only in /frameworks/base/core/java/com/android/internal/widget/
History log of /frameworks/base/core/java/com/android/internal/widget/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a46a74fcd61d2b4e72b6027625a471f10b21b1c9 08-Nov-2012 Dianne Hackborn <hackbod@google.com> Merge "Remove extraneous logs." into jb-mr1-dev
7ff30113de68539ec840c524b8f1561f938f96c5 08-Nov-2012 Dianne Hackborn <hackbod@google.com> Remove extraneous logs.

Change-Id: I4c47d36748de91bd6fddc419afbf59552bf63e9a
ransportControlView.java
3c9297c3cb739b9aec9ccff7e4e3e05006edb836 08-Nov-2012 Jim Miller <jaggies@google.com> Merge "Attempt to fix NegativeArraySizeException crash in keyguard" into jb-mr1-lockscreen-dev
7ce0c13c0e5a1413ecde1a5c36510d22979f9012 08-Nov-2012 Svetoslav Ganov <svetoslavganov@google.com> Slide unlock cannot get accessibility focus.

1. There are two overlaid views, one is the GlowPadView and the
other is the SlidingChallengeLayout. Since the GlowPadView is
on top of the other view it has to consume the hover events or
they will be dispatched to the view behind it which results
the the GlowPadView not getting accessibility focus.

bug:7496770

Change-Id: Iae3b1777e490c56e33560a016fc04a92226bfb66
ultiwaveview/GlowPadView.java
3e66286f7cf33ef13fd9f4f033816b84828c1f2b 07-Nov-2012 Adam Cohen <adamcohen@google.com> Merge "Fixing up glowpad scaling issues (issue 7494378)" into jb-mr1-lockscreen-dev
f988bdfbaebe8ee94f6459f3c8d964467f2c62c9 07-Nov-2012 Adam Cohen <adamcohen@google.com> Fixing up glowpad scaling issues (issue 7494378)

Change-Id: I55c0f7a3774d42d4f5893b12bc0c08690268e351
ultiwaveview/GlowPadView.java
cabcc5900790daaa9ca4d080848c9b505c3de126 07-Nov-2012 Michael Jurka <mikejurka@google.com> Merge "Allowing rotation while adding lockscreen widgets" into jb-mr1-lockscreen-dev
192d6d4ee271c0782a3bf5d8c64e42eb22d1a6fa 07-Nov-2012 Michael Jurka <mikejurka@google.com> Allowing rotation while adding lockscreen widgets

Also cleaning up some unused code

Bug: 7468012
ockPatternUtils.java
e41dd0f195d77329bdf686af1dcbfd92bdbb5373 07-Nov-2012 Adam Cohen <adamcohen@google.com> Giving glow pad the brains to scale itself dynamically (issue 7449554)

Change-Id: I44f31d354171c01b607871d6a9e1e9d06a49ffc8
ultiwaveview/GlowPadView.java
a97686096265c2b718e15f806bca352675e5cd2d 07-Nov-2012 Jim Miller <jaggies@google.com> Attempt to fix NegativeArraySizeException crash in keyguard

Fixes bug 7490924

Change-Id: I974c9b7a4fb3de536efe9d47cdd480190772a1be
ockPatternUtils.java
76017cad4f7af95380ee5eaf6dc610bb46088a9c 07-Nov-2012 Michael Jurka <mikejurka@google.com> Removing sticky widgets in lockscreen

Also adding mechanism to show a widget after
adding it

Change-Id: Ic4d49e6ef1343c38fa731b0ed2a327c55b678abf
ockPatternUtils.java
51117262c8fadb6d227d137e83ad66996b013141 05-Nov-2012 Jim Miller <jaggies@google.com> Handle DevicePolicyManagement and safe mode when inflating widgets

Bug 7459120
Bug 7444159
Bug 7444016

Change-Id: I7966ec510da8113ac571b5a4b9dc48dd291396e8
Conflicts:
policy/src/com/android/internal/policy/impl/keyguard/KeyguardWidgetPager.java
ockPatternUtils.java
67a871d85732e582c70a2a1d85ef4419eb658a12 02-Nov-2012 Michael Jurka <mikejurka@google.com> Use clock's widget as the default keyguard widget

Also, if we have no widgets in lockscreen,
reinflate the default widget. If that fails,
inflate the built-in clock (KeyguardStatusView)

Change-Id: I2e90ab0893c993a755700e075e4a8ac5a685e0f2
ockPatternUtils.java
c4842c11932ea4f60fe7ae09b0a59660207e1587 31-Oct-2012 Svetoslav Ganov <svetoslavganov@google.com> Accessibility support for the lockscreen - phone.

Change-Id: Idc99f1322a1d635dd07e1f5efa1665a4676267c2
ockPatternView.java
fc753c0cf676000b1c2d3cb2728af85a9b49f795 31-Oct-2012 Michael Jurka <mikejurka@google.com> Use new keyguard appwidget picker

Also, remove ability to filter widgets by feature
in appwidget picker in anticipation of api change

Change-Id: I325de0b98f03d3a250758d504229ea27794b5330
ockPatternUtils.java
ddbf138d11d9ad4fa9ec871b2fc5862dad20f02c 30-Oct-2012 Brian Colonna <bcolonna@google.com> Fixed misplacement of cancel(X) button for Face Unlock

Before the FUL service started, the FUL cancel button was positioned
off of the right side of the window. This was because the
FaceUnlockView (derived from RelativeLayout) was calling
super.onMeasure() incorrectly, preventing it from using the new
'square' size when laying out child views.

Change-Id: I2f1e86617da5c8f37123febab2e433288bdea062
aceUnlockView.java
68d257d788f5154922cd605ab8079a5c0815dffc 30-Oct-2012 Brian Colonna <bcolonna@google.com> 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
aceUnlockView.java
5f050e5c2c1616c7f0795c4f13e42a5d150b8015 27-Oct-2012 John Spurlock <jspurlock@google.com> Use settings to persist sticky widget.

Addressing some comments:
- Sticky widget is now saved in a user-scoped setting.
- Removed multi-user widget from computation (obsolete).
- Removed status widget from computation (just use right-most).
- Removed duplicate isMusicPlaying logic.

(frameworks/base)

Change-Id: I8ef8f826677d78ac24da52adf2d99d47c8d965ac
ockPatternUtils.java
1d269e8e8fc508f59e4010777f4da6a2feafb0a4 27-Oct-2012 Chris Wren <cwren@android.com> Merge "single unlock target with honycomb semantics" into jb-mr1-lockscreen-dev
68b14054b96571d4009c6c5a9b4c3413d908a523 27-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Revert "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)"" into jb-mr1-dev
bb4b601673a4f910d3e467bc5ce39538438859ce 27-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> Revert "Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)"

This reverts commit 6bf6eb7d5f9207d6a3e1d6b61f17a8654d06fbdb.
and also fbc21e126f329b7b7c161858c1390ccb023be07e

I have also removed all unnecessary calls to resolveLayoutDirection(int). This is possible as
we are resolving layout params on every child of a ViewGroup as of commit
fcc3348f61b2992f0b84e8e8dcb3535fc715298f

Change-Id: I262a375b03fcc3c9261cbe2edebb6ec42ec2e186
ctionBarContextView.java
ctionBarView.java
229dd8b3559257ba31f31299d1d2fc4d1ba14bbb 27-Oct-2012 Michael Jurka <mikejurka@google.com> Fix bug where it wasn't possible to add widgets

- Happened when you were down to 0 widgets (which
won't be possible in future, but fixing this as
well)
ockPatternUtils.java
f0ee5b813597e97123d518b227c555c0ea0c0f29 26-Oct-2012 Chris Wren <cwren@android.com> single unlock target with honycomb semantics

Bug: 7411431
Change-Id: I27a86041c93369df2be2d53cb81c29658e70bcca
Proto-Id: I631fa48da4c67351366bcc1002a01dfa66a34d8c
ultiwaveview/GlowPadView.java
358148e386a20801430aaf6f3f7ca02807cd71c3 26-Oct-2012 John Spurlock <jspurlock@google.com> Implement "sticky" widget logic.

(frameworks/base)
Used after screen-off, and after launching camera.

Bug: 7418847
Change-Id: I5179e6af13be4494fde77fde2cdb5610ab888dac
ockPatternUtils.java
1254f2f42f7173ef51d0034975ab5cb7d44f8209 25-Oct-2012 Michael Jurka <mikejurka@google.com> Persist reordering/deleting widgets on keyguard

Also, clean up warnings from unused imports

Change-Id: Id0ef12a584ffdaa8a4fb64ffe93d0dda0af398ec
ockPatternUtils.java
8b3dd40019db2c5744b3adceb75a231311bc00b7 25-Oct-2012 Michael Jurka <mikejurka@google.com> Fix build
ockPatternUtils.java
aa2859ae61098509495b7938e32a6d59d37561be 24-Oct-2012 Michael Jurka <mikejurka@google.com> Adding ability to add multiple widgets to keyguard

Bug: 7381803
ockPatternUtils.java
962159addd6705d11bdd4c0fa3b83c0b7d95b28a 24-Oct-2012 Adam Powell <adamp@google.com> Fix up GlowPadView attributes

Change-Id: I98c14177753e713fcdaaf886c44ce10ab49eebc9
ultiwaveview/GlowPadView.java
95cccb9d6175cb80d9312fadbe40cf7c4ec9f949 12-Oct-2012 Jeff Sharkey <jsharkey@android.com> Merge "Make all lockscreen widgets follow haptic flag." into jb-mr1-dev
723a725e790d269f32980116e775d3d7f0037865 12-Oct-2012 Jeff Sharkey <jsharkey@android.com> Make all lockscreen widgets follow haptic flag.

Bug: 7337006
Change-Id: I782e498b7528e612c4b06a75b77f5521c951cbd6
otarySelector.java
lidingTab.java
aveView.java
ultiwaveview/GlowPadView.java
ultiwaveview/MultiWaveView.java
6bf6eb7d5f9207d6a3e1d6b61f17a8654d06fbdb 11-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #7325234 LayoutParams are not resolved correctly (Settings apps looks broken on Manta in Arabic)

Part 2

- fix remaining UI widgets by asking layout params resolution when needed

Change-Id: I97c41639da645d77eeda85feec3bbcc7fc1260b9
ctionBarContextView.java
ctionBarView.java
b8021a88e5c00ebd985a348b56af29c95a178a90 11-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #7326778 Rename LayoutParams.onResolveLayoutDirection(int)" into jb-mr1-dev
2918ab6c3258639148b8a5c78a34483af195246e 11-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #7326778 Rename LayoutParams.onResolveLayoutDirection(int)

- rename to LayoutParams.resolveLayoutDirection(int)
- upate 17.txt too

Change-Id: I54fe28dc47cfdb65ef0b5b0244dabbe1d675c781
ctionBarView.java
5ed9d680409c83fbfd7b617d7f257305d3c34b62 10-Oct-2012 Jeff Sharkey <jsharkey@android.com> Move lockscreen to using haptic feedback setting.

This removes lockscreen-specific "Vibrate on touch" setting, and
changes it to use the haptic feedback setting instead.

Bug: 7318772
Change-Id: I637c392a1aaa22403cb20da4723f90c3b2e3de19
ockPatternUtils.java
245b453733d0b611960844d939e0013f285a5a9a 08-Oct-2012 Jim Miller <jaggies@google.com> Properly handle cancel event in GlowPadView

There was a workaround used in a previous release where we effectively
ignored cancel events to work around another bug. This change removes
the workaround and GlowPadView correctly handles the event.

Bug 6903638

Change-Id: I9b510985c6da346a4e10cf2535267c8d5efa5871
ultiwaveview/GlowPadView.java
f752202bee88e31ce765483ba2efa6999ae9c9ad 04-Oct-2012 Adam Cohen <adamcohen@google.com> Plumbing to allow keyguard to be shown with user switcher (issue 7175023)

-> Also reduced calls to lockNow, and moved this call in ActivityManagerService

Change-Id: I9ba34ca902f7c0f71fa4ec302104688ca8d11f55
ockPatternUtils.java
e303c5c3eb2f65ef3c6fc2693cc3cbcee92d63b7 03-Oct-2012 alanv <alanv@google.com> Send LockPatternView accessibility announcements before callbacks

This allows the pattern's listener to optionally send accessibility
announcements that interrupt the defaults, rather than the view always
interrupting the listener.

Bug: 7256500
Change-Id: Ief2f5cc2fae76a3becc1321d14d46f97b3092215
ockPatternView.java
c6e570dbadc3689bc80c0516492a3209d5f6742b 02-Oct-2012 Jim Miller <jaggies@google.com> Merge "Fix camera disambiguation in secure keyguard" into jb-mr1-dev
ee82f8fa2d47fc1dbfc29582ae348b3c45ff8fe0 02-Oct-2012 Jim Miller <jaggies@google.com> Fix camera disambiguation in secure keyguard

When there are multiple activities that respond to MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA_SECURE
we need to show the disambiguation dialog to the user. However the disambiguation "dialog"
is actully an activity themed as a dialog. Hence, we can't show it in the secure keyguard.

This works around the issue by prompting the user for their credentials directly when the
intent needs disambiguation. This will take them out of keyguard and prompt them for
which activity they want to use.

We'll provide a more robust solution in a future release.

Fixes bug 7109816

Change-Id: I94e643d3cb503e1ce6de24c82400b4d5fcbb9d95
ockPatternUtils.java
4aeb961de2a2bbf0d897a8436b6421ecfbc4d712 01-Oct-2012 Casey Burkhardt <caseyburkhardt@google.com> Sets accessibility importance for the home/up button.
Bug: 7196985
Change-Id: I4d27470eccb8933f751db892218a8032a80df3da
ctionBarView.java
3af630c8d18bcf4b23a5a308917319dd04cc8ed2 26-Sep-2012 Jim Miller <jaggies@google.com> Update keyguard layouts on phone

- Go back to using old date format
- All keyguard text is now caps
- Lower brightness on emergency call text
- Fixed CR/LF issue with Owner info
- Added new alarm icon and fixed padding
- Swapped Google Now and lock icon in landscape mode
- Centered PIN/Password/Pattern help text in view in portrait
- Fixed keyboard size issue in landscape
- Merge new assets from UX

Change-Id: I7adb44b6c9a57d40cab0a77433d43291fb277568
asswordEntryKeyboardHelper.java
df8bfe0cf65b4f864eb3eb60c1371f987c79ca20 22-Sep-2012 Kenny Root <kroot@google.com> LockScreen: only set keystore password for owner

Since KeyStore doesn't support multi-user, only unlock or set the
password on the keystore when the "owner" enters a password.

Bug: 7169463
Change-Id: I97b4ba714dc6e400a6e45825c71f81c4629392d8
ockPatternUtils.java
26c5686b7e3bf0ba238c55caa3e86447bab7cc61 24-Sep-2012 Jim Miller <jaggies@google.com> Merge "Better handling of multiple touch events in GlowPadView" into jb-mr1-dev
b499884ba1fa9577363524d1f28100627926d3b6 24-Sep-2012 Jim Miller <jaggies@google.com> Better handling of multiple touch events in GlowPadView

This fixes a bug where a secondary touch event from the edge of the screen
would cause GlowPadView to choose the wrong target. The issue is resolved
by keeping track of pointer ids and only allowing the one that initiated
the gesture to complete it.

Fixes bug 7133500

Change-Id: If296b60af2421bfa1a9a082e608ba77b2392a218
ultiwaveview/GlowPadView.java
239e430578fd2d3bd38a646595a82bca95359bd7 24-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #6427629 Clean up layout direction APIs" into jb-mr1-dev
e3f2ac9e526e5b4de4d2ae113e644c1cb14b1ce6 24-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #6427629 Clean up layout direction APIs" into jb-mr1-dev
e56ffdc7b31b0937628609cc3bbaa15879023569 23-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #6427629 Clean up layout direction APIs

- rename getResolvedLayoutDirection() to getLayoutDirection()

Change-Id: I3afe56c0db0751952f5056c23893cb7455531d29
ctionBarView.java
ultiwaveview/GlowPadView.java
ultiwaveview/MultiWaveView.java
4457e85a7090ad51726d50a4daf981d917cceedd 19-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #6427629 Clean up layout direction APIs

- canResolveXxx() should be hidden
- resetResolvedXxx() should be hidden
- resolveDrawables(), resolveLayoutDirection(), resolvePadding(), resolveTextAlignment(), resolveTextDirection() should be hidden
- onResolvedXxx() should be merged into one callback
- fix also an issue with setting the layout direction of the drawable in ImageView
- fix also an issue with checking if TextAlignment can be resolved

Change-Id: I1402269ddf8632525f5550f80e5610e1a7b4034d
ctionBarContainer.java
77e95d3d71f10a0d936445e3f3ed90e15c019024 22-Sep-2012 Amith Yamasani <yamasani@google.com> Merge "Show lockscreen widgets for the current user." into jb-mr1-dev
8fd96ec2dc215095d12ef3e9bd7dc50ebc78625e 22-Sep-2012 Amith Yamasani <yamasani@google.com> Show lockscreen widgets for the current user.

Also shows the owner info and next alarm for the current user.
AppWidgetService now assumes that any widgets running in the system process are for the
current user, so that lockscreen shows widgets for the current user

Bug: 7211754
Bug: 7212421

Change-Id: Iaf0edc60e49af0afe42625c0b2dcf100c9ecc178
ockPatternUtils.java
6eeff850b245bd3be3a0e782cd9f28daadf922dc 22-Sep-2012 Jim Miller <jaggies@google.com> Merge "Remove UID checks from LockPatternUtils" into jb-mr1-dev
25645d8bbcced4416122d5dadedcf030a7bc12e5 21-Sep-2012 Jim Miller <jaggies@google.com> Remove UID checks from LockPatternUtils

The UID checks should be unnecessary because LockPatternUtils already relies
on system permission checks in Settings, LockSettings, DevicePolicyManager
and Keystore. These checks should already catch illegal operations.

This was interfering with the stand-alone test app for keyguard.

Change-Id: I2da2a729ca29feae9e962c2e360ec47490bcbbf0
ockPatternUtils.java
20c41d5382b70fa5a24e9ef68f19ce0aedea5234 21-Sep-2012 Michael Jurka <mikejurka@google.com> Add support for changing status widget on security screen

Change-Id: I080fd89eb84445604c602b6e807b55153a7ee129
ockPatternUtils.java
109f1fd80c90409c0d7f21d49989641dfdf2ad1b 20-Sep-2012 Jim Miller <jaggies@google.com> Update keyguard selector view to match UX design spec
- Use new Roboto-Thin font
- Add new keyguard-specific date format
- Layout tweaks to keyguard selector screen.
- Add smart EmergencyButton class
- Add selective upper-casing of components on the display to enable later UX decision
- Work around SIM state bug

Bug: 7094419
Change-Id: Ic7e0f30697c14d4946372509d98ad81bf6a23c92
ockPatternUtils.java
f1b674197577e815040cd75ef86d611965d603ad 19-Sep-2012 Craig Mautner <cmautner@google.com> Fix deadlock in LockPatternUtils by using local id.

Activity manager now updates window manager's current user id
directly and immediately rather than waiting for a broadcast
update. Window manager passes this through policy to the
KeyguardViewMediator and into LockPatternUtils. LockPatternUtils
no longer goes to Activity to get the current user id if it finds
that its local id is non-default.

Fixes bug 7193726.

Change-Id: Id5613e7a9fe9e5b49e83c26b74504f587c3998c2
ockPatternUtils.java
599dd7ce9adf8ca067cefb0b191a5ac20ec35a79 15-Sep-2012 Amith Yamasani <yamasani@google.com> DevicePolicyManager per user

Bug: 7136483

Store device policy information for each user and apply them when user switches.

Global proxy can only be controlled by owner.
Camera restriction applies to all users, if any one has an admin that disables it.
Storage encryption can only be controlled by owner, although other users can query the state.
Wipe data will only remove the user if non-zero, wipe the device, if zero.

Change-Id: I359be46c1bc3828fd13d4be3228f11495081c8f2
ockPatternUtils.java
a87826c345dbd692a86a340691cf7471a2505809 14-Sep-2012 Amith Yamasani <yamasani@google.com> Merge "Fix face unlock for multiple users" into jb-mr1-dev
4b4b954ddf34af51576441f0e3eca6d19150aada 14-Sep-2012 Amith Yamasani <yamasani@google.com> Fix face unlock for multiple users

Bug: 7152537

Not all instances of LockPatternUtils are getting updated with the current user, so
query it directly from the Activity Manager.

Change-Id: I46395c3e00feecd0edfe4228f8d7966f425519f2
ockPatternUtils.java
f229e4d3eb8f910c181f96416c6798f6f305a395 13-Sep-2012 Jim Miller <jaggies@google.com> Add support for settings for lock widgets

Change-Id: Iade094c6f32a7653bdbbd4921d345d68f2443ff4
ockPatternUtils.java
61f57379ca2c5b6290c8da7548fa17128f7ab24f 31-Aug-2012 Amith Yamasani <yamasani@google.com> Centralize the creation of the user system directory

Environment.getUserSystemDirectory(int userId)

Use it all relevant places that was hardcoding it.
Also, wipe out the user's system directory when user is removed, otherwise old state
might be transferred to a new user.

Change-Id: I788ce9c4cf9624229e65efa7047bc0c019ccef0a
ockSettingsService.java
c7752a312adfe108c3b0e9143122152f2470be31 25-Aug-2012 Adam Powell <adamp@google.com> Show content description popups when long-pressing action bar tabs

If an action bar tab shows as an icon only and has a content
description, show a long-press popup with the content description.

Bug 6009390

Change-Id: I7f2f68eeef03ede99ff2113e21e1dc14a4295827
crollingTabContainerView.java
f02b60aa4f367516f40cf3d60fffae0c6fe3e1b8 16-Aug-2012 Dianne Hackborn <hackbod@google.com> Rename UserId to UserHandle.

This is the start of turning this into a formal public API.

Change-Id: I5786d2c320f1de41a06ed5d0f65adb68967287a0
ockPatternUtils.java
ockSettingsService.java
6322af54cfb74be22386e4b7d17350cebf2da58f 09-Aug-2012 Adam Powell <adamp@google.com> Fix indeterminate ProgressBars with weird sizes and padding; optimize
ActionBar measurement

Fix a bug where preserved aspect ratios in ProgressBar indeterminate
drawables were causing drawable bounds to be calculated incorrectly
when the ProgressBar had padding specified.

Measure the ActionBar menu view's height with EXACT measure mode,
preventing an extra measure pass to match child heights for some
cases.

Change-Id: I8c4678662a015b57ba2686d5b5c5fc27d4ef8d36
ctionBarView.java
fd75eef161e93a39c87699b6c938b8298ee8f78b 02-Aug-2012 Adam Powell <adamp@google.com> Animate the action bar's Up chevron as it shows and hides.

Change-Id: I2cf0283cc644a62ad83cb5641b8f56cc8229b86f
ctionBarView.java
570470a332a824a66c74a1d6bd8ce0253ccb5050 07-Aug-2012 Adam Powell <adamp@google.com> Make ActionBar fail more cleanly when invalid heights are set

Also add "none" flag value for null displayOptions in xml

Change-Id: Ided3433638f02ba2a18ce08db265d7a8ac4f216c
ctionBarView.java
d5c81db1e78e98f3e0a1a5cf206865c3056294c4 02-Aug-2012 Adam Powell <adamp@google.com> Fix some ActionBar menu issues around config changes

Bug 6904212

Update allow-text and max item height properties for action bar menu
item views properly.

Fix an ActionMenuItemView measurement bug that could cause items to
measure too small.

Change-Id: Ibac8491f7670969b0ae4584fff5e44ebd1435abd
bsActionBarView.java
a7cc06d82e45918c37429a59b14545c6a57db4e4 02-Aug-2012 Adam Powell <adamp@google.com> Fix drawable handling for ActionBarContainer

ActionBarContainer drawables for primary/stacked/split backgrounds
will now properly respect callbacks, layout direction, etc.

Bug 6905932

Change-Id: I20a089861c66a2a378f4b70c0b6cb4bb27476049
ctionBarContainer.java
85d28a00043e5985b11f517031d7b2317ac19e10 24-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Replace left/right with start/end for Gravity / LayoutParams / Padding"
aac0d4ed026d1cfbcf3fa81c6e4eb96f4347ca17 20-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Replace left/right with start/end for Gravity / LayoutParams / Padding

- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: Id9af5375fb9b0edeae5232c77e52ecd497bd2e67
crollingTabContainerView.java
extProgressBar.java
34c829e46c875a59eba95fd65a27e2fe5688083e 20-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix ActionBar HomeView up button layout params

Change-Id: I9cbf2ce695cce14c16efa270fafa062f46c985ce
ctionBarView.java
cf1ba0298c48ae56608ed556dc715eb69c54f9b9 26-Jun-2012 Fabrice Di Meglio <fdimeglio@google.com> Make ActionBar aware of layout direction

- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: Iea8a512311ee99548f39bbbe342f21eabaffbe09
bsActionBarView.java
ctionBarContextView.java
ctionBarView.java
a592d224732a06c3776a41df37a52bac4c64a654 30-Jun-2012 Jim Miller <jaggies@google.com> Minor cleanup of left overs from GlowPadView integration.

- remove unused "chevron" assets
- reduce memory footprint in SystemUI by not loading unused handle drawable.

Change-Id: Iad1799d1a8a764c6abb4201520aa47ba84d33c38
ultiwaveview/GlowPadView.java
17f006ea92b802ddc63f36f0ea876cabca278eb7 22-Jun-2012 Adam Powell <adamp@google.com> am 8a0f63bb: am 40a9da3b: Merge "Allow sloppy touch targeting on Action Bar home/up" into jb-dev

* commit '8a0f63bb588138a9e4f1ef7830e94282efe57c6b':
Allow sloppy touch targeting on Action Bar home/up
6231ab8bbb2862a7ddb767876fb7a49c1565b616 22-Jun-2012 Adam Powell <adamp@google.com> Allow sloppy touch targeting on Action Bar home/up

Bug 6521608

When there are no custom views or other actionable views next to the
action bar's home/up affordance, expand the touch target by a generous
slop value. This helps frustrating cases where a user accidentally
hits just to the right of Up and nothing happens.

Change-Id: I09ef604ce70ad380aab62a373b04c4b02007c644
ctionBarView.java
ef46aa157be555349ae3762db7953a3ae48087f8 22-Jun-2012 Chris Wren <cwren@android.com> am 70a7be07: am ed5cc0e1: revert I057b7ac0 now that the layouts are the expected height.

* commit '70a7be0799bd1af77c0bcf2472d9c7e46f53c3c1':
revert I057b7ac0 now that the layouts are the expected height.
ed5cc0e1f7648962f5c93e1277d282be75bcd537 21-Jun-2012 Chris Wren <cwren@android.com> revert I057b7ac0 now that the layouts are the expected height.

Bug: 6546766
Change-Id: I736290b897b864228ecc3e46d86ef566efda1efd
izeAdaptiveLayout.java
93e417b560a3c7ddb832b78b17982937b4a88a12 21-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> am 0a79d2fb: am dce5af63: Merge "Fix GlowPadView accessibility behavior." into jb-dev

* commit '0a79d2fbcdf6ee5b0375de223e5230e5e538362f':
Fix GlowPadView accessibility behavior.
78bfb9829561876137c62ca1fff13760bfc77472 20-Jun-2012 alanv <alanv@google.com> Fix GlowPadView accessibility behavior.

Bug: 6702412
Change-Id: If5ab75e77b0090a405004c66da0083e81d59deb4
ultiwaveview/GlowPadView.java
ea03338dfa9b6dfebe274e6543e5b3f446bf4f8d 20-Jun-2012 Jim Miller <jaggies@google.com> am 27d1916e: am fce2ec4d: Merge "Fix 6656710: center dot pattern in GlowPadView" into jb-dev

* commit '27d1916e85ad994c3a440a80066737a8492eb791':
Fix 6656710: center dot pattern in GlowPadView
94754ef36d1ceacb9a335202585e60c82b1f4b0d 20-Jun-2012 Jim Miller <jaggies@google.com> Fix 6656710: center dot pattern in GlowPadView

This fixes a bug where the dots weren't aligned with the center of the view.
The matrix should not contain the offset of the image itself since we really
want to scale about the abstract points. The code now subtracts the image
centering positions (cx,cy) from the point to be scaled.

Change-Id: I1d46a5d51b1fd1d39944c64baf86c306c2d5e923
ultiwaveview/PointCloud.java
01b8e660efeb85756020435b4098cd593b458b50 20-Jun-2012 Jim Miller <jaggies@google.com> am 904f26bd: am f7e820bb: Merge "Fix 6693743: update animation ring for keyguard and search panel" into jb-dev

* commit '904f26bd2684f64ac8b3c41394f09c4143a600b5':
Fix 6693743: update animation ring for keyguard and search panel
f7e820bbc9d23e0657bbd6252fe285ba08a2551a 20-Jun-2012 Jim Miller <jaggies@google.com> Merge "Fix 6693743: update animation ring for keyguard and search panel" into jb-dev
a7da8afe6dc866786acab8b06524d0079caa3fd7 20-Jun-2012 Jim Miller <jaggies@google.com> Fix 6693743: update animation ring for keyguard and search panel

This is a partial revert of change Ibce96f45eb6a94582c694108b99e243fd57b1955.

This change:
- shows the expanding ring animation on keyguard and navbar search
- disables the first ping wave animation on both.
- restores the outer ring

Change-Id: I429d23a49ca2868dc00872b8b8fde000d6a53a6d
ultiwaveview/GlowPadView.java
9ec426aba68d2f08130a6756006e075468b54e53 20-Jun-2012 Jim Miller <jaggies@google.com> am 2b7df368: am cab997b2: Merge "Fix 6667238: allow market apps to support ACTION_ASSIST" into jb-dev

* commit '2b7df3686f24a5a653a6609556dd98210324f7bd':
Fix 6667238: allow market apps to support ACTION_ASSIST
45308b1b3b1582d048845df2ee5301241e52a5cf 19-Jun-2012 Jim Miller <jaggies@google.com> Fix 6667238: allow market apps to support ACTION_ASSIST

This change allows market apps and 3rd parties to supply an activity
that responds to ACTION_ASSIST (e.g. market apps).

It also adds a test app to respond to the ASSIST intent and force
the intent disambiguation dialog to appear.

Change-Id: I5a78863c6a9546d18c66275187d178f6a1c9ee17
ultiwaveview/GlowPadView.java
3eda1903c709904da9a1668b0ba9c46f13cd9f80 19-Jun-2012 Jim Miller <jaggies@google.com> am 60fd2b2d: am ddbc85cb: Merge "Fix 6683092: tune GlowPadView wave animation" into jb-dev

* commit '60fd2b2de286f3543cf9db9550db9083211ca5ea':
Fix 6683092: tune GlowPadView wave animation
5892e2ec253465a46b346fc813a21b412ae85e2e 19-Jun-2012 Jim Miller <jaggies@google.com> Fix 6683092: tune GlowPadView wave animation

This adds some aesthetic changes to the wave animation for GlowPadView:
- wave shape is no longer symmetric
- disable expand in keyguard
- enable expand in SearchPanelView (when mAlwaysTrackFinger == true)
- if a current wave animation isn't finished yet, don't start a new one
- various timing changes

Change-Id: Ibce96f45eb6a94582c694108b99e243fd57b1955
ultiwaveview/GlowPadView.java
ultiwaveview/PointCloud.java
048311ca379d4265a0fcbfdd67d968e88ca0aa67 18-Jun-2012 Jim Miller <jaggies@google.com> am a10b1a73: am 12da2c5e: Merge "Fix 6665117: ACTION_ASSIST visual improvements" into jb-dev

* commit 'a10b1a738dfa8fcf094fec555e7d85dba179f5fc':
Fix 6665117: ACTION_ASSIST visual improvements
20039ad17b94873ee40fdd61c3d1d1aa590010df 16-Jun-2012 Jim Miller <jaggies@google.com> Fix 6665117: ACTION_ASSIST visual improvements

- add generic icon for search providers that don't supply one
- change alpha weighting factor for glow
- don't show ring background

Change-Id: I86c86dc2d623c25ec7b91e206fac8ad9cd60faac
ultiwaveview/PointCloud.java
8c3ce3b6caa8667b756d247ef89c0df279f3a5e6 14-Jun-2012 Michael Jurka <mikejurka@google.com> am cf6e1455: am 71fc205d: Merge "Change snap behavior for lock screen" into jb-dev

* commit 'cf6e14558f693ae215d5030ce562a649b4cb973f':
Change snap behavior for lock screen
53f109bf4923e111e796014e6701a14e5bfa5d1a 14-Jun-2012 Michael Jurka <mikejurka@google.com> Change snap behavior for lock screen

Use angle and distance from center, rather than
distance from target.

Change-Id: Ic970bc4b05d341dbb6aab334e3f630794f2a211c
ultiwaveview/GlowPadView.java
ultiwaveview/MultiWaveView.java
79cb9b52e86beee247b76c1ecf51957b4596a956 13-Jun-2012 Jim Miller <jaggies@google.com> am 5f190731: am 955a0169: Fix 6613962: Update keyguard to use new GlowPadView UX design.

* commit '5f1907316e0085073a314dcfa41bfb35a7f31f9f':
Fix 6613962: Update keyguard to use new GlowPadView UX design.
955a016922ea49f154d190b054a202559b41a4d3 12-Jun-2012 Jim Miller <jaggies@google.com> Fix 6613962: Update keyguard to use new GlowPadView UX design.

Change-Id: I4f1ef3107e5550f7df9dcb412943a84b66432b7d
ultiwaveview/GlowPadView.java
ultiwaveview/MultiWaveView.java
ultiwaveview/PointCloud.java
d1645f8d0f30709340eb6b6d6da5022bbab77024 12-Jun-2012 Amith Yamasani <yamasani@google.com> Disable lockscreen using a system property.

For factory testing.

Change-Id: Ie5b8be432ab8ad40d8752f978899987c95a5aef9
ockSettingsService.java
f47e76e2c78e78e26110786e99548d718d177c32 04-Jun-2012 Jeff Brown <jeffbrown@google.com> Merge "Make velocity tracker strategy configurable." into jb-dev
9eb7d86181729c3eb769d71123c4ce9ffc868f08 01-Jun-2012 Jeff Brown <jeffbrown@google.com> Make velocity tracker strategy configurable.

This change is very useful for testing purposes because it makes it
easy to compare different implementations to see how they behave.

There is no change to the current default strategy.

Bug: 6413587
Change-Id: I4d8567aa4160571ba9fa397ce419882cd9366749
ointerLocationView.java
3294b6b09b2f52cb44005720051c32c9c851fc9f 01-Jun-2012 Jim Miller <jaggies@google.com> Fix 6592932: add means to replace assist icon from given package

This provides the means to replace the assist icon shown in keyguard and the
navigation gesture for assist. It's done by adding metadata called
"com.android.systemui.action_assist_icon" to the activity that handles
android.intent.action.ASSIST. It should point to a StateListDrawable
in that package with the required states. For example:

<meta-data android:name="com.android.systemui.action_assist_icon"
android:resource="@drawable/ic_android_systemui_action_assist" />

And then something like this in drawable/ic_android_systemui_action_assist.xml :

<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="true"
android:state_active="false"
android:state_focused="false"
android:drawable="@drawable/ic_action_assist_normal" />
<item android:state_enabled="true"
android:state_active="true"
android:state_focused="false"
android:drawable="@drawable/ic_action_assist_activated" />
<item android:state_enabled="true"
android:state_active="false"
android:state_focused="true"
android:drawable="@drawable/ic_action_assist_focused" />
</selector>

Change-Id: Ibc29360e179fed68253ff06a07b1bb2b982d0dab
ultiwaveview/MultiWaveView.java
ultiwaveview/TargetDrawable.java
2a7b17bb2604823e140fb867fe87836dd039611a 30-May-2012 Jim Miller <jaggies@google.com> Fix 6580421: make sure MultiWaveView.reset() makes handle visible

This fixes a bug where sometimes the handle wasn't visble in the
incoming call screen. The problem was that the animation was
interrupted on its transition from alpha = 0 to alpha = 1 by reset()
and the new handle animation wasn't started.

Change-Id: I3ab4259db1115da20e7f54b91bbfe3b496940214
ultiwaveview/MultiWaveView.java
9a720f5eb6c67b581df22f4ecb498cebb459babe 30-May-2012 Jim Miller <jaggies@google.com> Fix 6398209: SearchPanel gesture improvements

This fixes a few recent regressions caused by other bug fixes:
- add new flags to animateCollapse() so we can selectively close panels. Fixes regression caused by attempt to close recent apps from startAssistActivity() which had the side effect of closing the search panel before the animation completes.
- adds tuneable holdoff delay for responding to home key press.
- minor tweaks to MultiWaveView animations.

Change-Id: Ia48434b8d59e7b0290a5e9783960c2f684068218
ultiwaveview/MultiWaveView.java
a073e570789e5b49e8339af44516444b13db4428 24-May-2012 Jim Miller <jaggies@google.com> Fix 6398209: General animation improvements for swipe to search

This cleans up the animation for swipe to search from the navbar. In particular:
1. Wait for initial animation to finish if gesture was too quick.
2. Better fade animation
3. Hide background and fade in when ring is selected
4. Smoother target and outer ring animation when switching between states.

Change-Id: I401197760cf9f06b6ff3e1cdb80bee86a03ef276
ultiwaveview/MultiWaveView.java
ultiwaveview/Tweener.java
04b63f6fb0f04e0cd56a6c2d71c8c4f1f2207758 25-May-2012 Chris Wren <cwren@android.com> Merge "Squelch the logs from SizeAdaptiveLayout." into jb-dev
960892c0afa7f2b91236928e29e3987ed35b2077 24-May-2012 Jim Miller <jaggies@google.com> Fix 6547012: ignore events outside the home/back/recent navigation area

This fixes the search panel to only show if touch events originate
in the home/back/recent area.

Change-Id: I370da8b5c5613b7bbab5d266ba51a61df8f3a57b
ultiwaveview/MultiWaveView.java
5462508f05286d873183b72106928c17f259ff67 23-May-2012 Chris Wren <cwren@android.com> Squelch the logs from SizeAdaptiveLayout.

Bug: 6540109
Change-Id: I52bd64e2f5d1b2f02ef7e956ddf1340fb9b2aff3
izeAdaptiveLayout.java
998bb765290066822ff8a3b378dadd71deb0ce73 21-May-2012 Jim Miller <jaggies@google.com> Fix6398209: reveal search when home button is long-pressed

This change add a feature to reveal the swipe to search interface
when the home key is pressed for longer than 50ms. It progressively
reveals the interface. It still requires a bit of tuning, but all
the basic parameters are in this CL.

Change-Id: I1d3a5bb7b912265eb41da68bc9313eee1af2e415
ultiwaveview/MultiWaveView.java
5de47b6ad9d72476302f8a3732b639d3d413ef77 17-May-2012 Jim Miller <jaggies@google.com> Fix 6398209: Fix glitch in chevron animation in MultiWaveView

This fixes a glitch caused by clearing the array of chevrons before
stopping the associated animations. The old animations were allowed to
complete which caused chevrons to move around erratically because they
were being controlled by multiple animators.

Change-Id: Iec1450dd83077a721930eb3cac19a621e7356980
ultiwaveview/MultiWaveView.java
c1c140657633cc5b0ff26da1f122fab305d21e01 16-May-2012 Jim Miller <jaggies@google.com> Merge "Fix 6398209: Lots of improvements to gesture search from navbar" into jb-dev
20830421fe223bf2a8a69a67a6d26b0b5beb5baa 16-May-2012 Jim Miller <jaggies@google.com> Fix 6398209: Lots of improvements to gesture search from navbar

- Added ability to postpone animations until after window is shown
to ensure the animation is visible on slower devices.
- Fixed layout bug that prevented targets from being located on
outer ring.
- Fixed bug where some motion events were being ignored when handle
wasn't captured.
- Reduced temp object generation in several methods.
- Added containers to start all animations together and to facilitate
delayed start.
- Increased radius of outer ring on phones to closer match mocks.
- Decreased sensitivity of swipe up gesture on navbar so it's harder to false.

Change-Id: I084f840115aef6496a1f87202c4e42d9962c8c3e
ultiwaveview/MultiWaveView.java
ultiwaveview/Tweener.java
85bd0d62830a098c1bdc720dfdcf4fe1b18b657c 14-May-2012 Jeff Brown <jeffbrown@google.com> More VelocityTracker refactoring.

Bug: 6413587
Change-Id: Ida1152e7a34d5fe5caab5e6b5e1bc79f6c7a25e6
ointerLocationView.java
c6e523ea9bc15f18c9cbf04b05e8d2c90298453f 12-May-2012 Jim Miller <jaggies@google.com> Fix 6486099: Fix clipping issues with MultiWaveView on phone/tablet

This fixes a problem where the bounds of the view weren't being
calculated properly when a separate outer radius was specified.

The code now takes the maximum of the ring drawable's width/height
and that specified in the resource files.

This gives it the best default look on all devices while still
allowing minor tweaks.

Change-Id: I5daa40ff4f14653c8cc89b39102816afb976e4f7
ultiwaveview/MultiWaveView.java
4c351d62e7a09bcc29e7d0329bcdd947a302cf40 11-May-2012 Jim Miller <jaggies@google.com> Fix 6040870: Update MultiWaveView for new device

This change allows more flexibility in target placement in MultiWaveView.
It now supports a new way of specifying chevron drawables that allows
them to be moved in directions corresponding to more than the four basic
directions (right, up, left, down).

Chevron drawables can now be updated in an overlay.

This change also adds a place holder and makes a minor tweak to the layout
on 720dp devices where the navbar buttons weren't centered.

Change-Id: Icd319ec5f276870380e27737c873e78f599ff751
ultiwaveview/MultiWaveView.java
ultiwaveview/TargetDrawable.java
10c66afbd05e91143ea9bd109d3ce578e53dab14 11-May-2012 Jim Miller <jaggies@google.com> Fix 6398209: Improve MultiWaveView animations and interaction

TargetDrawables now have a "home" position they can be scaled about.
Added new "focused" state to TargetDrawable. This is used to distinguish between highlight and selection.
Updated target icons to use new focused state. Currently re-uses "activated" icon.
Change to event handling to allow cancel events when a target is highlighted to cause a selection.
Cleaned up MultiWaveView initialization code.

MultiWaveView animation improvements:
- new scale animation when center handle is touched.
- switched to using indices instead of foreach loops in critical path code to avoid creating temporary objects.
- updated and simplified animation code.

Change-Id: I593c021475f1644c73bdb9f84855e6a9fec7c0ab
ultiwaveview/MultiWaveView.java
ultiwaveview/TargetDrawable.java
72b26c1fa25077b1f3367eb211be20b629f7b1d4 07-May-2012 Jim Miller <jaggies@google.com> Fix 6397736: Fix issue with MultiWaveView in incoming call screen.

This fixes a bug where the incoming call screen sometimes had
misplaced icons. The code previously relied on an additional layout
pass that doesn't happen in the incoming call screen in some cases.

Change-Id: If7c39994c1bdadbd3e97f4b9ebb45f68893fd9bd
ultiwaveview/MultiWaveView.java
06e8d6647db54aa76dda92a5a785737e66d262de 07-May-2012 Jim Miller <jaggies@google.com> Merge "Fix 6397736: Swipe up to search layout fixes" into jb-dev
354619c1cc1b4668c81c5368b2256335cc9e8538 28-Apr-2012 Jim Miller <jaggies@google.com> Fix 6397736: Swipe up to search layout fixes

This fixes several layout issues on phones and tablets with MultiWaveView.

It adds a new background scrim to be shown behind the MultiWaveView
on the navigation bar.

MultiWaveView is updated to handle gravity constraints which makes layouts
much more flexible across devices.

Change-Id: I64068f4eaa81ef6c464247049117d53432fcacbd
ultiwaveview/MultiWaveView.java
139e5aa1da51b27231ab36344cf2d0dafab23f1e 06-May-2012 Dianne Hackborn <hackbod@google.com> Fix issue #6404215: New ActionBar auto-hide can conflict with application

The action bar now maintains separate states for the things that can
impact its visibility (calls from the app, action mode, system UI) so
that the changes in these won't incorrectly mix together.

Also added a hack to force the status bar to be shown when showing
the action bar for an action mode, when the UI is in a state where
the action bar would be shown with a gap above where the status bar
is.

Change-Id: Ib0950a7f585c5d2c9e77d11b237ba6e150f15ebd
ctionBarOverlayLayout.java
e898ac59db04d8ab0762180ca8ec7cea1347aa09 07-Apr-2012 Jim Miller <jaggies@google.com> Fix 6299832: Add search target swipe action to navigation bar on phones

This adds a feature to swipe upward on the navigation bar to invoke
voice search on phones.

Change-Id: I462076fd43b1c66c5bf624f00b297c6d3414a19a
ultiwaveview/MultiWaveView.java
54dfa5d90e49037eba05f5278076b45428b2bd11 24-Apr-2012 Chris Wren <cwren@android.com> Don't allow children of a SizeAdaptiveLayout to measure outside their declared range of valid sizes.

Bug: 6377749
Change-Id: Ie706006eee9c0ed8dda468212a652941b8e20be0
izeAdaptiveLayout.java
d84e5937468f6ebf2313ccd5ae54d5405f5e9cde 19-Apr-2012 Chris Wren <cwren@android.com> fix press feedback on notification rows

Change-Id: I50de2f4d6142c2553428abc853c820f4354d0640
Bug: 6362246
izeAdaptiveLayout.java
cdfc8bc57462ed3e074b328a7450c6450202cdaa 19-Apr-2012 George Mount <mount@google.com> Merge "Fix stack overflow during animation of action bar."
9caeb145721238897809805f521bb5c8ef375c0f 19-Apr-2012 George Mount <mount@google.com> Fix stack overflow during animation of action bar.

Bug 6366482
The animation engine now notifies onAnimationStart() and
onAnimationEnd() even when it does no action. This CL prevents
the setVisiblity call from causing an infinite loop of triggering
animation notifications.

Change-Id: I009217a42debf1a1495da222199ca8f599fa7bcf
bsActionBarView.java
b8139af3dcae80c0030afd0354dc424a7c72c3d9 19-Apr-2012 Adam Powell <adamp@google.com> Adjust action bar tab policies

Action bar tabs now stack in portrait mode on all screen sizes rather
than display embedded. This only affects apps with a targetSdkVersion
of JB or greater, as older apps may not be prepared for the different
measurement of the bar or have an appropriate stacked bar background
drawable.

Stacked action bar tabs now have a width limit. This prevents
super-wide tabs that can span the whole screen. The cluster of tabs
is centered if it does not span the full width.

Add ActionBarPolicy to give a single point to query for various action
bar measurements and behaviors that vary with configuration.

Change-Id: I01162ca009c14f6f0e712fc906b9db6382c738cd
crollingTabContainerView.java
3a59d6e26dbec61ede7d6f87d966698e27c91d78 31-Mar-2012 Chris Wren <cwren@android.com> A layout that switches between its children based on the requested layout height.

Change-Id: I5a4e5892fbed7cab2470e458a38accbbcb05ae51
izeAdaptiveLayout.java
4213804541a8b05cd0587b138a2fd9a3b7fd9350 20-Mar-2012 Svetoslav Ganov <svetoslavganov@google.com> Accessibility focus - framework

Usefulness: Keep track of the current user location in the screen when
traversing the it. Enabling structural and directional
navigation over all elements on the screen. This enables
blind users that know the application layout to efficiently
locate desired elements as opposed to try touch exploring the
region where the the element should be - very tedious.

Rationale: There are two ways to implement accessibility focus One is
to let accessibility services keep track of it since they
have access to the screen content, and another to let the view
hierarchy keep track of it. While the first approach would
require almost no work on our part it poses several challenges
which make it a sub-optimal choice. Having the accessibility focus
in the accessibility service would require that service to scrape
the window content every time it changes to sync the view tree
state and the accessibility focus location. Pretty much the service
will have to keep an off screen model of the screen content. This
could be quite challenging to get right and would incur performance
cost for the multiple IPCs to repeatedly fetch the screen content.
Further, keeping virtual accessibility focus (i.e. in the service)
would require sync of the input and accessibility focus. This could
be challenging to implement right as well. Also, having an unlimited
number of accessibility services we cannot guarantee that they will
have a proper implementation, if any, to allow users to perform structural
navigation of the screen content. Assuming two accessibility
services implement structural navigation via accessibility focus,
there is not guarantee that they will behave similarly by default,
i.e. provide some standard way to navigate the screen content.
Also feedback from experienced accessibility researchers, specifically
T.V Raman, provides evidence that having virtual accessibility focus
creates many issues and it is very hard to get right.
Therefore, keeping accessibility focus in the system will avoid
keeping an off-screen model in accessibility services, it will always
be in sync with the state of the view hierarchy and the input focus.
Also this will allow having a default behavior for traversing the
screen via this accessibility focus that is consistent in all
accessibility services. We provide accessibility services with APIs to
override this behavior but all of them will perform screen traversal
in a consistent way by default.

Behavior: If accessibility is enabled the accessibility focus is the leading one
and the input follows it. Putting accessibility focus on a view moves
the input focus there. Clearing the accessibility focus of a view, clears
the input focus of this view. If accessibility focus is on a view that
cannot take input focus, then no other view should have input focus.
In accessibility mode we initially give accessibility focus to the topmost
view and no view has input focus. This ensures consistent behavior accross
all apps. Note that accessibility focus can move hierarchically in the
view tree and having it at the root is better than putting it where the
input focus would be - at the first input focusable which could be at
an arbitrary depth in the view tree. By default not all views are reported
for accessibility, only the important ones. A view may be explicitly labeled
as important or not for accessibility, or the system determines which one
is such - default. Important views for accessibility are all views that are
not dumb layout managers used only to arrange their chidren. Since the same
content arrangement can be obtained via different combintation of layout
managers, such managers cannot be used to reliably determine the application
structure. For example, a user should see a list as a list view with several
list items and each list item as a text view and a button as opposed to seeing
all the layout managers used to arrange the list item's content.
By default only important for accessibility views are regared for accessibility
purposes. View not regarded for accessibility neither fire accessibility events,
nor are reported being on the screen. An accessibility service may request the
system to regard all views. If the target SDK of an accessibility services is
less than JellyBean, then all views are regarded for accessibility.
Note that an accessibility service that requires all view to be ragarded for
accessibility may put accessibility focus on any view. Hence, it may implement
any navigational paradigm if desired. Especially considering the fact that
the system is detecting some standard gestures and delegates their processing
to an accessibility service. The default implementation of an accessibility
services performs the defualt navigation.

bug:5932640
bug:5605641

Change-Id: Ieac461d480579d706a847b9325720cb254736ebe
ctionBarView.java
af9e8d38184c6ba4d2d3eb5bde7014a66dd8a78b 13-Apr-2012 Jeff Brown <jeffbrown@google.com> Notify applications when input devices change.

This change allows the InputManager to keep track of what input
devices are registered with the system and when they change.
It needs to do this so that it can properly clear its cache of
input device properties (especially the key map!) when changes
occur.

Added new API so that applications can register listeners for
input device changes.

Fixed a minor bug in EventHub where it didn't handle EPOLLHUP
properly so it would spam the log about unsupposed epoll events
until inotify noticed that the device was gone and removed it.

Change-Id: I937d8c601f7185d4299038bce6a2934fe4fdd2b3
ointerLocationView.java
f882f1ad4edd790483924e7bf485fd7c7240d110 11-Apr-2012 Amith Yamasani <yamasani@google.com> Bind to the correct face lock service.

When switching users, bind to the correct instance of FaceLock.

Tried to get the facelock screen to show up when switching users, but it
doesn't. Power off/on works, but not switching between users on the
lockscreen. Maybe a timing issue? Or not calling some function to make
the overlay visible?

Change-Id: I9300971331c7f0ed93ae7da28170342629426b20
ockPatternUtils.java
e8644b695d6c548d2c93e1da7b4a6aff786f1427 06-Apr-2012 Dianne Hackborn <hackbod@google.com> Merge "Fix so that status bar doesn't resize when hiding nav bar."
9801435820dc159725c0185f18f7e60e0fb1b833 06-Apr-2012 Dianne Hackborn <hackbod@google.com> Fix so that status bar doesn't resize when hiding nav bar.

The status bar now extends behind the nav bar, and uses
fitsSystemWindows to ensure its content is not covered. We
always report a stable content insets (as if the nav bar is
visible) even if the nav bar is hidden, so the content doesn't
jump when transitioing. This does mean that if you only hide
the nav bar (and not the status bar), when in landscape you
will end up with a status bar whose right side still leaves
room for the nav bar. But why the hell would you want to do
that?

Also improve documentation on setSystemUiVisibility().

Change-Id: I8087d875f1214ef0085a91b5ed5c2f35ff2fc1b3
ctionBarOverlayLayout.java
52c489cd63cca0361f374f7cb392018fabfa8bcc 28-Mar-2012 Amith Yamasani <yamasani@google.com> Lockscreen settings per user

Move all lockscreen related settings to LockSettingsService.
LockPatternUtils uses this through IPC instead of Secure settings.
Migrate old settings to new database managed by LockSettingsService.
Passwords and patterns are stored in a new per-user location, except
for the primary user, for backward compatibility.
KeyguardViewMediator and LockPatternKeyguardView listen for changes
to user and updates the lockscreen.

Settings provider will look for Lock settings in the LockSettings
service now for the entries that used to be stored in Settings.

Change-Id: I956cd5b95e2d9d45a6401af7e270e6a5aa2dcc98
LockSettings.aidl
ockPatternUtils.java
ockSettingsService.java
fe2b7ccca4c5fdaa0d77968b897bd789f4c87c30 01-Apr-2012 Dianne Hackborn <hackbod@google.com> Fix issue #6268190

Change-Id: Ib269fe34c4d3e704f4080076e173241c0761040c
ctionBarOverlayLayout.java
61d6c8ca49d4a3d5bf4c961878a3f71145d75058 31-Mar-2012 Dianne Hackborn <hackbod@google.com> Merge "Add new feature to let apps layout over status bar / system bar."
3a3a6cfd8ec12208ca75c0d0d871d19d76c34194 26-Mar-2012 Dianne Hackborn <hackbod@google.com> Add new feature to let apps layout over status bar / system bar.

The main change is a few new flags you can supply to
View.setSystemUiVisibility(). One is a new visibility mode,
SYSTEM_UI_FLAG_FULLSCREEN, which is basically the same as
the global FLAG_FULLSCREEN option for windows, but driven as
part of the system UI state.

There are also three new flags for telling the framework that you
would like to have your application's UI ignore screen
decorations -- SYSTEM_UI_FLAG_LAYOUT_NO_NAVIGATION for going
behind the navigation bar and SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
for ignoring full screen decorations (that is the status bar).

In combination with this you can use SYSTEM_UI_FLAG_LAYOUT_STABLE
to have the framework report consistent insets to your application.

When using NO_NAVIGATION, when the user taps the screen we now
also automatically clear ONLY_CONTENT, so that we atomically show
both UI elements. This should make it easy for apps like video
players that want to move between fully full-screen and regular
modes.

The ActionBar has also been extended when in overlay mode so
that it will adjust the system window insets to also account
for its space, and allow it to be hidden using the new
SYSTEM_UI_FLAG_FULLSCREEN.

Change-Id: Ic8db1adec49a0f420bfe40c1d92eb21307856d0b
ctionBarOverlayLayout.java
574e49ee16c1ab9a83bb6506870a7be540fa1434 27-Mar-2012 Danielle Millett <dmillett@google.com> Fix 6238404: Changed deleteGallery and deleteTempGallery to use broadcasts

Previously since these were starting an activity, if it was called from
outside an activity (for example when calling resetPassword() in
DevicePolicyManager) it throws a run time exception. Since these don't
need UI, they have been changed to be broadcasts.

Change-Id: Id87e3dc868a01f0eed901e8e8007f91f74cd51fe
ockPatternUtils.java
70825161b5bf51ed48319e142751a9c88b104994 29-Mar-2012 Jeff Brown <jeffbrown@google.com> Ensure pointer location view is attached to the policy thread.

Previously we created the PointerLocationView on whatever thread
happened to trigger the call to updateSettings(). There was
also some messiness around having to add or remove the view
while not holding mLock.

Now, just post the work to the policy handler.

This also makes it possible for us to use invalidate() instead
of postInvalidate() in PointerLocationView, which is more efficient.

Change-Id: I0646d7aeecffdc22f6ac56ae3ef951e7a12e2b93
ointerLocationView.java
925a7d8f062c2ef275ccb7579889d6f83d0d378e 19-Mar-2012 Danielle Millett <dmillett@google.com> Added a setting for whether biometric weak liveliness is enabled.

The liveliness setting is represented by a bit in
LOCK_BIOMETRIC_WEAK_FLAGS so that more settings can be added if needed.

Change-Id: Ia6c94396d5b84de61f7eeb9a192d0aa925b13507
ockPatternUtils.java
b030476d193a423f6c1baf3053f66fc768c925e0 14-Mar-2012 Jim Miller <jaggies@google.com> Fix 6021938: Improved target support in lock screen

This adds the ability to enable or disable target icons based on the drawable
resource of the target.

It also fixes a bug where we'd show the camera while displaying
the PIN/PUK unlock screen or when it's disabled by DevicePolicyAdmin.

Minor simplification and cleanup KeyguardUpdateMonitor callbacks.

Change-Id: I33fad56a2203bc8b7bcd0300c20478711a56713a
ultiwaveview/MultiWaveView.java
ultiwaveview/TargetDrawable.java
f76a50ce8fdc6aea22cabc77b2977a1a15a79630 09-Mar-2012 Ken Wakasa <kwakasa@google.com> Fix obvious typos under frameworks/base/core

Change-Id: Ia5fc3db1bb51824e7523885553be926bcc42d736
lidingTab.java
f203e0a44ef7578c080d63424820fb5a94a4e92f 07-Mar-2012 Adam Powell <adamp@google.com> Fix some action bar menu layout bugs around config changes

Bug 5712010

Fix cases where the transition between split/standard action bar menu
presentation wasn't happening properly for windows in activities that
handle their own config/orientation changes.

Change-Id: I7168555e09c9ed448afb8619fd6f0e1466695365
ctionBarView.java
1f0eac9951c7167ee9f07251d1ef60805b96bffd 02-Mar-2012 Jim Miller <jaggies@google.com> Fix 5958806: Allow play button to be hidden in TransportControlView

Change-Id: I92e79cb1e33abea76f283eea389dad17d1d7c162
ransportControlView.java
1b3d01de3837b7710dfccc06af37ffaec2cf8ecf 29-Feb-2012 Gilles Debunne <debunne@google.com> Merge "InputConnection is warned when finished"
c4e57e23f99f4cea6fcca870a95f7f20a6edfaf2 25-Feb-2012 Adam Powell <adamp@google.com> Fix bug 6065890 - Correct callback sequence for action bar tab switching

Keep the callback behavior consistent when action bar tabs collapse
into a spinner.

Change-Id: Ia82e55d816a92b7ec746e1d25486bc9d2c0778f4
crollingTabContainerView.java
b98a81f86ab87f1d718f329f03256111fdabd8d1 24-Feb-2012 Adam Powell <adamp@google.com> Add support for optional titles in action modes

Optional titles will only be displayed in the CAB if they entirely fit
instead of ellipsizing.

Fixes bug 5821883

Change-Id: I0cfd6d4fd34a4fa9f520499d577706da30606811
ctionBarContextView.java
9d69ecbf61a4a142c3f4cbb9d5659faa6f85e832 25-Feb-2012 Gilles Debunne <debunne@google.com> InputConnection is warned when finished

As said in https://android-git.corp.google.com/g/#/c/155992
finishComposingText is indeed too broad of a method.

Introducing a new dedicated method to warn the InputConnection.

Should solve the problems with a negative counter value.

Change-Id: I5525d776916f0c42d5e6d4a4282aed590d7f0e9a
ditableInputConnection.java
1f0f9d28a18c6c21308f8e97e40b08846435fa44 23-Feb-2012 Adam Powell <adamp@google.com> am c0d0dddc: am fef000e3: am 482ae5f2: Bug 6021294 - Contextual action bar animation tweaks

* commit 'c0d0dddc20827846dcf3235f7307ad76d2893ba6':
Bug 6021294 - Contextual action bar animation tweaks
f821819a88cb414c7f55db9a87e8cbfb7e20e7b6 22-Feb-2012 Adam Powell <adamp@google.com> Fix bug 5971117 - Action bar does not update icon used for collapsible
action views

Change-Id: Ib25cd40b046ab4b7dc382476345f95727fde3955
ctionBarView.java
482ae5f2388a07d60d7f3b54432120172af25eee 18-Feb-2012 Adam Powell <adamp@google.com> Bug 6021294 - Contextual action bar animation tweaks

Remove the right-to-left cascade effect from action mode menu
items. Animation time is now fixed at 300ms for scaling in menu items.

Change-Id: I8eef2ed9f93c2af804663dd5e6b3f4915ed45cb1
ctionBarContextView.java
50eb3b9bf9bf0b014ad19066951b6c1dffd4e3f3 17-Feb-2012 Jeff Brown <jeffbrown@google.com> Merge "Encapsulate the ViewRootImpl's handler."
a175a5b7ea3682cb58cca7f9726d0b8171cd549d 16-Feb-2012 Jeff Brown <jeffbrown@google.com> Encapsulate the ViewRootImpl's handler.

This change makes it much easier to make sense of the messages that
get posted to the ViewRootImpl's handler by encapsulating their point
of dispatch within the ViewRootImpl itself.

As part of this change, the View.AttachInfo now carries a reference
to the ViewRootImpl itself, which simplifies some code that used
to try to find the ViewRootImpl by getting the root view's parent.

In principle, it might have been nice to hide the ViewRootImpl from
the View hierarchy but in practice the two were coupled in many ways.

Change-Id: I51ebccdf5f8c8c505cd6f17cdf594174d041dc54
asswordEntryKeyboardHelper.java
c9237f41a414529b43cc92fdcb9e5887faed2d6f 14-Feb-2012 Steven Ross <stross@google.com> Removing dependence on enable_facelock

With this change, FaceUnlock is enabled by default when installed
fixes 5989485

Change-Id: Icbce3237ff533e8b7b88faf592ac4a1e143d5dc3
ockPatternUtils.java
bf032650e3938f264091764a606a06a0d34bd15a 28-Jan-2012 Jim Miller <jaggies@google.com> Fix 5907223: Fix lock screen glitch caused on devices with a system bar

This fixes a regression caused by making the lock screen window slippery where
dragging the target over the system bar would incorrectly cause it to
snap to an invisible target. It now interprets MotionEvent.ACTION_CANCEL
the same as an "up" event and resets to the initial state.

Change-Id: I9a3c195371d64e1a4613f6f1fb0a043e9a47a601
ultiwaveview/MultiWaveView.java
ce4a0c6f160241ea06e1f2000815094263dea70d 17-Nov-2011 Jim Miller <jaggies@google.com> Fix 5906830: Update the clock earlier when lock screen comes back from suspend.

This attempts to fix an issue where sometimes the time shown on lock
screen was really old. The code now sets the time immediately when the
screen turns on.

Change-Id: Ic4649ea342499aea82f997ba488bc2cb45987739
igitalClock.java
fb9e364380f91295490d1acbfc9a571cb6a4384b 26-Jan-2012 Jim Miller <jaggies@google.com> Merge "Fix 5620754: don't show pattern unlock after SIM unlock if not enabled."
93708af1329bb278d83c1fac6a623629cb42a3d4 26-Jan-2012 Jim Miller <jaggies@google.com> Fix 5620754: don't show pattern unlock after SIM unlock if not enabled.

This fixes a bug where the device would show pattern unlock after the user
entered the SIM PUK unlock code. The code now correctly determines that
the device isn't secure and thus shouldn't show the unlock screen.

Change-Id: I49fd749592154a4c5840038b92d54ca7ca086074
ockPatternUtils.java
c478c171e92b2f255e9699d9c9306b001368ac20 20-Dec-2011 Gilles Debunne <debunne@google.com> Unbalanced batch edit begin and end leave TextView unresponsive

This is a fix for http://code.google.com/p/android/issues/detail?id=17508

Adding some logs and a forced GC, I'm now reliably able to reproduce it. Here is the scenario.

1. The IME handles an event. It retrieves the current InputConnection (IC) using
ic = getCurrentInputConnection() and calls ic.beginBatchEdit();
2. The call is propagated to the UI thread and TextView's mBatchEditNesting
is correctly increased through beginBatchEdit()
3. A listener calls setText(), which imm.restartInput(this);
4. As a result, the InputMethodManager creates a new ControlledInputConnectionWrapper
with a new InputConnection from the TextView
5. A GC happens at that point. The previous InputConnection is no longeri
referenced by the InputMethodManager's mServedInputConnection.
The weak reference in the previous ControlledInputConnectionWrapper is nulled.
6. The IME thread finishes its process and calls ic.endBatchEdit(); on its version
of the original InputConnection.
7. The message is passed through the InputConnect, but when the weak reference in the
original IInputConnectionWrapper is dereferenced, we get a null InputConnection in
executeMessage().
8. As a result, the TextView's endBatchEdit() method is not called, leaving this TextView
with a non zero mBatchEditNesting.
9. From now on, all edit actions on this TextView will be considered part of a nested edition
and no invalidation is performed, which is the visible manifestation of this bug.

The core problem is that the begin/end batch edit contract is broken when:
1. These are initiated by the IME thread (as opposed to the UI thread)
2. The input connection is reset between these calls
3. A GC happens in the mean time and the WeakReference is lost (otherwise
calling endBatchEdit on a no longer active InputConnection is fine

Solution to keep TextView's mBatchEditNesting balanced:

- The IMM should notify the IC when it is no longer used. We're using the
existing FINISH_INPUT_CONNECTION to do that.
- The InputConnection should keep track of its nesting contribution to the TextView.
When finished the IC makes sure its contribution is reset to 0.
Moreover, further asynchonous calls to begin/endBatchEdit that may arrive from the IME
should be ignored. This is achieved using a negative value as a flag.

Notes:

- finishComposingText may be too broad of a method to perform such a cleaning step
but is seems to only be called in cases where the IC will not be used anymore.
If that's too broad, we have to introduce a new method in the IC interface.

- This is has been implemented in EditableInputConnection and not in a more general
BaseInputConnection because this is where we have a notion of TextEdit, and the
nesting problem is here specific to TextView.
However, the same unbalanced begin/end problem will happen in these classes. They
should override finishComposingText as has been done here if that matters.

- We cannot re-use the TextView's mBatchEditNesting since it may take into account
batch edit from various sources and resetting it on InputConnection close could
then lead to an inconsistent negative count value.

Patch Set 2: added synchronized blocks around mBatchEditNesting

Change-Id: I1ec5518fdc16fb0551fbce9d13f5d92eb4bc78c0
ditableInputConnection.java
2931d8ace9118bafe08090cd41e235048b6c2eb2 12-Jan-2012 Danielle Millett <dmillett@google.com> Merge "DO NOT MERGE - Cherry picking from master to MR1" into ics-mr1
5437c220e239dc6276942990bc81c1388cfb176c 10-Jan-2012 Jim Miller <jaggies@google.com> am d3872f55: am 62fad768: Merge "Fix 4560303: Add setting to lock later when power button pressed" into ics-mr1

* commit 'd3872f55045b7ce7be7dd7ae5fff37d7988bdcb2':
Fix 4560303: Add setting to lock later when power button pressed
de7a2f30548ac64d67e9ce8ac08090eb5458449d 21-Dec-2011 Danielle Millett <dmillett@google.com> DO NOT MERGE - Cherry picking from master to MR1

Fix 5783857: Device Policy Manager doesn't allow Face Unlock

This makes it so that if face unlock is enabled and then a device policy
manager that requires something more secure than face unlock is installed,
the user will be forced to choose a new acceptable lock type.

This was previously fixed for the case where the device had been reset, or
the shell was restarted after setting face unlock, but not for the case where the
device remained on between setting face unlock and setting up a device policy
manager.

Also changed the function ordering of saveLockPattern() so that the overloaded
wrapper function is next to the main function.

Change-Id: Ibed8c4ab137ebbc07fb143faef6f047bc6dc4474
ockPatternUtils.java
a4edd151c5266a2c794c95444fed67d19740cee3 07-Jan-2012 Jim Miller <jaggies@google.com> Fix 4560303: Add setting to lock later when power button pressed

This adds a feature to delay locking the device when the power button
is pressed. This fixes a use case where the user wants to turn off
the display (e.g. to save power) but doesn't want to lock the device.

For the case of a secure device (user has a pin/password/pattern),
this will lock the device immediately or not based on the setting.

For the non-secure case, this always "locks" the device to provide easy
access to the camera while preventing unwanted input.

Change-Id: Ie328485c3f7559e26896d761cbf0e69d3f4df4e2
ockPatternUtils.java
45b075dd5cef54ed3412115ee199df1db1c90528 10-Jan-2012 Adam Powell <adamp@google.com> Fix a bug where window progress bars had the wrong default visibility
on windows with action bars.

Change-Id: I5509d9a7c5f029b0471bd63e781f4756f5a319bc
ctionBarView.java
2364a222fcba233d66d0a9cde691d1d6e82227db 21-Dec-2011 Danielle Millett <dmillett@google.com> Fix 5783857: Device Policy Manager doesn't allow Face Unlock

This makes it so that if face unlock is enabled and then a device policy
manager that requires something more secure than face unlock is installed,
the user will be forced to choose a new acceptable lock type.

This was previously fixed for the case where the device had been reset, or
the shell was restarted after setting face unlock, but not for the case where the
device remained on between setting face unlock and setting up a device policy
manager.

Also changed the function ordering of saveLockPattern() so that the overloaded
wrapper function is next to the main function.

Change-Id: Ibed8c4ab137ebbc07fb143faef6f047bc6dc4474
ockPatternUtils.java
c3f581b0474a216938810885f4f606e0db1f21ff 05-Dec-2011 Winson Chung <winsonc@google.com> Workaround for issue where the notifyDatasetChanged call chain is broken when Launcher is killed. (Bug 5703782)

Change-Id: Ic57a7ce85f41d58cd40b7d30eef4a1bf685182e5
RemoteViewsFactory.aidl
05c8277f3423fd57196b3878d27ac0f1995101a8 22-Nov-2011 Adam Powell <adamp@google.com> Fix bug 5521467 - Monkeys and ActionBar custom tab views

Remove custom tab views from old parents if applicable.

Change-Id: I7892f0f271e91a4fc9e26694557e82b81f3fd31a
crollingTabContainerView.java
faed16030df5221f790a4d6fd5bdfb592db977fa 09-Nov-2011 Jim Miller <jaggies@google.com> Fix 5579440: Add transport control view to tablet unlock screens

This updated tablet layouts to support showing album art and transport
control views in PIN, pattern and password screens of lock screen.

It also allows the addition of a background protect asset and
the ability to show the system wallpaper on layouts that define a
transport_bg_protect view.

Also updated layout to use new ICS-style buttons on lock screen and
fixed bug with "forgot pattern" button where we were showing the
emergency call icon.

To avoid problems with leading ones in the mono-space clock font,
we now right-justify status text on tablet and remove the AM/PM
indicator.

Status font size adjusted by UX.

Added background protection drop shadow to transport control.

Fixed portrait mode to be right-justified when transport is showing.

Change-Id: I790292fc39f4588f87adc9d9241706817ae6baab
igitalClock.java
a8743f152aac4a8ef97c79bdad5232614453ce2a 12-Nov-2011 Adam Powell <adamp@google.com> Fix bug 5425280 - Two ActionBar icons show up

Change-Id: Ic82f8ce648f9314a0800eeff326df7d8dfe5027b
ctionBarView.java
7bc60abc97f77cc2478f5d19c391ebdb1433a893 10-Nov-2011 Peter Ng <petergng@google.com> lock pattern width spec set to max

Change-Id: If5853d3c7ee2d2330c06f5c802f66249ab3f2694
ockPatternView.java
270826a8878b5470d48d93ca3d518ac93860870d 10-Nov-2011 Jim Miller <jaggies@google.com> Merge "Fix 5555408: allow emergency button to be disabled on SIM/PUK unlock screen" into ics-mr1
1f56edc6cd377eab05d9816e93591a7139cdff96 08-Nov-2011 Jim Miller <jaggies@google.com> Fix 5555408: allow emergency button to be disabled on SIM/PUK unlock screen

Some carriers cannot process emergency calls when the IMSI is not available,
which happens when the SIM is locked. This allows the behavior to be overwritten
in an overlay. When the config variable is set to 'false', the emergency
button no longer appears on the SIM or PUK unlock screens.

Change-Id: I3127bfd5e7ebfabea997fbe048cc474e48b7a81c
ockPatternUtils.java
044a0a76444b22bd4fe3718b110953bbcd3ee35d 07-Nov-2011 Danielle Millett <dmillett@google.com> Showing a congratulations screen after choosing face unlock backup lock

Once a backup lock has been chosen, it sends an intent to show a
congratulations screen. The moveTempGallery function has been moved
inside this new activity so it is no longer needed in LockPatternUtils.

Change-Id: I66868e6e3391b8b740f618fe633047ce388f55ca
ockPatternUtils.java
24340afbab8ad4c191784fda8023407205bc0a75 01-Nov-2011 Adam Powell <adamp@google.com> Fix bug 5534667 - Action bar icons need more space on tablet

Set a wider minimum width for the action button style on -sw600dp.

Fix an annoying bug where recycled ActionMenuItemViews would retain a
lingering pressed state, causing an unrelated button to glow briefly.

The home/up affordance should not be focusable when it is disabled.

Change-Id: Ia68f3d09f5d977f50e4e33c354d8133367187973
ctionBarView.java
678ed0c5a32bac1ea18a5ac99b0b814421ea79b4 28-Oct-2011 Adam Powell <adamp@google.com> Bug 5275928 - Don't try to open an overflow menu under invalid circumstances.

Change-Id: I62ea1e982f0d3c92cb504efbae95bce238b12f72
ctionBarContextView.java
81bd76e4b33ea00d30bb2b2193ca5bd0cf445546 28-Oct-2011 Peter Ng <petergng@google.com> Merge "Removing 2nd background clock font display from statusbar and lock screen" into ics-mr1
ccff48b7cb4a1dd81ee90fb31d4dedf5dc71b8d0 24-Oct-2011 Jim Miller <jaggies@google.com> Removing 2nd background clock font display from statusbar and lock screen

Change-Id: If9edfed231cde6590b28fc2115d78bc97b74ae4e
igitalClock.java
6033c0817427386cd3e95a992d1f34dad4188f96 25-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> Adding accessibility support to the tablet swipe unlock.

1. Added handling for hover events that are transformed into
touch events and given to the touch event handling code
if accessibility is enabled.

2. Now swiping across the handle unlocks the device for both
cases - accessibility enabled or disabled.

bug:5513324

Change-Id: I7031690d69b1a2737e2ce4d1871d69d7dfbf3006
aveView.java
97e1836e1b07d91f18de9669c46b0c941b643a72 21-Oct-2011 Adam Powell <adamp@google.com> Bug 5275928 - Invasion of the monkeys

Fix a monkey bug where runnables set to open popup windows were being
left around.

Change-Id: I29f2c7763ab667c784b96b60ef0d7e04d358c4d9
ctionBarContextView.java
ctionBarView.java
a5ff5b482ab74b327983652439bea58c0499bae0 20-Oct-2011 Jim Miller <jaggies@google.com> Fix 5485925: Fix crash in transport control view

This fixes a crash where we weren't hiding the view when there's
no registered media player. It now hides the view when AudioManager
tells it to clear the data.

It also avoids a possible race condition where a request can
come in from AudioManager before the callback is set.

Change-Id: I3360e775c75396e1eee11413d317df5b39ceb487
ransportControlView.java
a7f3a34313074a96b1cc2eb4bea0304d8375af75 18-Oct-2011 Jim Miller <jaggies@google.com> Fix 5473038: workaround for fd leak in lockscreen

This works around a file descriptor leak in Skia. It also improves
view creation time by avoiding re-loading the font every time a
DigitalClock is created.

Change-Id: I5c46445da36b1e6ba06c8ca340e436835d281180
igitalClock.java
83e160d3b3ad839b0c2faf40f4477a2468098995 14-Oct-2011 Jim Miller <jaggies@google.com> Fix build.

Change-Id: Ifd5fe7933065f555f50ea91c4c301f87ca09dcdc
ransportControlView.java
1a59c7e3973cd2de23e45afde1a5e8fdd8a2d30f 14-Oct-2011 Jim Miller <jaggies@google.com> Merge "Fix 5358124: Better transport control visibility management in lock screen" into ics-mr0
4e6d35829ebf98ea37f77ea434550d51950c1119 14-Oct-2011 Jim Miller <jaggies@google.com> Fix 5358124: Better transport control visibility management in lock screen

This changes TransportControlView to be "sticky" on lockscreen. Basically, once it
appears on lockscreen, it stays there until unlocked and then locked again in paused state.

Tested basic design goals (using Music2):
- play then lock -> shows
- pause then lock -> not shown
- toggle pause to play while locked and not shown -> shows
- pause after played once while locked -> stays until we unlock and lock again while paused
- remote control play while paused & sleeping -> resume lockscreen -> shows

Also tested:
- configuration changes (orientation) to ensure widget continues to show after it once appears
- remote events while lock screen on -> keeps lockscreen on.
- remote events while sleeping -> doesn't wake.

Change-Id: I23418c5f7dfd1457c0844d2683772e8a3ed0abd1
ockScreenWidgetCallback.java
ransportControlView.java
261381cf9f52776f5f5fad8e6d2d31960c60c945 14-Oct-2011 Jean-Michel Trivi <jmtrivi@google.com> Fix 5380695 Lockscreen transport control must reflect error state

When a RemoteControlClient reports an error for its playstate,
make the play/pause button display the warning platform icon.

Note that a specific image description is not available for this
state at this time, but the one being used (the same as for the
play icon) is valid as it correctly describes the action the
button performs.

Change-Id: I59aadab3fe5bcc09a2f7be0b9e4cffb0c500e865
ransportControlView.java
aef555bcf26e770e37f2065913084588fb92c6fb 13-Oct-2011 Jim Miller <jaggies@google.com> Fix 5444675: Fix vibrate regression on Pattern and PIN unlock screens.

This fixes a regression caused by a resource change to the vibrate
pattern. It used to contain an array of delays and values. Now it has
another mode with just one value with an associated change to the vibrate
API.

Instead of using a custom vibration pattern, it now just follows the system
vibrate pattern for HapticFeedbackConstants.VIRTUAL_KEY, which is shared by the
home key, among other things.

Change-Id: Ib58493a96a42383955ae59f8ac3865bb46a86a31
ockPatternView.java
asswordEntryKeyboardHelper.java
538e565c06e915b91e7e3a901f872ccdd9bccdd3 11-Oct-2011 Adam Powell <adamp@google.com> Fix bug 5396097 - menu theme consistency

Fix a bug where action bar menus were using the wrong context to
inflate stock views. This was causing them to use the action bar's
themed widget context instead of the current theme's specific action
bar items.

Note that action views in the menu will still be inflated using the
themed widget context. This can produce some weird side effects if
the action views use theme attributes relating to these action bar
item attributes.

Change-Id: Ied3614d1fedb10a0f5366bbe7b90cd5f2f1ff969
ctionBarContextView.java
ctionBarView.java
67e043db11b29f3c0c84529ae21a0fdd7ae11c6d 11-Oct-2011 Jim Miller <jaggies@google.com> Fix 5249234: Add contentDescription to buttons on transport control on lock screen.

Change-Id: Ie4e9139e01c37a0d9542ff9996a84db0083b35ef
ransportControlView.java
f005a2c83b341647ea827e548cf506d37a8bf97e 11-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Adding accessibility support to the pattern lock."
7d09f04363cdda6a3cf8b2ad1b67c9a07fa8975f 10-Oct-2011 Adam Powell <adamp@google.com> Bug 5430909 - Overlay action bar should consume hover events

Otherwise these will incorrectly fall through to the view below.

Change-Id: I97280c41b2080f3f156554c6eb111af246e140d0
ctionBarContainer.java
530d9f10a6af8ff83a184582ca81608b29510b42 04-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> Adding accessibility support to the pattern lock.

The pattern lock fires accessibility eventa to announce start,
update, and end of a pattern. The pattern lock reacts to hover
events if touch exploration is enabled.

bug:5318807

Change-Id: I5a10c76338ca029f63f278c7e7d0aaba2386f73c
ockPatternView.java
af1ef9ed034e68db9d6c25f8b174fabf60b779d9 05-Oct-2011 Danielle Millett <dmillett@google.com> Merge "Adding a flag for if biometric weak has ever been used"
7a07219a1fc8cb94ea2694025e26f70d652ad2a1 03-Oct-2011 Danielle Millett <dmillett@google.com> Adding a flag for if biometric weak has ever been used

This flag will be used to show a tutorial screen first time it is used.
The flag is set to true once facelock has been set (via the savePassword or
savePattern when in fallback mode)

Change-Id: I43e3f876810fd32d3d5a5a285201e8054c4b3098
ockPatternUtils.java
a1aebdf787443413ba870fc9203639405a5ff7bf 04-Oct-2011 Ben Komalo <benkomalo@google.com> Merge "New PIN unlock screen layout."
c8fb532d456b009e61d38e919277e00939cf894a 04-Oct-2011 Danielle Millett <dmillett@google.com> Fix 5405210: DevicePolicyManager doesn't allow Face Unlock

If Face Unlock is currently enabled when the device policy manager is installed
it now forces the user to choose a new acceptable lock type

Change-Id: I725e923240538df3f706251670bf497857d2a25f
ockPatternUtils.java
cb3521e3bb3615069f1c397219b934d200c59757 04-Oct-2011 Jim Miller <jaggies@google.com> Fix 5185505: allow facelock to be enabled by a setting.

This allows face recognition to be enabled through Settings.Secure,
so we can test on selected devices.

Change-Id: I7f832cafd6a98f4289d618bc8924cd467706b778
ockPatternUtils.java
51ea88a86e5cf418e956b199de35658f0a5fd623 03-Oct-2011 Ben Komalo <benkomalo@google.com> New PIN unlock screen layout.

Moves "OK" to the right and moves backspace up to beside the text field.

Bug: 5255976
Change-Id: I1b97ee108c9f10f11e5feb361810150bd6dbc776
asswordEntryKeyboardHelper.java
58396984ef49080d5550919130fc0d869ccf840b 30-Sep-2011 Danielle Millett <dmillett@google.com> Reworked biometric weak check functions

Renamed isBiometricEnabled to isBiometricWeakInstalled. This function
now checks if the system property is set, the facelock package is
installed, and if the phone has a front facing camera. It no longer
checks if facelock is currently set as the unlock method.
Added isBiometricWeakInstalled checks to all cases where facelock is used
in LockPatternKeyguardView

Change-Id: Ia86a7ad6118101c6aab90ffb2ee9c42bf2548149
ockPatternUtils.java
3553c296c0e0951a150f1783b2d0ff0d4bfe06cd 30-Sep-2011 Steven Ross <stross@google.com> Moving fallback check code to Settings

Change-Id: Ife924771d7bfedc6eccc6817172a699569560025
ockPatternUtils.java
329979c9e6cecbcec470ec6f3ac41da82ca58d3f 28-Sep-2011 Steven Ross <stross@google.com> calling back SetupFaceLock to clean up temporary gallery

This is done when the backup lock is complete or canceled.
If successful, the permanent gallery is replaced with the new one.
If canceled, the temporary gallery is deleted

Also deletes the main gallery if the lock type is changed from facial recognition

Change-Id: Id1ce804dec6b71b6410af53c050ad265c4cad5b0
ockPatternUtils.java
915ce0d917fecd14e9b8b0caa4b01e72f3e0db11 29-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5386180 - Wire up action bar home/up for dialogs

Action bars in dialogs are largely an undocumented "feature" but they
do work - with the exception of this since it previously relied on the
host being an Activity. Make it work.

Change-Id: I52ae24c3bfdd9766e4c0f035183e7f148a4e0162
ctionBarView.java
a2f00da374cd0d9776bc6c4e1cf3c3def990270b 27-Sep-2011 Jim Miller <jaggies@google.com> am b4f0a9f3: Merge "Fix 5326463: rework sim state handling in lockscreen" into ics-factoryrom

* commit 'b4f0a9f3894c1f039168ad672f4aa194999c7cdd':
Fix 5326463: rework sim state handling in lockscreen
3f5f83b54fad4c797f5dbd75f050e4980e839122 27-Sep-2011 Jim Miller <jaggies@google.com> Fix 5326463: rework sim state handling in lockscreen

Previously it was possible to get an inconsistent state because there
were two paths that updated the lock screen sim state. This reworks
the data flow to ensure the same path is always used to update the state.

KeyguardUpdateMonitor now correctly updates the entire state of the callee
whenever a new callback is registered.

In addition, KeyguardUpdateMonitor now caches the phone state in order
to avoid a round-trip binder call in updateEmergencyCallButtonState().
This avoids a condition that could make lockscreen unresponsive while
updating the emergency call button state.

KeyguardStatusViewManager also ensures the TransportControlView is
hidden when created to ensure we don't inappropriately update the carrier
line while waiting for the first callbacks to update the status lines.

Change-Id: I6b3975b703a7d90bac8d0fe29fbc0f1d9c5e0e7d
ockPatternUtils.java
296296caf65ef79218df473ad79d6f2185d3f0e4 25-Sep-2011 Brandon Keely <lbk@google.com> Merge "Avoid double-ping when tapping outside the handle."
72ec81441a9f2595774e3ea04616f8ff5bd6d7dd 24-Sep-2011 Brandon Keely <lbk@google.com> Avoid double-ping when tapping outside the handle.

Change-Id: Iccab649e075fc86a860c1ce6e8df173e9968bef2
ultiwaveview/MultiWaveView.java
a05aba9c506cd12a753c53e060c289095c3477e9 23-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5341139 - bottom bar stays if app wants to handle orientation
change

Let action bars move between split/unsplit mode on configuration
changes if set to split when narrow.

Change-Id: I13f5115a65247cb1878ee823493ca8e2b6ba4cf6
bsActionBarView.java
ctionBarContextView.java
ctionBarView.java
c56c92013c0acfa4517ed5d36d8aa78bc21452ae 23-Sep-2011 Brandon Keely <lbk@google.com> Merge "Make LockScreen ping() on a miss."
b48ca1f1ab8cf77db337d6f2bc8586cc172ab6f8 23-Sep-2011 Peter Ng <petergng@google.com> am dd33bf0e: Merge "Fix 5355659: Minor tweak to wave ping radius in MultiWaveView." into ics-factoryrom

* commit 'dd33bf0ebbde9aa702d039b6b9d5f06ac0a69dfb':
Fix 5355659: Minor tweak to wave ping radius in MultiWaveView.
a0c7a5765dbbd255f9a122ba8829ca44032acde0 23-Sep-2011 Adam Cohen <adamcohen@google.com> am 08ee7fa4: Merge "Fixing emergency dialer flicker on lock screen (issue 5314293)" into ics-factoryrom

* commit '08ee7fa463aee5e83f77789e9a99f17a34ab68b4':
Fixing emergency dialer flicker on lock screen (issue 5314293)
83227a2d067abd4b276289f62dc126dc3174ee10 23-Sep-2011 Justin Ho <justinho@google.com> am 31b638d4: Merge "Fix 5355659: Change chevron visuals, timing, and animated positioning" into ics-factoryrom

* commit '31b638d40342fc9e3198f9e7f8dffaf55049c9e1':
Fix 5355659: Change chevron visuals, timing, and animated positioning
fb708a1a6cdca91375b5d8a21b0c7001763d6119 23-Sep-2011 Jim Miller <jaggies@google.com> Fix 5355659: Minor tweak to wave ping radius in MultiWaveView.

Change-Id: Ib85c9d375e26897ce87b41addfaba503d9430f18
ultiwaveview/MultiWaveView.java
08ee7fa463aee5e83f77789e9a99f17a34ab68b4 23-Sep-2011 Adam Cohen <adamcohen@google.com> Merge "Fixing emergency dialer flicker on lock screen (issue 5314293)" into ics-factoryrom
ce6eb1f5f2b4dae3f4b487f6da579149f42a8b4b 21-Sep-2011 Jim Miller <jaggies@google.com> Fix 5355659: Change chevron visuals, timing, and animated positioning

Change-Id: I55e34496cc1eb4ace60b6d1ccbdb894035bca6e2
ultiwaveview/MultiWaveView.java
ebcd6bb1b9ac5f898621ba25c37f2e3ccd2ff33b 22-Sep-2011 Adam Cohen <adamcohen@google.com> Fixing emergency dialer flicker on lock screen (issue 5314293)

Change-Id: Ia9bf4acb84923e200b89ee55fc53bc92877001cf
ockPatternUtils.java
8dcd571b89580ada6b557fc5e72010fa9696cf4e 22-Sep-2011 Brandon Keely <lbk@google.com> Make LockScreen ping() on a miss.

Change-Id: Ib0cd12f40a6027e8c950dd4bdd3d5a5210b049ac
ultiwaveview/MultiWaveView.java
eb060254a0b7aa42ab05ed6539156c3084ec1908 21-Sep-2011 Jean-Michel Trivi <jmtrivi@google.com> am 9c43016b: Merge "Bug 5045498 Keep track of RemoteControlClient play state change time" into ics-factoryrom

* commit '9c43016b52afa855156aac2dc81a2bbe1e4ab436':
Bug 5045498 Keep track of RemoteControlClient play state change time
68622396b62f9084781add1e12f4d513b633ab54 19-Sep-2011 Jean-Michel Trivi <jmtrivi@google.com> Bug 5045498 Keep track of RemoteControlClient play state change time

Store the time at which a RemoteControlClient changes it playback
state, and send that time to the IRemoteControlDisplay.
This change will enable displays to implement strategies such as
timeouts (e.g. to not display transport controls for clients which have
been paused or stopped for a certain amount of time).

Change-Id: I902882500565743d455d56f6000efaf612cbe0a9
ransportControlView.java
dede70744ab53c81cd650a60c687150146d0ba6b 20-Sep-2011 Jean-Michel Trivi <jmtrivi@google.com> am 6c038506: Merge "Fix bug 5300223 Lockscreen should recycle bitmaps" into ics-factoryrom

* commit '6c03850616a6e87de3e1943e47605cc5ebb20e2b':
Fix bug 5300223 Lockscreen should recycle bitmaps
01d96bd2afdcff866e0e1010eb7c88e101d0f6fa 19-Sep-2011 Jean-Michel Trivi <jmtrivi@google.com> Fix bug 5300223 Lockscreen should recycle bitmaps

When receiving a new bitmap to display, the lockscreen should
recycle the old bitmap (if any).

Change-Id: Ic4f65a797dfe7e3cae7a0559f6333cc99e2ae1e7
ransportControlView.java
b3e6eab16153c28a30525a7c26fb7a153a5548f4 19-Sep-2011 Jean-Michel Trivi <jmtrivi@google.com> am 2f153169: Merge "Bug 5300223 RemoteControlClient uses PendingIntent for media button events" into ics-factoryrom

* commit '2f153169594249738d63aa6e2897d257f6b7d71e':
Bug 5300223 RemoteControlClient uses PendingIntent for media button events
f0cff0456258478ba768097f73d4367ab67fd7a3 15-Sep-2011 Jean-Michel Trivi <jmtrivi@google.com> Bug 5300223 RemoteControlClient uses PendingIntent for media button events

Update the implementation of the RemoteControlClient / Display
feature rely on PendingIntent as provided in the construction
of the RemoteControlClient instance.
The ComponentName that describes the target of the media button
events is set as the target of the Intent from which
a PendingIntent is constructed.
This ComponentName is still saved in the stack for persisting
the last media button event receiver.

This CL also updates the lockscreen IRemoteControlDisplay
implementation to use the PendingIntent supplied by the
application when sending transport control events. A (good)
side effect of doing this is that intent will be directly
targeted at the application.

Restoration of the media button event receiver
after reboot is not fully functional yet.

Change-Id: I2be82f2839e9dee1de02512437b3fb41cc386cde
ransportControlView.java
fd4d90b8204d9a4e2ab8ce4974019b8d81287ad8 16-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> am 4e3bee76: Merge "MiltiWaveView accessibility improvement." into ics-factoryrom

* commit '4e3bee760a7f00e6ef3c89b937558df1ee6fcda0':
MiltiWaveView accessibility improvement.
2a671ac905e97d108e53e11856b01356f9248cc8 16-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> MiltiWaveView accessibility improvement.

Now hover events behave s motion events in touch exploration mode.
The use no longer needs to find the handle and tap + hold to engage.
It is enough to move on top of it.

Now the handle is engaged, i.e. can be dragged, when the user passes
on top of it for both accessibility enabled and disabled.

bug:5253968

Change-Id: If70b44cb6db8a38432216b46ecddefb3e2bc3825
ultiwaveview/MultiWaveView.java
247d8b08b2618c33a4ec1be974829c033c9b909f 15-Sep-2011 Danielle Millett <dmillett@google.com> Merge "isPasswordEnabled and isPatternEnabled return true if used as backup method"
93578af23ecfb8f5b6001346d63c6214cdec5d17 15-Sep-2011 Jeff Brown <jeffbrown@google.com> Merge "Velocity Tracker II: The Revenge of Velocity Tracker Bug: 5265529"
b59ab9f41faafb358afb4f951de96f34a656e0b4 14-Sep-2011 Jeff Brown <jeffbrown@google.com> Velocity Tracker II: The Revenge of Velocity Tracker
Bug: 5265529

Rewrote the velocity tracker to fit a polynomial curve
to pointer movements using least squares linear regression.
The velocity is simply the first derivative of this polynomial.

Clients can also obtain an Estimator that describes the
complete terms of the estimating polynomial including
the coefficient of determination which provides a measure
of the quality of the fit (confidence).

Enhanced PointerLocation to display the movement curve predicted
by the estimator in addition to the velocity vector.

By default, the algorithm computes a 2nd degree (quadratic)
polynomial based on a 100ms recent history horizon.

Change-Id: Id377bef44117fce68fee2c41f90134ce3224d3a1
ointerLocationView.java
86ed436b83d6b71ff00d1c3db910f2952018489e 15-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5237737 - ActionBar should fire an accessibility event when
action mode is turned on/off

Fire AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED when action modes
come and go to give an indication of UI change on the level of a menu
or dialog opening/closing.

Change-Id: Id36c6153b0722b4b6927c8d36503e8ac57c2d2b2
ctionBarContextView.java
73da5fe0feda040b200aa60fff15024ec38d7edc 13-Sep-2011 Danielle Millett <dmillett@google.com> isPasswordEnabled and isPatternEnabled return true if used as backup method

When facelock is enabled, isPasswordEnabled or isPatternEnabled will return true depending
on which one is set as the backup method. This is a cleaner way to handle things, rather than
specific cases for facelock in all the methods that call these functions.

Change-Id: Iacb802b89626dfc13f2306de1a2e622ca9b69427
ockPatternUtils.java
b8440110465cf2c0071e3b838cdb02d5a21fd2a9 13-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5296851 - Silly monkeys.

Change-Id: Idae81d426051c2e1b00a1d1b62b505effd0a2a68
ctionBarView.java
4f4ed38a8852bcf45fbec460ab61256fe98b2b40 09-Sep-2011 Jim Miller <jaggies@google.com> Merge "Fix 5185505: Add support for weak biometric sensors to lockscreen."
6edf2637e96139735df83907c221cce16d4d7eaa 06-Sep-2011 Jim Miller <jaggies@google.com> Fix 5185505: Add support for weak biometric sensors to lockscreen.

Added binder interfaces to the framework.

Change-Id: I7d55b45baa4d1600ebd2a3828e85c3357cfcfb58
ockPatternUtils.java
425689eea2f4f208f29b944b4973981bdbeda9f5 09-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5279075 - Handle action bar config changes when action mode is active

Change-Id: I83d40d2d555b01a9e678231c4f3c5278fab959d7
bsActionBarView.java
ctionBarContextView.java
ctionBarView.java
65d570447641d1575aa59d511591402e431fdd2e 08-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5249855 - put content descriptions for action bar tabs on images

Change-Id: Iddf13e310237cffe517697b3c3ca429a1555dcbc
crollingTabContainerView.java
f88b915567a37c481c4c50a6cc57e1ec0e7cf50d 07-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5258435 - ActionBar.setBackgroundDrawable

Fix this call to work properly and add methods for setting
split/stacked bar backgrounds to match existing styleable elements.

Change-Id: I8c6b1c598af1110f84a9098683d8e0226daf2e27
ctionBarContainer.java
94e56ef3b8de6ed485546b462559ac862c10eabf 07-Sep-2011 Adam Powell <adamp@google.com> Bug 5249855 - Add support for content descriptions on action bar tabs

Add API support for supplying content descriptions on action bar tabs.
This helps accessibility in cases where no title text is shown.

Change-Id: I8fdc4c2f2b279871b9f24b0b16e5167879b22741
crollingTabContainerView.java
2f8dbf5722a5d18fe6c2050b2351f6dd18ea6ffc 06-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Increasing the tap radius for the handle in MultiWaveView to improve accessibility"
66b191dad09a7552d1579a4a1d57a84e27a9ddb1 03-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> Increasing the tap radius for the handle in MultiWaveView to improve accessibility

bug:5253968

Change-Id: Ibe5a3a2453db1bbeaf8e818430685b48460ab06c
ultiwaveview/MultiWaveView.java
054340d0a3f242efeaf898cca38625bdcb3b4b5a 02-Sep-2011 Jeff Sharkey <jsharkey@android.com> Show statusbar clock based on lockscreen status.

Keep track of lockscreen clock visibility, and only hide statusbar
clock when one is provided by lockscreen. This fixes bug where widget
would hide all clocks.

Bug: 5242065
Change-Id: I48de98ecb956c7f22bd40b54d771c78c1a80c14c
ockScreenWidgetInterface.java
ransportControlView.java
94444fc56121d704bbb5a6f02954af62e3e57a94 01-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Cleaning up the accessibility of MultiWaveView"
07a047fdd632e10d29a513bf7f175e1edbbb65ab 31-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5220390 - action bar title metrics

Adjust action bar title layout metrics to match UX specs.

Refresh new metrics properly after a config change.

Change-Id: If19fad837ca2919193d4a3a8eb01c1caff68ca67
ctionBarView.java
57df88bc94f9aa06450e158b5a59ec29e3fe8874 31-Aug-2011 Svetoslav Ganov <svetoslavganov@google.com> Cleaning up the accessibility of MultiWaveView

Change-Id: I13bd71670b38a917d62118ddef5ed6982c9eba99
ultiwaveview/MultiWaveView.java
f058340b2f1c3d8114c48581680b4294122fe371 27-Aug-2011 Svetoslav Ganov <svetoslavganov@google.com> Adding accessibility support to the slide lock screen

bug:5210233

Change-Id: I93e876524ae6aaf75aadbe6a21c5c17d41a705f0
ultiwaveview/MultiWaveView.java
1c18828d20807342d37000746b18a3c1696f3b2e 09-Aug-2011 Jim Miller <jaggies@google.com> Fix 5044158: Integrate music transport control into LockScreen

This integrates a new version of TransportControlView into LockScreen
and adds plumbing to handle new AudioService events to show/hide the view
and updates the required assets for all devices.

Updated to use new AudioManager API. Since the current API only supports
one RCD, the handler now lives in TransportControlView.

Change-Id: I220d4dd760bef35bd84209adc3c5829bf5bc9a2c
ransportControlView.java
9a5cc2810bbbcb0eab4579aa4131039820d92101 29-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5124021 - Menu visibility incorrect when restoring ListView
selection mode

Fix visibility of menus when action modes are initiailized early.

Fix ListView problems persisting check states.

Change-Id: Idc21036dc39259e72f0e6831a0ccb4695f8858ef
bsActionBarView.java
ctionBarContextView.java
ctionBarView.java
7bc3ca0dc52be52ecad1c0de8c62a6a4bf8141ca 27-Aug-2011 Adam Powell <adamp@google.com> Accessibility fixes for action bars

Fix bug 5220543 - fix accessibility events for action buttons

Fix bug 5224260 - fix accessibility events for home/up

Change-Id: I7d55b4819862e1eda0809da92c52ec2d97f36af0
ctionBarView.java
aa8e509ba2d22b9ba105faad3349db8d5218ee32 25-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5091886 - action bar measurement

Change the measurement order of elements in the action bar. Custom
views are now deemed more important and may truncate title/subtitle.

Change-Id: I150862f8e48b36bcbd892f49d78c2962c5001ab1
ctionBarView.java
29aae6f36e565b8f2a99f2193597b964bb800ee8 19-Aug-2011 Dianne Hackborn <hackbod@google.com> Fix issue #4279860: previous UI flashes before showing lock screen...

...(when turning display on after recently turning it off)

Also clean up when we decide to turn the screen on to improve that
transition. There are still problems here with turning it on
before the wallpaper gets dispayed.

Change-Id: I2bc56c12e5ad75a1ce5a0546f43a845bf0823e66
ultiwaveview/TargetDrawable.java
b1e2f25b7e6d20caa233113b892ec46685f08bb6 23-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5143392 - Add padding to left of action bar app icon to
prevent icon from moving when drilling into hierarchy

Fix up the layout of home/up/titles in the action bar such that showing/hiding
the "up" indicator never changes the position of the icon, logo, or title.

Change-Id: Ic2117babe3a54619a4b787d5374295955a58fb34
ctionBarView.java
4f36995777a4136e8e63ea51cef2ff61df48790d 20-Aug-2011 Jim Miller <jaggies@google.com> Fix 5026428: Rework unlock attempt logic with active DPM to show better messages

Prior to this change, we didn't have a mechanism to warn the user when
they were approaching the wipe data threshold dictated by active DPMs.

Here's the new flow:

- If a device policy manager is installed and sets the max
password attempts, we start warning the user when they are within
a grace period of hitting the max (currently hard-wired to 5).

- We continue to show a dialog after each continued attempt
until the user reaches 0 remaining attempts.

- We now show a message when they hit 0 so they know why their device is
being reset. The device will reboot and wipe data shortly after this final
dialog is shown.

Also increased the criteria for a pattern attempt from 3 dots to 4 dots
since the user can never set a pattern less than 4 in length. This will
greatly reduce the likelihood of a false wipe on the pattern unlock screens
without compromising security.

Change-Id: I28825ef21dfa2e2b6540e743252c6d50c41e5ad7
ockPatternUtils.java
65fd251c3913fc921468a3dad190810db19eb9df 18-Aug-2011 Jeff Brown <jeffbrown@google.com> Input system bug fixes, particularly for stylus.
Bug: 5049148

Finished stylus support, including support for indirect stylus
and mouse tools.

Added TILT axis. When stylus tilt X/Y is available, it is transformed
into an orientation and tilt inclination which is a more convenient
representation and a simpler extension to the exiting API.

Touch devices now only report touch data using a single input
source. Previously touch devices in pointer mode would report
both absolute touch pad data and cooked pointer gestures.
Now we just pick one. The touch device switches modes as needed
when the focused application enables/disables pointer gestures.
This change greatly simplifies the code and reduces the load
on the input dispatcher.

Fixed an incorrect assumption that the value of ABS_(MT_)DISTANCE
would be zero whenever the stylus was in direct contact. It appears
that the correct way to determine whether the stylus is in direct
contact (rather than hovering) is by checking for a non-zero
reported pressure.

Added code to read the initial state of tool buttons and axis values
when the input devices are initialized or reset. This fixes
problems where the input mapper state might have the wrong initial
state.

Moved responsibility for cancelling pending inputs (keys down,
touches, etc.) to the InputDispatcher by sending it a device reset
notification. This frees the InputReader from having to synthesize
events during reset, which was cumbersome and somewhat brittle
to begin with.

Consolidated more of the common accumulator logic from
SingleTouchInputMapper and MultiTouchInputMapper into
TouchInputMapper.

Improved the PointerLocation output.

Change-Id: I595d3647f7fd7cb1e3eff8b3c76b85043b5fe2f0
ointerLocationView.java
bfcdfaf919cdb67897a6e24afc8f14b2c810596a 19-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5174755 - Adjust action bar overflow limits for ifRoom items

Fix a bug where action menus were not updating after configuration
changes.

Change-Id: Iaeed7d924a7b8b40849fd8e1826ed1c8f4079c94
ctionBarContextView.java
ctionBarView.java
82f24e82e125d9dfbed072d0d9329b90e6d9cb12 19-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5186341 - Double Action bar when displayOptions is 0

What does it mean??

Change-Id: I7978b8fb6877da6178f8db89ec085f1402acf743
ctionBarView.java
7a2424d0412584798f6de60217f7c873bc1cef5b 18-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5183775 - Action bar custom layouts with default gravity misbehave

Change-Id: I314822ed9617d2c1de55e1f3238f1ca8899393f3
ctionBarView.java
aad47fd78a86dd1279fa555716e252685837ac50 18-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5179524 - ActionBar custom view inflation doesn't catch layout_gravity

Change-Id: Ice5fd9da268cff64fc14acca384b249c252db5c9
ctionBarView.java
f35d049b9953fbd1cd24887bac57b5e148c97846 17-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5168889 - action bar not respecting return codes of onCreate/Prepare menu

Change-Id: If28630cb21e74bde7a2474ce060078ea30170b9d
ctionBarView.java
9e58df5d40e345a3b5ade8bebae6bc61421ca06a 16-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5049406 - ActionBar UP with no home icon, tap highlight looks broken

Measure the action bar title layout to consume the full height of the bar.

Change-Id: Iaf0521c5c80b5bd7ceb7f756e50248f6a27fc1fc
ctionBarView.java
f2b096194483c614b0f427b13412b614ccc40070 12-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5095223 - ICS action bar incorrectly resizing app icons

Remove experimental auto-mipmapping of icons.

Change-Id: I326ca396331a050985200b2ecf0d892474262916
ctionBarView.java
b0e217eacb11b6225d6156cf930a9599d2ba6b41 12-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5159073 - actionbar titles don't seem to be drawing anymore

Change-Id: I2e617438134f1ff9f192d861655b69e4790593fe
ctionBarView.java
0642fed2a226c2ccc85ca1058bb875d3077a41ef 12-Aug-2011 Adam Powell <adamp@google.com> Merge "Fix bug 5075761 - Visual assets: CAB states"
9ca705e323cb737a07a667c1e86bac702f11a29c 12-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5075761 - Visual assets: CAB states

Integrate new assets for the contextual action bar (action modes).

Change-Id: I8439196f8b7466ce862e1c21a34b7ae1abf88f36
ctionBarContextView.java
71f34174e977bac7283696d45c17baaa4f1f1503 12-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5156213 - Fix title visibility states wrt expanded action views.

Change-Id: I20b5c5ad8112bec17e4cb5d6e568f47005a4e731
ctionBarView.java
af6b97ebe0e6a67d1691c4d7789c7bc312c1e13e 12-Aug-2011 Adam Powell <adamp@google.com> Fix action bar tabs collapsing when they shouldn't.

Change-Id: Ib0a91722b580802d2b5e3b07c4e57397665a3394
ctionBarContainer.java
crollingTabContainerView.java
f5645cbafe7eed33452d888f16726bee8a0cd9fe 11-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5122319 - When action bar tabs run out of space they should
collapse in to a spinner.

When tabs are not given the option of dropping to their own row,
collapse them into a spinner when they would measure too large to be
visible all at once.

Fix bug 5095167 - zombie tabs return when they shouldn't when activity
handles its own orientation changes

Change-Id: I074419d99a22aa5dd1cbc00a66e600ec5cb0b54a
ctionBarContainer.java
ctionBarView.java
crollingTabContainerView.java
faa6ffa484f6f2a334c8bf2c7a9dc693a61608f3 08-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5116434 - Bookmark label is not highlighted.

Let the action bar tab strip handle its own height changes.

Change-Id: I9b79702c757c736ef7872a43316965cea1a5cc97
crollingTabContainerView.java
f1eaf7f4394fa0dc3d788f3f7816f686f514fca5 05-Aug-2011 Jim Miller <jaggies@google.com> Merge "Fix 5045008: replace "ring/silence" target in LockScreen with camera app"
be8d1cf1ac9fc514fb0cc2e8ef4a85beb0197fa0 05-Aug-2011 Jim Miller <jaggies@google.com> Fix 5045008: replace "ring/silence" target in LockScreen with camera app

This change replaces the ring/silence target with a camera target. It
is disabled and falls back to the old behavior when any device policy
disables the camera.

Updated with latest icons.

Change-Id: I2374eba08f85ff1d1b0bad2859efa30bb166fb60
ultiwaveview/MultiWaveView.java
29764eab44e195ac6c2641add74b2c44c008e5c4 04-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5121406 - ActionBar.setLogo

Make the resource ID version of setLogo work.

Change-Id: I0a710b714c9fd10bc3063a8ec95e59391ba4d4e0
ctionBarView.java
cf27a3ecc6782b6c86f720b1df2459a160fde81a 04-Aug-2011 Jim Miller <jaggies@google.com> Merge "Fix 5044158: layout and asset work on lockscreen PIN mode"
79a02b15850347a2e932272b21b14c0c2b3faf50 30-Jul-2011 Jim Miller <jaggies@google.com> Fix 5044158: layout and asset work on lockscreen PIN mode

Fix PIN entry layout issues on hdpi, large-mdpi and xhdpi devices where emergencyCallButton was partially off-screen.

Copy button assets from latinIME for PIN screen.

Make PIN keyboard horizontal and vertical gaps configurable.

Change-Id: I415fcd83f02971b987c3df418d4114b8e1ab3945
asswordEntryKeyboardHelper.java
6b0e97c7c48cf9446c7d4bc1b37d4c37d78433b0 03-Aug-2011 Adam Powell <adamp@google.com> Fix bug 5093394 - Double SearchView!! What does it mean!?

It means we should collapse any expanded action items when we
clear out all items from a MenuBuilder.

Change-Id: I59cacd862a89b3a50c61b02c64b1ea71907af83f
ctionBarView.java
ae5a9d4a92f18b1e2888c4ae4585f9480311c8bc 29-Jul-2011 Jim Miller <jaggies@google.com> Merge "Fix 5044158: Initial pass: add music transport controls to LockScreen"
6b05d58018c2806459c121e507c005639b74aee9 18-Jul-2011 Jim Miller <jaggies@google.com> Fix 5044158: Initial pass: add music transport controls to LockScreen

Refactored all lockscreen notifications to go through new KeyguardStatusViewManager.
This is required to intercept messages originally intended for separate TextViews that
are now shown in a single view when showing the transport control view.

Refactor EmergencyCallButton to be handled by common code in KeyguardStatusViewManager.

First pass at LockScreenWidgetCallback for LockScreen "widgets" to send events back to LockScreen.

First pass at LockScreenWidgetInterface, which will be required of Views that want to be rendered on
LockScreen.

Added place-holder TransportControlView until the real one is ready and integrated it into GridLayouts.

Ensured emergencyCallButton is in all views, even if not shown since some devices may lock the user
out if certain criteria isn't met (missing SIM, etc).

Refactored layouts and removed keyguard_screen_status*.xml since layouts are all over the map and
no longer make good use of a shared layout for this.

Minor tweak to MultiWaveView to fix layout issues when placed in GridLayout where the measurement
was being calculated improperly.

Moved EmergencyCallButton to bottom of view where we can.

Removed unused Alpha keyboards from tablet password unlock layouts.

Removed unused views (status2, emergencyCallText screenLocked) from layouts and made common views have common names.

Fixed bug with MultiWave layout in landscape where array was shown in wrong orientation.

Separated clock colors for phones/tablets since they're now different.

Converted remaining phone layouts to use GridLayout.

Start routing audiomanager events to lockscreen views.

Move emergency call button handling to KeyguardStatusViewManager.

Change-Id: I480b0346cfe19aad316fea0c0aaabf8862693636
ockPatternUtils.java
ockScreenWidgetCallback.java
ockScreenWidgetInterface.java
ransportControlView.java
ultiwaveview/MultiWaveView.java
80df829e35d0a97f92e599d36b0b16dcc956130b 29-Jul-2011 Adam Powell <adamp@google.com> Merge "Fix bug 5079507 - ICS (phone) : ActionBar tabs don't correctly resize if activity handles orientation change"
45c0b1954d7dfa6e2590ed76b915a98ae971414c 29-Jul-2011 Adam Powell <adamp@google.com> Fix bug 5079507 - ICS (phone) : ActionBar tabs don't correctly resize
if activity handles orientation change

Make sure that bar content height and sizing/layout parameters are
properly updated after a configuration change.

Change-Id: I886df5cd9a655ba1bd34fab2b48e8b5be67fcc32
ctionBarContainer.java
ctionBarView.java
crollingTabContainerView.java
5c848ce793f259f38ba8c9ce52dc3bcb360040b6 28-Jul-2011 Jeff Sharkey <jsharkey@android.com> Keep original DialogTitle color when resizing.

Change-Id: Id9d3bf565cc5660ab37037e74be63221cd638ba6
ialogTitle.java
377fe393298039e4ea8407451b9afe0475d136a0 27-Jul-2011 Amith Yamasani <yamasani@google.com> Merge "Handle callbacks to CollapsibleActionViews that are in an actionLayout."
10da590839e264735de8a4582021aca0dab81037 27-Jul-2011 Amith Yamasani <yamasani@google.com> Handle callbacks to CollapsibleActionViews that are in an actionLayout.

Also, the onActionViewCollapsed needs to be called before detaching
the action view, so that the action view can dismiss the keyboard properly.

Fixes the Gmail search case where the keyboard doesn't disappear on hitting
the "up" affordance after a search.

Change-Id: I3c2f3f90f0edf6473404e6ceae3fa08866cad736
ctionBarView.java
e20414f37a9aa0c5add34253033a2847905687d7 27-Jul-2011 Jim Miller <jaggies@google.com> Fix 5044158: Turn off debugging in MultiWaveView.

Change-Id: I501e4dbdfff9dc6fbe4ab92f6b15652814480642
ultiwaveview/MultiWaveView.java
894bf54c0f50dbbaeb737842a89516a3029e233a 22-Jul-2011 Adam Powell <adamp@google.com> Fix bug 5027071 - Action menu parent consistency

Make sure that action menus can tolerate moving around in the bar.

Change-Id: I2dfb4ea7e647a6c4e84ec78865af6fd858e3f59f
ctionBarView.java
038f1c80af06da55056120e121d43e3ee89ec726 21-Jul-2011 Adam Powell <adamp@google.com> Bug 5061529 - Save/restore action view state for menu items across
invalidations.

This includes expand/collapse state.

Add CollapsibleActionView interface. Views can implement this to have
special behavior when they are presented as an expanding/collapsing
action view. This lets SearchView and others take care of fiddly
behavior (focus stealing; opening the IME) automatically without apps
needing to implement this themselves.

Change-Id: Ibbd1eb5fcf3e3a862419e9344ad50f896bd05e36
ctionBarView.java
b187cd9c54f0100c0fb47c354cdecad29ca7c0ae 20-Jul-2011 Adam Powell <adamp@google.com> Fix bug 5038368 - Rules for collapsing action views.

Make collapsing action views exclusive on small screens with unsplit
action bars.

Change-Id: I11cc220acc7b6acddd25f2500404b47bfb405d5c
ctionBarView.java
6dd005b48138708762bfade0081d031a2a4a3822 18-Jul-2011 Dianne Hackborn <hackbod@google.com> I. Can. Not. Stand. ViewAncestor.

It was done so we would have the name "ViewRoot" available for a
public API. However, the name "ViewAncestor" just makes no sense.
So instead, change it to ViewRootImpl.

Change-Id: If9599ca67896f339f6fefa7d1dde121201171d97
asswordEntryKeyboardHelper.java
066836fce9a612fe58ed52ee980c56d809910e5b 17-Jul-2011 Dianne Hackborn <hackbod@google.com> Merge "Fix a couple static leaks."
de4c26fa1a5adf3efa8995cbf69e45aa10111b8f 17-Jul-2011 Dianne Hackborn <hackbod@google.com> Fix a couple static leaks.

Change-Id: If2564dc822fbcb3bb3baf270ad2b3c29c78bf421
ockPatternUtils.java
b80d332e7421e0b8cff12569c2f1b450d769e782 16-Jul-2011 Adam Powell <adamp@google.com> Fix bug 5037642 - Refine back button behavior for action bar modes.

Action modes for the action bar used to aggressively hijack the back
button before the view hierarchy got a chance to respond to it. Loosen
this. New ordering is: view hierarchy => window feature-level modes
(action bar modes e.g. CAB/search) => Activity/window callback
behavior.

Change-Id: Iac1b22997713be968a94f77f9fa6cebaf6f923f0
ctionBarView.java
28fa07e15f7a7ee83be9e5555bbfdd25711b3517 16-Jul-2011 Adam Powell <adamp@google.com> Fix bug 5021359 - show app icon for collapsible action views.

Also fix a bug with initial enabled state of the app-home button.

Change-Id: I7eac4932deeced3ac209ad899922ac90f40c87e6
ctionBarView.java
c29f4e52c3377924df26910cce3ff26278d1f484 14-Jul-2011 Adam Powell <adamp@google.com> Nicer API for disabling/enabling the home/up button in action bars.

Have an explicit call for enabling the home/up button. Auto-enable it
if the app targets < ICS to preserve Honeycomb behavior. Auto-enable
it if the app shows home as up.

This prevents unwanted touch/focus feedback on the home button when
the app hasn't wired it up to do anything useful.

Change-Id: Icfe95ab5a11b3998bca08b0fbbfe1bf6c3c89b5d
ctionBarView.java
11ed1d6cae9214335c92ac38498a4e6c7d1c8324 12-Jul-2011 Adam Powell <adamp@google.com> Fix bugs around restoring submenu state after activity teardown/restore

Change-Id: I6cb5b3cad39b141dff84b8e0ca62f8f0a76a03b1
ctionBarView.java
7f8f79a1ff086c04a3ad2a442b1d39a8186e3e50 08-Jul-2011 Adam Powell <adamp@google.com> Add ALL CAPS style to TextView/TextAppearance

Switch out ugly hack in action menu items for the new style.

Change-Id: I68a0ed62a352b14d499e6478b82bbc12dcb5a030
crollingTabContainerView.java
a72ef62e5c329a19eab9935acba816fc1369c637 07-Jul-2011 Adam Powell <adamp@google.com> Add style/theme definitions for solid action bar configurations.

Change-Id: I540e12ad3d8fc779dac24402286d995f542b5d25
ctionBarContainer.java
1c8d207201150c29ac92c424e1320c715a64b5bc 30-Jun-2011 Jim Miller <jaggies@google.com> Fix 4691563: Polish MultiWaveView experience in LockScreen and InCall screen
Better activation experience:
- Hold off on switching out targets until current animation has finished.
- Hide unselected targets when a target is selected.
Code simplification:
- Use explicit callback objects to handle animation updates instead of having MWV implement the interface.
- More compact chevron-loading code.
- Don't use animations for properties that need to change immediately.

Other minor timing tweaks.

Change-Id: I328533e8ab7b4c69c7ba51c8c55002765dcbbd46
ultiwaveview/MultiWaveView.java
f6ce6a9bacbb220c6ea7b552c481237f23e64ae7 29-Jun-2011 Adam Powell <adamp@google.com> Fix some issues with the action bar and action modes.

Fix bug 4976004 - bad title measurement for split action modes

Fix bug 4902960 - action modes leaving a hidden action bar in a bad state

Sync with design for the behavior of various permutations of action
bar configuration + modes.

Change-Id: Id75f6b5911b761fabc5fef2cc2600ce197cf9a92
ctionBarContainer.java
ctionBarContextView.java
ctionBarView.java
crollingTabContainerView.java
bf591ff682f14db7ba7b3554897e9cdcf245da59 28-Jun-2011 Jim Miller <jaggies@google.com> Fix 4691563: Fix memory leak caused by Tweeners hanging onto references.

This fixes a bug where the animations in MultiWaveView were keeping references
to bitmaps and preventing them from being reclaimed during GC. The solution
is two-fold:
1. When any given animation completes, it is now removed from the list of running
animators objects.
2. When the client explicitly calls reset(), we release all references to
animators and objects.

Change-Id: Ice434ed1720fe4c253b9607ef61699d41f87f777
ultiwaveview/MultiWaveView.java
ultiwaveview/Tweener.java
6556c074ee84d0e56aca9ae267e330db73dfb236 25-Jun-2011 Adam Powell <adamp@google.com> Fix bug 4903822 - vertical gravity bugs in action bar custom views

Change-Id: I20a319bf8fd5b5acf823a2651639f94d6efac5e4
ctionBarView.java
c8b0b005cb616deb9646f2c2b995890fa9530f94 23-Jun-2011 Adam Powell <adamp@google.com> Fix bug 4771354 - Phone landscape action bar subtitle slightly cut off
on the bottom

Let action bar title sizes adapt for restricted space in landscape.

Fix home spacing for tablets to eliminate redundant layout.

Change-Id: If38a43d87ca1aebf96b5d7adfdb1cf36c41ec07e
ctionBarView.java
0d5d1b7e8cc06b4c62a863314debbb8b24554f1f 23-Jun-2011 Adam Powell <adamp@google.com> Tweak action bar metrics.

Free up some more pixels in the action bar and better define how icons
within it resize.

Change-Id: I0768180e595ee7b23190a26607e8989fa1bac38f
ctionBarView.java
08a975ef86200a73db51bfbcca6bea8ad2a63cbd 22-Jun-2011 Jim Miller <jaggies@google.com> Update LockScreen layouts to latest UX spec.

- better placement and consistent handling of emergency button.
- use new GridLayout for landscape modes.
- add dimensionable parameters for time and status line fonts.
- fix assets and emergencyCallButton resource references when building for tablets.

Change-Id: I5f4c9cfb6a88ce3ccd8ab4fdafede8e6e59f9407
ockPatternView.java
1fd16378812792913a6aa6923acbec20037e09ff 21-Jun-2011 Philip Milne <pmilne@google.com> Minor tweaks to GridLayout for KeyGuardScreenUnlock.

Also:

. Swapped order of args in internal getMargins() methods.
. Stopped implying row/col weight = 1 when size = MATCH_PARENT.

Change-Id: I657fb3e54867eb9735f9509878968941bf6a6a49
ockPatternView.java
b35e372bf4080f3b1940a371f1e39fb5dccde990 20-Jun-2011 Jim Miller <jaggies@google.com> Handle dropped motion events in MultiWaveView due to high system activity

This change causes MultWaveView to look at historical motion events to make
unlocking easier during high system load.

Updated after review.

Change-Id: Ibfc3cb513936e3b8488aa4390164bf5e214c982f
ultiwaveview/MultiWaveView.java
15a16a835ef07d484e0ae11666cef9231c2f8184 20-Jun-2011 Adam Powell <adamp@google.com> Fix bug 4729242 - Crash while launching browser app.

Change-Id: Id049bcc53943b0cbe17e9f345af67adc2b10bdef
ctionBarView.java
b3721b9f7dec8575bf3b2fe04496bdd201f277bc 18-Jun-2011 Adam Powell <adamp@google.com> Merge "Allow the action bar title to take on the role of "up" in the absence of a standard "home" icon."
54c7d7e61cd975d73b7eb0a5a0c75d21b6a7a12b 18-Jun-2011 Adam Powell <adamp@google.com> Allow the action bar title to take on the role of "up" in the absence
of a standard "home" icon.

Change-Id: Ie1a9adca674500a29da36956455667bbb55a616f
ctionBarView.java
94c9f39ece18183c3ad2ad224ddb4690e3dd5045 18-Jun-2011 Jim Miller <jaggies@google.com> Merge "Handle dropped motion events in Pattern Unlock due to high system activity"
9c8e735817b8ff57070a035d2463f22eea50b8d4 18-Jun-2011 Jim Miller <jaggies@google.com> Merge "Update pattern unlock and assets to match new UX design spec."
0d244193bed0c995e2beaff5e217200457b28b9d 17-Jun-2011 Jim Miller <jaggies@google.com> Update pattern unlock and assets to match new UX design spec.

Fix bug with LockPatternView measurement.
Clean up forgotPassword/emergencyCall button code.
Lots of layout tweaks. Now uses new GridLayout for many of them.
New assets.

Updated after review.

Change-Id: I52d4ce65c6b6c644ac60eb55bb8eaff8bfeb1071
igitalClock.java
ockPatternView.java
aced12fd2276ed7664af6bf70ff03ce2acaf6545 18-Jun-2011 Jim Miller <jaggies@google.com> Handle dropped motion events in Pattern Unlock due to high system activity

This enables the pattern unlock screen to look at historical motion
events to make unlocking easier during high system load.

Change-Id: I74a9c2d0833e8bb6745b89e8d397116baebb24a1
ockPatternView.java
a93347a62ec9887862abb9d6f216906c533a8562 14-Jun-2011 Adam Powell <adamp@google.com> Dialog-o-rama!

New styling for Holo dialogs. Now 76% easier for apps to create
dialog-based layouts! (Less tricky padding and margin rules)

Cancelable AlertDialogs now are canceled when the user touches
outside.

Dialogs in landscape mode will try not to fill the width of the
screen.

Change-Id: I621b5a19780883ee703a8492510451b480a0b8cc
ialogTitle.java
251df77861525cca79d38bcee7c45c16c6752e40 15-Jun-2011 Adam Powell <adamp@google.com> Fix bug 4521549 - Crash in ScrollingTabContainerView, when using a tab
with null text

Change-Id: I6c287c95bafa732018048c11933ddba82fa26d9f
crollingTabContainerView.java
e0adac0e72312048c3d874b24bc35d8c43253306 14-Jun-2011 Adam Powell <adamp@google.com> Fix bug 4551701 - com.android.browser: java.lang.IllegalStateException

Fix a bug with split action bars and orientation changes.

Change-Id: If067803281c6ac23b51da5bf075fdf1be28afdc2
ctionBarView.java
70832a3d77d90f09fb7ba27612c9cbec6a92abe6 14-Jun-2011 Jim Miller <jaggies@google.com> Some tuning for MultiWaveView animations and assets:
- allow individual chevrons to be specified for (top, bottom, left, right).
- move ring to pressed position (currently w/o animation)
- add top/bottom chevron handling and refactor code accordingly.
- constrain drag handle to the ring

Change-Id: I859b2d03d8f0397c68b87a8ee15df20d55c9552c
ultiwaveview/MultiWaveView.java
ultiwaveview/Tweener.java
b505074e8273887fbcd1e933738a42e770085fb8 09-Jun-2011 Jim Miller <jaggies@google.com> Add new MultiWaveView widget and integrate it into LockScreen

This adds a new multi-target widget to the framework and integrates
it into LockScreen.

Now with updated assets.

Change-Id: Ib41595b9e80a7be6d647f44c803a77f9e5bfeca9
ultiwaveview/Ease.java
ultiwaveview/MultiWaveView.java
ultiwaveview/TargetDrawable.java
ultiwaveview/Tweener.java
cc2e5bea7da9339a9c03a9616f22348978e8909c 10-Jun-2011 Adam Powell <adamp@google.com> Fix some measurement/sizing with split action bars

Change-Id: I5fded370d214eb0a50d06fd6a14446227d3b30ac
ctionBarView.java
fdac5ea9715a3bd2a3ceed847b60551a28e956bb 10-Jun-2011 Adam Powell <adamp@google.com> Merge "Refine the behavior of split action bars."
1ab418a222e1834c4b1312fde355e41a1947af0d 10-Jun-2011 Adam Powell <adamp@google.com> Refine the behavior of split action bars.

Change-Id: I27212c7554025433ee366f0766971f0092b26d67
ctionBarContextView.java
ctionBarView.java
924b7c74960c88660d0d4bae84433c1592a81834 10-Jun-2011 John Wang <johnwang@google.com> am 4d042048: am 08a8f3f9: Merge "Set emergency call text visibility." into honeycomb-LTE

* commit '4d042048243f38d3062ab4719ac26c9154380115':
Set emergency call text visibility.
310849abb1a0763ea9912b59187f0a4271efaa2e 09-Jun-2011 Adam Powell <adamp@google.com> Bug 4563099 - Action bar tabs - place second row tabs on top in the
absence of home/up

Change-Id: I9d656962161f0cb26cecbc85991b347d2e951c76
ctionBarContainer.java
5328bf0b2e62c2719daf9154edbe81fd819974a6 09-Jun-2011 John Wang <johnwang@google.com> Set emergency call text visibility.

Set emergency call text visibility based on
emergencyCallCapable config for sim missing
and networklock screens.

bug:4392059
Change-Id: Ibfe92405ada7b452927940295c090d88ecd79519
ockPatternUtils.java
de13001f765e30bc29a3a74bfa751cc42e426a93 08-Jun-2011 John Wang <johnwang@google.com> am 1f866589: am 71030e53: Merge "Add SIM PUK unlockscreen." into honeycomb-LTE

* commit '1f8665895f71904b9d757854277cb637841356c3':
Add SIM PUK unlockscreen.
0f7b3f8ba5c2f0b8f96e072bd866c9fb374ebdeb 31-May-2011 John Wang <johnwang@google.com> Add SIM PUK unlockscreen.

Puk unlockscreen is implemented as SimPukUnlockScreen.

Added config_enable_puk_unlock_screen to control the display of puk unlock screen.

Using config_voice_capable to control the display of emergency call button.

bug:4384956

Change-Id: I2b8256b4ecdf3d4f1e85c4e868fac1810cfd29be
ockPatternUtils.java
eefaf27d55cb51f5d3986ec73b07f80e545338c5 03-Jun-2011 Brian Carlstrom <bdc@google.com> Merge "KeyStore.reset changes"
e2afc2420d29c2d3d04a05ed5839c12f3b267b23 03-Jun-2011 Brian Carlstrom <bdc@google.com> KeyStore.reset changes

restore keystore reset behavior of removing master key.
otherwise after reboot keystore has is LOCKED and not UNINITIALIZED
cmds/keystore/keystore.cpp

when removing password, reset the keystore, so it doesn't remain
locked with a now bogus password.

core/java/com/android/internal/widget/LockPatternUtils.java

Change-Id: If5e0bb50b42599e9ca27a8b91d6cec12528419a1
ockPatternUtils.java
c3076425bba5c129408338be4e138f8be16855a6 02-Jun-2011 Adam Powell <adamp@google.com> Fix bug 4520517 - IllegalStateException entering tab mode

Change-Id: I0ebf3aea98060e27e9687f48dff05f7310046ce5
ctionBarView.java
8d02deabac62c4a68a335a7b3141795466362b89 01-Jun-2011 Adam Powell <adamp@google.com> Implement bug 4500971 - Collapsable action views

Action views may now be flagged as 'collapsable'. This means that the
action menu will always show them in the collapsed state by
default. When selected, the action view will "take over" the
navigation/view side of an action bar until dismissed via the home/up
button.

This feature allows for more long-term exclusive modes akin to
ActionModes but less intrusive. The action menu itself remains
unaffected. Collapsable action views are ideal for things such as
search or categories of tool palettes.

Change-Id: Ibafce5631befbfe67c5d834c2e2617d3d7f6da7a
bsActionBarView.java
ctionBarContextView.java
ctionBarView.java
7ae03cda10eddbde0d992ec82b2d5dacaf6eb10f 01-Jun-2011 Brian Carlstrom <bdc@google.com> Merge "Integrating keystore with keyguard (Part 1 of 4)"
5cfee3fabb3482c6a6df1c8b6f21e843cf214527 31-May-2011 Brian Carlstrom <bdc@google.com> Integrating keystore with keyguard (Part 1 of 4)

Summary:

frameworks/base
keystore rewrite
keyguard integration with keystore on keyguard entry or keyguard change
KeyStore API simplification

packages/apps/Settings
Removed com.android.credentials.SET_PASSWORD intent support
Added keyguard requirement for keystore use

packages/apps/CertInstaller
Tracking KeyStore API changes
Fix for NPE in CertInstaller when certificate lacks basic constraints

packages/apps/KeyChain
Tracking KeyStore API changes

Details:

frameworks/base

Move keystore from C to C++ while rewriting password
implementation. Removed global variables. Added many comments.

cmds/keystore/Android.mk
cmds/keystore/keystore.h
cmds/keystore/keystore.c => cmds/keystore/keystore.cpp
cmds/keystore/keystore_cli.c => cmds/keystore/keystore_cli.cpp

Changed saveLockPattern and saveLockPassword to notify the keystore
on changes so that the keystore master key can be reencrypted when
the keyguard changes.

core/java/com/android/internal/widget/LockPatternUtils.java

Changed unlock screens to pass values for keystore unlock or initialization

policy/src/com/android/internal/policy/impl/PasswordUnlockScreen.java
policy/src/com/android/internal/policy/impl/PatternUnlockScreen.java

KeyStore API changes
- renamed test() to state(), which now return a State enum
- made APIs with byte[] key arguments private
- added new KeyStore.isEmpty used to determine if a keyguard is required

keystore/java/android/security/KeyStore.java

In addition to tracking KeyStore API changes, added new testIsEmpty
and improved some existing tests to validate expect values.

keystore/tests/src/android/security/KeyStoreTest.java

packages/apps/Settings

Removing com.android.credentials.SET_PASSWORD intent with the
removal of the ability to set an explicit keystore password now
that the keyguard value is used. Changed to ensure keyguard is
enabled for keystore install or unlock. Cleaned up interwoven
dialog handing into discrete dialog helper classes.

AndroidManifest.xml
src/com/android/settings/CredentialStorage.java

Remove layout for entering new password

res/layout/credentials_dialog.xml

Remove enable credentials checkbox

res/xml/security_settings_misc.xml
src/com/android/settings/SecuritySettings.java

Added ability to specify minimum quality key to ChooseLockGeneric
Activity. Used by CredentialStorage, but could also be used by
CryptKeeperSettings. Changed ChooseLockGeneric to understand
minimum quality for keystore in addition to DPM and device
encryption.

src/com/android/settings/ChooseLockGeneric.java

Changed to use getActivePasswordQuality from
getKeyguardStoredPasswordQuality based on experience in
CredentialStorage. Removed bogus class javadoc.

src/com/android/settings/CryptKeeperSettings.java

Tracking KeyStore API changes

src/com/android/settings/vpn/VpnSettings.java
src/com/android/settings/wifi/WifiSettings.java

Removing now unused string resources

res/values-af/strings.xml
res/values-am/strings.xml
res/values-ar/strings.xml
res/values-bg/strings.xml
res/values-ca/strings.xml
res/values-cs/strings.xml
res/values-da/strings.xml
res/values-de/strings.xml
res/values-el/strings.xml
res/values-en-rGB/strings.xml
res/values-es-rUS/strings.xml
res/values-es/strings.xml
res/values-fa/strings.xml
res/values-fi/strings.xml
res/values-fr/strings.xml
res/values-hr/strings.xml
res/values-hu/strings.xml
res/values-in/strings.xml
res/values-it/strings.xml
res/values-iw/strings.xml
res/values-ja/strings.xml
res/values-ko/strings.xml
res/values-lt/strings.xml
res/values-lv/strings.xml
res/values-ms/strings.xml
res/values-nb/strings.xml
res/values-nl/strings.xml
res/values-pl/strings.xml
res/values-pt-rPT/strings.xml
res/values-pt/strings.xml
res/values-rm/strings.xml
res/values-ro/strings.xml
res/values-ru/strings.xml
res/values-sk/strings.xml
res/values-sl/strings.xml
res/values-sr/strings.xml
res/values-sv/strings.xml
res/values-sw/strings.xml
res/values-th/strings.xml
res/values-tl/strings.xml
res/values-tr/strings.xml
res/values-uk/strings.xml
res/values-vi/strings.xml
res/values-zh-rCN/strings.xml
res/values-zh-rTW/strings.xml
res/values-zu/strings.xml
res/values/strings.xml

packages/apps/CertInstaller

Tracking KeyStore API changes
src/com/android/certinstaller/CertInstaller.java

Fix for NPE in CertInstaller when certificate lacks basic constraints
src/com/android/certinstaller/CredentialHelper.java

packages/apps/KeyChain

Tracking KeyStore API changes
src/com/android/keychain/KeyChainActivity.java
src/com/android/keychain/KeyChainService.java
support/src/com/android/keychain/tests/support/IKeyChainServiceTestSupport.aidl
support/src/com/android/keychain/tests/support/KeyChainServiceTestSupport.java
tests/src/com/android/keychain/tests/KeyChainServiceTest.java

Change-Id: Ic141fb5d4b43d12fe62cb1e29c7cbd891b4be35d
ockPatternUtils.java
c619e74cc62678cef09b5f92e87e762a1f02aab7 01-Jun-2011 Gilles Debunne <debunne@google.com> ActionBar makes room for icons when no title is provided

Change-Id: I5bd09e00b50496032deda40ea22367d727230611
ctionBarContextView.java
39a8dc4aaf6b8ff63b3168a8f7e3b8153d3891d8 28-May-2011 Adam Powell <adamp@google.com> Fix bug 4499292 - ActionBar tabs don't show the first time

Fix an order of operations issue with actionbar tab initialization.

Change-Id: Ie1b1c76614eafc68e0069985b93683b44699b958
ctionBarView.java
3526556135e433504742c2ae4fcaada3525a6464 28-May-2011 Adam Powell <adamp@google.com> Fix bug 4399686 - missing menu after returning from fullscreen video
playback in browser

Change-Id: I992c6b1b4db738f937646e0dcac1c83fa5ab4e35
ctionBarView.java
098f5bd427574b2d80912d683a2d4c0ca23e998f 27-May-2011 Adam Powell <adamp@google.com> Merge "Action bar tab layout tweaks."
d21aa12e8eb9d46ee92bf408b4b48386c6bf062d 27-May-2011 Adam Powell <adamp@google.com> Action bar tab layout tweaks.

Let tabs consume the full action bar when the menu is empty and other
elements are disabled when the tab bar would normally split onto a
second row..

Fix bug 4489724 - bug in ActionBarImpl#cleanupTabs.

Change-Id: I28a235d339137add0b106c6e733a6767fa547810
ctionBarContainer.java
ctionBarView.java
5ff0f99b23da389f59fe736c4c670c60f13be8ea 27-May-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Add support for Gravity BEFORE and AFTER"
6a03640539405afbdefe72894759281b98aa6e6f 23-May-2011 Fabrice Di Meglio <fdimeglio@google.com> Add support for Gravity BEFORE and AFTER

- update layouts
- add Callback2 for RTL aware Drawable
- add unit tests

Change-Id: Ic64d0291e262170aff7297c6580b0b422eaa8d89
extProgressBar.java
25151e4792e9be8dbb892b7eba7349773b8127af 27-May-2011 Adam Powell <adamp@google.com> Fix bug 4487948 - action bar tabs + configuration change = :(

Change-Id: If7f622865ae5597cd9fb664a2952481da5c7e09a
ctionBarContainer.java
f9f01008624e2d28c15a90d942fa36f98c8c967d 19-May-2011 satok <satok@google.com> Add Apis to send notifications when the suggestion was picked

- Due to a strong request from VoiceIME

Bug: 4443922

Change-Id: Ia539de0acf66053e0349daec459d75e36805f6bf
ditableInputConnection.java
f8ac6b7394cfd37f01471bb35475ff2930eee140 24-May-2011 Adam Powell <adamp@google.com> Action bar tab layout

Sync with UX on action bar tab layout behavior.

Make action bar tabs behave better with configuration changes.

LinearLayout now supports largest child measurement in unspecified
mode.

Change-Id: Id520641715a61c07e64124a0c5a70912996c98a0
ctionBarView.java
crollingTabContainerView.java
80fd47ce75253dcdc2cfa85d7a3f42634b923a47 24-May-2011 Jeff Brown <jeffbrown@google.com> Input device protocol enhancements.

Added support for Linux multitouch protocol B (slots).

Added support for using the device's input properties as a hint
to determine the intended usage of a touch device.

Added support for the ABS_MT_DISTANCE axis.

Fixed a bug reporting the presence of the orientation axis.

Change-Id: Icf7b5a5a0f1a9cdf6ad2b35be8ea0c1a35815d48
ointerLocationView.java
dacbb746c99bd80bd618f1ba14eaa5a969e3b148 20-May-2011 Adam Powell <adamp@google.com> DO NOT MERGE Action bar config changes

Handle action bar padding on configuration changes when the app
handles these changes itself.

Change-Id: I044da9253a0be6b4bbabdc12891b6d4786725afa
ctionBarView.java
5d4034a37e5ac3832b91388024f6eddf343cf3f6 17-May-2011 Adam Powell <adamp@google.com> resolved conflicts for merge of 2b6ace58 to master

Change-Id: Icaff26a56c3e467317ca16d71e61fe8c5e60dfda
1b4a1628f3c6deb5f3ce9027c4e5aaf98dab4d75 17-May-2011 Adam Powell <adamp@google.com> Prevent cases of bogus action bar measurement.

Change-Id: I92d3bc41aa82835e1aa23f208ab61e943266f186
ctionBarContextView.java
ctionBarView.java
fe9f8ab03a63b1037f07dd85799fbea80ec6adaa 07-May-2011 Jeff Brown <jeffbrown@google.com> Add initial API for stylus and mouse buttons.

Added the concept of pointer properties in a MotionEvent.
This is currently used to track the pointer tool type to enable
applications to distinguish finger touches from a stylus.

Button states are also reported to application as part of touch events.

There are no new actions for detecting changes in button states.
The application should instead query the button state from the
MotionEvent and take appropriate action as needed.

A good time to check the button state is on ACTION_DOWN.

As a side-effect, applications that do not support multiple buttons
will treat primary, secondary and tertiary buttons identically
for all touch events.

The back button on the mouse is mapped to KEYCODE_BACK
and the forward button is mapped to KEYCODE_FORWARD.

Added basic plumbing for the secondary mouse button to invoke
the context menu, particularly in lists.

Added clamp and split methods on MotionEvent to take care of
common filtering operations so we don't have them scattered
in multiple places across the framework.

Bug: 4260011
Change-Id: Ie992b4d4e00c8f2e76b961da0a902145b27f6d83
ointerLocationView.java
5c1cb19f4075b3c4ab895a30ab5f2469aff5b553 06-May-2011 Adam Powell <adamp@google.com> Fix bug 4383987 - animate action modes with split action bars

Change-Id: I6aa800ae12ef51d1ba79f059ede7413d662a7d1a
bsActionBarView.java
b51cc1dd63808da505cd8beb7300f57dc98ff1d3 05-May-2011 Patrick Dubroy <dubroy@google.com> Merge "Only delay pressed feedback for Views inside a scrolling parent"
e0a799a2ac1ca78e30fbac9e4e12a063425c08d3 05-May-2011 Patrick Dubroy <dubroy@google.com> Only delay pressed feedback for Views inside a scrolling parent

Add a method on ViewGroup to determine whether it supports scrolling.
This allows us to show the pressed feedback immediately in many cases,
improving responsiveness of buttons, etc.

This patch also lengthens the timeout in order to reduce flashes
when the user is scrolling.

Change-Id: Ieb91ae7a1f8e8f7e87448f2a730381a53947996f
ctionBarContextView.java
ctionBarView.java
c6cc0f8c19d9eccf408a443fa2bf668af261dcd0 12-Apr-2011 Joe Onorato <joeo@google.com> Rename ViewRoot to ViewAncestor.

ViewRoot is about to be a new public class for poking at ViewAncestor.

Change-Id: Ie95d707c6d8bbb48f78d093d7b2667851812a7d5
asswordEntryKeyboardHelper.java
f3cd1d957c0d709a4704722b6397c934c1a770b8 27-Apr-2011 Adam Powell <adamp@google.com> Bug 4269063 - Populate contentdescription in action bar

home/up and action menu

Change-Id: Ia09d78d9d37848621e025b9af93a92cfd3bb8dc7
ctionBarView.java
0d8ec1d739e15c232c58a5a5de605685830c287e 03-May-2011 Adam Powell <adamp@google.com> Fix bug 4345702 - update action bar tab views when the Tab object is
updated

Also fix a bug with visibility of split action bar views.

Change-Id: Iadd63d5e9b6cb9debab0f7a777e424e4c4807a13
ctionBarView.java
640a66eac612b850b5dabd3b93bd94f83ed2d567 29-Apr-2011 Adam Powell <adamp@google.com> Refactoring of action bar internals

Split action bar implementation details. Factor out common components
into AbsActionBar. Layout rules for the lower half of split action
bars.

Change-Id: I6bc39ba6c343055597880a7d4663dd8f30aa4999
bsActionBarView.java
ctionBarContainer.java
ctionBarContextView.java
ctionBarView.java
9b4bee0f14bbd137b0797127aff2df46a6321ec5 28-Apr-2011 Adam Powell <adamp@google.com> Introducing the split action bar.

Apply (or extend) the theme Theme.Holo.SplitActionBarWhenNarrow or
Theme.Holo.Light.SplitActionBarWhenNarrow to enable splitting the
action bar across both the top and bottom of the screen. This places
the action menu along the bottom, leaving more room at the top for
titles, navigation, and custom views and more room at the bottom for
menu items.

TODO: Refine layout of the action menu when placed at the bottom of
the screen. Make action modes split as well.

Change-Id: I92c91f99c533f26aecf6b828ed041386c4f16922
ctionBarView.java
dae7824c4b78d02159c6ad0896f246942d7b3d8c 26-Apr-2011 Adam Powell <adamp@google.com> Action bar work for phones

Drop tabs to a second row at < w480dp

Make 9-patches for the cab's "done" button thinner

Add a "disable home" display option to the action bar to turn off
focus and touch feedback when tapping home would do nothing

Change-Id: Ib2eedf311655f02055357321e2e9ad5b9037fed1
ctionBarContainer.java
ctionBarView.java
d0f650c6c3a123c856bb0adb138ae7cd0deed3d1 23-Apr-2011 Adam Powell <adamp@google.com> Fix mipmap selection for action bar icons

Change-Id: I6d34dabb5289284fd5821695ad14d8bdeb97e50d
ctionBarView.java
45c515b0e962ee8ffc901872bcc9f25599ea0e78 22-Apr-2011 Adam Powell <adamp@google.com> Action bar work for phones

Tweak sizing and layouts for action bar on smaller devices. The action
bar's size is now partially dependent on form factor and orientation
to conserve screen space, especially in landscape mode.

Alter the max action menu items for smaller devices. Disallow text on
action menu items with a horizontal width of less than 480dp when an
icon is available.

Remove the "Done" text on the action mode close button. (TODO: get a
properly sized 9-patch resource for this - the current one has an
intrinsic width that is too large.)

When setting an action bar icon as a resource ID, the bar will attempt
to load a mipmapped resource that is the closest available for the
target size.

Change-Id: I2498c640666ade310fdd1d3a2078bd4000b392a2
ctionBarView.java
696cba573e651b0e4f18a4718627c8ccecb3bda0 29-Mar-2011 Adam Powell <adamp@google.com> Refactor menu internals.

In the old world, MenuBuilder and MenuItemImpl were responsible for
generating views for any presentation of a menu. MenuBuilder needed to
know any types and resources involved, and the implied caching
semantics did not work well for menus presented within AdapterViews.

In the new world, the MenuPresenter interface takes over the
responsibility of generating views or adapters for menu
items. MenuBuilder/MenuItemImpl still provide extra metadata tracking
used by these presenters. Mutiple presenters may be active for a
single menu at a time. All of this remains internal framework
implementation details.

BaseMenuPresenter provides a simple base for presenters that treats
the host MenuView more like an AdapterView. This allows for less
rebuilding of views when items are added/removed.

Callbacks have been restructured. Calls that relate to the menu itself
are still handled by MenuBuilder.Callback, but calls related to a
specific presentation of a menu are handled by MenuPresenter.Callback
objects attached to a MenuPresenter.

Also add API to programmatically set divider options for LinearLayout
and hidden API so that ActionBarView can have finer-grained control
over divider placement.

Change-Id: I2265b86a084279822908021aec20dfbadc1bb56b
ctionBarContextView.java
ctionBarView.java
b3fc1a5b8b8f88eaf00b05957523cbdc0944b24b 06-Apr-2011 satok <satok@google.com> Rename CorrectionSpan to SuggestionSpan

Change-Id: I004b2e012b2de4de959a31da1f55b63ca7c14199
ditableInputConnection.java
e3797a15fbf769a0abcbe121cfd33b4b658aea1e 21-Mar-2011 satok <satok@google.com> Removed APIs for setCorrectionSpan from InputConnection

("setCorrectionSpan" was added in Id3abc9ea4d11753cd )

Also..
- Added a class java doc for CorrectionSpan
- Removed FLAG_DEFAULT
- Changed the return type of getSuggestions from Array<CharSequence> to String[]

Change-Id: If5eb091e307a7a40c5b4a70ec1fe6059ecd9fb2d
ditableInputConnection.java
2625feae79ab418355c2a4dafe8b162bba3cc1cf 24-Mar-2011 Adam Cohen <adamcohen@google.com> Modifying RemoteViewsFactory interface

-made onDestroy() one way
-moved uncaught exception handling to the application process

Change-Id: I958571a34eaa48b27e441e3a117c109fb2d2c644
RemoteViewsFactory.aidl
a032cc008618b83ecbbede537517d1e7998e3264 08-Mar-2011 Jeff Brown <jeffbrown@google.com> Add MotionEvent.HOVER_ENTER and HOVER_EXIT.

The input dispatcher sends a HOVER_ENTER to a window before dispatching
it any HOVER_MOVE events. For compatibility reasons, the window will
*also* receive the HOVER_MOVE. When the pointer moves into a different
window or the pointer goes down or when events are canceled for some reason,
the input dispatcher sends a HOVER_EXIT to the previously hovered window.

The view hierarchy behavior is similar. All views under the pointer
receive onHoverEvent with HOVER_ENTER followed by any number of HOVER_MOVE
events. When the pointer leaves a view, the view receives HOVER_EXIT.
Similarly, if a parent view decides to capture hover by returning true
from onHoverEvent, the hovered descendants will receive HOVER_EXIT.

The default behavior of onHoverEvent is to update the view's hovered
state by calling setHovered(true/false). Views can query their current
hovered state using isHovered().

For testing purposes, the hovered state is mapped to the pressed
drawable state. This will change in a subsequent commit with the
introduction of a new hovered drawable state.

Change-Id: Ib76a7a90236c8f2c7336e55773acade6346cacbe
ointerLocationView.java
1969b8799085322f9ef6e75b78c2c9a5d5944801 22-Mar-2011 Adam Powell <adamp@google.com> Fix bug 4142917 - Add support for specifying a custom home icon in action bar

Add ActionBar methods for setting icon and logo.

Change-Id: I6151689138c734b7212c3469b8ba8f28f0fd5ec4
ctionBarView.java
adb435835fb9a5f2bb74d29930b239dde18504a7 09-Mar-2011 satok <satok@google.com> Add CorrectionSpan and APIs to pass a secure CorrectionSpan to TextView

- CorrectionSpan is a span which has suggestions made by IME.
This has a function to change the current IME to other IME specified
in this span. For security reasons, only the current IME
is allowed to use this function through InputConnection.
(IME token is used for checking the validity of it.).

- CorrectionSpan stores following information:

flags, subtype Id, InputMethodInfo Id, suggests, locale, original string

Change-Id: Id3abc9ea4d11753cdc4f483a2bb3128f49ba198a
ditableInputConnection.java
c18c38f36eb04707a7995d69db17e1f0915c6d94 15-Mar-2011 Adam Powell <adamp@google.com> Fix bug 4088936 - Tabs in the action bar don't seem to have a fading edge

Change-Id: I23c736ad458c721dfa86563f66b42dd5d6ca708e
ctionBarView.java
1b365921e88b14857d8e0826e221c371d25f6cb2 10-Mar-2011 Jim Miller <jaggies@google.com> Fix 3201849: Enable hardware acceleration in LockScreen WaveView [DO NOT MERGE]

Change-Id: I07bbed7843857158cd2c1ffd9b184bde7fd5860d
aveView.java
696e66e44b89ca812137a31a1eab09bb8e84aa95 07-Mar-2011 Jeff Brown <jeffbrown@google.com> Make PointerLocationView also log generic motions and some keys. (DO NOT MERGE)

Change-Id: I657588ae08fa462a6ad79326bcd8a199885ff28b
ointerLocationView.java
2b0952b197470a457f4f436911f1d07f553d15da 09-Mar-2011 Adam Powell <adamp@google.com> Fix bug 4065021 - Adjust spacing of the "home" action bar item to be
consistent with the "up" indicator

Make sure that the "home" affordance in the action bar always occupies
the same amount of space regardless of whether or not the "up"
indicator is visible. This means centering the application icon/logo
in the remaining space after the "up" indicator has been added.

Change-Id: I3c81cfe8255546d4dd676af913895713baba4f13
ctionBarView.java
8fca37ce308e45f58220752ef9776c55ef44491d 05-Mar-2011 Adam Powell <adamp@google.com> Fix bug 3501766 - Make the action bar "up" visual more prominent

Change-Id: Id4b104dd6ca1df662479ab54f045e119585f990f
ctionBarView.java
33bbfd2232ea9eaae9a9d87a05a95a430f09bd83 25-Feb-2011 Jeff Brown <jeffbrown@google.com> Add support for mouse hover and scroll wheel.

Dispatch ACTION_HOVER_MOVE and ACTION_SCROLL through the View
hierarchy as onGenericTouchEvent. Pointer events dispatched
this way are delivered to the view under the pointer. Non-pointer
events continue to be delivered to the focused view.

Added scroll wheel support to AbsListView, ScrollView,
HorizontalScrollView and WebView. Shift+VSCROLL is translated
to HSCROLL as appropriate.

Added logging of new pointer events in PointerLocationView.

Fixed a problem in EventHub when a USB device is removed that
resulted in a long stream of ENODEV errors being logged until INotify
noticed the device was gone.

Note that the new events are not supported by wallpapers at this time
because the wallpaper engine only delivers touch events.

Make all mouse buttons behave identically. (Effectively we only
support one button.)

Change-Id: I9ab445ffb63c813fcb07db6693987b02475f3756
ointerLocationView.java
84bbb020217adcdfe0694c44ccab57e208ffde16 21-Feb-2011 Winson Chung <winsonc@google.com> Fixing issue where RemoteViewsService.onDestroy() was never being called.

Change-Id: I15ad04eee18bc3e09d4846c7f2f2d2d8d168e518
RemoteViewsFactory.aidl
cc0c159e9b3dd4e0f48da0ce3e33d2c68a651413 19-Feb-2011 Jeff Brown <jeffbrown@google.com> Add new hover move action and scroll wheel plumbing.

Added support for tracking the mouse position even when the mouse button
is not pressed. To avoid confusing existing applications, mouse movements
are reported using the new ACTION_HOVER_MOVE action when the mouse button
is not pressed.

Added some more plumbing for the scroll wheel axes. The values are
reported to Views but they are not yet handled by the framework.

Change-Id: I1706be850d25cf34e5adf880bbed5cc3265cf4b1
ointerLocationView.java
6f2fba428ca5e77a26d991ad728e346cc47609ee 19-Feb-2011 Jeff Brown <jeffbrown@google.com> Add new axes for joysticks and mouse wheels.

Added API on InputDevice to query the set of axes available.
Added API on KeyEvent and MotionEvent to convert keycodes and axes
to symbolic name strings for diagnostic purposes.
Added API on KeyEvent to query if a given key code is a gamepad button.
Added a new "axis" element to key layout files to specify the
mapping between raw absolute axis values and motion axis ids.
Expanded the axis bitfield to 64bits to allow for future growth.
Modified the Makefile for keyboard prebuilts to run the keymap
validation tool during the build.
Added layouts for two game controllers.
Added default actions for game pad button keys.
Added more tests.
Fixed a bunch of bugs.

Change-Id: I73f9166c3b3c5bcf4970845b58088ad467525525
ointerLocationView.java
01feaee3d9767ef1185783877e92244f14d7d4ba 11-Feb-2011 Adam Powell <adamp@google.com> Fix bug 3372468 - ActionBar menu shouldn't be clickable after
ActionBar.hide() is called

Action bar will capture touch events and prevent focus from passing to
its children while animating out.

Change-Id: I4501f785ead2afa34f020f9bc1a1121932f3c047
ctionBarContainer.java
f2d7a5d8312b78f84e6cc63277ec7ec874722015 08-Feb-2011 Adam Powell <adamp@google.com> Fix bug 3426162 - Overflow menu closes on its own

Makes populating action menus smarter, doesn't completely empty and
repopulate. Fixes issues where changing menus can leave popups without
an anchor.

Change-Id: I03cc266f0952123c5704a78cdcfc69b77af1915b
ctionBarView.java
929a1c219248b62778807cac8ea256c7ac0fda6a 02-Feb-2011 Brian Carlstrom <bdc@google.com> Removing android.security.MessageDigest

Bug: 3392028
Change-Id: I6b9732da17d086ba00c846c3ad1c7fb39baf9502
ockPatternUtils.java
d4796c823b92866d5895acf610e5571e9b5724d9 29-Jan-2011 Jason parks <jparks@google.com> am a2e765ef: Merge "Update the encryption password when the device password is changed." into honeycomb

* commit 'a2e765ef1ad2cb907a4ae0a93bb15e4764ebb59a':
Update the encryption password when the device password is changed.
a2e765ef1ad2cb907a4ae0a93bb15e4764ebb59a 29-Jan-2011 Jason parks <jparks@google.com> Merge "Update the encryption password when the device password is changed." into honeycomb
06cedc1c4a0587389bb1eb360df62b1ec1964bd1 28-Jan-2011 Gilles Debunne <debunne@google.com> am d11f5d2c: Merge "Fix for TextView\'s error popup behavior when using soft keyboard." into honeycomb

* commit 'd11f5d2c5e41b4f2f5bda5ecca793efd2ab2300b':
Fix for TextView's error popup behavior when using soft keyboard.
f7b3cd4efd40b7631f36ea014407a850f7dc637e 27-Jan-2011 Jason parks <jparks@google.com> Update the encryption password when the device password is changed.

* Added changeEncryptionPassword() to the MountService.
* Update LockPatternUtils to call changeEncryptionPassword()
when the password is changed.

Note we only require the new password to change the
encryption password.

Bug: 3382129
Change-Id: I26a7e919e325e75e22fa4290da0a8b1b57b55a80
ockPatternUtils.java
b7fc63f7aac3689696f7f84953009b5928ac3db3 28-Jan-2011 Gilles Debunne <debunne@google.com> Fix for TextView's error popup behavior when using soft keyboard.

Bug 3370191

The documented behavior is to hide the error when the text changes.
However, this should not be the case if the error was reset by a text watcher.

Comparing errorBefore and errorAfter as was done before is not sufficient in the
case where the error is reset to the same value. String pool optimization will re-use
the same Object and it will look like the error has not been modified (hence the
blinking behavior reported in the bug).

For this reason, TextView has a mErrorWasChanged flag. The fix is to export methods
that can use this flag as in done inside TextView when a physical keyboard is used.

These methods are hidden.

Change-Id: Ie3ec59a368f3b1588b81242890b971ac48e8ff7e
ditableInputConnection.java
df82ad9fb239572f3076ffc8894697b9de3d18d1 27-Jan-2011 Jim Miller <jaggies@google.com> am 57d472a5: Merge "Fix 3381324: Restart ripples when the user moves away from the edge." into honeycomb

* commit '57d472a5b1f69e3aa0159f41c7ef625d4418c27f':
Fix 3381324: Restart ripples when the user moves away from the edge.
8996cf071abf5e6a6458da258a1d59bcaafc3c2c 27-Jan-2011 Jim Miller <jaggies@google.com> Fix 3381324: Restart ripples when the user moves away from the edge.

This changes the behavior of WaveView to start waves again when
the user moves the halo back towards the center.

Change-Id: Ia3b8fbd091e90e83e0c34b98a3060d3236191d7a
aveView.java
38fe6ff45a6cbc328d1b92c9b9d79c65c3fb29ae 26-Jan-2011 Winson Chung <winsonc@google.com> am 2c070bae: Merge "Re-enabling queued unbinding of services after requests to the service. (3394210)" into honeycomb

* commit '2c070bae4493cd1976c5086ec4cbf6ce10482742':
Re-enabling queued unbinding of services after requests to the service. (3394210)
16c8d8a558f94ec14ef52bb5ac11044e2d0d902c 21-Jan-2011 Winson Chung <winsonc@google.com> Re-enabling queued unbinding of services after requests to the service. (3394210)

- Fix for crash when detaching from window
- Potential fix for occasional IllegalStateException when updating List based widgets

Change-Id: I3d3f2bb691552a1136111043db686c4926b510c6
RemoteViewsFactory.aidl
00e37916bc121cea928f6bad6d059cbd00e8bf6b 25-Jan-2011 Jim Miller <jaggies@google.com> am 1323ab83: am 42a46157: Fix 3379239: Catch exceptions from workaround for OOM.

* commit '1323ab83e4be088fd66ad73ea9da617e46382987':
Fix 3379239: Catch exceptions from workaround for OOM.
191f8ff3545b891ec395f700771b79689b58e422 25-Jan-2011 Jim Miller <jaggies@google.com> am 85d3ef33: Merge "Fix 3381304: disable key preview in LockScreen\'s qwerty keyboard" into honeycomb

* commit '85d3ef337bdd21109e9c29356a6df96aacb3f849':
Fix 3381304: disable key preview in LockScreen's qwerty keyboard
85d3ef337bdd21109e9c29356a6df96aacb3f849 25-Jan-2011 Jim Miller <jaggies@google.com> Merge "Fix 3381304: disable key preview in LockScreen's qwerty keyboard" into honeycomb
b3f079bc67a8d1d330c4ee6e348cb286118416da 24-Jan-2011 Adam Powell <adamp@google.com> am a6ce0819: Merge "Fix bug 3381275 - Too much padding on the left of a custom nav bar" into honeycomb

* commit 'a6ce081970a78233ba6b9792149ee5f1390cba7b':
Fix bug 3381275 - Too much padding on the left of a custom nav bar
9c01f219503e9bd62127fb85e1d4f5c7f59291cb 24-Jan-2011 Adam Powell <adamp@google.com> am 7ed3d005: Merge "Fix bug 3380292 - long title in actionbar context mode pushes buttons over edge" into honeycomb

* commit '7ed3d005ac5ed26221ccc3596c0b81522909ca76':
Fix bug 3380292 - long title in actionbar context mode pushes buttons over edge
2a7ea67a03f3e53f59129fdea98c42c1ea02097f 24-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3381275 - Too much padding on the left of a custom nav bar

Hide the title layout if it's empty to omit any included padding.

Change-Id: I01d287c8e214ed3648a47f5ca00b50f78d1659ad
ctionBarView.java
b0ff6f995553a5deb1f22e43e44715b316d33a88 24-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3380292 - long title in actionbar context mode pushes buttons over edge

Also adjust default web text selection menu to allow overflow, preventing items
from being cut off in portrait or on smaller screens.

Change-Id: I686c9a8daab31a38c2fcb75ee1402f09f568c238
ctionBarContextView.java
7dd879a6a7efe4726007a7c0a0e6553398789017 24-Jan-2011 Jim Miller <jaggies@google.com> Fix 3381304: disable key preview in LockScreen's qwerty keyboard

Change-Id: I679dc9306a95b02bd7319e100c9f8871848fb134
asswordEntryKeyboardHelper.java
42a461570b9c5502959e429c4f16ca5ca860c4f2 23-Jan-2011 Jim Miller <jaggies@google.com> Fix 3379239: Catch exceptions from workaround for OOM.

This catches possible exceptions caused by attempting to
unregister a receiver that may have already been unregistered.
This is related to the OOM issue workaround in Change I99a7e0c3.

Change-Id: Ib69a8acc6b12659125c958a03efac0a8a68a3859
igitalClock.java
be71a923b084accde4c2b3ff74b2454bc6894eb6 21-Jan-2011 Jim Miller <jaggies@google.com> am 055e56ee: Merge "Fix 3374446: Allow multiple shift keys in Keyboard." into honeycomb

* commit '055e56ee1bf62d9dc97ba3b483c79312e2bb2beb':
Fix 3374446: Allow multiple shift keys in Keyboard.
6465f7753783a614948fb3ffbd8c072345b4eea1 20-Jan-2011 Jim Miller <jaggies@google.com> Fix 3374446: Allow multiple shift keys in Keyboard.

This fixes a bug introduced in 3c6dd8f9 because we now
have two shift keys. The code now tracks a global state
and looks for up to two shift keys.

Update after review and added code to handle extra
invalidate required by additional shift key.

Change-Id: Ic1728dd0ceec089089cd1beca1b0b30565d6e658
asswordEntryKeyboard.java
asswordEntryKeyboardView.java
8bbec794473f802d4d61613f77bc69a582e3fcc0 21-Jan-2011 Adam Powell <adamp@google.com> am 9c91c7e2: Merge "Fix bug 3362375 - API REVIEW: remove unused public \'up\' id" into honeycomb

* commit '9c91c7e27fbfff5abc34e19779a9477239ab9b10':
Fix bug 3362375 - API REVIEW: remove unused public 'up' id
1264c33163146d6088675d197551a63b3f9d360b 20-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3362375 - API REVIEW: remove unused public 'up' id

Fix bug 3362453 - API REVIEW: android.app.ActionBar

Change-Id: I4e0233cd9355a47682bfe7b4a7fda39801586f1a
ctionBarView.java
a04cfb9a023448f872691e773a08c0ff811ce20c 20-Jan-2011 Gilles Debunne <debunne@google.com> am 6b20dc43: Merge "Error popup no longer flickers in TextViews." into honeycomb

* commit '6b20dc43a0b835254840746f1027945b5414654b':
Error popup no longer flickers in TextViews.
a85467bc8da8d4cecd47ed30da04c72c4f7bd842 20-Jan-2011 Gilles Debunne <debunne@google.com> Error popup no longer flickers in TextViews.

The removed lines were committed by the Android Open Source Project.
Their intent was probably: the message was there before, it is identical
after a text change, let's remove it to not annoy the user who already saw it.

The behavior however is that the message is displayed then hidden, then displayed
as the user types.

Bug 3365016

Change-Id: Ie820f8e5465ad8ab5890272c42627686e0d7961b
ditableInputConnection.java
caedec768bf22acc38e526b9cec655ea8f9eede0 19-Jan-2011 Winson Chung <winsonc@google.com> am aac19783: Merge "Refactoring app widgets to address security/performance issues." into honeycomb

* commit 'aac197833f3b2deddc6b3da5c144be36721d9547':
Refactoring app widgets to address security/performance issues.
81f39eb6e76d0be1dd341af835e8002a0f80524e 12-Jan-2011 Winson Chung <winsonc@google.com> Refactoring app widgets to address security/performance issues.

- Moving the service binding to AppWidgetService to prevent arbitrary apps from binding to widget services
- Requiring RemoteViewsServices to require android.permission.BIND_REMOTEVIEWS permission

Change-Id: Id135bafba998299eb278067712b8a5d8487cfd04
RemoteViewsAdapterConnection.aidl
eb7a7a044adba95216152e848fa692ec2869e06b 19-Jan-2011 Adam Powell <adamp@google.com> am 6cfc7a0a: Merge "Fix bug 3365208 - Contextual Action Bar is not displayed when the context item is changing" into honeycomb

* commit '6cfc7a0acb0d3b202ae1dbee88e7e8bdfaee5590':
Fix bug 3365208 - Contextual Action Bar is not displayed when the context item is changing
a1e6358a4c62c8b6de1f2428901e45b688bd9e9f 19-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3365208 - Contextual Action Bar is not displayed when the context item is changing

Change-Id: I9e7ec4ab14c6008397d26c499ccf478f8875f918
ctionBarContextView.java
21efbc0a1c9b4e77f871caffa2df87a1df69c00c 18-Jan-2011 Jim Miller <jaggies@google.com> am c6d2a767: Merge "Fix 3303606: invalidate WaveView after resetting state" into honeycomb

* commit 'c6d2a767ce26014fee85ecbe81e1c439898f2ebc':
Fix 3303606: invalidate WaveView after resetting state
c6d2a767ce26014fee85ecbe81e1c439898f2ebc 18-Jan-2011 Jim Miller <jaggies@google.com> Merge "Fix 3303606: invalidate WaveView after resetting state" into honeycomb
607d320c9d18a57350bef72cc74017366ffd04ec 17-Jan-2011 Jim Miller <jaggies@google.com> Fix 3303606: invalidate WaveView after resetting state

This fixes a bug where the unlock state machine was in the
reset state when it awakes which caused it to ignore
the first unlock attempt. The reason for this is the state
machine didn't run again until the next user input.

We now invalidate the drawing area to ensure the unlock state
machine runs and is ready when LockScreen shows again.

Change-Id: I9f2b279d432ff634ba0b29e606cdc954718a2ad2
aveView.java
dd9946e78ae3884047efe875920ab0d5c38c3467 17-Jan-2011 Adam Powell <adamp@google.com> am 9512d6aa: Merge "Fix bug 3360954 - Text overlaid on menu icons" into honeycomb

* commit '9512d6aa206f8bb44ab52b6dfe5ee8cb5c2960ea':
Fix bug 3360954 - Text overlaid on menu icons
77769c7a9130afa48e46dbd79da8271c271ab1e9 17-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3360954 - Text overlaid on menu icons

Change-Id: Ie59a325b7037d93aeec01c862646f900d52e1d7c
ctionBarContextView.java
3530ebe451fea39b159baa9b8c9f9cd851de42a3 17-Jan-2011 Jim Miller <jaggies@google.com> resolved conflicts for merge of 578e73da to honeycomb-plus-aosp

Change-Id: I334ae5382220a84881521885b6e3c3991fd8bbb0
7a1c32e719725787acda4885ad7bd8031975e8c7 15-Jan-2011 Jeff Brown <jeffbrown@google.com> Merge "Add support for detecting finger orientation." into honeycomb
517bb4c859a2bb8d30316204f39bf5b6c89c3e4d 15-Jan-2011 Jeff Brown <jeffbrown@google.com> Add support for detecting finger orientation.

Change-Id: I901fc61f7705fcd7950190dc8782bad616032ee2
ointerLocationView.java
8b886fab5496b0b1f5193f21855220176deddc37 14-Jan-2011 Jim Miller <jaggies@google.com> Fix 3106227: use WeakReferences for receivers in DigitalClock class

This works around a bug in the framework where LockScreen wouldn't
get GC'd under certain circumstances which would lead to an OOM
crash. It now uses WeakReferences for observers inside the
DigitalClock container class and unregisters them if the containing
DigitalClock goes away.

Also removed mLive variable which was unused and could potentially
leak the receivers.

Left mAttached for debugging so we can use it to determine if the
calls to onAttachToWindow() and onDetachFromWindow() are grossly
unbalanced which may be the root cause of the original problem.

Have cleanUp() explicitly clear unused references to make
tracing through hprof references easier.

Change-Id: I99a7e0c356001b05eab5aa729564553666febfea
igitalClock.java
e7d468410b3a783560d5158a5798cef1b4b67702 14-Jan-2011 Adam Powell <adamp@google.com> Rework action bar menus.

Fix bug 3328810 - remove icons from action bar overflow menu. Popup
menus now will not show icons. Give popup menu items a minimum width.
Alter the sizing of popup menus.

Fix bug 3192635 - revise rules for action menu dividers. Dividers now
appear between the overflow button and any other items next to it, and
anywhere they disambiguate touch targets between text and other
content. Action views are on their own and should include their own
dividers if needed.

Remove dividers from around action bar spinners and tabs.

Change-Id: I935b48b473606ac2adde5e2b251bf30ebe2a3da9
ctionBarView.java
81f9b286d1308ba72c0d4a12668311e37b8b4ddd 10-Jan-2011 Jim Miller <jaggies@google.com> Fix 3299611: Use system font for AM/PM indicator

This fixes a bug where translations wouldn't pick up the proper
AM/PM indicator because AndroidClock.ttf doesn't contain the
full Android character set for translations.

Change-Id: I61737bae7383946906a4e6b776afa7463da9355d
igitalClock.java
00bba682efedbe121f31c98697f91101b1c22b82 09-Jan-2011 Adam Powell <adamp@google.com> Amendment to fix for bug 3332414

Change-Id: Id3047f6ea6f8f5c68318057798e285cc1e06d094
ctionBarContextView.java
dd10b66601ed0b288dc93b43e14cd9fd71355728 09-Jan-2011 Adam Powell <adamp@google.com> Bug 3332414 - UI glitch in CAB options

Change-Id: Ic066f968b0125276c315f31adbd96420e528362f
ctionBarContextView.java
654e4e41615b4d10cf09ccf1b89ac7b14057a604 04-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3300456 - Prevent duplicate action bar backgrounds in shared
container

Change-Id: I8edb99739be43c7ee82eb4dc4b82a9be17f92d0c
ctionBarView.java
6ecf3d1690789ace1a667093ad6bbdd6cd35bda7 19-Dec-2010 Adam Powell <adamp@google.com> Fix bug 3292288 - Make Action Bar trap taps

Change-Id: I517855fb6cc50171dc247ede4537ed8ec58d7c91
ctionBarContainer.java
4e659135fdb50dce83a3f26f61f410a65a8ff584 18-Dec-2010 Jim Miller <jaggies@google.com> Fix 3148496: Update LockScreen clock to use new font.

Change-Id: I8a4133f633bd3927de75010099e29ad847f3f671
igitalClock.java
1108306b369ad64c75c097fe6d4eb1e7ea669ab2 15-Dec-2010 Jim Miller <jaggies@google.com> Merge "Fix 3148496: Update LockScreen assets & layouts"
936236c01d052727c11d6d4e9251746af3fad28e 15-Dec-2010 Jim Miller <jaggies@google.com> Merge "Fix 3201849: Tweak WaveView animation; update resource."
0a0753808ea27955472c2283413fc230bc85595b 15-Dec-2010 Jim Miller <jaggies@google.com> Fix 3148496: Update LockScreen assets & layouts

This adds new assets for LockScreen on large devices and
fixes a layout bug in LockPatternView where the size was
not being computed correctly.

Change-Id: Ibaa0543502914010261389ef6e524654f4f87dc4
ockPatternView.java
128b6ba93d0549fd2beff4482678e1229dc1cf3d 13-Dec-2010 Adam Powell <adamp@google.com> Fix bug 3280187 - ActionMode menu content not getting cleared properly when finishing

Fix bug 3279956 - FastScroller resource loading errors

Change-Id: I224b2b820636f88b09740a511aa0a9c480e54a2f
ctionBarContextView.java
45f1e08c348ccb129bcc25e438c05421f7123f41 10-Dec-2010 Adam Powell <adamp@google.com> Fix bug 3259354 - Handle ActionBar backgrounds better for interacting
with action modes.

Tweak ActionBar/mode transition animation to look better with a
variety of action bar styles.

Fix bug 3273773 - ActionBar disappearing while displaying
popupwindow. Some SurfaceFlinger optimizations require a relayout to
recalculate the bounds of overlaid views.

Fix bug 3266010 - Cancel animations properly when switching between
modes.

Change-Id: Ic431176b11115a2211bd0a46d09c8998aefe58d6
ctionBarContainer.java
ctionBarContextView.java
ctionBarView.java
3262a51a91655659741b3b02071ccaed258fc01f 11-Dec-2010 Jim Miller <jaggies@google.com> Fix 3201849: Tweak WaveView animation; update resource.

This is a minor tweak to the WaveView animation and updates
the unlock ring asset.

Change-Id: I763a1b25c30f20a0e78b0a6872f2dd5d2d790d59
aveView.java
cf9cf2f40efc4ccf3f73e6fdb07725d9c00c4f91 09-Dec-2010 Gilles Debunne <debunne@google.com> New API in InputConnection to signal IME's text correction.

Scafolding so that the IME team can start working on this feature.

The animation part in the TextView is missing.

Change-Id: I8225538564370fba1500e3539742a8ab79bdd199
ditableInputConnection.java
e2ab7ccd385cdb6517955c719e1d2b49771bedb6 07-Dec-2010 Chet Haase <chet@google.com> Change cancel/end behavior of animations to be synchronous

Previously, cancel() and end() calls would simply log a message to
be handled later by the animation handler. This caused problems with
coordinating complex animations, where some start() events for
future animations would occur before end() events for animations already
completed.
The change is to make these events synchronous (and require them to be
called from the appropriate thread), simplifying the code and the usage.

Also, fixed various timing and event bugs in AnimatorSet, and removed
the getter/setter properties from ObjectAnimator, since an earlier change
makes these properties undesirable (because the code will use a faster
JNI approach instead of reflection when it can).

Change-Id: I05c16645c2a31a92048a6031ddb126eb4312a946
rawableHolder.java
3f7f7ac30af6ea572aca44df91363cff7fcd9fef 06-Dec-2010 Adam Powell <adamp@google.com> Add dividers to action bar navigation. Lighter dividers for holo themes.

Change-Id: I879dbd815a891fe5db20678b674a9cee63a5e1ae
ctionBarView.java
d8b3f2e8eee5f24de6653a918613674e9495f751 02-Dec-2010 Adam Powell <adamp@google.com> Action mode animations

Change-Id: I132791217a38257e4fe730f2dd364cf48069c75d
ctionBarContextView.java
c002fab06d5f6d3c83bb2b89c8ee9a14f6580af3 03-Dec-2010 Jim Miller <jaggies@google.com> Fix 3201849: Remove builder pattern from DrawableHolder setters

This removes the builder pattern from DrawableHolder setters
to avoid reflection and unnecessary GCs in Animators.

Change-Id: I8e3485823f30f10d768d0ab447a5ee3281a363f0
rawableHolder.java
aveView.java
8515ee846bd76aee86ec5ddfcc4dd1e626dd999c 30-Nov-2010 Adam Powell <adamp@google.com> Fix bug 3240444 - add OnMenuVisibilityListener for action bar.

Fix bug 3180015 - leaking window handles on configuration change for
action bar dropdown menus

Rename ActionBar.NavigationCallback to something more consistent with
the rest of the API.

Change-Id: Ic1fb4c07484c57a72649b30e27d220b18cda6cdf
ctionBarContextView.java
ctionBarView.java
2a98a4cbaaf3300036434dd1d44b891ea8a8c932 20-Nov-2010 Jim Miller <jaggies@google.com> Fix 3024522: Add "no lock screen" support to the framework.

This adds a new feature where LockScreen can be disabled to
allow the device to go straight to the home screen when
powered on.

Change-Id: I288e8d5359442c042ae7911340885877a864faff
ockPatternUtils.java
dd4e4603efef2c3df0e26835935f74e1e0e7deb2 18-Nov-2010 Jeff Brown <jeffbrown@google.com> Merge "Added support for full PC-style keyboards."
b33be1c672f459d94b151b3b2e3859a7655a7fa3 18-Nov-2010 Adam Powell <adamp@google.com> Fix bug 3208911 - apps not getting default ActionBar style values

Change-Id: Ie2855d6ebbaf49d187dc8bd63fda7f1b397325b5
ctionBarView.java
1c60300129e431ccf1cf258291eac5acdb3a2fe4 18-Nov-2010 Ed Heyl <edheyl@google.com> Revert "Temp fix; Revert "Fix bug 3167081 - Action Bar redesign to support "up"""

This reverts commit 8b8914b50d36734305d582485fa839b7d04b8872.

Change-Id: Ib3ee99257ed10af5f729f3d29af37b5b48a8e139
ctionBarView.java
8b8914b50d36734305d582485fa839b7d04b8872 18-Nov-2010 android-build SharedAccount <android-build@google.com> Temp fix; Revert "Fix bug 3167081 - Action Bar redesign to support "up""

This reverts commit 432e5f9f167e622d03fee0e10215b6e2234c1a3c.

Conflicts:

core/res/res/values/public.xml

Change-Id: I7212626479da7aef80b9bcb4c2144435364dafae
ctionBarView.java
6b53e8daa69cba1a2a5a7c95a01e37ce9c53226c 11-Nov-2010 Jeff Brown <jeffbrown@google.com> Added support for full PC-style keyboards.

BREAKING CHANGE: Redesigned the key character map format to
accomodate full keyboards with more comprehensive suite of modifiers.
Old key character maps will not work anymore and must be updated.
The new format is plain text only and it not compiled to a binary
file (so the "kcm" tool will be removed in a subsequent check-in).

Added FULL keyboard type to support full PC-style keyboards.

Added SPECIAL_FUNCTION keyboard type to support special function
keypads that do not have any printable keys suitable for typing
and only have keys like HOME and POWER

Added a special VIRTUAL_KEYBOARD device id convention that maps
to a virtual keyboard with a fixed known layout. This is designed
to work around issues injecting input events on devices whose
built-in keyboard does not have a useful key character map (ie.
when the built-in keyboard is a special function keyboard only.)

Modified several places where events were being synthesized
to use the virtual keyboard.

Removed support for the "qwerty" default layout.
The new default layout is "Generic". For the most part "qwerty"
was being used as a backstop in case the built-in keyboard did
not have a key character map (probably because it was a special
function keypad) and the framework needed to be able to inject
key events anyways. The latter issue is resolved by using the
special VIRTUAL_KEYBOARD device instead of BUILT_IN_KEYBOARD.

Added the concept of a key modifier behavior so that
MetaKeyKeyListener can distinguish between keyboards that use
chorded vs. toggled modifiers.

Wrote more robust key layout and key character map parsers
to enable support for new keyboard features and user installable
key maps.

Fixed a bug in InputReader generating key ups when keys
are released out of sequence.

Updated tons of documentation.

Currently QwertyKeyListener is being used for full keyboards
with autotext and capitalization disabled. This mostly works
but causes some problems with character pickers, etc.
These issues will be resolved in subsequent changes.

Change-Id: Ica48f6097a551141c215bc0d2c6f7b3fb634d354
asswordEntryKeyboardHelper.java
432e5f9f167e622d03fee0e10215b6e2234c1a3c 18-Nov-2010 Adam Powell <adamp@google.com> Fix bug 3167081 - Action Bar redesign to support "up"

Integrate new assets for action bar "up" and menu. Restructure action
bar layout to support the new design. First pass at metrics.

Change-Id: Iefc502bf398905208129ef41072bdf4a0225bfe0
ctionBarView.java
8d12e201626239291fe2c4b31f97f2a14f01dea9 16-Nov-2010 Adam Powell <adamp@google.com> Fix a couple interactions between action bar and options menus

Fix bug 3129937 - Activity.openOptionsMenu not calling onPrepareOptionsMenu

Fix bug 3070720 - actionbar android.R.id.home isn't dispatched to fragments

Change-Id: I4a154941595583cdec7d1dffbeac9c8340781fa0
ctionBarView.java
6af97e1c20df4d7010fafd7059c95d9b4113e4a6 12-Nov-2010 Adam Powell <adamp@google.com> Revised assets for progress bars and indeterminate progress spinners.

Add support in ActionBar for activity-wide progress APIs.

Add ability for progress bars to set a target framerate rather than
the 5fps previously used.

Clean up some more dialog layouts using hardcoded styles rather than
theme attributes.

Change-Id: I8e88c7595e27c0b6f7829b598f2b084ac8501ae3
ctionBarView.java
0458796f1401732b38660794148f4c5e5602f432 12-Nov-2010 Adam Powell <adamp@google.com> Fix bug 3146938 - Menus spawned by ActionBar should hide when action
bar is hidden

Any popup spawned by the private class MenuPopupHelper will be hidden
if its anchor becomes hidden. ("hidden" == !View#isShown())

Fix a bug where ActionBar subtitle views were not going away when
subtitle text was set to null.

Fix a bug when switching out of ActionBar tabbed nav mode with no
active tabs.

Change-Id: I1f30c067156221f96905ac69ab876418ad2e94f8
ctionBarView.java
ec6ac82a295b80a39f12ff7951ec254ba45809fd 05-Nov-2010 Jim Miller <jaggies@google.com> Fix 3165868: Fix stall in state machine logic in WaveView

It was possible for the state machine to get stuck when
user interaction and animations both completed before success
was detected. This fixes the problem by explicitly advancing
the state machine when an up event is detected.

Change-Id: I802e3f1bb35aeab7a0d6f64e85acaa6980b9d65a
aveView.java
f786805acc4e188e22c9a569f44506c40636e883 04-Nov-2010 Jeff Sharkey <jsharkey@android.com> Respect padding when positioning custom view.

Fixes http://b/3164071

Change-Id: I74700fecf7e9f4785e8e944b2660724b3d270b0d
ctionBarView.java
0c91a8ee9321da4dee17f0aeffbc20b0c5bb0644 02-Nov-2010 Jim Miller <jaggies@google.com> Minor tweaks to lockscreen animation:

Remove transition delay to show home.
Add new constants to allow finer tuning of "success" animation.
Transition all items to transparent on successful unlock.

Change-Id: Id9f57b9bfc08be840d9282f987925617d2b42ea1
aveView.java
0c24a5514c1ff143a223720a090b19a86a75945f 04-Nov-2010 Adam Powell <adamp@google.com> Fix bug 3156280 - Fix several issues with tab navigation in action bars.

Add the ability to restrict a FragmentTransaction's ability to be
added to the back stack. (It doesn't make sense for tabs or other
scenarios to allow this.)

Change-Id: I8fa2edb5f35c365e2483010ad13eb9993f5e6570
ctionBarView.java
ad199ecc441649f0ad816f7b139ab5ddffad98dd 01-Nov-2010 Ben Komalo <benkomalo@google.com> Fix issue where home layout click listener was being attached
before it was initialized.

Change-Id: I25641ca7c2db18d423dcafebc9bdf42d608a7a31
ctionBarView.java
81b8944131946e451b31665652de8cc71d81ea07 03-Nov-2010 Adam Powell <adamp@google.com> Fix bug 3093591 - add richer control over default tab selection in ActionBar

Added overloads to ActionBar#addTab with control over whether the added tab
will become selected or not. Old versions implemented in terms of the new.

Change-Id: I810c64652bb7e755b81151ce8a2c765266d78a66
ctionBarView.java
5b3b35296e8b2c8d3f07d32bb645d5414db41a1d 28-Oct-2010 Romain Guy <romainguy@google.com> Optimize FBO drawing with regions.
This optimization is currently disabled until Launcher is
modified to take advantage of it. The optimization can be
enabled by turning on RENDER_LAYERS_AS_REGIONS in the
OpenGLRenderer.h file.

Change-Id: I2fdf59d0f4dc690a3d7f712173ab8db3848b27b1
ockPatternView.java
9ab978713ce86fdaefed2407f4f3c998ab0e3178 27-Oct-2010 Adam Powell <adamp@google.com> Action bar API updates - new display options

Change-Id: I55e56cd7aafa53994990079e88ef85e4eb1a0b3f
ctionBarContextView.java
ctionBarView.java
85446e95afa480cee2247bb96795fccc8cf812af 23-Oct-2010 Adam Powell <adamp@google.com> Fix bug 3105695 - Action modes in dialogs or other small windows

Overlay action modes now show in their own windows aligned to the top
of the screen.

Change-Id: I81600bbd1bcaeb59fdcf0a959bd35f82165baa2c
ctionBarContextView.java
89edde3efad66063ff6108475976352c0c4e5fdb 14-Oct-2010 Adam Powell <adamp@google.com> Holo styling and metrics; holo spinners

Change-Id: Ib6d80e5e1a79b7a4ff208df8dbc097e7b9228d13
ctionBarView.java
2794eb3b02e2404d453d3ad22a8a85a138130a07 13-Oct-2010 Chet Haase <chet@google.com> Remove generics from Animator APIs

Change the manner of constructing Animator-related objects from constructors
via generics to factory methods with type-specific method names. Should
improve the proliferation of warnings due to generics issues and make the
code more readable (less irrelevant angle brackets Floating around).

Change-Id: Ib59a7dd72a95d438022e409ddeac48853082b943
rawableHolder.java
2f14c621256e9eac1f958b1a19e41b2a47b7011e 14-Oct-2010 Daniel Lehmann <lehmannd@google.com> DO NOT MERGE: Private API to pass the selected tab through QuickContacts

Bug:3082932

Change-Id: I28dbb21a30fbe22e6e58a8dda534fc9110621c85
ontactHeaderWidget.java
83d6e8213230fb0805aa019d266842253baeb114 14-Oct-2010 Romain Guy <romainguy@google.com> Revert "Remove generics from Animator APIs"

This reverts commit 41f041d9986f8a5d45b6cb0b86e881c81a412168.
rawableHolder.java
41f041d9986f8a5d45b6cb0b86e881c81a412168 13-Oct-2010 Chet Haase <chet@google.com> Remove generics from Animator APIs

Change the manner of constructing Animator-related objects from constructors
via generics to factory methods with type-specific method names. Should
improve the proliferation of warnings due to generics issues and make the
code more readable (less irrelevant angle brackets Floating around).

Change-Id: I7c1776b15f3c9f245c09fb7de6dc005fdba58fe2
rawableHolder.java
f16888f1e849b0bc0b9c17e5f833c4e2cd54c382 12-Oct-2010 Adam Powell <adamp@google.com> Holo fixes

* Fix up ButtonGroup to behave better.
* Fix bad states with holo list selectors.
* Clean up action mode UI components.
* Change action mode UI to use a text button instead of 'X' to dismiss.
* Fixed spinner dropdowns for Holo.Light

Change-Id: Ifc092bd549ffb539d6a3b2ddd95ebd4b114a441f
ctionBarContextView.java
be4d68e7b238b8ee879de0481e39c40d3f1683b6 09-Oct-2010 Adam Powell <adamp@google.com> Updated styles and metrics.

* Added preliminary ButtonGroup support for buttons that display as a unit.
* Fixed a bug with MenuBuilder that caused old-style icon menus to fail.
* Added support for explicitly setting line height in text.

Change-Id: I1ba65f09dd9e1bc833d247ebe72052a21e3f99f0
ctionBarContextView.java
ctionBarView.java
4fb17b0490915d1c26663140c377037ea6af132e 09-Oct-2010 Adam Powell <adamp@google.com> Fix alert dialog layout size in landscape

Change-Id: Iff5c388655c357e78c0c0e98d718fb7601c2d543
eightedLinearLayout.java
3cfc508f4ec535b47ffbb587b32a8846c37338cc 30-Sep-2010 Jeff Brown <jeffbrown@google.com> am 76d55a34: am 5068ad8d: Revert orientation change.

Merge commit '76d55a3447954db97b7172d068813d02e89ba9ca'

* commit '76d55a3447954db97b7172d068813d02e89ba9ca':
Revert orientation change.
36c956d78b3972173740d4ef69072fbd0ac6ab61 30-Sep-2010 Jeff Brown <jeffbrown@google.com> am b8182a38: am 93e3296f: Merge "PointerLocationView: Display orientation correctly." into gingerbread

Merge commit 'b8182a382df3efaf18c9810dd7c517b2601edadb'

* commit 'b8182a382df3efaf18c9810dd7c517b2601edadb':
PointerLocationView: Display orientation correctly.
5068ad8d2396d6d7bfbdb1c2c3fe57104744f1f9 30-Sep-2010 Jeff Brown <jeffbrown@google.com> Revert orientation change.

Change-Id: I1a6d13be118533171b9a75025dcf7985dd7e12b5
ointerLocationView.java
707a57aa268fba94854d3a07f6bc7e1f021bc43f 30-Sep-2010 Jeff Brown <jeffbrown@google.com> PointerLocationView: Display orientation correctly.

Canvas rotations are counterclockwise, orientation is clockwise,
so we need to mind the sign of the rotation.

Change-Id: I2a8b60599bd26e9dc3ced2e13942f846461333df
ointerLocationView.java
3060421045d4d9e411797f91bb509824b03e33fb 23-Sep-2010 Jim Miller <jaggies@google.com> Add new WaveView widget to framework and integrate into LockScreen.

This adds a new "Energy Wave" widget to the internal widgets and
integrates it into LockScreen.

ValueAnimator needed a slight modification since it expects to
be run inside of Activities with a Looper. Additionally, this adds
an API, removeAllUpdateListeners(), which is needed to properly
recycle ValueAnimator objects.

Some minor code cleanup and UI tweaks after review.

Changed delay timeout from 1.3s to 0.5s.

Change-Id: Ibcf015e61fa8ba79d62f2019f1b29ace7caa00c8
rawableHolder.java
aveView.java
19c9c7cc6d11f28b2b4bc7a46f8c54aac9078dfc 13-Sep-2010 Jeff Brown <jeffbrown@google.com> am fb8116f7: am c891d2b3: Merge "Fix PointerLocationView when pointer ids are not zero-based." into gingerbread

Merge commit 'fb8116f736f2df6d1b2f8044541390a9fd9953cb'

* commit 'fb8116f736f2df6d1b2f8044541390a9fd9953cb':
Fix PointerLocationView when pointer ids are not zero-based.
d1e0c371a651f024b3de62a686c56e369e3f361e 13-Sep-2010 Jeff Brown <jeffbrown@google.com> Fix PointerLocationView when pointer ids are not zero-based.

Since we support using driver-provided pointer ids (ABS_MT_TRACKING_ID)
there is no guarantee that pointer ids will necessarily start from 0
or be contiguous.

Change-Id: I9609b7a3bb238d7edbcbd68cc839dd6d14baf9df
ointerLocationView.java
2a5a53709ee40d4e400ef78adc695a1a9ae874e2 13-Sep-2010 Adam Powell <adamp@google.com> Fix broken ActionMode close button styling

Change-Id: I425df1433d43c1b2bd392464ed10142532640f81
ctionBarContextView.java
bc234a19f4c74116454e2c77f4739290e761995a 10-Sep-2010 Adam Powell <adamp@google.com> Clean up action bar styles

Change-Id: Ib19698e08d643994c4416aac29a43e9197bbe1f3
ctionBarContextView.java
ca259f4081404a8b4524b2fe80ab036182141ab7 08-Sep-2010 Adam Powell <adamp@google.com> Added resources and styles for ActionBar tabs

Change-Id: I7ba5502146dec2d71b3e9ff57d90e7b5bd2bc2a0
ctionBarView.java
a18a86b43e40e3c15dcca0ae0148d641be9b25fe 07-Sep-2010 Chet Haase <chet@google.com> Rename several animation classes

Change-Id: I6a4544875090db485163c8d56de8718f56d267c7
lidingTab.java
2b6230e0de4bac2829ac27b19e95ba75c3da82b4 08-Sep-2010 Adam Powell <adamp@google.com> Reworking the ActionBar tab API

Change-Id: Ifbcdc61b4a24633cc1a329c73923b95b03e9ecf0
ctionBarView.java
783cb60ddb7cde1349ca531c7b96ad67d5053cd2 03-Sep-2010 Jim Miller <jaggies@google.com> Update RecentApplications to use shared Carousel widget.

Change-Id: I5ca7389aeca9ee6f03f48317f9d1034f9fb8c1ca
arouselRS.java
arouselView.java
arousel.rs
22f5ee93746f37823265b8cb9b1e94e572607514 31-Aug-2010 Jeff Brown <jeffbrown@google.com> am 36f0cb26: am 8d60866e: Input device calibration and capabilities.

Merge commit '36f0cb26cbb4ef62995ff2e5a540cf8814e7f030'

* commit '36f0cb26cbb4ef62995ff2e5a540cf8814e7f030':
Input device calibration and capabilities.
8d60866e2100db70ecf0502c14768a384514d7e9 30-Aug-2010 Jeff Brown <jeffbrown@google.com> Input device calibration and capabilities.

Finished the input device capability API.
Added a mechanism for calibrating touch devices to obtain more
accurate information about the touch contact area.
Improved pointer location to show new coordinates and capabilities.
Optimized pointer location display and formatting to avoid allocating large
numbers of temporary objects. The GC churn was causing the application to
stutter very badly when more than a couple of fingers were down).
Added more diagnostics.

Change-Id: Ie25380278ed6f16c5b04cd9df848015850383498
ointerLocationView.java
e6ad1a8ba29bdd5d61ad1c91146def582c8c0334 21-Aug-2010 Jim Miller <jaggies@google.com> Fix 2797185: Integrate 3D RecentApps View into system.

This adds 3D recents to the platform. Enabling it is a
matter of setting 'config_enableRecentApps3D' on devices
capable of supporting it (those with OGLES2.0 at the moment).

Change-Id: Ife7bfe8ca02e7657821b68f915e31b0dab50cd2c
arouselView.java
arousel.rs
96fd5af681513ab1eadfb17591a9771fd2dfbcff 24-Aug-2010 Brad Fitzpatrick <bradfitz@android.com> resolved conflicts for merge of 0b7b9807 to master

Change-Id: If60aeeb47cd06dcc76b88506688c7e4b58cf2208
90881005182936e443cb6cd9fb7eff21f83206f5 24-Aug-2010 Brad Fitzpatrick <bradfitz@android.com> Don't touch the VFS during window relayout.

yaffs2 is single-threaded and any disk access during window drawing
(or animation in this case) can cause UI stutters / unresponsiveness
for hundreds of milliseconds.

BUG=2941119

Change-Id: Ifdce8337027ab25d1ea844934fa787ffe68263c4
ockPatternUtils.java
6c6f575423d6718c3ff322224c1520901ce881e1 21-Aug-2010 Adam Powell <adamp@google.com> More ActionBar/config change tweaks. Preserve open overflow menus

Change-Id: Ic8ad2b1e3909fbf84ff4d852ae046a9f9508477c
ctionBarView.java
c31f643223f3b3fdc92521d0bec287198bf1e81a 18-Aug-2010 Jim Miller <jaggies@google.com> Fix 2797185: Integrate Carousel widget into framework.

Change-Id: Ia03e3f582541dd7f6079929e51d2484b5b91a67b
arouselRS.java
arouselView.java
arousel.rs
6394c0e52cf641d93f678fd052499aa952e3595d 16-Aug-2010 Winson Chung <winsonc@google.com> Adding callback and fix to RemoteViewsFactory on notifyDataSetChanged.
Also removing extra parameter in AppWidgetManager.notifyDataSetChanged.

Change-Id: Ic771fe045ae793a6dacf09f1230e7c1c4b59a13e
RemoteViewsFactory.aidl
3747f3f41fa228e958d39f3cbf2781fb8062f3e7 17-Aug-2010 Jim Miller <jaggies@google.com> Fix 2926276: Remove spurrious warning about unspecified measurespec.

Only issue the warning in debug mode.

Change-Id: I5fecb2e6b0013ce775187a878f5a81317e758f2c
lidingTab.java
9146ac706265cd8cce66907e617bc8572152eb97 17-Aug-2010 Adam Powell <adamp@google.com> Prevent starting an action mode from within an actionbar/mode UI.

Don't let a View start an ActionMode if it would be obscured or destroyed
by the ActionMode UI.

Change-Id: Ifdb28f1d6704ede550a89903d3823a09b103fcd5
ctionBarContextView.java
ctionBarView.java
266b1008cfc570d95d10ce650343765fa6bac7e7 17-Aug-2010 Adam Powell <adamp@google.com> Fix some ActionBar bugs.

* Fix a bug where the options panel would not open on non-xlarge
screens to show overflow menu items.

* Fix a bug where ActionBarView would try to add a custom nav view
twice.

* Fix a bug where ActionBarView would expand too far in wrap_content mode

Change-Id: I433ea56524aad885d813ae8743fe2fcefa9649fa
ctionBarView.java
8171b5182f5f07d33c9dfdf2dd8f0f6ae9588039 05-Aug-2010 Jae Yong Sung <jysung@google.com> lock screen for xlarge

Change-Id: Iab9f53609bf24be774752a9960aaaa654d7a614f
asswordEntryKeyboard.java
asswordEntryKeyboardHelper.java
e2194445b078932733a2d1a02fc084ea2f3c7360 13-Aug-2010 Adam Powell <adamp@google.com> Clean up some Action Bar style handling.

Action Bar now obeys the titleTextStyle/subtitleTextStyle attributes
and has a better way of handling custom sizes. Any attached Action
Mode bar will keep in sync with the Action Bar's height.

Change-Id: I7d16319f5609d4d6c80a3043dcb60303e6e903db
ctionBarContextView.java
ctionBarView.java
f6148c53f93978af678cc0559a4417b608a33ae1 12-Aug-2010 Adam Powell <adamp@google.com> Fix bug 2911311 and bug 2911700

Integrate the action bar overflow menu better with the options menu lifecycle.

Change-Id: I1e3fdba04b01718c3ee3367f92e5dabe7bc84b5c
ctionBarContextView.java
ctionBarView.java
6b336f835d637853800b94689375a03f337139a4 11-Aug-2010 Adam Powell <adamp@google.com> ActionBar overlay mode, height fetching, show/hide

Change-Id: Ie931ed26ec885d891d6733132b517a53d95f8491
ctionBarView.java
f75eeb28def26798682748aa5dedabebac86bb6a 11-Aug-2010 Adam Powell <adamp@google.com> Fix bug 2908822 - open/closePanel should do the right thing with ActionBars

Change-Id: Ic77f9dee864d17046f69c78a1e6d96a49b5c6180
ctionBarView.java
5bac1cc0b8ddfeb1290d8324beaadd1e48f3fd14 04-Aug-2010 Chris Tate <ctate@android.com> am 9f6b16a2: am 5d46ce24: Merge "Enhanced VelocityTracker for > 5 pointers and fixed bugs." into gingerbread

Merge commit '9f6b16a29b62f29496bc652cfec7d6fe9f08c7f4'

* commit '9f6b16a29b62f29496bc652cfec7d6fe9f08c7f4':
Enhanced VelocityTracker for > 5 pointers and fixed bugs.
8350f7dbc3a62211b2891f35911e4073d24c4cc5 28-Jul-2010 Adam Powell <adamp@google.com> Added CHOICE_MODE_MULTIPLE_MODAL to ListView.

Based on ActionModes, CHOICE_MODE_MULTIPLE_MODAL supports the new
Honeycomb-style selection mode.

Change-Id: I293ea22487db8e081c95e5236f1e053f7dd4ada6
ctionBarContextView.java
9e2ad36be87f2703b3d737189944d82f93bd4f27 31-Jul-2010 Jeff Brown <jeffbrown@google.com> Enhanced VelocityTracker for > 5 pointers and fixed bugs.

Improved PointerLocation tool to use VelocityTracker more efficiently
and correctly when multiple pointers are down.

Fixed a bug in TouchInputMapper where it was not correctly copying
the id to index map in the last touch data. This could cause strange
behavior on secondary pointer up events.

Also added finished callback pooling in InputQueue.

Change-Id: Ia85e52ac2fb7350960ea1d7edfbe81a1b3e8267b
ointerLocationView.java
5d27977f9da482627ceb19317a2cd70467aff046 28-Jul-2010 Adam Powell <adamp@google.com> Action modes without action bar

Change-Id: I0367ab35e598a17980bd373b30828175f6283acc
ctionBarContextView.java
6e34636749217654f43221885afb7a29bb5ca96a 23-Jul-2010 Adam Powell <adamp@google.com> Moved context modes into view, renamed to action modes

ContextualMode renamed to ActionMode. Adds a reference to the action
bar and reduces confusion around things named "Context".

Change-Id: Ia5098b1d0799a0ece0810c34e6696eda039fb005
ctionBarContextView.java
178097727fab0f41810b1ffd4baf84ff8ed32c42 21-Jul-2010 Adam Powell <adamp@google.com> Fix bug 2859423 - action bar: need a way to choose item in spinner

Change-Id: Idf9c222e5d8f27b4339a6df7d14f3f10dcb4be2c
ctionBarView.java
ac695c608ba620e2362f57126d7be453cf5b7e1b 21-Jul-2010 Adam Powell <adamp@google.com> Refactored contextual modes out of action bar.

Change-Id: I1fc1c9383e5ee90f135b92a5afa8eadbf1c13d20
ctionBarContextView.java
269b8bb0cbd78969450ea9ab255232d047580210 21-Jul-2010 Adam Powell <adamp@google.com> Fix a bug with closing action bar context modes

Change-Id: I4f11549664f11cdc02d135288e05459007dbf0c8
ctionBarContextView.java
b366bbae2b5a3009893ef64246e3430cea4b7736 20-Jul-2010 Adam Powell <adamp@google.com> Make sure action bar context modes reserve space for overflow menus on all devices.

Change-Id: I393f041efef3852b7f3ee57c6a4c26ba176b2702
ctionBarContextView.java
2c9c9fe806e51f29276e66b8ba40cb4b7a80c3f4 16-Jul-2010 Adam Powell <adamp@google.com> Action bar context mode support for overflow, submenus

Change-Id: I951ae179698b08b6aba5b174b3d47f0cf847352e
ctionBarContextView.java
dcdefbbff2bfecbfeb7b6459de130f376595c590 20-Jul-2010 Adam Powell <adamp@google.com> Fix bug 2852909 - screen density for contextual action bar

Change-Id: I9e3d8fe4e6f5eb0282cc103a98ed60ca2911c91e
ctionBarContextView.java
499cb9f516062b654952d282f211bee44c31a3c2 16-Jul-2010 Winson Chung <winsonc@google.com> Initial changes to allow collections in widgets.

Change-Id: I3cfa899bae88cd252912cecebc12e93c27a3b7c9
RemoteViewsFactory.aidl
8028dd32a4a04154050220dd0693583d5b750330 15-Jul-2010 Adam Powell <adamp@google.com> Overflow menu for action bars.

The overflow menu replaces the normal options menu panel for
activities with an action bar. It always appears as the rightmost
action button and is displayed as a dropdown menu. The menu key
summons and dismisses the overflow menu instead of the options panel
where applicable.

Change-Id: I0b4fa7e36f35ab12e2f0c1d12bec79ccab8cc4b1
ctionBarView.java
29ed7575c2129974a57ad77b3531bc5995940c6c 15-Jul-2010 Adam Powell <adamp@google.com> Bug 2841148 - Add accessors for action bar context mode state.

Change-Id: I04f3efce5a692b346756cc80c8d15f3abba10558
ctionBarContextView.java
e92ea3474de7998a016b48bab4e9a4bbafd5b549 14-Jul-2010 Adam Powell <adamp@google.com> Fix bug 2835056 - ActionBar doesn't update title properly when set in onCreate

Change-Id: I593315db8df0190c2702a87ebef293e5f798823d
ctionBarView.java
661c908e4e26c99adc2cab7558a02129eaee059d 02-Jul-2010 Adam Powell <adamp@google.com> ActionBar tab mode using fragments; needs styles.

Change-Id: I8f931dae447e7b64de827d3c17766e5f8ad794e2
ctionBarView.java
adfb59907a191773a6666b79bf9d591ff53ab6b1 01-Jul-2010 satok <satok@google.com> Merge "Remove EditStyledText from the framekwork"
fa57523b60dd335a227bff7fbddbf05ab0755b5d 01-Jul-2010 satok <satok@google.com> Remove EditStyledText from the framekwork

Change-Id: Idad87a61b0a64c9ba0a70a2d576188ad5e560cb7
ditStyledText.java
a7db03705f53c59e63e63c2e67e2db78f8226dcc 01-Jul-2010 Adam Powell <adamp@google.com> Define measuring behavior for action bar/context mode custom views

Change-Id: Idbe25c81a16005f153d5b425fb366eef4bea290f
ctionBarContextView.java
ctionBarView.java
0e94b5151d817e600a888448a662208b29b5ef46 30-Jun-2010 Adam Powell <adamp@google.com> Add subtitles for action bars and context modes.

Fix an issue where context mode content was cleared before animating out.

Change-Id: Ie7a065e65bc18e3da32de07543d0f71d2a2d648c
ctionBarContextView.java
ctionBarView.java
89e0645b4157961e8c465eb9c819f965fdb453d8 24-Jun-2010 Adam Powell <adamp@google.com> Added context modes to ActionBar API.

Change-Id: I7c3e782cbf01be7bc671b377fb4d706040888833
ctionBarContextView.java
ctionBarView.java
2c63fe44f48cde663c3f9d5373ec93f7dd96f6f8 03-Jun-2010 Daniel Lehmann <lehmannd@google.com> Remove ContactHeaderWidget, because it lives directly in the Contacts App from now on

Change-Id: I1d3646f2744e01a1e64db8787b4cd7dd746d540e
ontactHeaderWidget.java
c857740f242169f2ca7fd42f0d1268661b399ad6 05-Jun-2010 Konstantin Lopyrev <klopyrev@google.com> Adding support for minimum number of non letter characters.

Change-Id: If54cb7209d65eef826d474d7e0dbbef63d2f2b47
ockPatternUtils.java
a15dcfaf2bc7cbd13b30db6766afe3bbaa01db97 25-May-2010 Konstantin Lopyrev <klopyrev@google.com> Fix 2677197: Adding minimum complex character support.

Change-Id: I520bc5f9aa924bf9b5585b2235a91cc96cb99c25
ockPatternUtils.java
dc0f4f059c1e28375ea3a4d81e189b34c1ac9ae4 26-May-2010 Jim Miller <jaggies@google.com> Merge "Fix 2584857: Reset grabbed state when SlidingTab visibility changes"
92c1571f0a5202f742d3318d5f852dc5e395d19c 26-May-2010 Jim Miller <jaggies@google.com> Fix 2584857: Reset grabbed state when SlidingTab visibility changes

This fixes a case where the widget is hidden while the grabbed
state is set. The result is that the host of the widget is never
informed that the grabbed state changed.

Change-Id: I78b41cff0e31e982a3b46f0319260ba59815092c
lidingTab.java
3255823de062e981f7bfc7994919207988697e45 21-May-2010 Konstantin Lopyrev <klopyrev@google.com> Fix 2673731: Adding support for password history to Device Admin.

Change-Id: If3240048813e32b2bae79fe5cb8a73aea20ec56c
ockPatternUtils.java
863f22d0451d52cbcccc252ad29858ef1578e709 13-May-2010 Konstantin Lopyrev <klopyrev@google.com> Fix 2673731: Added password history

Change-Id: I88919357abea31062caf96b214823b03cbaa15a4
ockPatternUtils.java
4fcc5b1f93eb1fd2e7e3f7fcc16a1b7a8a6419bf 19-Apr-2010 Daniel Lehmann <lehmannd@google.com> Ensure public methods exist to update the state of the UI, so that it can be set from outside

Change-Id: Ib1d7b0b36b6cdcbf1256647da76130927a29ec6d
ontactHeaderWidget.java
04867ab7c67e3cbaea68d0c78ebeaa37f9e10440 06-Apr-2010 Daniel Lehmann <lehmannd@google.com> am ba3147d1: am 140d040b: am d8b9b511: Merge "Pass cookie to TOKEN_CONTACT_INFO so that QuickContact without photo works again Bug:2572239" into froyo
ba3147d157c7d1ac8ffe2be5abca039430eee64e 06-Apr-2010 Daniel Lehmann <lehmannd@google.com> am 140d040b: am d8b9b511: Merge "Pass cookie to TOKEN_CONTACT_INFO so that QuickContact without photo works again Bug:2572239" into froyo

Merge commit '140d040b6a5d2dc01e999e6f7b69863c71b2272b' into kraken

* commit '140d040b6a5d2dc01e999e6f7b69863c71b2272b':
Pass cookie to TOKEN_CONTACT_INFO so that QuickContact without photo works again
b45c047ba0d54424e41525911e077af2ac5c672e 06-Apr-2010 Daniel Lehmann <lehmannd@google.com> Pass cookie to TOKEN_CONTACT_INFO so that QuickContact without photo works again
Bug:2572239

Change-Id: I5fedd6cac64d495ba208ddcb45a7d09a05bb9a65
ontactHeaderWidget.java
17145db0a7f376090e7cc7834c3cd87da891d2ee 02-Apr-2010 Jim Miller <jaggies@google.com> am 64265cc5: am 15be35f6: am bf1259b8: Fix 2538826: Allow aspect of LockPatternView to be customized.
64265cc59ba2a40f3795d4821a77be0c735e0d24 02-Apr-2010 Jim Miller <jaggies@google.com> am 15be35f6: am bf1259b8: Fix 2538826: Allow aspect of LockPatternView to be customized.

Merge commit '15be35f6c9a88f453ba3a6be8d93fed8537ad77e' into kraken

* commit '15be35f6c9a88f453ba3a6be8d93fed8537ad77e':
Fix 2538826: Allow aspect of LockPatternView to be customized.
bf1259b8a6a44d7a4eab5131cd33dac0fbcb50b6 01-Apr-2010 Jim Miller <jaggies@google.com> Fix 2538826: Allow aspect of LockPatternView to be customized.

This fixes a problem where the pattern unlock area shrank on
mdpi devices.

This change is required since some devices (mdpi) don't have
enough vertical room to show a square LockPatternView and shrink
the area to match the minimum of width and height. To fix the
problem and minimize changes to existing platforms, the parameter
is configurable and has a default in values/donottranslate that
emulates the old behavior. New behavior for mdpi devices is
specified in values-port-mdpi/donottranslate, which is the
only place we currently see the problem.

Tested:
mdpi device in both orientations
hdpi device in both orientations
hdpi device in both orientations with keyboard open/closed

Change-Id: I3b9a5ef1d9b5e70f7b1823c9f48a3938f52cc7a4
ockPatternView.java
726e838cc9c0814fff026837ed64ac73e0e10f2e 31-Mar-2010 Daniel Lehmann <lehmannd@google.com> am 22d7142d: am 1b679754: am 58c9a4bc: Merge "Don\'t load photo if it\'s id is 0. Saves one database query Bug:2546767" into froyo
22d7142dd9787f767576208e00f01ddfeff9f181 31-Mar-2010 Daniel Lehmann <lehmannd@google.com> am 1b679754: am 58c9a4bc: Merge "Don\'t load photo if it\'s id is 0. Saves one database query Bug:2546767" into froyo

Merge commit '1b679754b6f6fd5da8f5fc48415cad65cc8f3a56' into kraken

* commit '1b679754b6f6fd5da8f5fc48415cad65cc8f3a56':
Don't load photo if it's id is 0. Saves one database query
18d4b733f85c1611c168b4b3c490fc1f3b5b539a 29-Mar-2010 Daniel Lehmann <lehmannd@google.com> Don't load photo if it's id is 0. Saves one database query
Bug:2546767

Change-Id: I0739cd45acecd18bafda9a200dff60fdcc219021
ontactHeaderWidget.java
e33b93206bda114e1c319e61129df2b4eafad8f6 30-Mar-2010 Jim Miller <jaggies@google.com> am baaa33a3: am d41d4586: am c6dc5070: Merge "Fix 2537999: Don\'t throw exception when SlidingTab has UNSPECIFIED specs" into froyo
baaa33a3789f15e94f1a0d292fb9be84ecb70a64 30-Mar-2010 Jim Miller <jaggies@google.com> am d41d4586: am c6dc5070: Merge "Fix 2537999: Don\'t throw exception when SlidingTab has UNSPECIFIED specs" into froyo

Merge commit 'd41d458696b2ab54387dd0683a3365e788b97c2d' into kraken

* commit 'd41d458696b2ab54387dd0683a3365e788b97c2d':
Fix 2537999: Don't throw exception when SlidingTab has UNSPECIFIED specs
c6dc5070ef663e514add038b1d2e78761156b0c0 30-Mar-2010 Jim Miller <jaggies@google.com> Merge "Fix 2537999: Don't throw exception when SlidingTab has UNSPECIFIED specs" into froyo
8aca694a363de4398e0172dbafe7cf6b47b17fa4 29-Mar-2010 Daniel Lehmann <lehmannd@google.com> am 7eeb9c23: am 3e9032e6: Merge "Increase name-label height so that "g" isn\'t cut off anymore. Decrease header height so that no resizes are required after background loading for most contacts Bug:2542703 Bug:2549485" into froyo
7eeb9c2382153a6c95bf9b976eebd44c5ddaa0f2 29-Mar-2010 Daniel Lehmann <lehmannd@google.com> am 3e9032e6: Merge "Increase name-label height so that "g" isn\'t cut off anymore. Decrease header height so that no resizes are required after background loading for most contacts Bug:2542703 Bug:2549485" into froyo

Merge commit '3e9032e646c898a725c256c90031494cc349eea0' into kraken

* commit '3e9032e646c898a725c256c90031494cc349eea0':
Increase name-label height so that "g" isn't cut off anymore. Decrease header height so that no resizes are required after background loading for most contacts
d07950f0a18afb32a5ef418692ac63ea22505e14 27-Mar-2010 Daniel Lehmann <lehmannd@google.com> Increase name-label height so that "g" isn't cut off anymore. Decrease header height so that no resizes are required after background loading for most contacts
Bug:2542703
Bug:2549485

Change-Id: Ic2b88fd405043c2869610c9495bd4aa860b5c025
ontactHeaderWidget.java
966a8c78598bdba1e8993428b5b1eef4d97ae501 26-Mar-2010 Jim Miller <jaggies@google.com> Fix 2537999: Don't throw exception when SlidingTab has UNSPECIFIED specs

This is try to capture the case where we sometimes see UNSPECIFIED
MeasureSpec in SlidingTab. It should be OK as long as one of the dimensions
is constrained. The log event will give some indication of what's
going on when this happens.

This also fixes a bug where it was possible to not reset the mAnimating flag
in the Phone app.

Change-Id: Ibab1c944ec895a7c19d5a18cc67f6e4db716f685
lidingTab.java
629520527efe5f404b64e95aff01a81886e55eb3 18-Mar-2010 Daniel Sandler <dsandler@google.com> Redesigned keyguard layout in the no-SIM case. DO NOT MERGE

The emergency call button has been removed (since the user
can disable the keyguard, open the phone app, and enter the
emergency number there).

AM/PM have also been baseline-aligned with the clock.

Bug: 2421380
Change-Id: I3fb25a29e02f3e2ee2b1505a8765d53ccceb1372
igitalClock.java
54df9de49454a5b403f87d6b8aa6746b7b2c47a5 18-Mar-2010 Daniel Sandler <dsandler@google.com> Redesigned keyguard layout in the no-SIM case.

The emergency call button has been removed (since the user
can disable the keyguard, open the phone app, and enter the
emergency number there).

AM/PM have also been baseline-aligned with the clock.

(Requires I46a78c700427d769da6f7f2d3e9f419c2a921a61)

Bug: 2421380

Change-Id: I07bfc0f1c5b3f0e10b8cb72768848251439e19dd
igitalClock.java
cd70988401be5919e8d1889727bb01c91d56627c 26-Mar-2010 Jim Miller <jaggies@google.com> Fix 2535700: Add support for enforcing password quality

In addition, this change removes old lockpattern constants which were set
to DevicePolicyManager constants anyway.

Change-Id: I05f7f50ca099f4bd87a2d8e1d6dd2bc6f3a2b139
ockPatternUtils.java
85f2c9ce5a0e074df2429a5d66e1754e368a0430 22-Mar-2010 Dianne Hackborn <hackbod@google.com> Fix issue #2530103: ActivePassword data in Device Policy Manager needs to be persisted

Also fixes how the quality vs. mode is handled to be more consistent, which also
required introducing a new "alphabetic" quality since it is possible for the user
to enter such a password.

The current password quality and length is stored in the DPM, since at boot it
couldn't figure this out from the stored password.

Change-Id: I519d9b76dd0b4431bcf42920c34dda38c9f1136e
ockPatternUtils.java
7d9af5ae762c59e879a86e77dcb330856774bc09 19-Mar-2010 Dianne Hackborn <hackbod@google.com> Fix issue #2512131: Trackball goes up when moving

Change-Id: Ib403de88f24bc1b6e5417732e3b69f89a5160bbc
ointerLocationView.java
16537757decfa09374852f2361b63a8738b67601 18-Mar-2010 Joe Onorato <joeo@android.com> fix 2517656 Pin/Password Unlocks place focus on the launcher screen when they shouldn't

PasswordEntryKeyboardHelper now sets the FLAG_KEEP_TOUCH_MODE flag for the events
so that the last event we process from the soft keybaord doesn't exit touch mode
and we don't erroneously go into non-touch mode since the on-screen button pressing
left us in touch mode.

Change-Id: Id2546ec3bc4b337aedb5e925de0c709ce62ea059
asswordEntryKeyboardHelper.java
b258659ad6f96779009222db73b844e93498a4a4 15-Mar-2010 Jim Miller <jaggies@google.com> Merge "Fix 2428368: Fix most of the lockscreen orientation refresh bugs"
a027c95e798d75de1165feebefb2df4d1c7c0927 13-Mar-2010 Jim Miller <jaggies@google.com> Fix 2428368: Fix most of the lockscreen orientation refresh bugs

This change removes the legacy notification of orientation and configuration changed events
from KeyguardUpdateMonitor and moves them into the individual activities. This was necessary
to guarantee order of events.

In addition, to minimize discrepencies due to notification lag, Keyguard screens (LockScreen,
PatternUnlock, etc.) are now responsible for handling onConfigurationChanged() notification and
forwarding them to LockPatternKeyguardView by a call to recreateMe() with the new configuration.

Change-Id: I703daf3e91bc6588e87c844a3ed3d259a6b8ecdf
ockPatternUtils.java
f8d0f095e34f8d661ca5b7d555d8610272099bff 12-Mar-2010 Kenny Root <kroot@google.com> Add missing license notices to files

Change-Id: Ie46176940810bd5001f7650a381c1c3c90a3718b
ointerLocationView.java
c4e26a5c99b261c956b9b47ab11217b20f539df8 09-Mar-2010 Dmitri Plotnikov <dplotnikov@google.com> Merge "Showing phonetic name in the contact header."
2509d3c11fa247d37d023e32411e6dad15d85b85 08-Mar-2010 Dianne Hackborn <hackbod@google.com> Clear active password in device admin when password is cleared.

Fixes issue #2480213: DevicePolicyManagerService returning true
for isActivePasswordSufficient even though the current password
on the device is not sufficient.

Change-Id: I3cb11311d8696670726d969712a63a7c00cd1ce4
ockPatternUtils.java
aeae357f6399aee68fb7a60e1a38b82c0062711c 09-Mar-2010 Dmitri Plotnikov <dplotnikov@google.com> Showing phonetic name in the contact header.

Change-Id: I83f608ddf3a01ba6c29687f9e78212800e4ad4b1
ontactHeaderWidget.java
156c43545529fb3d731ffdd9c4514d38758e3f06 06-Mar-2010 Amith Yamasani <yamasani@google.com> Move lockscreen settings to secure table to prevent tampering. b/2343673

Migrate old settings to secure on upgrade.
ockPatternUtils.java
829778843cf459384841f9f4ecafe862b6228d6e 02-Mar-2010 Dianne Hackborn <hackbod@google.com> Move the pointer location thing out of common.
ointerLocationView.java
87bba1ee14279bb14a28d42e27c4ef66d9967bf8 27-Feb-2010 Dianne Hackborn <hackbod@google.com> Move DeviceAdmin APIs to android.app.admin.

Also add ability for admins to hide themselves when not in use,
a facility for admins to not allow other admins to reset
their password, and debug dumping.
ockPatternUtils.java
69ac9887459a65a0eebc6f9c450a5b6c2313d713 25-Feb-2010 Jim Miller <jaggies@google.com> Fix 2336057: Provide a way for the user to return to a call from LockScreen.

This makes the "Emergency call" button dual-purpose. If there's a call in progress,
the button will show "Return to call" and take the user back to the call.
ockPatternUtils.java
5b0fb3a7e8070ed366a85acc1904d2f34030445d 23-Feb-2010 Jim Miller <jaggies@google.com> Fix 2463886: Allow delayed fetching of DevicePolicyManager in LockPatternUtils.

Today we're seeing a crash that's likely caused by a change in the order in which
system services start.

The crash we're seeing happens in response to user interaction which happens after the
boot process completes, so we should re-fetch the DevicePolicyManager if we weren't
able to get it when LockPatternUtils was constructed.
ockPatternUtils.java
281a80da143a977046e5b9f65afc85c7fb0b6d25 19-Feb-2010 Jim Miller <jaggies@google.com> Fix 2448345: Fix tactile feedback bug in password/PIN and pattern unlock.
asswordEntryKeyboardHelper.java
ec52eedc2ceb623b503f6b82eb560c0e9a6e4619 12-Feb-2010 Jim Miller <jaggies@google.com> Fix 2438785: Add missing key code to landscape keyboard and fix log spew.
asswordEntryKeyboard.java
280b6023cb77be1cd18f20c0c6a169eba1ed35dc 10-Feb-2010 Jim Miller <jaggies@google.com> Fix 2373088: Cleanup and minor fixes to PasswordKeyboard*.
asswordEntryKeyboard.java
asswordEntryKeyboardHelper.java
asswordEntryKeyboardView.java
0b31970cac04259a6e20dfc6d6e42cd9532528e3 06-Feb-2010 Jim Miller <jaggies@google.com> Fix 2402303: Split Keyboard widget from LatinIME into reusable PasswordEntryKeyboardView

- Added new PasswordEntryKeyboardView to internal/widgets. Widget supports:
- alpha mode with symbols (latin-1 only).
- a numeric keyboard
- IME emulation that applies keyboard input to arbitrary top-level view widget.
- Added new transparent assets to framework resources.
- Modified Keyguard and Keyguard layouts to use new PasswordEntryKeyboardView.
asswordEntryKeyboard.java
asswordEntryKeyboardHelper.java
asswordEntryKeyboardView.java
d60d3742abe4e6c51681276713bbd68a3e21f04e 05-Feb-2010 Romain Guy <romainguy@android.com> Fix dialogs to occupy more space.
eightedLinearLayout.java
798c4b985d5c7909f9dd0ee9464bffae1d0b6026 30-Jan-2010 Jim Miller <jaggies@google.com> am 3a8a2818: am d8a3a895: Fix 2404771: Expose reset() in SlidingTab widget so we can reset it when we get an incoming call.

Merge commit '3a8a28185bc26ccfdf847016d5a40af35436ca97'

* commit '3a8a28185bc26ccfdf847016d5a40af35436ca97':
Fix 2404771: Expose reset() in SlidingTab widget so we can reset it when we get an incoming call.
d8a3a8957b9d71ab75584b0cc98324fd70cc527c 30-Jan-2010 Jim Miller <jaggies@google.com> Fix 2404771: Expose reset() in SlidingTab widget so we can reset it when we get an incoming call.

Updated javadoc.
lidingTab.java
9327f4f671de3cbb795612bf4f314ceff88de865 29-Jan-2010 Dianne Hackborn <hackbod@google.com> More device policy work: clarify password modes, monkeying.

Clarifies what the password modes mean, renaming them to "quality"
and updating their documentation and the implementation to follow.

Also adds a facility to find out if a monkey is running, which I
need for the api demo to avoid letting it wipe the device.
ockPatternUtils.java
254cb446faa7cb13699d8150eb4cc4f44cb61a2d 28-Jan-2010 Dianne Hackborn <hackbod@google.com> More device admin.

- Clean up device policy manager APIs.
- Implement lockNow(). For now this just turns the screen off to lock the device.
ockPatternUtils.java
d47c6ed4a9f2b5bd31f6c806b74701428efe458b 28-Jan-2010 Dianne Hackborn <hackbod@google.com> Bite the bullet and add support for multiple device admins.
ockPatternUtils.java
83e5ff09d5ea440c3d32c9293449701d2475f4eb 28-Jan-2010 Wei Huang <weih@google.com> am 29bc7270: am 495bae67: Merge "fix bug 2264186: clean up the outstanding async queries in ContactHeaderWidget." into eclair

Merge commit '29bc7270ec2fd54707326eeee556be2fd4d86ca3'

* commit '29bc7270ec2fd54707326eeee556be2fd4d86ca3':
fix bug 2264186: clean up the outstanding async queries in ContactHeaderWidget.
5e5e6ccc37151c3e5d5272e8c1997955b6bed069 23-Jan-2010 Romain Guy <romainguy@android.com> Make dialogs look better when their content is small.
eightedLinearLayout.java
cd2354f5407f77f150c1d445a3bb3ec2180db51f 22-Jan-2010 Jim Miller <jaggies@google.com> am 84928fa9: am 813d2d86: Merge "Fix for 2292713: Remove workaround that hides SlidingTab widget while internal state is inconsistent." into eclair

Merge commit '84928fa93c3be222b77794de9922d299f4971ea4'

* commit '84928fa93c3be222b77794de9922d299f4971ea4':
Fix for 2292713: Remove workaround that hides SlidingTab widget while internal state is inconsistent.
11b019d07f4de0b25e2f863a7bcaad112d847d56 21-Jan-2010 Jim Miller <jaggies@google.com> Fix 2385283: Use device-specific salt when generating hashes for lock passwords.
ockPatternUtils.java
df83afaf299666e99c519aa86e7e082b7c116e95 20-Jan-2010 Dianne Hackborn <hackbod@google.com> More device policy manager / admin work.

Update API with some new features, re-arrange how you check for valid
passwords, and start hooking up the back-end implementation.
ockPatternUtils.java
22149f3d4ed44c63e066ba16f00709da47220a25 21-Jan-2010 Wei Huang <weih@google.com> fix bug 2264186: clean up the outstanding async queries in ContactHeaderWidget.

- ContactHeaderWidget has cascading async queries, which weren't cancelled if a new query for a different phone number is started.
If the new query fails to find a corresponding contact, the old async queries from the previous number could end up setting the
contact name and photo to the wrong contact.

I tested this by calling

ContactHeaderWidget.bindFromPhoneNumber(number1);
ContactHeaderWidget.bindFromPhoneNumber(number2);

where number1 has a corresponding contact in the databse, and number2 doesn't. At the end of these 2 calls, the ContactHeaderWidget
would display the contact info for number1.

- also found a bug in AsyncQueryHandler.cancelOperation(), which doesn't reliably cancel the previous query. In ContactHeaderWidget's
case, we really depend on the cancelling to work. So work around this bug by resetting mAsyncQueryHandler when we need to do a
new lookup/query. When the old query result is passed back in the callback, discard the result if the QueryHandler is not the same
as mAsyncQueryHandler.

Change-Id: Ice79e77f787af03400e080cbd58162a91838181f
ontactHeaderWidget.java
31f90b62e8c83270094f5b0b4c75a0e06d72cd75 20-Jan-2010 Jim Miller <jaggies@google.com> Fix 2385283: Add DevicePolicyManager calls to LockScreen.
ockPatternUtils.java
2cd1e6eda90170114e0795b13f65f964296cf2f2 16-Jan-2010 Jim Miller <jaggies@google.com> Fix for 2292713: Remove workaround that hides SlidingTab widget while internal state is inconsistent.

The previous workaround for this race condition prevented glitches by postponing drawing the SlidingTab until the internal state was consistent.
Unfortunately, the InCallScreen seems to trigger this most of the time if the keyboard is open or the last application was in landscape mode.

Instead, we'll handle this separately in lockscreen.
lidingTab.java
69aa4a953f040277c19c23208bb830f52796c8c6 23-Dec-2009 Jim Miller <jaggies@google.com> Fix 2332563: Add password-lock support to lockscreen
ockPatternUtils.java
6e106ff7b419613eca17839f224344fbfc450559 11-Jan-2010 Tom Taylor <tomtaylor@google.com> am 2bb1f870: am 1edd8277: Merge "Hide unused fields" into eclair

Merge commit '2bb1f87089faa14954c1b5afa92a34ea947f5ff6'

* commit '2bb1f87089faa14954c1b5afa92a34ea947f5ff6':
Hide unused fields
980a938c1c9a6a5791a8240e5a1e6638ab28dc77 09-Jan-2010 Romain Guy <romainguy@android.com> Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
lidingTab.java
ac65121351f88a890d73a9911f705b7f8f663cd8 06-Jan-2010 Tom Taylor <tomtaylor@google.com> Hide unused fields

When ContactHeaderWidget.bindFromPhoneNumber is called with a number
that's not in contacts, onQueryComplete takes a path that doesn't hide
fields that don't apply to the current phone number. As a result, the
user sees the new number, but old data from the previous display (such
as the facebook status). With this change, those fields are hidden.
Fixes bug 2336977.

Change-Id: Ib6253c18dc58c3d28b463c87d5d195a84d613600
ontactHeaderWidget.java
c0227fa68f5cee1812301c8aae0dcd1e2340cd89 05-Jan-2010 Marco Nelissen <marcone@google.com> VerticalTextSpinner has been moved in to the music app, and is no longer needed here.
erticalTextSpinner.java
7762d93621f508f4410fd37b5bbdfec0071b0420 11-Dec-2009 Paul Westbrook <pwestbro@google.com> Unbundling work

Moved AndroidHttpClient, Rfc822InputFilter, Rfc822Validator
NumberPicker, NumberPickerButton to android-common
---
umberPicker.java
umberPickerButton.java
8b63ab664ff5068d022c080ce04995a0bfdd7030 02-Dec-2009 Jim Miller <jaggies@google.com> Better animation for sliding widget.

Because of the way an Animation handles invalidates, we need to have one Animation per widget being animated.
lidingTab.java
f60e108fa984d823aabad5b691bc248bffe5d1a5 20-Nov-2009 Daniel Sandler <dsandler@google.com> Don't block TIME_TICK broadcasts in the DigitalClock widget.

This change applies the fix -- originally by phanna in
https://android-git.corp.google.com/g/#change,33669 -- to
the com.android.internal.widget version of DigitalClock,
which is used by the keyguard and pattern lock screens.

Change-Id: I43f72dd144423e55f73ba52903d52163c8f65591
igitalClock.java
30142f7ef7bf3d4699526cb9ce02b220a8045c5d 18-Nov-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I9f239766 into eclair

* changes:
Workaround for 2262578: Don't draw tabs if view is not in the correct orientation for the layout
1d0a152fa8905b9dfb87dc87da8e5432e48eae96 18-Nov-2009 Jim Miller <jaggies@google.com> Workaround for 2262578: Don't draw tabs if view is not in the correct orientation for the layout

This is an uber hack. Since there is a race between resizing the view and getting
the orientation-changed notification, this just tries to avoid drawing the tabs in the
wrong orientation (based on what we *expect* to be the orientation specified in the layout
file for the SlidingTab). This masks the problem *most* of the time.
lidingTab.java
1b6d202bd44373d9a7c0235939f63423f1e26773 17-Nov-2009 Evan Millar <emillar@google.com> Move photo querying off main thread.

Fixes bug http://b/issue?id=2265642
ontactHeaderWidget.java
4f01d4a4da7754dbe6a49cca8f94e81104acb87f 17-Nov-2009 Jim Miller <jaggies@google.com> Fix 2209086: Clean up visual glitches in SlidingTab for lock and incall screen.

This fixes the following glitches:
- flash at the end of animation as the widget resets. Fix: new "hold" animation holds the view for 1 second, allowing it to transition before we reset the view.
- target flashing. Fix: remove AlphaAnimation when we want to hide the target.
- bar appears to get stuck at edge. Fix: sliding bar now slides fully offscreen when hold == true. Added setHoldAfterTrigger() method to allow InCallScreen and LockScreen to have different behaviors.
- view continues to animate when shown again. Fix: reset the animations and sliders when the view is hidden.

Tested:
Answer/Decline call on CDMA and GSM device.
Unlock phone and toggle sound on/off in LockScreen on both devices.
lidingTab.java
521d400b230bee5e7b9748f26832c0d0275b8253 16-Nov-2009 Jim Miller <jaggies@google.com> Fix 2209086: Add animations and misc ui improvements to SlidingTab.

Added translation animation where tab "flies" when you release.
Added translation animation where pressing and releasing one tab will hide/show the other
Added alpha animation to make target appear gradually
Added margin around swipe area to allow easier unlocking.
Removed unused handler.
lidingTab.java
16a9d9a736a1bfdc12aa54c549508dd12596247f 14-Nov-2009 Jim Miller <jaggies@google.com> Fix 2209086: Fix missing callback that was preventing tab bar text from updating.

Also includes a cosmetic fix to move the Digital clock down a bit.
lidingTab.java
425ca595dcc37ddb7a9f96310e5b800f424811a6 14-Nov-2009 Jim Miller <jaggies@google.com> Fix 2261626: Don't show text on button if orientation is vertical.
lidingTab.java
4811d62d5f07a1ffbf085d5e424e2b54d0e7ebfd 13-Nov-2009 Jim Miller <jaggies@google.com> Fix 2209086: Updated assets and fixed widget dimension calculation.

Added hvga assets for new lock screen widget.

Tested:
LockScreen on wvga and hvga devices.
InCallScreen on wvga and hvga devices.
lidingTab.java
2477fd69492055f3c6ee62ed9993e9fde8283144 12-Nov-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change Ic31c11ad into eclair

* changes:
Fix 2209086: restore drawable states when drawables change.
4df2c5433bb530fae6191a0298a6d494ca03eaa7 12-Nov-2009 Jim Miller <jaggies@google.com> Fix 2209086: restore drawable states when drawables change.

This fixes a bug where the right tab hightlight wasn't being seen.
The prooblem was that we weren't preserving the drawables' states when
the application requested a new drawable. We now track the drawable state
so we can updated it when the resources change.
lidingTab.java
e3ea6e3d4c8a8c2dc71f608a74ed9f6137afe63d 12-Nov-2009 Daniel Sandler <dsandler@google.com> Update keyguard and pattern-lock layouts for new UX designs.

To do this, we bring DigitalClock over from Clock into the
internal widgets. Its font, Clockopia, comes along for the
ride (find it in /system/fonts).

This change is required for relevant code changes in
frameworks/policy/phone.

Change-Id: I354534f1abd9cf9557c9d18566f1d55b6be5e8f1
igitalClock.java
753401aa471d2fb87ab937c2b02b182ebc215c3a 12-Nov-2009 Jim Miller <jaggies@google.com> Fix 2209086: add drawables for SlidingTab states in PhoneApp. Update string file for new SlidingTab sound states.
Tweak "animation" to be 250ms based on conversation with ui guys. Some minor performance tweaks to SlidingTab.
lidingTab.java
24ccf3c59077d81b0dd3b314822ff7dab215c165 11-Nov-2009 Jim Miller <jaggies@google.com> Fix for 2209086: Initial pass at new SlidingTab widget and integration into LockScreen.

Tested:
- unlock and mute/unmute

Not working:
- highlighting on right tab.
lidingTab.java
246978b8dc89562dda47fea9a7aee61949101242 23-Oct-2009 Tom Taylor <tomtaylor@google.com> Add a method to clear info about a contact

Add a method so the ContactInfoWidget will throw away the cached
info it has on a contact (e.g. picture and uri).

Change-Id: Ia8f376e356c6bcf246bbd72239c5ca2a3b7c9574
ontactHeaderWidget.java
9485aec1df6094b7d2497212c8fe04a6d459b4cd 09-Oct-2009 Jim Miller <jaggies@google.com> Fix for 2177367: Reduce duration of vibrate in RotaryLockScreen

BUG=2177367
otarySelector.java
5037e57fd43bccf79be80bc140b33d1fa69abe13 05-Oct-2009 Jim Miller <jaggies@google.com> Fix for 2161835: Tweaks to rotary lock screen:

- Make inactive dimples dim.
- When an item is grabbed, make all other dimples dim.
otarySelector.java
88e037577f7db140e4ef88b77eefaa910e06e5f5 02-Oct-2009 David Brown <dab@google.com> RotarySelector widget: add callback for "grabbed" state changes.

This is the frameworks/base part of the fix for Bug 2158434: add a new
callback to the OnDialTriggerListener interface, so the RotarySelector can
tell the app about state changes between NOTHING_GRABBED and
LEFT_HANDLE_GRABBED and RIGHT_HANDLE_GRABBED.

BUG=2158434
DRNO=timsullivan

TESTED=regular incoming calls, call waiting calls, answering a call,
rejecting a call. Also verified I didn't affect the
lock screen at all.
otarySelector.java
d9b6f14a6926dce7ad3d98e6e30b503c69c904c0 01-Oct-2009 Jim Miller <jaggies@google.com> Adjust opacity for inactive dimple in rotary widget
otarySelector.java
c1a2a8296e811a2b9f8553346147be65e8a690b6 30-Sep-2009 Evan Millar <emillar@google.com> Change FasttrackBadgeWidget->QuickContactBadge and make public.

Change-Id: I9d12beeba16c2f64742b4a99d0da4ceb73525b5b
ontactHeaderWidget.java
85d630020a29c24f3d51f00b5ce3f701c16f0a45 30-Sep-2009 Jim Miller <jaggies@google.com> Fix for 2139014: Allow platform customization of vibration pattern in LockScreenView.

Can be configured by config_virtualKeyVibePattern.
ockPatternView.java
41e8dc02cdde381cc2d7d55bfb56d5c7f72eb86e 29-Sep-2009 Jim Miller <jaggies@google.com> Fix for 2137900: Be more conservative about poking the wakelock.

Updated after review: white space, check for null pattern listener.
ockPatternView.java
13a90abcae224b85d128ded8e59398a3fc1ce4e1 28-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding status update attribution to ContactHeaderWidget

Change-Id: I677f8a8d805c68d95ee56cd1119cc3e97c6ae073
ontactHeaderWidget.java
36ad03e1b7a0de569ecb561f8a444f111e8bd5ac 28-Sep-2009 Tadashi G. Takaoka <takaoka@google.com> Delegate exclude mimetypes to FasttrackBadgeWidget

Internal Bug: 2138745
ontactHeaderWidget.java
879664e3e2e0169aba53d88f6c30c8b15858315d 27-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding columns to support attribution of status updates. Also renaming some columns to better describe their purpose.

Change-Id: If6d7812f38a3cfd662a5ae2387c72c4761fdf9fa
ontactHeaderWidget.java
8e55eaccffeda078d7389b7fb66b0c6df347bf31 26-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Changing contact status to Presence-based

Change-Id: I35589e87f1e1743413d3f10509e9eccc333aa2fb
ontactHeaderWidget.java
695800047c907960a5ecc7f9af7e031707b93b5c 26-Sep-2009 Evan Millar <emillar@google.com> Fix http://b/issue?id=2106682 (Don't show status if we don't have it).

Change-Id: I1636914ef47fc5319f2593d3e7aea33e523be3c7
ontactHeaderWidget.java
bf07e03291ed9d9a263f133a05b66b3bfe58e75f 23-Sep-2009 Evan Millar <emillar@google.com> Change longClick -> click in ContactHeaderWidget.

Also don't enable it by default, but add an api to explicitly request
it.

Change-Id: I75fa4bfddba7a1800dec24e6a068eca614370a26
ontactHeaderWidget.java
6ecacd40dd56d80d6b7b8454d8f4c04124c8d899 25-Sep-2009 Neel Parekh <neel@google.com> Center name when no status.
Also shows the status if exists (not actually hooked up yet though).

Bug: 2138736
ontactHeaderWidget.java
3546825421cab5330583633ed854134c35d1c08d 26-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 26720 into eclair

* changes:
Allow us to set the contact uri without setting the fast track's uri
c8ad6dcb8abcf5f7296faecdcfa93a01fb4011b9 25-Sep-2009 Karl Rosaen <krosaen@android.com> Optimize rotary selector widget by using bitmaps instead of drawables.

In profiling setBounds was expensive. Time per onDraw from 13.3ms to 6.59ms :)
otarySelector.java
ff9c54b7214e99b3182f53f3089da0503f3edddc 24-Sep-2009 Karl Rosaen <krosaen@android.com> fix bug where siilent mode dissapears when it triggers instead of animating off to the left edge.
otarySelector.java
74646ad618a9ca289efa99b4a822e66ca61b8f95 24-Sep-2009 Karl Rosaen <krosaen@android.com> Update RotarySelector to support vertical orientation, and add resolution specific assets (removing old ones).
otarySelector.java
eeadd3ffa29b70688593b763fcf0c84d9fc48c4c 24-Sep-2009 Neel Parekh <neel@google.com> Allow us to set the contact uri without setting the fast track's uri
ontactHeaderWidget.java
36dac6ae8e005f0247e44345727d1580b1623127 22-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 26390 into eclair

* changes:
Bring the dimples back, and make the "spin around" animation have a fling feeling.
896264f603ad90e58557c5d3f34bc6389fff3fc5 22-Sep-2009 Karl Rosaen <krosaen@android.com> Bring the dimples back, and make the "spin around" animation have a fling feeling.

Also clean up the animation code into start/update animation functions.
otarySelector.java
de9eef1c66208c0ef1b6aab6c27ec9c5ce014d97 22-Sep-2009 Evan Millar <emillar@google.com> Add aggregated badge to ContactHeaderWidget

Change-Id: I0266828c7d560b9aefc3f58d27c217f710f1b0bb
ontactHeaderWidget.java
fe6104fbfbba0434e78f9e21f460c71cddfe8449 21-Sep-2009 Mark Wagner <mxw@google.com> When manually setting the uri pass it through to the badge widget.
ontactHeaderWidget.java
d5ffa12dea99233e6a75048d82ad4daf0373191f 21-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 26127 into eclair

* changes:
Uri encode phone number before passing it to query.
2acda4bead7fde78a376f823e29df0679bb68a52 21-Sep-2009 Megha Joshi <mjoshi@google.com> Uri encode phone number before passing it to query.

Fixes bug 2122926
ontactHeaderWidget.java
052e187edaa3934a290c81a6efcc664b59a09b59 21-Sep-2009 Karl Rosaen <krosaen@android.com> Clean up spin animation in rotary selector, and be even more generous for triggering.
otarySelector.java
278ec5d6f57f01fb5d9acce5794daf66f5535baa 20-Sep-2009 Karl Rosaen <krosaen@android.com> Add better transition to rotary lock widget when triggering: spin around instead of snap back.

Also add some icons and make a layout tweak, used by the lock screen (coming in a commit
to android.policy).
otarySelector.java
7ff7ddf70b560e0e47f1231651b90718667c40bc 19-Sep-2009 Evan Millar <emillar@google.com> Fix http://b/issue?id=2099487

Change-Id: Ib5391cc5e9d17bc4ad964471037e7f9819802a64
ontactHeaderWidget.java
5fef93b2a827cfafee04d7cfb827262c9b75fd91 18-Sep-2009 Karl Rosaen <krosaen@android.com> Some tweaks to the rotary lock widget.

- don't show arrows above widget when in resting state
- don't show other icon once you press one (e.g don't show silent mode icon when you are pressing the lock icon)
- wider target for triggering action
otarySelector.java
6a20b823c3c9de8daa1c4bc002d6e58fe82d3a60 16-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 25293 into eclair

* changes:
Fix a handful of bugs in the ContactHeaderWidget
1ca654e1193010365de10f55cbfebe1521c71db4 16-Sep-2009 Karl Rosaen <krosaen@android.com> Address romain's code review comments
otarySelector.java
2c867f9b7f7e15da19fbd9642baa8b5278f274d0 15-Sep-2009 Evan Millar <emillar@google.com> Fix a handful of bugs in the ContactHeaderWidget

-http://b/issue?id=2074981 fixed
-http://b/issue?id=2088564 fixed.
-http://b/issue?id=2097374 fixed.
-http://b/issue?id=2095896 fixed.
-http://b/issue?id=2093734 fixed.

-Use FasttrackBadgeWidget.

-Also changes api in ContactsHeaderWidget to accept contact uri instead
of contact id.

Change-Id: I6623a99c7f5011387c57fc9a6861eef63174ca6e
ontactHeaderWidget.java
e4d95d02a25fb6596a3bf622ba57d4145773da90 16-Sep-2009 Karl Rosaen <krosaen@android.com> Add RotarySelector widget to android.internal for use by lock screen and incoming call screen.
otarySelector.java
5b61bea7aba93fc812991116fbbf9c4dbccb4890 10-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 24581 into eclair

* changes:
Dialog titles would sometimes use a font too large.
4bdf17c69712b28e82f15f81f39482ff096b7f67 10-Sep-2009 Romain Guy <romainguy@android.com> Dialog titles would sometimes use a font too large.

This was due to code in DialogTitle.java which would multiply the textSize of
the theme twice.

Change-Id: Id44e39e729ebd43b08c967a67cde0d33dd8f2efb
ialogTitle.java
84b4d37dd1e9269f73c2a9cacadcd88ec4256e3f 10-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> [Issue 2099206] Encoding phone number prior to sending it to the phone lookup filter

Change-Id: I80327febe7134ac1bdef958251943a9777879d53
ontactHeaderWidget.java
fdf6db6748b32f620a7f68b13a67c38b4e59e5ed 09-Sep-2009 Tom Taylor <tomtaylor@google.com> Make NumberPicker subclassable

Make a few methods and member variables protected so behavior can be
overridden. In this case, Messaging app uses the control and doesn't
want wrap-around behavior.

Change-Id: Iceb34743b7d17e933400750a5de56b9ecfe8f146
umberPicker.java
b1e2a4d0d0107df4ecf4d484a340ec21dc105305 04-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Removing references to deprecated API and the deprecated API itself.
ontactHeaderWidget.java
b623a7c953ae34e21212cda782aabc12c837fffd 02-Sep-2009 Jeff Hamilton <jham@android.com> Don't crash when a user taps on a fast track trigger that isn't hooked up to a contact.
ontactHeaderWidget.java
678771b8118c3289aff6814775cbb30fa8aada29 21-Aug-2009 Karl Rosaen <krosaen@android.com> New strings and utlity method tweaks associated with updated account unlock screen flow.

- 'setPermanentlyLocked(false)' no longer automatically resets the pattern
- new string for "waiting to verify account" progress dialog
- new string for account unlock screen title when you aren't past the too many
attempts, but just hit the 'forgot pattern' button
ockPatternUtils.java
f7eab4f78fe4bdb193a4f8caf2648d2cb3ef36ea 25-Aug-2009 Jeff Sharkey <jsharkey@android.com> Don't use deprecated API in contact header widget.

Fixes http://b/2074981
ontactHeaderWidget.java
84235ee923c13e58ce339c25c86f734b338a81e0 23-Aug-2009 Jeff Sharkey <jsharkey@android.com> Add extra to exclude specific MIME-types from Fast-Track.

Also added ContactHeaderWidget accessor for passing along
this list when triggering Fast-Track. This is used so that
the header widget can hide the profile icon when launched
while already looking at the profile.
ontactHeaderWidget.java
60662b035c0ac0dd3b67d1bbdb54e1b6ba139148 20-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> The API for phone lookup has changed - updating Contact Header accordingly.
ontactHeaderWidget.java
97f3209b45dd59b814dda70f1cc90ee8bc5f1319 12-Aug-2009 Mark Wagner <mxw@google.com> more support for bindStatic
some minor tweaks to the layout in the hopes I can start using this for gtalk soon
ontactHeaderWidget.java
ab13c7792e01f99f9e37c49ff11335ce36efa268 13-Aug-2009 Jeff Sharkey <jsharkey@android.com> Add methods for directly setting Contact header data.

Previously, ContactHeaderWidget only allow data binding
through helper methods, or a single static call. In the
Contacts edit UI, we need to set individual fields directly
based on internal EntityDelta states. Also added more
documentation and exposed more-direct query helpers.
ontactHeaderWidget.java
773c6341244ed0be380b8242fb6d17d53c491f56 11-Aug-2009 Evan Millar <emillar@google.com> Add presence to ContactsHeaderWidget
ontactHeaderWidget.java
93187560b5130594901a723ff8023da4913db3a9 12-Aug-2009 Mark Wagner <mxw@google.com> contrary to popular belief ContentResolver.query can return null.
so check.
ontactHeaderWidget.java
ad2eaf208df515064898e0a69015e8910aa972f1 11-Aug-2009 Jeff Sharkey <jsharkey@android.com> Added long-press hooks to Contact header widget.

To match Contacts edit UI mocks, the user long-presses on
the photo or display name to select a new primary. This
change provides the hooks needed over in Contacts.
ontactHeaderWidget.java
23d479588f6e591e4643ca97063c5b017122da2e 07-Aug-2009 Mark Wagner <mxw@google.com> Mods to the ContactHeaderWidget to be able to have it display strings
as passed in by the caller. For example we may want to use this in
the case when there is no contact in a given circumstance.
ontactHeaderWidget.java
6bfe14dea21deec4c90ceea79b8f810164f88031 06-Aug-2009 Jeff Sharkey <jsharkey@android.com> Add SHOW_OR_CREATE size modes, trigger from contact header.

Added constants so that apps triggering SHOW_OR_CREATE can
request a desired size through EXTRA_MODE. Also added hooks
to internal ContactHeaderWidget to launch SHOW_OR_CREATE
when user taps on photo.
ontactHeaderWidget.java
8db05867bd3b37f78601f7447e1371c6f709baab 04-Aug-2009 Karl Rosaen <krosaen@google.com> am 0e74f5a5: Guard against index out of bounds exception in lock pattern widget.

Merge commit '0e74f5a50b3b08c4519a040dafa895ab1f5b4d2e'

* commit '0e74f5a50b3b08c4519a040dafa895ab1f5b4d2e':
Guard against index out of bounds exception in lock pattern widget.
0e74f5a50b3b08c4519a040dafa895ab1f5b4d2e 04-Aug-2009 Karl Rosaen <krosaen@google.com> Guard against index out of bounds exception in lock pattern widget.

Fixes bug 2027516.
ockPatternView.java
fc03aa78943e66c0e0f3358fc73cf3dcf28894dd 03-Aug-2009 Mark Wagner <mxw@google.com> check return value from Cursor.moveToFirst()
ontactHeaderWidget.java
b3ac9318efde5de9938fea8b55b1f84addb80d4f 01-Aug-2009 Evan Millar <emillar@google.com> Adds the ContactHeaderWidget for use by system apps.

The ContactHeaderWidget is a new widget that is used as a header banner
in various system applications, including contacts, mms, and gtalk.
Convenience methods are supplied for bind the widget to a specific
contact, which can be specified by contact id, email, or phone number.
ontactHeaderWidget.java
11ea33471e1a14a8594f0b2cd012d86340dd3bd8 23-Jul-2009 Dianne Hackborn <hackbod@google.com> Allow for screen density drawables in compatibility mode.

This change allows us to use drawables that match the current screen
density even when being loaded in compatibility mode. In this case,
the bitmap is loaded in the screen density, and the bitmap and
nine-patch drawables take care of accounting for the density difference.

This should be safe for existing applications, for the most part, since
they shouldn't really be pulling the bitmap out of the drawable. For
the small rare chance of them breaking, it worth getting the correct
graphics. Also this will only happen when there is actually a resource
of the matching density, and no existing apps should have resources for
anything besides the default density (though of course all of the
framework resources will be available in the native density).

As part of this, the bitmap density API has been changed to a single
integer provider the DPI unit density.
ditStyledText.java
2bf761c20253222a763bce9a63d14c48ab08a556 14-Jul-2009 Suchi Amalapurapu <asuchitra@google.com> Fix couple of issues in DatePicker
The NumberPicker's listener needs to be invoked only if
the current value changes when validating input.
This removes the some unwanted duplicate calls to onChanged.
Adjust day for month and leap years. note that updateDaySpinner
directly sets the value on day picker and doesn't invoke the
listener twice
umberPicker.java
6a109b4874b79d9bf8f5d990bfe831a59e5a83dc 11-Jul-2009 Karl Rosaen <krosaen@google.com> Use MeasureSpec.getWidth instead of default display in lock pattern widget.
ockPatternView.java
05a3c6870cf718f0bdeea6f3b7c031299ecdd7fa 28-Mar-2009 Satoshi Kataoka <> AI 143196: am: CL 142964 Add a function to clear styles in EditStyledText.
Add a function to change getBackground color.
Add a function to check whether EditStyledText has styled text or not.
Refactor function and variable names for readability.
Original author: satok
Merged from: //branches/cupcake/...

Automated import of CL 143196
ditStyledText.java
88fb1069bf254dc68c83546496592a9b5e739a07 27-Mar-2009 Dianne Hackborn <> AI 143147: Manual integration

Automated import of CL 143147
mileys.java
df6601ac91493a7368effbe198e0181627a2cd34 25-Mar-2009 Satoshi Kataoka <> Automated import from //branches/donutburger/...@141168,141168
ditStyledText.java
6eb7298019c2e59877939474e7d77e8334192a98 25-Mar-2009 Satoshi Kataoka <> Automated import from //branches/donutburger/...@141149,141149
ditStyledText.java
5c70839ae3b06a03c82032a77fc44405cf1de2de 25-Mar-2009 Satoshi Kataoka <> Automated import from //branches/donutburger/...@141126,141126
ditStyledText.java
51376451f1ce78c7201d9559d0e953d165bfce87 25-Mar-2009 Satoshi Kataoka <> Automated import from //branches/donutburger/...@141112,141112
ditStyledText.java
1bf5e22da72b477c8b7a45ed85a4dba94be39db5 25-Mar-2009 Dianne Hackborn <> Automated import from //branches/donutburger/...@141001,141001
ditableInputConnection.java
6ef7af508903eddc76f7bb693b71a547df94cb6e 25-Mar-2009 Satoshi Kataoka <> Automated import from //branches/donutburger/...@140966,140966
ditStyledText.java
ce8f3a8eca07291bf0f8f187b0d677204a897111 25-Mar-2009 Satoshi Kataoka <> Automated import from //branches/donutburger/...@140765,140765
ditStyledText.java
ba87e3e6c985e7175152993b5efcc7dd2f0e1c93 13-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@138607
ditStyledText.java
ockPatternUtils.java
c39a6e0c51e182338deb8b63d07933b585134929 11-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@137873
umberPicker.java
4df2423a947bcd3f024cc3d3a1a315a8dc428598 05-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@136594
ditStyledText.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
ialogTitle.java
ditableInputConnection.java
inearLayoutWithDefaultTouchRecepient.java
ockPatternUtils.java
ockPatternView.java
umberPicker.java
umberPickerButton.java
extProgressBar.java
erticalTextSpinner.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
ialogTitle.java
ditableInputConnection.java
inearLayoutWithDefaultTouchRecepient.java
ockPatternUtils.java
ockPatternView.java
umberPicker.java
umberPickerButton.java
extProgressBar.java
erticalTextSpinner.java
076357b8567458d4b6dfdcf839ef751634cd2bfb 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@132589
ditableInputConnection.java
extProgressBar.java
3dec7d563a2f3e1eb967ce2054a00b6620e3558c 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@137055
ditableInputConnection.java
extProgressBar.java
15ab3eae2ec3d73b3e8aa60b33ae41445bf83f4b 20-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132569
extProgressBar.java
3001a035439d8134a7d70d796376d1dfbff3cdcd 19-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132276
ditableInputConnection.java
ockPatternUtils.java
extProgressBar.java
da996f390e17e16f2dfa60e972e7ebc4f868f37e 13-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@131421
umberPicker.java
d24b8183b93e781080b2c16c487e60d51c12da31 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
ditableInputConnection.java
lidingDrawer.java
f1e484acb594a726fb57ad0ae4cfe902c7f35858 22-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@127436
ditableInputConnection.java
22f7dfd23490a3de2f21ff96949ba47003aac8f8 20-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@127101
umberPicker.java
b798689749c64baba81f02e10cf2157c747d6b46 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@125939
ditableInputConnection.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
ialogTitle.java
ditableInputConnection.java
ockPatternUtils.java
ockPatternView.java
umberPicker.java
lidingDrawer.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
inearLayoutWithDefaultTouchRecepient.java
ockPatternUtils.java
ockPatternView.java
umberPicker.java
umberPickerButton.java
lidingDrawer.java
erticalTextSpinner.java