5539 Commits

Author SHA1 Message Date
Elliott Hughes
97c538d5f3 Track libcore API change.
Bug: 3484927
Change-Id: If49d0389e4ecb826052e168e070b673894d91318
2013-06-28 18:03:46 -07:00
Zhijun He
b8b77bf59e Correct request template value for record and still
they should match the request template values defined in camera3.h.

Bug 9213377

Change-Id: Ib24aa33a0ed59aff14b115c5d213ac287ea0d948
2013-06-28 17:46:45 -07:00
Elliott Hughes
ebb77f55a9 am d1411efe: am 324993ab: am 5216f11e: Merge "Track libcore API update."
* commit 'd1411efee372a37fcd0178f3ccffd9bf1d67b70b':
  Track libcore API update.
2013-06-28 16:28:22 -07:00
Elliott Hughes
d1411efee3 am 324993ab: am 5216f11e: Merge "Track libcore API update."
* commit '324993abed48843da1cb63063668147151e4db5c':
  Track libcore API update.
2013-06-28 16:26:08 -07:00
Elliott Hughes
324993abed am 5216f11e: Merge "Track libcore API update."
* commit '5216f11e462b9f17704c0ac9e193d2149f3fa755':
  Track libcore API update.
2013-06-28 16:23:47 -07:00
Elliott Hughes
0e88a95480 Track libcore API update.
Bug: 3484927
Change-Id: I77c22d3da7b70d3dae4cf6c1903add948ae39406
2013-06-28 16:08:02 -07:00
Elliott Hughes
2687fa7f33 am 5d2d2222: am ce566b50: am ee66531f: Merge "Track libcore API update."
* commit '5d2d22221a61258ff7dad29792bbf1201c746e8d':
  Track libcore API update.
2013-06-28 16:04:44 -07:00
Elliott Hughes
5d2d22221a am ce566b50: am ee66531f: Merge "Track libcore API update."
* commit 'ce566b5068bb73b7e379bb40c3eb74922000bbd9':
  Track libcore API update.
2013-06-28 16:01:51 -07:00
Elliott Hughes
ce566b5068 am ee66531f: Merge "Track libcore API update."
* commit 'ee66531f2fa2b6aaa5ca064062f5e8d50b64ff44':
  Track libcore API update.
2013-06-28 15:58:45 -07:00
Elliott Hughes
6859af17ce Track libcore API update.
Bug: 3484927
Change-Id: I684d724000d09a52c840076fab5985242c77c908
2013-06-28 15:28:00 -07:00
Elliott Hughes
1f3ad678be am 34ba52a0: am a9510297: am 505974eb: Merge "Track libcore API update."
* commit '34ba52a060b01b5d91a64d8e7026387749c2bbb6':
  Track libcore API update.
2013-06-28 13:11:57 -07:00
Elliott Hughes
34ba52a060 am a9510297: am 505974eb: Merge "Track libcore API update."
* commit 'a9510297a656c574d063b299f044bc9893af7724':
  Track libcore API update.
2013-06-28 13:09:58 -07:00
Elliott Hughes
a9510297a6 am 505974eb: Merge "Track libcore API update."
* commit '505974eb736218d40b1d648ea4af548167a381b1':
  Track libcore API update.
2013-06-28 13:07:21 -07:00
Elliott Hughes
5931afdc0f Track libcore API update.
Bug: 3484927
Change-Id: I22fc7e003c3483a20988e91d2b8824626ec022b1
2013-06-28 10:55:14 -07:00
Christopher Tate
a3664247c7 New API: apps can request a wipe of their own data
Bug 9588299

Change-Id: I817a90e272ba279d7171f6dbe88dbafd7e42b050
2013-06-27 15:32:37 -07:00
Craig Mautner
5729b81ab5 Merge "Add API to convert translucent Activity to opaque." 2013-06-27 21:00:44 +00:00
Romain Guy
9feab843ac Merge "Refcount 9-patches and properly handle GC events" 2013-06-27 00:16:18 +00:00
Romain Guy
e3b0a0117a Refcount 9-patches and properly handle GC events
This change adds refcounting of Res_png_9patch instances, the native
data structure used to represent 9-patches. The Dalvik NinePatch class
now holds a native pointer instead of a Dalvik byte[]. This pointer
is used whenever we need to draw the 9-patch (software or hardware.)

Since we are now tracking garbage collection of NinePatch objects
libhwui's PatchCache must keep a list of free blocks in the VBO
used to store the meshes.

This change also removes unnecessary instances tracking from
GLES20DisplayList. Bitmaps and 9-patches are refcounted at the
native level and do not need to be tracked by the Dalvik layer.

