120589 Commits

Author SHA1 Message Date
Deepanshu Gupta
1ea1b21acd Fix style warnings in RenderSessionImpl [DO NOT MERGE]
Change-Id: I9d3cb23e4ea692f737a3e3d6c18cc8de18b66a3c
(cherry-picked from commit fbfeb1a90b6f8f3966c60a69d50ce8f608d9d861)
2014-04-23 18:04:26 -07:00
Deepanshu Gupta
5ba2f230fa Add view cookies for action bar menus. [DO NOT MERGE]
The change adds the view cookies for the menus rendered in the action
bar. This enables the IDE to map the menu to the relevant XML Tag in the
menu xml and show the highlighting accordingly.

The change also contains a bugfix where a method wasn't renamed
properly.

Change-Id: Idcfc263a8ebe0a4f25afa3a1eb085fa628fd03ca
(cherry-picked from commit 1001961f904bac5294aaf73a47c2497aa764bf7f)
2014-04-23 18:04:21 -07:00
Raph Levien
936df68016 Fix bug 14276128 Clipping at bottom of TextView
Avoid applying "extra" linespacing to the last line of a layout, because
when that is negative, it causes clipping.

Change-Id: I4cc8792fd3444e4118604cc3d0f816d59dfc1e74
2014-04-23 23:17:12 +00:00
Deepanshu Gupta
6f9baea477 Fix visitFieldInsn in layoutlib_create. [DO NOT MERGE]
The bug caused some classes to be missed when computing the dependencies
of the existing classes.

Change-Id: I7285ff67e016ce5d73a8550501f49acc73cfadfa
(cherry-picked from 4a0f93bd32b8dd9b3c351680ad82e461d5111f38)
2014-04-23 16:11:57 -07:00
Craig Mautner
7f7bdb2712 Force ActivityView activities to start in new task
Activities were associating with existing tasks when their
components matched. This was causing them to be launched
into existing stacks rather than into their ActivityView. Adding
these flags forces the launches to be in unique tasks on their
ActivityView.

Fixes bug 14252286.

Change-Id: I9ba65a4a2da198435748c0a17396d3f7f8c75f5e
2014-04-23 13:55:36 -07:00
Baligh Uddin
b43b108355 Import translations. DO NOT MERGE
Change-Id: I99c697cc9974820312756fa89f51e3cf821401e2
Auto-generated-cl: translation import
2014-04-23 11:27:35 -07:00
Andrew Solovay
32117212fc am 6c5bfa2f: am 026c82b1: Doc: Fixed a code sample to use standard methods. Also some formatting tweaks.
* commit '6c5bfa2f348f1d55cbff5f8f2bd61e88ac2d01ee':
  Doc: Fixed a code sample to use standard methods. Also some formatting tweaks.
2014-04-23 02:47:50 +00:00
Andrew Solovay
6c5bfa2f34 am 026c82b1: Doc: Fixed a code sample to use standard methods. Also some formatting tweaks.
* commit '026c82b1916a9e2b48b9ff62ffeb935d63935a68':
  Doc: Fixed a code sample to use standard methods. Also some formatting tweaks.
2014-04-23 02:44:06 +00:00
Andrew Solovay
026c82b191 Doc: Fixed a code sample to use standard methods. Also some formatting
tweaks.

Added blank lines for readability, and broke some long lines
so code samples don't need a scroll bar.

(Update: Fixed indentation that I broke on a code sample.)

