76841 Commits

Author SHA1 Message Date
alanv
525823a754 Refactor WebView accessibility code into a separate class.
Bug: 5932640
Change-Id: I52ab57f51c5904cbcf56307f17f406b2a30d6b91
2012-05-16 20:01:51 -07:00
Romain Guy
4c43f66d06 Fix TextureView OpenGL sample
The sample was doing something dumb: instead of binding the texture unit
to the shader's sampler, it was binding the texture name. Oops.

Change-Id: I13450dacbbd2dad362a2573aebb95e8eb87b25f0
2012-05-16 20:01:17 -07:00
Martijn Coenen
2c10311a01 NFC API documentation.
Added docs for beam Uri push and added some sanity checks on params.

Change-Id: I7c43b71c8a9ca4f742933d2d5b9473e0e2451dd3
2012-05-16 19:44:45 -07:00
Dianne Hackborn
20c0cdbbf7 Merge "Have the stable layout take into account the window's fullscreen flag." into jb-dev 2012-05-16 19:41:09 -07:00
Svetoslav Ganov
a4c1b0a7ca Merge "Fixing the build for real." into jb-dev 2012-05-16 19:25:59 -07:00
Svetoslav Ganov
1e7456ba74 Fixing the build for real.
Change-Id: I792d029c7fff4d96fbe238ff4b3f268cb8603b95
2012-05-16 19:15:34 -07:00
Brian Colonna
c266070aec Not calling startUi() if no longer bound
After the bind to the FUL service is complete, an
onServiceConnected() callback is received.  This callback is
asynchronous - bindService() does not block while we are waiting for
the service to finish binding.  Therefore, when rapidly turning the
screen on and off, it is possible to call bindService() and then call
unbindService() before the onServiceConnected() callback is received.
When onServiceConnected() is received, startUi() is called.  If the
service is no longer bound, a runtime restart occurs when calling
startUi().

Note that onServiceConnected() actually has its work done via a
handler.  The delay of calling the handler increases the possibility
of unbindService() being called before trying to call startUi().  But
since this problem still happens without using the handler,
eliminating using the handler would not solve the problem and would
just create the problems that come with performing operations on
different threads since onServiceConnected() is not called on the main
thread.

Also note that a new instance of FaceUnlock is created in
LockPatternKeyguardView with each iteration.  So, if we bind/stop/bind
before getting onServiceConnected(), the second bind happens in a new
instance of FaceUnlock and therefore does not lead to a problem when
onServiceConnected() returns as a result of the first bind.

This fixes some occurrences of bug 6409767.  However, this fixes the
problem when turned the device on and off rapidly.  It seems there
are some reports of bug 6409767 where this is not the case, so I
can't be sure this has any affect on those cases.

This change also cleans up some debugging and modifies other
debugging to try to get just the information that is useful for
tracking down the bug.

Change-Id: Ifa59107b9974acaa8a18b74b5d47e4cf3a794b8e
2012-05-16 22:11:30 -04:00
Kenny Root
11e123f768 Merge "Check system app before removal" into jb-dev 2012-05-16 18:59:04 -07:00
Svetoslav Ganov
e54c5f1365 Merge "Exposing some accessiblity actions only for enabled views." into jb-dev 2012-05-16 18:43:31 -07:00
Svetoslav Ganov
56ee04e120 Merge "Adding some missing files." into jb-dev 2012-05-16 18:31:36 -07:00
Svetoslav Ganov
e63049b838 Adding some missing files.
Change-Id: I991d8bf815a7e57dc1cbad384e15aa21bef0c7c7
2012-05-16 18:27:34 -07:00
Jim Miller
5de47b6ad9 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
2012-05-16 17:56:59 -07:00
Svetoslav Ganov
824aa860cd Merge "Accessibility service needs to request permission to be bound to." into jb-dev 2012-05-16 17:52:59 -07:00
Svetoslav Ganov
fb1e80a247 Exposing some accessiblity actions only for enabled views.
1. Some accessibility actions should not be performed on disabled
   views. For example, scrolling should not be permitted while
   accessibility focus should be. Made a quick pass over the
   actions we expose now.