Change-Id: Ib8682d573a538aaf1945f8ec5a9bd5da5d16f74b
2013-06-26 17:15:08 -07:00
Dianne Hackborn
49e9c44c4b Merge "Add new ActivityManager.isLowRamDevice()." 2013-06-26 23:16:48 +00:00
Zhijun He
89dc02a9be Merge "ImageReader: Implementation of ImageReader and Image APIs" 2013-06-26 23:05:40 +00:00
Amith Yamasani
5fa9f2b127 Merge "Single-user restrictions" 2013-06-26 23:04:32 +00:00
Zhijun He
212e78df9e ImageReader: Implementation of ImageReader and Image APIs
Used for direct image data access from producer like camera or video decoder.

Bug: 9254294
Change-Id: I1853af03f4487ac3585d86202f6140854471fa89
2013-06-26 15:56:27 -07:00
Dianne Hackborn
b4e1249493 Add new ActivityManager.isLowRamDevice().
This and the old isHighEndGfx() is set up through a
device configuration, rather than trying to compute it
automatically.

Change-Id: Ibc95c05791023a7ae6c88555b75bb61f2b613991
2013-06-26 15:50:02 -07:00
Igor Murashkin
70725500dc Initial camera device implementation
* Working streaming preview requests only
* Almost everything else returns empty objects that don't do anything

Bug: 9213377
Change-Id: Ie6f02a7c0952b0f5ebc41905425b15cae221f7d3
2013-06-26 13:19:45 -07:00
Igor Murashkin
e363fbb264 Partial CameraManager implementation
Bug: 9213377
Change-Id: I8f89fb94d7081a71b38e5cd0ad89116d219b4c33
2013-06-26 13:19:44 -07:00
Craig Mautner
4addfc5f39 Add API to convert translucent Activity to opaque.
Fixes bug 9298778.

Change-Id: If6198f42bdea8aa727a2abc672eb0062aaf63ca3
2013-06-25 16:56:37 -07:00
Amith Yamasani
655d0e2029 Single-user restrictions
Introduces a new "blocked" state for each package. This is used to temporarily
disable an app via Settings->Restrictions.

PIN creation and challenge activities for use by Settings and other apps. PIN
is stored by the User Manager and it manages the interval for retry attempts
across reboots.

Change-Id: I4915329d1f72399bbcaf93a9ca9c0d2e69d098dd
2013-06-25 16:03:55 -07:00
Igor Murashkin
a858308ed2 Revert "Partial CameraManager implementation"
This reverts commit e473f7d8f96b5682141522378b761913192d8114.

Change-Id: I23e92ca2def0ebf507f6c782442a4698745bc926
2013-06-25 05:15:02 +00:00
Igor Murashkin
e473f7d8f9 Partial CameraManager implementation
Bug: 9213377
Change-Id: I29864a5d1f7971ed589d1ffaddeefbb703e34018
2013-06-24 17:41:09 -07:00
Svetoslav
cf165a0ae0 Merge "Print APIs documentation update" 2013-06-24 18:34:33 +00:00
Svetoslav
fd90651cfc Print APIs documentation update
Change-Id: I0df438e45ef540cc42c9ee5baafc816ebafa1c7b
2013-06-24 09:05:38 -07:00
Andy McFadden
b32a7c7ca2 Merge "Minor fixes to android.opengl.Matrix" 2013-06-24 14:26:18 +00:00
Svetoslav
53f57d162b Print API tweaks.
Change-Id: I4fcf93f17495740e8b8d0dc4e425a89862716b42
2013-06-22 00:26:49 -07:00
Svetoslav Ganov
4b9a4d1687 Print - platform APIs
Related changes:
    Skia (inlcude PDF APIs): https://googleplex-android-review.googlesource.com/#/c/305814/
    Canvas to PDF: https://googleplex-android-review.googlesource.com/#/c/319367/
    Settings (initial version): https://googleplex-android-review.googlesource.com/#/c/306077/
    Build: https://googleplex-android-review.googlesource.com/#/c/292437/
    Sample print services: https://googleplex-android-review.googlesource.com/#/c/281785/

Change-Id: I104d12efd12577f05c7b9b2a5e5e49125c0f09da
2013-06-21 18:43:17 -07:00
Chet Haase
2ea7f8b9c5 Refactoring/simplifying Transition code/API
Transitions used to be three phase:
- captureValues(): get all relevant property values in the
affected view targets
- setup(): set appropriate start values for affected views
prior to any transitions being played
- play(): create/play Animators for affected views

Now the second and third phases have been collapsed (and named
"play()"). This single step sets initial values for target views
and creates any Animators that should be played during the transition.
The transition mechanism stores these Animators and then starts
them at the appropriate time in the overall transition.

Issue #9507585 Transitions: Simplify Transition.play() design

Change-Id: I3fc67599b38fe49eee885dc5d32444db90b7703b
2013-06-21 16:07:14 -07:00
Andy McFadden
043d13ad4b Minor fixes to android.opengl.Matrix
This has a minor API change: deprecation of the nullary constructor.
The class is entirely composed of static methods, and was written
without a constructor, but the compiler dutifully generated a
default implementation and the API tool slurped it up.

