Commit Graph

30226 Commits

Author SHA1 Message Date
Fabrice Di Meglio
bb42f521dd am 7384db20: Merge "Fix bug #8052320 RelativeLayout is not having the correct width when in RTL mode - part 2"
* commit '7384db20b82b829d0e52642a58475846a27c0ca4':
  Fix bug #8052320 RelativeLayout is not having the correct width when in RTL mode - part 2
2013-01-22 13:21:31 -08:00
Fabrice Di Meglio
7384db20b8 Merge "Fix bug #8052320 RelativeLayout is not having the correct width when in RTL mode - part 2" 2013-01-22 21:17:36 +00:00
Fabrice Di Meglio
547261320c Fix bug #8052320 RelativeLayout is not having the correct width when in RTL mode - part 2
This is a fix for  RelativeLayout in RTL mode

- visible effect: wrong positioning of components
- the width computation (first pass) in RTL mode was wrong: it was missing the application
of the horizontal rules before measuring the children horizontally. This is now doing the
same as the normal LTR pass (except positioning the component which is done in the second
pass)

See related issue:

bug #8051633 Recent Apps thumbnails in RTL mode (Arabic / Hebrew / Farsi) should be aligned

Change-Id: I710de1a504bec8743f8e3c13f6ff850055edb2d2
2013-01-22 13:14:08 -08:00
Derek Sollenberger
2a17755d0a am 0d7ddce1: Merge "Update version for serialized view (e.g. Saved Page)."
* commit '0d7ddce1784f106077484fee60f0565bc5b979f0':
  Update version for serialized view (e.g. Saved Page).
2013-01-22 12:27:01 -08:00
Derek Sollenberger
0d7ddce178 Merge "Update version for serialized view (e.g. Saved Page)." 2013-01-22 20:21:13 +00:00
Przemyslaw Szczepaniak
437932b972 am 9c4012b3: Make TextToSpeech.shutdown() work before init callback.
* commit '9c4012b31b0c09cb14689bd96a71aae42c8a00cd':
  Make TextToSpeech.shutdown() work before init callback.
2013-01-22 09:25:36 -08:00
Przemyslaw Szczepaniak
9c4012b31b Make TextToSpeech.shutdown() work before init callback.
TextToSpeech.shutdown() never worked properly if was called before receiving
onServiceConnected in connection object. Also, due to recent changes,
TextToSpeech.shutdown() did not work until async task created in
onServiceConnected returned its result to the main thread.

This change makes .shutdown() work in all those cases. To allow that
runAction can now execute code with connection that's not fully setuped
- so we can shutt it down. Also, newly created connection is now hold in
new member variable mConnectingServiceConnection, so it can be closed
before receiving onServiceConnected callback.

Also, I changed name of OnServiceConnectedAsyncTask to
SetupConnectionAsyncTask, I find it more descriptive.

Bug: 8003757
Change-Id: I41d84cfdb8fa28fe44235fb4a9764fa8f3d0643c
2013-01-22 17:20:37 +00:00
Dianne Hackborn
d9c71435ca am cc743347: Merge "New API to get app op information about a single package."
* commit 'cc7433470f00fac3bbe7835de3ded4b9bf121244':
  New API to get app op information about a single package.
2013-01-18 18:51:48 -08:00
Dianne Hackborn
72e3983d38 New API to get app op information about a single package.
Change-Id: I986453d9bb4161da467fb820b12502464e936483
2013-01-18 18:36:09 -08:00
Jeff Sharkey
51ee44303f am e95724ae: Merge "Add LongSparseLongArray with tests."
* commit 'e95724aebec3a4a121fde3dfba761b80d2cd6922':
  Add LongSparseLongArray with tests.
2013-01-18 17:10:39 -08:00
Jeff Sharkey
e95724aebe Merge "Add LongSparseLongArray with tests." 2013-01-19 01:07:54 +00:00
Jeff Sharkey
dda73b5dcd Add LongSparseLongArray with tests.
Change-Id: Iae32ba7647601c587e30834379d7d3c2235c75b0
2013-01-18 16:59:14 -08:00
Robert Greenwalt
02f63f77c2 am 20da885c: Merge "Revert "Second pass tying into dns cache per interface""
* commit '20da885caa27ee8148c61be0ff56451ad6bf8146':
  Revert "Second pass tying into dns cache per interface"
2013-01-18 16:39:07 -08:00
Robert Greenwalt
20da885caa Merge "Revert "Second pass tying into dns cache per interface"" 2013-01-19 00:36:12 +00:00
Robert Greenwalt
63837f455d Revert "Second pass tying into dns cache per interface"
This reverts commit f60f94a89e

Change-Id: If52dffd5100a6b03275da0eabfa05e24c5ecada9
2013-01-19 00:34:07 +00:00
Dianne Hackborn
c152e16b07 am 8fea4e72: Merge "Rework ParceledListSlice to be much easier to use."
* commit '8fea4e72e4dcff9fa76168b9e26cf5907102f70b':
  Rework ParceledListSlice to be much easier to use.
