56333 Commits

Author SHA1 Message Date
James Dong
2c8e8508d2 Fix initial 0 duration video sample in the recorded videos
o Patch suggested by pmehendale@nvidia.com

Change-Id: Ibf516ba83b721b0d0ab55bb7637fe9b7b2958214
related-to-bug: 5117434
2011-08-09 11:17:49 -07:00
Romain Guy
95b0292fb4 Merge "Fix for bug 5115066 Handler override of toString() hides derived class name" 2011-08-09 11:14:50 -07:00
James Dong
0ed837a7a3 Merge "Do not release recording frames if camera is gone" 2011-08-09 11:14:06 -07:00
Dianne Hackborn
70a3f677bf Fix issue #5016544: IME keyboard hides folder rename text field.
Tweak some issues in TextView with the focus rect used to determing
where the scroll position needs to be.  The ultimate problem was that
in various situations it would use the right-most selection position
cursor as the scroll location and when it adds 1 to make this a valid
rect we end up with a rectangle that is outside of the view.

Change-Id: Ia200c58e4e014d2a0a1be4761f9a1e5eb702a8e5
2011-08-09 11:11:25 -07:00
Kenny Root
461ff1f03c Add security checks for new API
Bug: 5137679
Change-Id: Ic0c1e0cf2960a7062ba318b60ee2c92506f6aab6
2011-08-09 11:08:34 -07:00
Marco Nelissen
4332168439 Merge "Keep effects sessions active when the caller dies." 2011-08-09 11:02:26 -07:00
Dianne Hackborn
6ae7ba3230 Merge "Improve window manager debug output." 2011-08-09 10:41:45 -07:00
Gilles Debunne
1f6ac8b1e0 Merge "Handles' position are updated in case of external change." 2011-08-09 10:22:15 -07:00
Gilles Debunne
b932146135 Merge "The PASTE action is always displayed, even when starting a selection" 2011-08-09 10:22:02 -07:00
Marco Nelissen
c74b93fdf3 Keep effects sessions active when the caller dies.
Don't remove effects until the session they are in goes away or all
AudioEffects have been explicitly released. This allows the control
panel process to die without stopping the effects.

Change-Id: I4496e5df080230ca1af149dec95c1309ab8ea888
2011-08-09 10:21:10 -07:00
Daniel Sandler
8d3c234407 Fix obviously broken DateTimeView.onAttachedToWindow().
Change-Id: I6b9e948d26b4c22b4520ca48b71c1f7e45ca7899
2011-08-09 13:10:20 -04:00
Kristian Monsen
588d8560b3 Fix for bug 5115066 Handler override of toString() hides derived class name
Dynamically getting the class name.

Change-Id: I3140bee67ee2e5a1790e53cf4dfc240d3bb25218
2011-08-09 16:27:06 +01:00
Justin Ho
a4418e0fd9 Merge "Scrollbar handle from gingerbread Bug: 5076695" 2011-08-09 07:36:26 -07:00
Chet Haase
aebd5471ac Merge "Fix ViewPropertyAnimator duration and startDelay issues" 2011-08-09 06:47:07 -07:00
Flavio Lerda
270f930ce8 Add geocoded location to call log.
Since computing the geocoded location is an expensive operation, add the
geocoded location once and for all when inserting in the call log.

Bug: 5129581
Change-Id: I6017c993a52b461eed395ce5e5a9373018e2087a
2011-08-09 12:01:13 +01:00
Wu-cheng Li
08a907149e Merge "Unhide camera recording hint API." 2011-08-09 02:54:07 -07:00
Adam Powell
50d3c667eb Merge "Fix bug 5135608 - Let AbsListView take focus while detached" 2011-08-09 00:03:16 -07:00
Adam Powell
b3750133db Fix bug 5135608 - Let AbsListView take focus while detached
While it is valid to request focus while detached from a window,
AbsListView did not handle it gracefully if it had an adapter whose
data changed while the view was detached, since DataSetObservers are
unregistered during this time. Assume that the data could have changed
if we gain focus while detached.

Change-Id: Id135693ffcc48ff5a9d530d335ab449180624c43
2011-08-08 23:50:25 -07:00
Mathias Agopian
43a3d91dff free all buffers when ANativeWindow::disconnect is called
Change-Id: Ie06e73e5b44398cda9e99876f78175b5eef765dc
2011-08-08 20:25:45 -07:00
Mathias Agopian
053b02df2d return correct value from query after connecting a surface
the first time a surface was connected, the values returned
by query NATIVE_WINDOW_DEFAULT_{WIDTH|HEIGHT} and
NATIVE_WINDOW_TRANSFORM_HINT were wrong until a call
to queueBuffer was performed.

Bug: 5137366, 5121607
Change-Id: I7ac6b5b0daa876638f6bed7c20f286a6e6d984f6
2011-08-08 20:25:44 -07:00
Mathias Agopian
fc4ba11415 Merge "improve dumpsys SurfaceFlinger output" 2011-08-08 20:13:16 -07:00
Mathias Agopian
03edb5d6a6 Merge "add some logs to track a crash in eglCreateImageKHR" 2011-08-08 19:39:58 -07:00
Mathias Agopian
95dfd05c2c add some logs to track a crash in eglCreateImageKHR
Bug: 5111008

Change-Id: I3e7f5b986151e80cbded39e0dec057770da52fc1
2011-08-08 19:36:22 -07:00
Dianne Hackborn
a44abeb125 Improve window manager debug output.
Cleaned this up while I was debugging another issue.

Change-Id: I0663b9ed581c6868b59655a0f994d870971ec1a6
2011-08-08 19:24:28 -07:00
Fabrice Di Meglio
6ab90ed017 Solidify and optimize Paint text related APIs
- better check parameters consistency
- return calls as soon as possible (when null or empty text)