Bug: 14045051
Change-Id: I1cf08b899ec55f9093545e71861c84120e4b56a1
2014-04-22 19:29:07 -07:00
Baligh Uddin
89ed56fa6c Merge "Import translations. DO NOT MERGE" into klp-modular-dev 2014-04-23 02:07:52 +00:00
Baligh Uddin
d14bb3cfb9 Merge "Import translations. DO NOT MERGE" into klp-modular-dev 2014-04-23 02:01:10 +00:00
Baligh Uddin
abd2a4a449 Merge "Import translations. DO NOT MERGE" into klp-modular-dev 2014-04-23 02:01:06 +00:00
Baligh Uddin
c2c527a6f4 Merge "Import translations. DO NOT MERGE" into klp-modular-dev 2014-04-23 02:01:03 +00:00
Baligh Uddin
13c48fba16 Merge "Import translations. DO NOT MERGE" into klp-modular-dev 2014-04-23 02:01:03 +00:00
Baligh Uddin
611dd7b70a Merge "Import translations. DO NOT MERGE" into klp-modular-dev 2014-04-23 02:01:03 +00:00
Baligh Uddin
4516c695b2 Merge "Import translations. DO NOT MERGE" into klp-modular-dev 2014-04-23 02:00:57 +00:00
Baligh Uddin
2d45d4de48 Merge "Import translations. DO NOT MERGE" into klp-modular-dev 2014-04-23 02:00:57 +00:00
Baligh Uddin
5eb7136de9 Merge "Import translations. DO NOT MERGE" into klp-modular-dev 2014-04-23 02:00:55 +00:00
Baligh Uddin
71b82aedca Merge "Import translations. DO NOT MERGE" into klp-modular-dev 2014-04-23 02:00:55 +00:00
Baligh Uddin
2d6e077d1d Merge "Import translations. DO NOT MERGE" into klp-modular-dev 2014-04-23 02:00:48 +00:00
Baligh Uddin
42c0488a4b Merge "Import translations. DO NOT MERGE" into klp-modular-dev 2014-04-23 02:00:44 +00:00
Baligh Uddin
9dbd2eebf9 Merge "Import translations. DO NOT MERGE" into klp-modular-dev 2014-04-23 02:00:41 +00:00
Jeff Brown
3af3926749 Merge "Fix HDMI hotplug display blanking behavior." into klp-modular-dev 2014-04-23 01:20:01 +00:00
Jeff Brown
44b1f76474 Fix HDMI hotplug display blanking behavior.
Bug: 14109146
Change-Id: Ie7de4fb05da210e8c74c795f7896cf9951701aeb
2014-04-22 18:07:24 -07:00
Baligh Uddin
cf361e2670 Import translations. DO NOT MERGE
Change-Id: Ieceadfdafb3e1353a30494c8a9731efcf91b9e8b
Auto-generated-cl: translation import
2014-04-22 17:54:46 -07:00
Baligh Uddin
2e9dc0e241 Import translations. DO NOT MERGE
Change-Id: Iae8e8f588200714d11fe7dced5aab7ec63181e8f
Auto-generated-cl: translation import
2014-04-22 17:12:07 -07:00
Baligh Uddin
c0be1c09ca Import translations. DO NOT MERGE
Change-Id: Idf24bec3b74bbe1abc88c2a3c2da451be9ed5c02
Auto-generated-cl: translation import
2014-04-22 17:11:22 -07:00
Ying Wang
d0dc898119 Merge "Javac (at least for 1.7.0_51 on Mac) wants fully qualified class name" into klp-modular-dev 2014-04-23 00:10:01 +00:00
Baligh Uddin
3870b9dd83 Import translations. DO NOT MERGE
Change-Id: I3106f51a639078291c298ca4bbd75062e788a313
Auto-generated-cl: translation import
2014-04-22 17:09:18 -07:00
Baligh Uddin
1fa38d2165 Import translations. DO NOT MERGE
Change-Id: I1aa31fe5b005c2cdef0b250806d682141cdf4fc3
Auto-generated-cl: translation import
2014-04-22 17:08:37 -07:00
Baligh Uddin
8e54756f90 Import translations. DO NOT MERGE
Change-Id: I236254c3ae3302004f19821a7d7022ae49f6e908
Auto-generated-cl: translation import
2014-04-22 17:05:01 -07:00
Baligh Uddin
bd41f66b90 Import translations. DO NOT MERGE
Change-Id: Ia514ffa26785292a7659a5e3950cc3125d50736e
Auto-generated-cl: translation import
2014-04-22 17:04:17 -07:00
Baligh Uddin
9daf4ae467 Import translations. DO NOT MERGE
Change-Id: I5867f9bda8854f34ee138c135c46219d36e9be49
Auto-generated-cl: translation import
2014-04-22 17:03:26 -07:00
Baligh Uddin
e5a1728e2f Import translations. DO NOT MERGE
Change-Id: Ib7d1feda99c656bcea0c0efc41e9f04bda7049b9
Auto-generated-cl: translation import
2014-04-22 16:39:03 -07:00
Baligh Uddin
368a984e1b Import translations. DO NOT MERGE
Change-Id: I6ac555548303cd6b32be846c0479bbe78a977c3a
Auto-generated-cl: translation import
2014-04-22 16:37:07 -07:00
Baligh Uddin
f80cf264de Import translations. DO NOT MERGE
Change-Id: Iae11d6890917425aa6c6269d46372f4e6d6c08a2
Auto-generated-cl: translation import
2014-04-22 16:36:32 -07:00
Baligh Uddin
0ee991bc0d Import translations. DO NOT MERGE
Change-Id: I757cae4af2ba6dfac51383bf48f17708e44adf6f
Auto-generated-cl: translation import
2014-04-22 16:35:44 -07:00
Baligh Uddin
78448af37f Import translations. DO NOT MERGE
Change-Id: Idc8ada2c34c0846b4ad8c3094e78d6beff2cc38e
Auto-generated-cl: translation import
2014-04-22 16:35:06 -07:00
Victoria Lease
df64ac688d ask skia to use flat gamma when rendering fonts from hwui
Bug: 13748392
Change-Id: I6930629b8e900628f15354f663b86dfb29a4db78
(cherry picked from commit b66270eac288de53207e55d10879b070a0ec8b6b)
2014-04-22 22:54:10 +00:00
Ying Wang
b081a59a0f Javac (at least for 1.7.0_51 on Mac) wants fully qualified class name
It looks like a Javac bug.

