OSDN Git Service

android-x86/frameworks-base.git
12 years agoDon't long press if preventDefault is called
John Reck [Tue, 29 May 2012 23:02:23 +0000 (16:02 -0700)]
Don't long press if preventDefault is called

 Bug: 6554060

Change-Id: Iad263c78a0e1504dd10e9ef5b92505bca6991cbc

12 years agoMerge "Moved setting the flag to suppress face unlock during a phone call" into jb-dev
Danielle Millett [Tue, 29 May 2012 13:24:05 +0000 (06:24 -0700)]
Merge "Moved setting the flag to suppress face unlock during a phone call" into jb-dev

12 years agoActually set the video scaling mode :-)
Bryan Mawhinney [Sun, 27 May 2012 16:42:46 +0000 (17:42 +0100)]
Actually set the video scaling mode :-)

Change-Id: Ia3e77b68a07651861e9be268ab77cac808b3be79

12 years agoMerge "Tale of status bar on crespo, part 3 Bug #6541079" into jb-dev
Romain Guy [Sat, 26 May 2012 02:21:49 +0000 (19:21 -0700)]
Merge "Tale of status bar on crespo, part 3 Bug #6541079" into jb-dev

12 years agoMerge "Don't ANR on hover, scroll or if a window goes away." into jb-dev
Jeff Brown [Sat, 26 May 2012 01:38:24 +0000 (18:38 -0700)]
Merge "Don't ANR on hover, scroll or if a window goes away." into jb-dev

12 years agoMerge "Make Google search panel go away when receiving phone call" into jb-dev
Chet Haase [Fri, 25 May 2012 22:49:47 +0000 (15:49 -0700)]
Merge "Make Google search panel go away when receiving phone call" into jb-dev

12 years agoMerge "Copy over the scroll position for the scrolling layer" into jb-dev
John Reck [Fri, 25 May 2012 22:49:15 +0000 (15:49 -0700)]
Merge "Copy over the scroll position for the scrolling layer" into jb-dev

12 years agoMerge "Retain device during connecting state" into jb-dev
Irfan Sheriff [Fri, 25 May 2012 22:13:27 +0000 (15:13 -0700)]
Merge "Retain device during connecting state" into jb-dev

12 years agoMerge "For 720dp devices, less motion during task-to-task transition." into jb-dev
Brandon Keely [Fri, 25 May 2012 21:38:47 +0000 (14:38 -0700)]
Merge "For 720dp devices, less motion during task-to-task transition." into jb-dev