Change-Id: I46744e517b04e3fba0ec37132d7de400177f214b
2011-08-08 18:52:27 -07:00
Chia-chi Yeh
d0d85f26cb Unhide APIs for user space VPN.
Change-Id: I6f9ddb3fffe9e10cc2d34dda3ae8700b1af7e470
2011-08-08 18:26:28 -07:00
Chia-chi Yeh
89c95a0da8 VPN: remove unused protected intent.
Change-Id: Id58f81d5f50a13a1fb422eafe66fa512047f9b05
2011-08-08 18:17:53 -07:00
Chet Haase
cbbd93ae70 Fix ViewPropertyAnimator duration and startDelay issues
getDuration() wasn't returning the correct thing in some cases, and
setStartDelay() had no effect whatsoever. Fixed those.

Change-Id: I89f930535ec1acddf57227937a9ad64986548998
2011-08-08 17:34:25 -07:00
Irfan Sheriff
14f3ae7fe0 Avoid turning off wifi tethering on interface down
The hostapd daemon can bring down an interface, followed by immediately bringing it up
and this results in us turning off tethering completely.

Wait for the right notification to enter tethered state after brining up hostapd.

Bug: 5135245
Change-Id: I95c8c0c4c2c99c03fce2d18c014eaff37ed4e762
2011-08-08 17:06:35 -07:00
Jim Miller
c61f888298 Fix 5044158: Fix lockscreen layout issues
Fixes issue where long OwnerInfo text would squeeze the unlock widget
out of the view in landscape modes.

Use suggestionsEnabled flag to remove suggestion popup from passwordEntry TextView.

Change-Id: I5d6f37fe4b0edddb1af85bd14657ad4a4e6ed09d
2011-08-08 17:01:42 -07:00
Justin Ho
c9e7b22aa2 Scrollbar handle from gingerbread
Bug: 5076695

Change-Id: I6c4067b68c901eb0a0c3dda89e036689cd38486d
2011-08-08 16:19:47 -07:00
Andreas Huber
a00b97c94e Merge "Notify the OMX component that it's going to be used in "secure" mode." 2011-08-08 16:17:21 -07:00
Justin Ho
f6a241fc21 Merge "Updated scrollbar handle Bug: 5076695" 2011-08-08 16:14:15 -07:00
Justin Ho
2d21f32bf3 Updated scrollbar handle
Bug: 5076695

Change-Id: I6be007a67541273a41a582f85d4dbb97d9281782
2011-08-08 16:13:26 -07:00
Stephen Hines
514a0b3612 Merge "Migrate perf-critical functions away from librs." 2011-08-08 16:12:56 -07:00
Mathias Agopian
0c3367f1bb improve dumpsys SurfaceFlinger output
we now output the handle and size of all buffers of each layer.

Change-Id: I8d011ee4ae9199f4198bd07bed770ec3bcf02986
2011-08-08 16:02:13 -07:00
Jason Sams
f7c8f9f501 Merge "Add RS docs for rs_core.rsh" 2011-08-08 16:02:12 -07:00
Justin Ho
b2adc9005e Merge "Bug 5080369: merging new assets" 2011-08-08 15:56:38 -07:00
Jason Sams
d1bfd12704 Add RS docs for rs_core.rsh
Change-Id: Ic961138b2ce7730b38c7673e83c8891407580306
2011-08-08 15:54:14 -07:00
Justin Ho
9d54a3dfbe Merge "Removing unused spinner_active Bug: 5076695" 2011-08-08 15:53:06 -07:00
Justin Ho
bbca4c1277 Merge "Updated switches Bug: 5076695" 2011-08-08 15:52:14 -07:00
Justin Ho
f44335f3dd Updated switches
Bug: 5076695

Change-Id: I003c279b8aa7914923c669f465c9a9ddf645972e
2011-08-08 15:39:40 -07:00
Andreas Huber
7616178271 Notify the OMX component that it's going to be used in "secure" mode.
Change-Id: Id87c4b295eb38f7d24045918e73df298d7b842f9
related-to-bug: 5137212
2011-08-08 15:28:21 -07:00
Chet Haase
4295ca00e1 Merge "Fix cancellation of AnimatorSet when child animation has delay" 2011-08-08 15:13:12 -07:00
Romain Guy
06db72d5f8 Merge "Don't draw more than what we need." 2011-08-08 15:09:27 -07:00
Stephen Hines
e004058419 Migrate perf-critical functions away from librs.
BUG=3497315

Change-Id: Ieaa0d64933767d422aa62740d72b31042dcd4a2f
2011-08-08 15:09:10 -07:00
Eric Fischer
9b3ef020f0 Merge "Import revised translations." 2011-08-08 15:07:58 -07:00
Chet Haase
8b699792b6 Fix cancellation of AnimatorSet when child animation has delay
Previously, AnimatorSet incorrectly checked whether child animations were
'running' to figure out what to cancel. If a child animation was started, but
sitting in a startDelay phase, it was not 'running', so the right cancel/end
events would not propagate.

The fix is to add a new isStarted() API to Animator, which returns true when
the animator has started (but not yet ended), regardless of whether the animator
has a startDelay or not. It's basically a superset of the existing isRunning()
method, which only returns true when an animator has actually started setting values.

Change-Id: I126814cb6637b58295b6d18d9b155235671f99be
2011-08-08 15:05:53 -07:00
Adam Powell
68c5f17c53 Merge "Fix bug 5116434 - Bookmark label is not highlighted." 2011-08-08 15:00:32 -07:00
Romain Guy
c3166e15f8 Don't draw more than what we need.
Change-Id: Ifeac66d379a48e8a1124188125e029421eb24226
2011-08-08 15:00:03 -07:00