2013-01-18 16:20:40 -08:00
Dianne Hackborn
8fea4e72e4 Merge "Rework ParceledListSlice to be much easier to use." 2013-01-19 00:18:40 +00:00
Kristian Monsen
53277e977d am 21af9258: Merge "Better detecting if current threasd is main thread"
* commit '21af9258f37dd9ea9e9ae66ce609d104faac48d6':
  Better detecting if current threasd is main thread
2013-01-18 16:01:50 -08:00
Kristian Monsen
21af9258f3 Merge "Better detecting if current threasd is main thread" 2013-01-18 23:58:33 +00:00
Ben Murdoch
ba900bf947 am 03d366e8: Merge "Refactor FindActionModeCallback."
* commit '03d366e89c11352aa0ba3ff7038f371211d1ce4e':
  Refactor FindActionModeCallback.
2013-01-18 15:29:13 -08:00
Ben Murdoch
03d366e89c Merge "Refactor FindActionModeCallback." 2013-01-18 23:26:12 +00:00
Ben Murdoch
52c9f7f950 Refactor FindActionModeCallback.
Refactor FindActionModeCallback to make it more suitable
for sharing between WebViewClassic and WebViewChromium.

Bug=5006564

Change-Id: Ic3156eb50f99033a17ba3f83d0b4f39ba992afa8
2013-01-18 23:18:09 +00:00
Kristian Monsen
0a30328c10 Better detecting if current threasd is main thread
Old approach got broken after:
https://googleplex-android-review.googlesource.com/#/c/266421/2

Change-Id: I12ae23efdbaebd8ba24acb1b7eff75c912d24f1d
2013-01-18 14:50:07 -08:00
Dake Gu
ef1215d98b am ebf7c743: am 85a06152: am fe88f1be: Merge "Fix bug of SimulatedTrackball" into jb-mr1-aah-dev
* commit 'ebf7c74361baefb826591bd90cdacd9244a2eb59':
  Fix bug of SimulatedTrackball
2013-01-18 14:08:22 -08:00
Dake Gu
ebf7c74361 am 85a06152: am fe88f1be: Merge "Fix bug of SimulatedTrackball" into jb-mr1-aah-dev
* commit '85a06152ce9b7d3a198639eb1918a9c2a3fd34d4':
  Fix bug of SimulatedTrackball
2013-01-18 14:01:57 -08:00
Dake Gu
85a06152ce am fe88f1be: Merge "Fix bug of SimulatedTrackball" into jb-mr1-aah-dev
* commit 'fe88f1be3d197987a874f6c29fefdeb11db183f6':
  Fix bug of SimulatedTrackball
2013-01-18 13:26:02 -08:00
Dianne Hackborn
d8e1dbb6bc Rework ParceledListSlice to be much easier to use.
Take advantage of this to return better information about
packages filtered by permissions -- include the permissions
they have in the requested array.

Also fix issue #8026793 (Contact picture shows default pic
while searching for a contact in qsb) by using the base
package name of the Context when reporting the app name
of an operation.  Otherwise you could make a resource-only
context for another application and do calls through that
and get reported as the wrong app.

Change-Id: I5e0488bf773acea5a3d22f245641828e1a106fb8
2013-01-18 13:02:26 -08:00
Jeff Sharkey
37afa4a4ed am 5a0252da: Merge changes Ib8b18f1b,I0d799d82,Ia6222322
* commit '5a0252da779a98b98c0ef5053c2d20b7bd66de34':
  Always give ContentResolver a valid Context.
  Define failed connections column, and reset.
  Add method to get process group.
2013-01-17 18:48:22 -08:00
Jeff Sharkey
5a0252da77 Merge changes Ib8b18f1b,I0d799d82,Ia6222322
* changes:
  Always give ContentResolver a valid Context.
  Define failed connections column, and reset.
  Add method to get process group.
2013-01-18 02:44:50 +00:00
Jeff Sharkey
66a017b634 Always give ContentResolver a valid Context.
Also add MockContentResolver constructor to provide a Context, and
move to singleton ActivityThread, since there is only one inside
each process.  This makes ActivityThread accessible from threads like
InstrumentationThread.

Change-Id: Ib8b18f1b9bba8820ff412d782a43511066eabf24
2013-01-17 18:25:47 -08:00
Dake Gu
f8739b992f Fix bug of SimulatedTrackball
Simulated trackball should not generate KeyEvent if dispatchGenericMotionEvent
returns true

b/8022205

Change-Id: I1857e25407c508c98ef4db85fe146b1e25a0803e
2013-01-17 18:15:44 -08:00
Jeff Sharkey
54781207d3 Define failed connections column, and reset.
When retrying a download, always reset the failed connections count.

Bug: 8022478
Change-Id: I0d799d82dc7a04fe788b8c5faee0045d1e1a9c60
2013-01-17 17:27:33 -08:00
Romain Guy
e9a983b444 am b12db26f: Merge "Implement clipRect with a transform, clipRegion & clipPath Bug #7146141"
* commit 'b12db26fec178794915d819c3dd64f13d788c461':
  Implement clipRect with a transform, clipRegion & clipPath Bug #7146141