12 years agoMerge "Import translations. DO NOT MERGE" into jb-dev
Eric Fischer [Fri, 25 May 2012 21:24:44 +0000 (14:24 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev

12 years agoMerge "Import translations. DO NOT MERGE" into jb-dev
Eric Fischer [Fri, 25 May 2012 21:14:55 +0000 (14:14 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev

12 years agoCopy over the scroll position for the scrolling layer
John Reck [Fri, 25 May 2012 21:02:26 +0000 (14:02 -0700)]
Copy over the scroll position for the scrolling layer

 Bug: 6557664

Change-Id: I9b1257ee0a4d75f5b445e9f72455d51e4add1c77

12 years agoMerge "Fix bug #6558264 Recent apps launcher is not getting dismissed after launching...
Fabrice Di Meglio [Fri, 25 May 2012 20:49:39 +0000 (13:49 -0700)]
Merge "Fix bug #6558264 Recent apps launcher is not getting dismissed after launching Google app using long press of Home key" into jb-dev

12 years agoMake Google search panel go away when receiving phone call
Chet Haase [Fri, 25 May 2012 19:59:01 +0000 (12:59 -0700)]
Make Google search panel go away when receiving phone call

Issue #6557847 "Google" launcher icon stuck in ring slider after getting incoming call

Change-Id: If77f66fd241af7fbfe6228498b07fd1cfcef36bd

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Fri, 25 May 2012 20:32:45 +0000 (13:32 -0700)]
Import translations. DO NOT MERGE

Change-Id: I893c25a4fd206d9b0c018c44e4441ef36d12eed0

12 years agoFix bug #6558264 Recent apps launcher is not getting dismissed after launching Google...
Fabrice Di Meglio [Fri, 25 May 2012 18:36:03 +0000 (11:36 -0700)]
Fix bug #6558264 Recent apps launcher is not getting dismissed after launching Google app using long press of Home key

- close Recent Apps before launching the Assistant

Change-Id: I823dc254252fb3c1fde0a3adcfb895e368c7d77e

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Fri, 25 May 2012 20:11:43 +0000 (13:11 -0700)]
Import translations. DO NOT MERGE

Change-Id: I3528164ed7d96f571cf31df0715100da5120b082

12 years agoRetain device during connecting state
Irfan Sheriff [Fri, 25 May 2012 00:16:50 +0000 (17:16 -0700)]
Retain device during connecting state

With join taking much longer, sometimes device can be lost from supplicant.
Retain device to complete connection.

Also, clear up stale peer data after find stops during inactive state.

Bug: 6557725
Change-Id: I15b92e50a837481f974034b1ea7b32c8abee969e

12 years agoMerge "Fix for IOOB in SearchView" into jb-dev
Gilles Debunne [Fri, 25 May 2012 19:43:39 +0000 (12:43 -0700)]
Merge "Fix for IOOB in SearchView" into jb-dev

12 years agoTale of status bar on crespo, part 3
Romain Guy [Fri, 25 May 2012 19:08:39 +0000 (12:08 -0700)]
Tale of status bar on crespo, part 3
Bug #6541079

The vanished shall not be forgotten.

Change-Id: If01a53d8c203ef82e54d0b440063a8dbebe7b14a

12 years agoMerge "Tale of status bar on crespo, part 2 Bug #6541079" into jb-dev
Romain Guy [Fri, 25 May 2012 18:43:13 +0000 (11:43 -0700)]
Merge "Tale of status bar on crespo, part 2 Bug #6541079" into jb-dev

12 years agoTale of status bar on crespo, part 2
Romain Guy [Fri, 25 May 2012 17:44:45 +0000 (10:44 -0700)]
Tale of status bar on crespo, part 2
Bug #6541079

In which a flood destroys flatland.

Change-Id: Ifd1913b645c08531b221b3e010c133f14bcfb0c2

12 years agoMerge "Fix delayed wifi shutdown" into jb-dev
Irfan Sheriff [Fri, 25 May 2012 17:31:46 +0000 (10:31 -0700)]
Merge "Fix delayed wifi shutdown" into jb-dev

12 years agoMerge "Tale of status bar on crespo, part 1 Bug #6541079" into jb-dev
Romain Guy [Fri, 25 May 2012 17:28:01 +0000 (10:28 -0700)]
Merge "Tale of status bar on crespo, part 1 Bug #6541079" into jb-dev

12 years agoMerge "Better support for HTML5 audio loop." into jb-dev
Teng-Hui Zhu [Fri, 25 May 2012 17:10:11 +0000 (10:10 -0700)]
Merge "Better support for HTML5 audio loop." into jb-dev

12 years agoMerge "Squelch the logs from SizeAdaptiveLayout." into jb-dev
Chris Wren [Fri, 25 May 2012 13:21:55 +0000 (06:21 -0700)]
Merge "Squelch the logs from SizeAdaptiveLayout." into jb-dev

12 years agoFix for IOOB in SearchView
Gilles Debunne [Fri, 25 May 2012 12:04:01 +0000 (14:04 +0200)]
Fix for IOOB in SearchView

Bug 6476578

The latest bug report show a query.length() of 33 while
mQueryTextView.length() is 0 on line 514.

I can see 2 reasons which can explain this discrepancy:
- the mQueryTextView has a filter, which alters the text.
- some asynchronous event (IME?) changes the text in the mean time.

I would favor the second one, which seems to break a lot of single
thread assumptions in the code and generates other IOOB exceptions.

Note that depending on what they are used for, it may be more consistent
to use mQueryTextView.getText() instead of query in the following
assignment.

Change-Id: Ie8a5486b11a80543f8f90980454933c5a74c073e

12 years agoFix delayed wifi shutdown
Vishal Mahaveer [Thu, 24 May 2012 19:03:36 +0000 (14:03 -0500)]
Fix delayed wifi shutdown

Use a wake up alarm to ensure delayed shut down message is sent

Bug: 5926285
Change-Id: I26a3353ddabb17d55299d8b5f9faf4c7ef5b2448
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
12 years agoDon't ANR on hover, scroll or if a window goes away.
Jeff Brown [Fri, 25 May 2012 01:57:32 +0000 (18:57 -0700)]
Don't ANR on hover, scroll or if a window goes away.

Prevents ANR on hover or scroll events.

Prevents ANR in the case where one finger touches a window which
is subsequently removed then a second finger comes along and tries
to touch something.

Change-Id: I985ccb70cd86659992328f14f8a705f3f05ea2e5

12 years agoTale of status bar on crespo, part 1
Romain Guy [Fri, 25 May 2012 02:13:56 +0000 (19:13 -0700)]
Tale of status bar on crespo, part 1
Bug #6541079

In which ghosts are more desirable than standing soldiers.

Change-Id: I92ec33fa344938eabe5adf6644683c7ab19ba8a5

12 years agoMerge "Fix 6535413: Fix overlapping controls in keyguard" into jb-dev
Jim Miller [Fri, 25 May 2012 01:45:24 +0000 (18:45 -0700)]
Merge "Fix 6535413: Fix overlapping controls in keyguard" into jb-dev

12 years agoFix 6535413: Fix overlapping controls in keyguard
Jim Miller [Wed, 23 May 2012 23:59:57 +0000 (16:59 -0700)]
Fix 6535413: Fix overlapping controls in keyguard

It appears that rendering order changed in recent builds.  The
transport control used to work in HC and ICS.  In any case, the fix
is to swap the positions of the two widgets, which ensures the
transport control appears on top of the status area.

Change-Id: I312d0a83e7bebbdc57f037e732e371538a781e86

12 years agoMerge "Unhide KeyguardManager locked and secure state getters" into jb-dev
Jean-Michel Trivi [Fri, 25 May 2012 01:27:37 +0000 (18:27 -0700)]
Merge "Unhide KeyguardManager locked and secure state getters" into jb-dev

12 years agoMerge "Support skipping a touch stream due to lack of handlers" into jb-dev
John Reck [Fri, 25 May 2012 01:11:36 +0000 (18:11 -0700)]
Merge "Support skipping a touch stream due to lack of handlers" into jb-dev

12 years agoUnhide KeyguardManager locked and secure state getters
Jean-Michel Trivi [Fri, 25 May 2012 00:13:06 +0000 (17:13 -0700)]
Unhide KeyguardManager locked and secure state getters

Unhide the following methods:
  android.app.KeyguardManager.isKeyguardLocked()
  android.app.KeyguardManager.isKeyguardSecure()

Fix some javadoc typos

Change-Id: Iedcd9f6a5261b7a3b47431edff013f629e1dc45d

12 years agoMerge "Fix 6547012: ignore events outside the home/back/recent navigation area" into...
Jim Miller [Fri, 25 May 2012 00:51:10 +0000 (17:51 -0700)]
Merge "Fix 6547012: ignore events outside the home/back/recent navigation area" into jb-dev

12 years agoMerge "Redraw all windows earlier in power on sequence." into jb-dev
Craig Mautner [Fri, 25 May 2012 00:48:44 +0000 (17:48 -0700)]
Merge "Redraw all windows earlier in power on sequence." into jb-dev

12 years agoFix 6547012: ignore events outside the home/back/recent navigation area
Jim Miller [Wed, 23 May 2012 22:50:04 +0000 (15:50 -0700)]
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

12 years agoMerge "Add debug for tracking down connectivity issues." into jb-dev
Wink Saville [Thu, 24 May 2012 23:05:18 +0000 (16:05 -0700)]
Merge "Add debug for tracking down connectivity issues." into jb-dev

12 years agoAdd debug for tracking down connectivity issues.
Wink Saville [Thu, 24 May 2012 22:44:01 +0000 (15:44 -0700)]
Add debug for tracking down connectivity issues.

bug: 6529189
Change-Id: I5dc4316ceacf48625f0839e0200b77a1e0984465

12 years agoRedraw all windows earlier in power on sequence.
Craig Mautner [Thu, 24 May 2012 18:28:26 +0000 (11:28 -0700)]
Redraw all windows earlier in power on sequence.

Send a message to all windows to redraw before notifying
PhoneWindowManager of screen on. This minimizes the delay in
screen update that causes the keyguard clock to display the old time
before displaying the current time.

Fixes bug 6381021.

Change-Id: Ida7071e7dac2284540f101c5d004511b52133b91

12 years agoSupport skipping a touch stream due to lack of handlers
John Reck [Thu, 24 May 2012 22:30:40 +0000 (15:30 -0700)]
Support skipping a touch stream due to lack of handlers

 Bug: 6317798

Change-Id: Ia1652e9030e877e270326e9e8a8b040810b89f09

12 years agoBetter support for HTML5 audio loop.
Teng-Hui Zhu [Thu, 24 May 2012 21:53:28 +0000 (14:53 -0700)]
Better support for HTML5 audio loop.

Loop is trigger by a seek to 0 when ended on native side but there is no play
call. So on java side, we detect this and call into native side to trigger a
play after completion.
This fixed the UI problem and keep in sync with the native mode.
Beyond that, we don't need to reload for looping and we don't have the seek
to play artifacts.

bug:5461143

webkit change:
https://android-git.corp.google.com/g/#/c/193750/

Change-Id: I779f3e1fbc789832a1a99d1f17823db6b57b35df

12 years agoMerge "Clear bitmap references from display lists as early as possible Bug #6555840...
Romain Guy [Thu, 24 May 2012 21:25:44 +0000 (14:25 -0700)]
Merge "Clear bitmap references from display lists as early as possible Bug #6555840" into jb-dev

12 years agoClear bitmap references from display lists as early as possible
Romain Guy [Thu, 24 May 2012 21:20:56 +0000 (14:20 -0700)]
Clear bitmap references from display lists as early as possible
Bug #6555840

Apps like Google+ with large bitmaps displayed in listivews could
run into memory issues because of these references.

Change-Id: I39486bda13ce00c5a3b6481139ad54547506a8b4

12 years agoMerge "Modify logging to debug this issue" into jb-dev
Robert Greenwalt [Thu, 24 May 2012 19:27:23 +0000 (12:27 -0700)]
Merge "Modify logging to debug this issue" into jb-dev

12 years agoMerge "AudioManager: restore setBluetoothA2dpOn() method" into jb-dev
Eric Laurent [Thu, 24 May 2012 18:39:36 +0000 (11:39 -0700)]
Merge "AudioManager: restore setBluetoothA2dpOn() method" into jb-dev

12 years agoMerge "Advise persist threshold outside NPMS lock." into jb-dev
Jeff Sharkey [Thu, 24 May 2012 18:38:12 +0000 (11:38 -0700)]
Merge "Advise persist threshold outside NPMS lock." into jb-dev

12 years agoModify logging to debug this issue
Robert Greenwalt [Tue, 22 May 2012 23:07:46 +0000 (16:07 -0700)]
Modify logging to debug this issue

Logging exec time on startUsingNetworkFeature as we've had some reports suggesting it's
causing ANRs.
Remove some logging from NDC so it's local log is more useful.

bug:6492166
Change-Id: I258ff6c59bff2c65935242d50496d84720c5d493

12 years agoMerge "Fix bug #6522190 MountService should respond to configuration changes ("INTERN...
Fabrice Di Meglio [Thu, 24 May 2012 17:42:23 +0000 (10:42 -0700)]
Merge "Fix bug #6522190 MountService should respond to configuration changes ("INTERNAL STORAGE" string should be translated dynamically)" into jb-dev

12 years agoAdvise persist threshold outside NPMS lock.
Jeff Sharkey [Thu, 24 May 2012 17:21:16 +0000 (10:21 -0700)]
Advise persist threshold outside NPMS lock.

Bug: 6492166
Change-Id: Ibebdc7e9b8cae27c12fd7b61b53ab60287a0364d

12 years agoMerge "Use setCustomSelectActionModeCallback to disallow action bar." into jb-dev
George Mount [Thu, 24 May 2012 16:53:17 +0000 (09:53 -0700)]
Merge "Use setCustomSelectActionModeCallback to disallow action bar." into jb-dev

12 years agoMerge "Make the WebCore thread watchdog opt in." into jb-dev
Ben Murdoch [Thu, 24 May 2012 16:30:10 +0000 (09:30 -0700)]
Merge "Make the WebCore thread watchdog opt in." into jb-dev

12 years agoMerge "Fix 6449259: FUL no longer overlaps music controls" into jb-dev
Brian Colonna [Thu, 24 May 2012 15:50:58 +0000 (08:50 -0700)]
Merge "Fix 6449259: FUL no longer overlaps music controls" into jb-dev

12 years agoUse setCustomSelectActionModeCallback to disallow action bar.
George Mount [Wed, 23 May 2012 23:55:46 +0000 (16:55 -0700)]
Use setCustomSelectActionModeCallback to disallow action bar.

 Bug 5993716
 Use setCustomSelectActionModeCallback rather than
 setLongClickListener to disallow custom action block so
 that long press can bring up the paste window.

Change-Id: I916e77dcea7914c02191f0ecda37cd126318807d

12 years agoMake the WebCore thread watchdog opt in.
Ben Murdoch [Thu, 24 May 2012 12:01:57 +0000 (13:01 +0100)]
Make the WebCore thread watchdog opt in.

Add a setting on WebViewCore to control whether we monitor
the responsiveness of the WebCore thread. Default is not
to monitor.

Bug: 6447214
Change-Id: Ia95e5c769d458dcd24ae50660b2f22e93851956f

12 years agoFix the issue on matching the locale in TextServicesManagerService
satok [Thu, 24 May 2012 09:10:37 +0000 (18:10 +0900)]
Fix the issue on matching the locale in TextServicesManagerService

Bug: 6542210

Change-Id: I42d84b684d5689e8fceecb705bb51d19d847477a

12 years agoUse correct spell check locale
satok [Thu, 24 May 2012 07:52:54 +0000 (16:52 +0900)]
Use correct spell check locale

Bug: 6542210
Change-Id: I414aa2321f30e396996d90fb8e90c1dbb3bb7b9e

12 years agoMerge "Change method of tracking moving AppWindowTokens." into jb-dev
Craig Mautner [Thu, 24 May 2012 01:30:25 +0000 (18:30 -0700)]
Merge "Change method of tracking moving AppWindowTokens." into jb-dev

12 years agoMerge "Fix jank when launching apps that show wallpaper." into jb-dev
Craig Mautner [Thu, 24 May 2012 01:29:39 +0000 (18:29 -0700)]
Merge "Fix jank when launching apps that show wallpaper." into jb-dev

12 years agoMerge "Fix bad aspect ratios for recorded effects" into jb-dev
Wu-cheng Li [Thu, 24 May 2012 00:57:23 +0000 (17:57 -0700)]
Merge "Fix bad aspect ratios for recorded effects" into jb-dev

12 years agoMerge "Fix a bug with deferred position scrolling in lists while data changes are...
Adam Powell [Thu, 24 May 2012 00:49:21 +0000 (17:49 -0700)]
Merge "Fix a bug with deferred position scrolling in lists while data changes are pending" into jb-dev

12 years agoFix a bug with deferred position scrolling in lists while data changes
Adam Powell [Thu, 24 May 2012 00:22:49 +0000 (17:22 -0700)]
Fix a bug with deferred position scrolling in lists while data changes
are pending

Save the pending position scroll until the data change is actually
serviced before posting it to run. This avoids handler loops on
GONE subtrees or when the view is detached.

Bug 6547649

Change-Id: Iab108cfcb7dd11ece703762d311a5f5985f38c3b

12 years agoChange method of tracking moving AppWindowTokens.
Craig Mautner [Wed, 16 May 2012 06:01:47 +0000 (23:01 -0700)]
Change method of tracking moving AppWindowTokens.

Stop trying to keep track of the AppTokens that have been moved
to the top and bottom and then try and match the WindowStates when
transitions are goodToGo. Instead rebuild the WindowState order based
on the AppToken order when we are goodToGo.

When moving AppWindowTokens lower in mAppTokens create a new ArrayList
of AppWindowTokens to keep track of the apps in Z order while
animating.

Fixes bug 6481078.

Change-Id: I29b33a507b45752f15feb10a9f4b47a3f5eb9f0e

12 years agoFix jank when launching apps that show wallpaper.
Craig Mautner [Wed, 23 May 2012 23:57:23 +0000 (16:57 -0700)]
Fix jank when launching apps that show wallpaper.

Do not create a StartingWindow for apps that show wallpaper.
Fix handling of obscure case where found wallpaper is hidden.

Fixes bug 6484034.

Change-Id: I07181c4aea56fa9e530df0c95d886fe8ad61ec9d

12 years agoFix bad aspect ratios for recorded effects
Pannag Sanketi [Tue, 22 May 2012 01:08:35 +0000 (18:08 -0700)]
Fix bad aspect ratios for recorded effects

Fix b/6530189
Fix b/6535207
Change-Id: I6ef09bd619acc31af53d9991335cda33b7c08908

12 years agoFix bug #6522190 MountService should respond to configuration changes ("INTERNAL...
Fabrice Di Meglio [Sat, 19 May 2012 01:08:58 +0000 (18:08 -0700)]
Fix bug #6522190 MountService should respond to configuration changes ("INTERNAL STORAGE" string should be translated dynamically)

- use an ID instead of a String for StorageVolume description
- use this ID for getting the correct localized version of the description string

Change-Id: I30f3080fce2c889be38bfdf9f5121dffcf8a99e8

12 years agoMerge "ActivityChooser view not handling its removal and relayout properly." into...
Svetoslav Ganov [Wed, 23 May 2012 23:06:47 +0000 (16:06 -0700)]
Merge "ActivityChooser view not handling its removal and relayout properly." into jb-dev

12 years agoMerge "Make it harder for apps to mess up ViewGroup's internal state Bug #6421288...
Romain Guy [Wed, 23 May 2012 22:49:50 +0000 (15:49 -0700)]
Merge "Make it harder for apps to mess up ViewGroup's internal state Bug #6421288" into jb-dev

12 years agoActivityChooser view not handling its removal and relayout properly.
Svetoslav Ganov [Wed, 23 May 2012 22:21:10 +0000 (15:21 -0700)]
ActivityChooser view not handling its removal and relayout properly.

1. ActivityChooserView did not hide the popup window when detached.

bug:6544220

2. ActivityChooserView was calling show popup when it was already
   showing it resulting in an incrrect update and losing one item
   per rotation.

bug:6522041

Change-Id: Iec1682ca5d27e38caf57214fa86060edf82a2166

12 years agoMerge "System accessibility state update postponed if UI test autmation is running...
Svetoslav Ganov [Wed, 23 May 2012 22:19:04 +0000 (15:19 -0700)]
Merge "System accessibility state update postponed if UI test autmation is running." into jb-dev

12 years agoMerge "Show caret handle when clicking in the middle of text." into jb-dev
George Mount [Wed, 23 May 2012 21:50:23 +0000 (14:50 -0700)]
Merge "Show caret handle when clicking in the middle of text." into jb-dev

12 years agoMerge "Avoid running layout transitions on unattached views and windows" into jb-dev
Chet Haase [Wed, 23 May 2012 21:48:43 +0000 (14:48 -0700)]
Merge "Avoid running layout transitions on unattached views and windows" into jb-dev

12 years agoMake it harder for apps to mess up ViewGroup's internal state
Romain Guy [Wed, 23 May 2012 03:21:08 +0000 (20:21 -0700)]
Make it harder for apps to mess up ViewGroup's internal state
Bug #6421288

Change-Id: I8c2c597f45391d3c1ae40c8341a68bb25d8ad4d9

12 years agoFor 720dp devices, less motion during task-to-task transition.
Brandon Keely [Wed, 23 May 2012 00:44:21 +0000 (17:44 -0700)]
For 720dp devices, less motion during task-to-task transition.

Change-Id: I18e50bc7d154b0587f7181e06c8348a47125c5c7

12 years agoSquelch the logs from SizeAdaptiveLayout.
Chris Wren [Wed, 23 May 2012 21:15:34 +0000 (17:15 -0400)]
Squelch the logs from SizeAdaptiveLayout.

Bug: 6540109
Change-Id: I52bd64e2f5d1b2f02ef7e956ddf1340fb9b2aff3

12 years agoAvoid running layout transitions on unattached views and windows
Chet Haase [Wed, 23 May 2012 20:28:22 +0000 (13:28 -0700)]
Avoid running layout transitions on unattached views and windows

LayoutTransition causes artifacts in some situations where a window is just
becoming visible or a container is just being added to the view tree when animations
are kicked off in LayoutTransition due to the normal automatic mechanism of running
animations when views are added/removed/etc. The problem is that containers in these
situations may have children with positions and sizes of (0, 0), causing the animation to
animate from this default/nonsense value to whatever is appropriate for the views when
they are first laid out and drawn. The end result is correct, but the animation is
superfluous and silly.

The fix is to avoid running any kind of transition animation on windows that are not
currently visible or containers that are not currently atached to the view hierarchy.
This should avoid the situation by only allowing the animations to run after the containers
and windows are visible and set up correctly.

Issue #6544410 issue with layout transition when first showing the activity

Change-Id: I737b2598887ef806dec3b02a483a8e8ff2c3d4e2

12 years agoShow caret handle when clicking in the middle of text.
George Mount [Wed, 23 May 2012 21:01:44 +0000 (14:01 -0700)]
Show caret handle when clicking in the middle of text.

 Bug 6545325

Change-Id: Ibea6daca1da12eec38b05f7f451561d31bb3c983

12 years agoFix 6449259: FUL no longer overlaps music controls
Brian Colonna [Wed, 23 May 2012 20:33:08 +0000 (16:33 -0400)]
Fix 6449259: FUL no longer overlaps music controls

When Face Unlock was used with pattern backup on a Prime, it was
partially covering the lockscreen music controls that appear when
music is playing.

This makes Face Unlock take up slightly less area when using pattern
backup on phones in portrait layout, regardless of whether the music
controls are showing.  Eventually I would like to make it still use
the full area when the music controls aren't showing, but this is the
safest possible fix for JB and looks ok.

Change-Id: Ib2af440ed0f2729dfff9b58cd154efad43ef5499

12 years agoMerge "BigPicture notifications for screenshots." into jb-dev
Chris Wren [Wed, 23 May 2012 20:32:53 +0000 (13:32 -0700)]
Merge "BigPicture notifications for screenshots." into jb-dev

12 years agoMerge "Leave less space between notificaitons." into jb-dev
Chris Wren [Wed, 23 May 2012 20:32:34 +0000 (13:32 -0700)]
Merge "Leave less space between notificaitons." into jb-dev

12 years agoSystem accessibility state update postponed if UI test autmation is running.
Svetoslav Ganov [Wed, 23 May 2012 18:52:36 +0000 (11:52 -0700)]
System accessibility state update postponed if UI test autmation is running.

1. If a UI test automation accessibility service is connected to the
   system we pospone state updates in the AccessibilityManagerService
   for the moment the UI automations service dies or is disconnected.

bug:6540522

Change-Id: I48ddf603b53d2158a00edcf8ad05cfe2575d4d75

12 years agoMerge "Modify auto brightness to return to dim level." into jb-dev
Craig Mautner [Wed, 23 May 2012 18:22:04 +0000 (11:22 -0700)]
Merge "Modify auto brightness to return to dim level." into jb-dev

12 years agoMerge "Stop animating when not showing." into jb-dev
Daniel Sandler [Wed, 23 May 2012 18:05:02 +0000 (11:05 -0700)]
Merge "Stop animating when not showing." into jb-dev

12 years agoMerge "Remove Popup immediately rather than defer it." into jb-dev
Craig Mautner [Wed, 23 May 2012 17:47:46 +0000 (10:47 -0700)]
Merge "Remove Popup immediately rather than defer it." into jb-dev

12 years agoRemove Popup immediately rather than defer it.
Craig Mautner [Wed, 23 May 2012 15:48:39 +0000 (08:48 -0700)]
Remove Popup immediately rather than defer it.

Delaying the popup by using removeView instead of removeViewImmediate
caused an error when the removal was actually executed after the parent
window was deleted along with the popup.

Fixes bug 6407801.

Change-Id: Ieb17d58467aaf16e1a24f47187f52766d694ba32

12 years agoLeave less space between notificaitons.
Chris Wren [Wed, 23 May 2012 15:14:19 +0000 (11:14 -0400)]
Leave less space between notificaitons.

Bug: 6507482
Change-Id: I9244fcabe423ec59e1856f5fddcd948ea7b3374d

12 years agoMerge "Handle _ and % in paths" into jb-dev
Marco Nelissen [Wed, 23 May 2012 14:43:20 +0000 (07:43 -0700)]
Merge "Handle _ and % in paths" into jb-dev

12 years agoStop animating when not showing.
Daniel Sandler [Wed, 23 May 2012 04:49:48 +0000 (00:49 -0400)]
Stop animating when not showing.

We were eating too many jelly beans even when the screen was
off.

Also clean up touch offsets, rotation on fling, and main
platlogo asset.

Bug: 6541052
Change-Id: I34e49b8b7a95ce6daab929885130426a5ae58dc4

12 years agoMerge "Interaction model of KeyboarView should be same as latimIME" into jb-dev
Svetoslav Ganov [Wed, 23 May 2012 03:28:23 +0000 (20:28 -0700)]
Merge "Interaction model of KeyboarView should be same as latimIME" into jb-dev

12 years agoMerge "Clearing accessibility focus of a view did not update the global state." into...
Svetoslav Ganov [Wed, 23 May 2012 03:26:29 +0000 (20:26 -0700)]
Merge "Clearing accessibility focus of a view did not update the global state." into jb-dev

12 years agoInteraction model of KeyboarView should be same as latimIME
Svetoslav Ganov [Wed, 23 May 2012 02:46:57 +0000 (19:46 -0700)]
Interaction model of KeyboarView should be same as latimIME

1. In latin IME key up types in - now the keyboad view does the same.

bug:6534935

Change-Id: I91cd40c5cd541199f3fb43e4d0bf26be511dcd09

12 years agoMerge "Add media directory, hidden for now." into jb-dev
Jeff Sharkey [Wed, 23 May 2012 02:10:32 +0000 (19:10 -0700)]
Merge "Add media directory, hidden for now." into jb-dev

12 years agoClearing accessibility focus of a view did not update the global state.
Svetoslav Ganov [Wed, 23 May 2012 01:37:49 +0000 (18:37 -0700)]
Clearing accessibility focus of a view did not update the global state.

1. The code in clear accessibility focus was not updaing the global
   accessibility focus reference in view root if the view not a
   descendant has accessibility focus.

bug:6382856

Change-Id: I0c99578b5afd1f1f5d0df5bba05b0a03b5951a43

12 years agoMerge "Perform an action in AccessibilityManagerSerivce using wrong process id."...
Svetoslav Ganov [Wed, 23 May 2012 01:26:44 +0000 (18:26 -0700)]
Merge "Perform an action in AccessibilityManagerSerivce using wrong process id." into jb-dev

12 years agoAdd media directory, hidden for now.
Jeff Sharkey [Wed, 23 May 2012 01:25:32 +0000 (18:25 -0700)]
Add media directory, hidden for now.

Bug: 6539384
Change-Id: I8f3f7b92d27f15e82a43bb2fec02f2d9ed0280e1

12 years agoMerge "Fix issue #6521829: Sometimes action bar disappears in gallery" into jb-dev
Dianne Hackborn [Wed, 23 May 2012 01:23:41 +0000 (18:23 -0700)]
Merge "Fix issue #6521829: Sometimes action bar disappears in gallery" into jb-dev

12 years agoPerform an action in AccessibilityManagerSerivce using wrong process id.
Svetoslav Ganov [Wed, 23 May 2012 00:43:23 +0000 (17:43 -0700)]
Perform an action in AccessibilityManagerSerivce using wrong process id.

1. We are passing the interrogating process id in the remote
   accessibility requests to catch the query from the same
   thread. While all other methods were doing this correctly
   somehow the perform action is using the incorrect process id.

bug:6534935

Change-Id: Icef50833903c562758d51ef316b60c53c7a336c0

12 years agoMerge "Fix 6539117: Fix layout issues on 600dp device." into jb-dev
Jim Miller [Wed, 23 May 2012 01:07:08 +0000 (18:07 -0700)]
Merge "Fix 6539117: Fix layout issues on 600dp device." into jb-dev

12 years agoFix issue #6521829: Sometimes action bar disappears in gallery
Dianne Hackborn [Wed, 23 May 2012 01:03:20 +0000 (18:03 -0700)]
Fix issue #6521829: Sometimes action bar disappears in gallery

Change-Id: Ieb1f1fd0ebb87037cda94e1e1d6e2ca9a9c0754e