Bug: 14255510
Change-Id: Id3899994226049ff77854fd2a13a6d1b687a0392
2014-04-22 15:20:16 -07:00
Justin Koh
3b9a3cc02e Update GlobalActions for watches.
Update GlobalActions for watches: only have power off and settings, due to
limited real estate.

Change-Id: Ie3cbbb287f8c71c8c16a00637c83da6921d56e2e
2014-04-22 10:01:47 -07:00
Baligh Uddin
04acf38ce2 Merge "Import translations. DO NOT MERGE" into klp-modular-dev 2014-04-22 14:46:28 +00:00
Andrew Solovay
da1a10f727 am c68e2089: am 3555e4ae: Fixed a typo in a code sample.
* commit 'c68e2089755dc35b34d620944bcceb63e1283015':
  Fixed a typo in a code sample.
2014-04-22 13:27:09 +00:00
Andrew Solovay
c68e208975 am 3555e4ae: Fixed a typo in a code sample.
* commit '3555e4aef0d5664645e35d33779bf1bd140a7e50':
  Fixed a typo in a code sample.
2014-04-22 13:20:44 +00:00
Guang Zhu
6c0454ecae Merge "add bt instrumentation to run as a util" into klp-modular-dev 2014-04-22 03:33:47 +00:00
Guang Zhu
03800b8873 add bt instrumentation to run as a util
some bt test util methods are useful as device setup util, this
change exposes some of them via a BluetoothInstrumentation so
that they can be invoked like commands for setting up or
controlling bt state in test harness

Change-Id: I1d40baf374e145ab550ae4fa5f581e2eaf2e29bb
2014-04-21 19:06:17 -07:00
Andrew Solovay
3555e4aef0 Fixed a typo in a code sample.
Fix is staged to: http://asolovay.mtv.corp.google.com:9000/guide/topics/ui/actionbar.html#Dropdown

Bug: 14043905

Change-Id: I8b71d55d51bf88ab9790309e6e63e755d03b2c85
2014-04-22 00:04:39 +00:00
Craig Mautner
6985badc63 Fix black ActivityView
Don't add the surface to the VirtualDisplay until the activity
has drawn. That will keep the TextureView from turning black.

Fixes bug 12821632.

Change-Id: Ia06e9f91be3e14ad724f735ae4e201ac798863a2
2014-04-21 15:28:43 -07:00
Craig Mautner
6cdf51f21d Don't use finalize on ActivityView to cleanup.
Use a static object to contain the IActivityContainer reference
rather than storing it directly in the ActivityView itself. Then
when the ActivityView gives up the reference we can use a clean
finalize() call to release the IActivityContainer.

Fixes bug 14184756.

Change-Id: I7e05fcce3040b2b958f7c9cd030d5e3b745f3169
2014-04-21 15:28:43 -07:00
Craig Mautner
f4c909bcb8 Fix ActivityView lifecycle
Major changes to maintain the VirtualDisplay across repeated
attach/detach cycles of an ActivityView. This keeps the activities
and VirtualDisplays in the ActivityView from getting into bad states.

Fixes bug 14107002.

Change-Id: Idc2aaf85ac496eab0eeb436736cb10a2020040e8
2014-04-21 15:28:42 -07:00