Change-Id: I36626dfbc0d2f480309a910f58f1de64e9e05675
2012-05-16 17:51:52 -07:00
Jim Miller
214fc5e61e Merge "Fix 6508369: Add new resources to fix chevron direction on 720dp device" into jb-dev 2012-05-16 17:50:03 -07:00
Jim Miller
ad67a96a9d Fix 6508369: Add new resources to fix chevron direction on 720dp device
Change-Id: Iecf11157327565f8ca6653cf4952198d2ddcc043
2012-05-16 17:48:00 -07:00
Adam Powell
648337b3a8 Merge "Fix a bug where late-invalidating views with animations would be held for too long by ViewRootImpl" into jb-dev 2012-05-16 17:46:10 -07:00
Carlos Valdivia
864019503c Merge "Streamline the logic to add account." into jb-dev 2012-05-16 17:44:34 -07:00
Adam Powell
7fde8e2ba2 Merge "Be more tolerant in TaskStackBuilder" into jb-dev 2012-05-16 17:44:25 -07:00
Carlos Valdivia
cf0a881f1c Streamline the logic to add account.
This cl ensures that we immediately route the user to the add account
activity if they don't have an account and their is only one relevant
account type. Also reordered the setContent logic to reduce flicker.

Note that as of this CL there is still some flicker remaining when
launching G+ without an account. But it appears to be fixed in other
apps.

Bug: 6455975
Change-Id: I91e33b4fb9618a31765b4a8651334b1c52640828
2012-05-16 17:43:17 -07:00
Jeff Brown
33ebe8c8c2 Merge "Add systrace method tags for measure and layout." into jb-dev 2012-05-16 17:40:03 -07:00
Jeff Brown
6dc23b8e70 Merge "Add a label for the new video trace tag." into jb-dev 2012-05-16 17:39:29 -07:00
John Reck
b27a4f9b0e Merge "Remove custom scrollbar logic" into jb-dev 2012-05-16 17:35:08 -07:00
Adam Powell
3e3c4ee047 Fix a bug where late-invalidating views with animations would be held
for too long by ViewRootImpl

Change-Id: I1e32bf2683b50f8834f215a753f881b5d4b8dbc9
2012-05-16 17:34:21 -07:00
Jeff Brown
c8d2668bc4 Add systrace method tags for measure and layout.
Change-Id: I739f6384b390d1b34b09b622ca0f752de1dd7304
2012-05-16 17:27:24 -07:00
Jeff Brown
f558780c20 Add a label for the new video trace tag.
Change-Id: Ie296b4b5ca73987cdea7766f8698fc43704b2e81
2012-05-16 17:27:24 -07:00
Robert Greenwalt
2977286dde Merge "Log more RetryManager information." into jb-dev 2012-05-16 17:25:40 -07:00
Dianne Hackborn
5b5cc4d536 Have the stable layout take into account the window's fullscreen flag.
When using stable layouts, you are typically expected to hide and
show the status bar through the system UI fullscreen flag.  This hides
both the status bar and the action bar.  The stable layout assumed
that when not hiding the status bar through the system UI flags, that
the status bar would be visible.

This change makes things a little smarter, also looking at the
window's fullscreen flag (which only hides the status bar).  If this
flag is set on the window, then the stable layout now assumes that
the status bar will never be shown.  This allows us to position the
action bar correctly in the situation where the application has set
the window to fullscreen and requested a stable layout, instead of
always leaving room for the status bar above it.

Change-Id: I757072ae99cd3741753af7210dbf51afe94d3db5
2012-05-16 17:24:11 -07:00
John Spurlock
2f7dfa7afd Status Bar: Include wifi/mobile state in touch exploration
Bug: 5325056
Change-Id: Iefbd734344d3b70d3e0ebf6f0dffa55d89a054c7
2012-05-16 20:20:59 -04:00
John Wang
3a64109db6 Merge "Restore ready apns once voice call ended" into jb-dev 2012-05-16 17:15:51 -07:00
Robert Greenwalt
83daf6c5ae Log more RetryManager information.
6505637 had unexplainable behavior.  Add some logging so we can see
what's going on.

bug:6505637
Change-Id: I43c2ce7f8d12271d988b112f47589d0fba2b6955
2012-05-16 17:15:12 -07:00
Robert Greenwalt
13fac48517 Merge "Don't start data-stall checks if not connected" into jb-dev 2012-05-16 17:12:23 -07:00
Marco Nelissen
538d4925b3 Fix .pls playlist parsing
b/6508278