The other changes are to the documentation:

 - Added warnings about the use of overlapping input and output
   on certain methods.
 - Fixed a few inaccuracies (e.g. transposeM() returns a transposed
   matrix, not an inverted matrix).
 - Tidied up the formatting.
 - Generally placated the consistency hobgoblins.

Bug 8868762

Change-Id: Ie3f86b98c477d8dc82d9dcaa311959bd4d191359
2013-06-21 14:49:23 -07:00
Svetoslav Ganov
b06accf34f Merge "Generate PDF from Canvas." 2013-06-21 20:09:51 +00:00
Chet Haase
6ebe3de331 Fix transitions on disappearing view hiearchies
Previously, Fade transitions did not work correctly on hirearchies; they
only handled individual views. in particular, they would side-effect all
fading views by removing them from their parent to fade them out in the
overlay of the scene root. This worked for the fade-out transition itself,
but caused problems when those same hierarchies were added back in and
another Fade was run on the hierarchy, because now all of the views inside
that parent node had been removed, so they didn't fade in at all.

The fix was to add logic in Visibility to detect when a disappearing
view was inside a hierarchy that was also disappearing, and to skip the
fade on the views inside that hierarchy, leaving only the top-most
disappearing view to be faded out, thus preserving the hierarchy under
that faded-out group.

Along the way, there were various cleanups, fixes, and refactorings in the
transition code, and slight API modifications.

Issue #9406371 Transitions: Removing view hierarchy not working correctly
Issue #9470255 Transitions: Separate different transitions by Scene Root

Change-Id: I42e80dac6097fee740f651dcc0535f2c57c11ebb
2013-06-20 15:35:04 -07:00
Svetoslav Ganov
ff4adde573 Generate PDF from Canvas.
This change adds simple APIs that enable an Android application
to generate a PDF document by drawing content on a canvas.

Change-Id: Ibac93d7c37b01a376ce7c48238657d8c7698d588
2013-06-19 19:35:38 -07:00
Jay Shrauner
2b2450702b Merge "Add number presentation column to call log" 2013-06-19 21:14:16 +00:00
Jason Sams
109c46b8ea Merge "Add histogram intrinsic" 2013-06-19 00:26:38 +00:00
Jeff Brown
a506a6ec94 Add an API to allow for creating private virtual displays.
This change enables applications to create a private virtual
display that renders its content to a surface of its own creation.
The display is private in the sense that only the application
that owns the display is allowed to place windows upon it.
Mirroring and blanking is also disabled for these displays.

Bug: 9192512
Change-Id: I852ea07f0c7df1d244e354e3daca3a6960285ca0
2013-06-18 15:32:41 -07:00
Zhijun He
ae2db13e82 Merge "Add Y8 and Y16 image format" 2013-06-18 20:06:22 +00:00
Jason Sams
01e9f90576 Add histogram intrinsic
Change-Id: I67bcaaef033d8770047923e8243e739010238539
2013-06-18 11:53:03 -07:00
Svetoslav
3577a283e1 Adding traits APIs to AccessibilityNodeInfo.
This change adds several traits and properties to AccessibilityNodeInfo
aiming to allow better description of native Android components to
accessibility services as well as mapping web content to native Android
node info tree.

Change-Id: I36b893cbaa6213c9d02d805e9dc36b6d792b4961
2013-06-18 10:41:48 -07:00
Jay Shrauner
d88eb719ac Add number presentation column to call log
Change call log so instead of overloading the phone number with special
strings "-1", "-2", etc to denote private phone numbers, payphones, etc,
put presentation type in its own column and expose in the public API these
type values.

Bug:6948882
Change-Id: I230c26aa0428d605a0e83169a635b5bbf1aa4e3f
2013-06-18 10:20:04 -07:00
Zhijun He
1eb818e5b3 Add Y8 and Y16 image format
These APIs are hidden. Also correct the value of RAW_SENSOR.

Bug: 9254294
Change-Id: Ic6271f5f6bfcfdd8b545d69a9a2154241c34d73b
2013-06-18 10:13:18 -07:00
Elliott Hughes
0e3e249ddb am 96fefaa2: am b87e6138: am 618ed234: Merge "Track nio API change."
* commit '96fefaa23bf95ae6736df90f018cb8c86cb943c3':
  Track nio API change.
2013-06-14 16:27:37 -07:00
Elliott Hughes
96fefaa23b am b87e6138: am 618ed234: Merge "Track nio API change."
* commit 'b87e6138d169e5fd23b964056431e2c357323fd2':
  Track nio API change.
2013-06-14 16:25:00 -07:00
Elliott Hughes
b87e6138d1 am 618ed234: Merge "Track nio API change."
* commit '618ed2340283263164f578f818cc09148aacb9ed':
  Track nio API change.
2013-06-14 16:22:12 -07:00