2013-01-17 15:50:17 -08:00
Romain Guy
b12db26fec Merge "Implement clipRect with a transform, clipRegion & clipPath Bug #7146141" 2013-01-17 23:47:27 +00:00
Romain Guy
8ce00301a0 Implement clipRect with a transform, clipRegion & clipPath
Bug #7146141

When non-rectangular clipping occurs in a layer the render buffer
used as the stencil buffer is not cached. If this happens on a
View's hardware layer the render buffer will live for as long
as the layer is bound to the view. When a stencil buffer is
required because of a call to Canvas.saveLayer() it will be allocated
on every frame. A future change will address this problem.

If "show GPU overdraw" is enabled, non-rectangular clips are not
supported anymore and we fall back to rectangular clips instead.
This is a limitation imposed by OpenGL ES that cannot be worked
around at this time.

This change also improves the Matrix4 implementation to easily
detect when a rect remains a rect after transform.

Change-Id: I0e69fb901792d38bc0c4ca1bf9fdb02d7db415b9
2013-01-17 15:39:31 -08:00
Jeff Sharkey
9e57c414f3 Add method to get process group.
Change-Id: Ia62223228a54a6a4e3cdfc5c2e8c73ee194e77ef
2013-01-17 14:12:49 -08:00
Elliott Hughes
4c0a2b2bed am ec6afcc6: am 8c27d0b3: am 686fad5e: am b1e16f11: Merge "Track a typo fix in hidden libcore API."
* commit 'ec6afcc69ae35a0b1f22f44a70fbe4ce5a17be41':
  Track a typo fix in hidden libcore API.
2013-01-17 11:39:56 -08:00
Elliott Hughes
ec6afcc69a am 8c27d0b3: am 686fad5e: am b1e16f11: Merge "Track a typo fix in hidden libcore API."
* commit '8c27d0b3093593fe0d2c229ffcc9a35dbaf5fc59':
  Track a typo fix in hidden libcore API.
2013-01-17 11:34:38 -08:00
Elliott Hughes
8c27d0b309 am 686fad5e: am b1e16f11: Merge "Track a typo fix in hidden libcore API."
* commit '686fad5e2367fe08afe6e219d460be994127fb5e':
  Track a typo fix in hidden libcore API.
2013-01-17 10:32:00 -08:00
Elliott Hughes
686fad5e23 am b1e16f11: Merge "Track a typo fix in hidden libcore API."
* commit 'b1e16f11ffd3a391be1a44a352c122b6dad1e8a5':
  Track a typo fix in hidden libcore API.
2013-01-17 10:28:43 -08:00
Elliott Hughes
26df61683a Track a typo fix in hidden libcore API.
Change-Id: I6fa3c2ef7f4d73bbf6557560e46c7c11bff74a32
2013-01-17 09:24:47 -08:00
Robert Greenwalt
6b000be49f am 0f8d1553: Merge "Second pass tying into dns cache per interface"
* commit '0f8d155363c361199a9d9aa5dcdbc4088990f893':
  Second pass tying into dns cache per interface
2013-01-17 09:08:33 -08:00
Dianne Hackborn
f2ca51dbff am 2125dd57: Merge "AppOps: fix nested op tracking, new API to get apps using permissions."
* commit '2125dd57cc3c1c43da9793a2ee4bb8a7bf19f083':
  AppOps: fix nested op tracking, new API to get apps using permissions.
2013-01-17 09:08:27 -08:00
Robert Greenwalt
0f8d155363 Merge "Second pass tying into dns cache per interface" 2013-01-17 16:15:33 +00:00
Dianne Hackborn
2125dd57cc Merge "AppOps: fix nested op tracking, new API to get apps using permissions." 2013-01-17 02:51:11 +00:00
Dianne Hackborn
e799175b6b AppOps: fix nested op tracking, new API to get apps using
permissions.

Change-Id: I20c7bd58febc01d6911a90440867eaacd133c464
2013-01-16 18:10:40 -08:00
Amith Yamasani
0f4210cc01 am d4fe37be: Merge "Rename bindService to bindServiceAsUser to follow convention."
* commit 'd4fe37bee7c7433f32c23cee100c6e05ba0f3b2b':
  Rename bindService to bindServiceAsUser to follow convention.
2013-01-16 15:30:21 -08:00
Amith Yamasani
d4fe37bee7 Merge "Rename bindService to bindServiceAsUser to follow convention." 2013-01-16 23:26:30 +00:00
Siva Velusamy
0e4a842732 am 281184fb: Merge "Support hierarchy viewer commands via DDM"
* commit '281184fb86a1866b3e8f8a0d8b38a1aa934849dc':
  Support hierarchy viewer commands via DDM
2013-01-16 14:26:05 -08:00
Siva Velusamy
281184fb86 Merge "Support hierarchy viewer commands via DDM" 2013-01-16 22:23:55 +00:00