Change-Id: I015ecf3fa599601ba4e9d018be24d0685e153239
2012-05-16 17:10:24 -07:00
Amith Yamasani
ade026f749 Avoid launching dialogs twice from double-clicking a preference.
Bug: 6500628

Only create the dialog if another one doesn't already exist.

Change-Id: Ie9be06a58c369299bcb67526e668785e6735a307
2012-05-16 17:02:32 -07:00
Brandon Keely
af1c1b3b13 Merge "softening app-to-home and task-to-task transitions" into jb-dev 2012-05-16 17:01:48 -07:00
yoonsung.nam
32eda207cd Restore ready apns once voice call ended
Currently GsmDCT does not setup default data if secondary APNs are
connected but default is disconnected. Sometimes retry alarm of default
expries during voice call but it's rejected due to voice calling and
eHRPD attached status.

Fix onVocieCallEnded() to restore all ready apns inclduing defautl
regardless of isConnected().

bug:6502005

Change-Id: I25db9be010cb588dfee51bdaf435f24055ecb431
Signed-off-by: yoonsung.nam <yoonsung.nam@samsung.com>
2012-05-16 17:00:23 -07:00
Brandon Keely
9cec7fac72 softening app-to-home and task-to-task transitions
Change-Id: I2dc38ea1da7cbea9b805f2b0c17182bad235ab8f
2012-05-16 16:51:02 -07:00
Michael Jurka
28e7320116 Merge "Revert "Add shortcut for voice search"" into jb-dev 2012-05-16 16:39:16 -07:00
Jim Miller
ee499fe68e Merge "Fix 6504124: Disable assist when ACTION_ASSIST is not available" into jb-dev 2012-05-16 16:36:26 -07:00
Jeff Brown
00ee17718a Merge "Don't allow shortcuts while keyguard showing." into jb-dev 2012-05-16 16:25:21 -07:00
Jeff Brown
f3ae4e178c Merge "Tolerate missing power HAL module." into jb-dev 2012-05-16 16:25:12 -07:00
Jeff Brown
0d28cdf1c8 Merge "Fix a possible starvation issue related to vsync." into jb-dev 2012-05-16 16:25:05 -07:00
Jim Miller
12e0c5ac1b Fix 6504124: Disable assist when ACTION_ASSIST is not available
Change-Id: I2218afa7954961309d8cf2f2be0aff10826b9243
2012-05-16 16:24:32 -07:00
Michael Jurka
fa1009638d Revert "Add shortcut for voice search"
This reverts commit 7a3489552ca92776c5e2a57c80026216b44005eb.

Change-Id: Iddfa86183ff0d189e8dbb5dc535344e064e0d103
2012-05-16 16:24:22 -07:00
Adam Powell
b00b8b0d53 Be more tolerant in TaskStackBuilder
Let callers try to get a parent stack for an activity class with no
parent declared.

Bug 6503702

Change-Id: Iec1bc7a8d9e5b65b756a8ebd0e53d63506796aa3
2012-05-16 16:23:03 -07:00
Mathias Agopian
128c89cd08 Merge "fix SensorManager.getAngleChange() documentation" into jb-dev 2012-05-16 16:12:27 -07:00
Svetoslav Ganov
53e184d34e Accessibility service needs to request permission to be bound to.
1. Every accessibility services targeting JellyBean or higher has
   to request a special permission for the system to bind to it.

Change-Id: I6e579326bdf3597f148d6c67317455701ec8af68
2012-05-16 15:57:15 -07:00
Svetoslav Ganov
6467f94b37 Merge "Make AbsSeekBar widget adjustable via accessibility actions." into jb-dev 2012-05-16 15:53:35 -07:00
Jason Sams
4ee6a63dfe Merge "Move gfx samples to test directory for compatibility testing." into jb-dev 2012-05-16 15:47:57 -07:00
Jason Sams
e5f2f66f8c Move gfx samples to test directory for compatibility testing.
Change-Id: Iede1c0a14abf9aa3f31ab219fba3bf3a15ef8c90
2012-05-16 15:43:25 -07:00