124934 Commits

Author SHA1 Message Date
Jim Miller
c6055c851d am 5e612cf0: Add KeyguardSimpleHostView and make it the default
* commit '5e612cf07872dc0989a4b9f09e2a38a2ee12186d':
  Add KeyguardSimpleHostView and make it the default
2014-02-06 17:10:59 -08:00
Jim Miller
4de05a378c am 3eb4971b: Move launch, verification and menu logic to base class - Add simplified KeyguardHostView - Move common functions to KeyguardViewBase.java - Create new KeyguardSimpleHostView class for simplified view implementation.
* commit '3eb4971b679464e206cb666de1cf0e5a538c8d7d':
  Move launch, verification and menu logic to base class - Add simplified KeyguardHostView - Move common functions to KeyguardViewBase.java - Create new KeyguardSimpleHostView class for simplified view implementation.
2014-02-06 17:10:56 -08:00
Deepanshu Gupta
45dbfcc781 Improve text rendering and measurement.
1. Fix a bug where baseline of the run was modified while rendering
resulting in crooked text in some cases.

2. Use GlyphVector.getLogicalBounds() for text measurement which is more
accurate than getVisualBounds().

3. This change also optimizes text rendering by not computing the advances
for individual glyphs when not needed.

Change-Id: I66792c4d8f50eaf29afa70bccca1e6c812a3fa28
2014-02-06 16:27:14 -08:00
Jim Miller
ba7d94b8f3 Fix problem where input wasn't being requested
This fixes a bug where input wasn't being enabled when the security
method changed.  The solution is to propagate changes back to the parent

Add missing copyright header to simplified keyguard view.

Bugs 12135931, 12879769

Change-Id: I0fc6cf8ef3b628c96a045797a5b9cdecd3a1007a
2014-02-06 16:13:42 -08:00
Jim Miller
5e612cf078 Add KeyguardSimpleHostView and make it the default
This adds a simplified KeyguardHostView that's intended to
be used as an overlay or dialog for asking the user's
credentials.

Bug 12135931

Change-Id: Iecede0715d671e88024e7bb77e7432cd1c7ec356
2014-02-06 16:13:42 -08:00
Jim Miller
3eb4971b67 Move launch, verification and menu logic to base class
- Add simplified KeyguardHostView
- Move common functions to KeyguardViewBase.java
- Create new KeyguardSimpleHostView class for simplified view
implementation.

Bug 12135931

Change-Id: I8d6b0a61c36a0c7ceb87da4da54b1dfbed0054ff
2014-02-06 16:13:41 -08:00
Chris Craik
1df26446b7 Rework and clean up DisplayList projection
Move the projection surface to be a property of a DisplayList,
set to true for every background drawable.

Additionally, handle a projecting view background such that it doesn't
try to project onto itself (which is undesirable).

Change-Id: Ic70b17474bd87340e80767f8518f73b233419c7a
2014-02-06 16:07:37 -08:00
Leon Scroggins III
2826e5f202 Decode file descriptor from the correct offset.
Fix a few bugs in nativeDecodeFileDescriptor:
1. Restore the FD's offset when exiting the function.
2. Copy the data when potentially using an SkImageRef.
   The old behavior would have continued to modify the
   file descriptor's offset each time a new decode was
   required. The copy ensures that the file descriptor
   remains unchanged.
3. Buffer the file stream.
   Prior to this change, if the image was not a PNG,
   the stream would be rewound to the beginning of the
   file, even if the file descriptor was passed in with
   an offset. Thanks to the buffer, the stream is only
   rewound to the original offset.

Depends on https://googleplex-android-review.googlesource.com/#/c/415821/1
in external/skia

BUG:12807677
BUG:12895876
Change-Id: I38b8cf5d210dbbc0107e6562e3884867de57fc4b
2014-02-06 18:44:54 -05:00
Chris Craik
1291e70dba am fdace4e2: Merge "Simplify DisplayList matrices"
* commit 'fdace4e238afa9f2409c6397a78498b00f765ab0':
  Simplify DisplayList matrices
2014-02-06 15:24:05 -08:00
Chris Craik
fdace4e238 Merge "Simplify DisplayList matrices" 2014-02-06 23:22:28 +00:00
Dirk Dougherty
13d79ce5b3 Doc change: add carousel and spotlight for developer video.
Change-Id: I715e559c880bb76939ba1a423c3927aacc16e2a1
2014-02-06 15:04:08 -08:00
Adam Powell
47e352cf04 am 6250c59e: Merge "Refactoring of fitSystemWindows to applyWindowInsets for views"
* commit '6250c59e0d917fb3641ac499ca69b011aa50a4bd':
  Refactoring of fitSystemWindows to applyWindowInsets for views
2014-02-06 14:43:27 -08:00
Adam Powell
6250c59e0d Merge "Refactoring of fitSystemWindows to applyWindowInsets for views" 2014-02-06 22:41:14 +00:00
Ricardo Cervera
86b99ae94c am 1d2b0c00: am adb94013: am 8ff1f285: am b7d456d4: am 8d65fc2c: am 8756b0c3: Merge "docs: Updated the retaining an object during conf change. Bug: 10303533" into klp-docs
* commit '1d2b0c008bfedfa4d6ef231c393f848cda662e03':
  docs: Updated the retaining an object during conf change. Bug: 10303533
2014-02-06 14:17:33 -08:00
Ricardo Cervera
921407e137 am 6232c3ca: am a5e35cb0: am 6ed26862: am 74d290fd: am d057fa6d: am 531939d1: Merge "docs: Fixed links to Proguard manual. Bug: 12713887" into klp-docs
* commit '6232c3caf580d805ef26648c645181ac37ab00ff':
  docs: Fixed links to Proguard manual. Bug: 12713887
2014-02-06 14:17:30 -08:00
Craig Mautner
ec8ac30614 am c667f054: am 43ef013c: (-s ours) am 38f7dcd7: DO NOT MERGE. Test for Configuration differences before changing.
* commit 'c667f054d5b5a87247cd84d78d483dc1c97af41a':
  DO NOT MERGE. Test for Configuration differences before changing.
2014-02-06 14:17:28 -08:00
John Reck
ef129d8442 am 393fdbec: Merge "Remove overdraw counter"
* commit '393fdbec9f3f11d277e1631c2e36362e408cbbdc':
  Remove overdraw counter
2014-02-06 14:17:25 -08:00
Adam Lesinski
95e17980c5 am 9f97de13: am a5a93f55: am 7f416631: Merge "Check feature bits before loading optional services" into klp-modular-dev
* commit '9f97de13359662c2709eed227b3fab2ce7d5dabc':
  Check feature bits before loading optional services
2014-02-06 14:17:22 -08:00
Jeff Sharkey
be781e26aa am 2b1252dd: Merge "Update DrmOutputStream to use raw FileDescriptor."
* commit '2b1252ddd2650cb38918cb85d2a3711b2cfa8db5':
  Update DrmOutputStream to use raw FileDescriptor.
2014-02-06 14:17:18 -08:00
Craig Mautner
a9080e9b01 am d1c2c542: Test for Configuration differences before changing.
* commit 'd1c2c5421181b988f09fd12d9633e2a7c2a8ab60':
  Test for Configuration differences before changing.
2014-02-06 14:17:15 -08:00
Ricardo Cervera
1d2b0c008b am adb94013: am 8ff1f285: am b7d456d4: am 8d65fc2c: am 8756b0c3: Merge "docs: Updated the retaining an object during conf change. Bug: 10303533" into klp-docs
* commit 'adb940131adf137023006fcd86663fd048fa6a54':
  docs: Updated the retaining an object during conf change. Bug: 10303533
2014-02-06 21:29:59 +00:00
Ricardo Cervera
6232c3caf5 am a5e35cb0: am 6ed26862: am 74d290fd: am d057fa6d: am 531939d1: Merge "docs: Fixed links to Proguard manual. Bug: 12713887" into klp-docs
* commit 'a5e35cb002936291b79ff422c94eb2caabedfb3a':
  docs: Fixed links to Proguard manual. Bug: 12713887
2014-02-06 21:26:03 +00:00
Ricardo Cervera
adb940131a am 8ff1f285: am b7d456d4: am 8d65fc2c: am 8756b0c3: Merge "docs: Updated the retaining an object during conf change. Bug: 10303533" into klp-docs
* commit '8ff1f285c93a1a44a7419ab216bee2f92518387a':
  docs: Updated the retaining an object during conf change. Bug: 10303533
2014-02-06 21:23:40 +00:00
Ricardo Cervera
8ff1f285c9 am b7d456d4: am 8d65fc2c: am 8756b0c3: Merge "docs: Updated the retaining an object during conf change. Bug: 10303533" into klp-docs
* commit 'b7d456d4a410d1a17933ed0256fecd2144160615':
  docs: Updated the retaining an object during conf change. Bug: 10303533
2014-02-06 21:20:28 +00:00
Ricardo Cervera
a5e35cb002 am 6ed26862: am 74d290fd: am d057fa6d: am 531939d1: Merge "docs: Fixed links to Proguard manual. Bug: 12713887" into klp-docs
* commit '6ed268623b9e4a10a080e15d64340c16d2dd8a28':
  docs: Fixed links to Proguard manual. Bug: 12713887
2014-02-06 21:19:50 +00:00
Ricardo Cervera
b7d456d4a4 am 8d65fc2c: am 8756b0c3: Merge "docs: Updated the retaining an object during conf change. Bug: 10303533" into klp-docs
* commit '8d65fc2c698ca1e91c669c3e04b45bf0d1c9dffc':
  docs: Updated the retaining an object during conf change. Bug: 10303533
2014-02-06 21:17:12 +00:00
Ricardo Cervera
6ed268623b am 74d290fd: am d057fa6d: am 531939d1: Merge "docs: Fixed links to Proguard manual. Bug: 12713887" into klp-docs
* commit '74d290fd62dfec09708664f354805c548b3dc5eb':
  docs: Fixed links to Proguard manual. Bug: 12713887
2014-02-06 21:16:28 +00:00
Ricardo Cervera
8d65fc2c69 am 8756b0c3: Merge "docs: Updated the retaining an object during conf change. Bug: 10303533" into klp-docs
* commit '8756b0c3cea50d47ba7191d8a493f774b23a1631':
  docs: Updated the retaining an object during conf change. Bug: 10303533
2014-02-06 21:13:29 +00:00
Ricardo Cervera
74d290fd62 am d057fa6d: am 531939d1: Merge "docs: Fixed links to Proguard manual. Bug: 12713887" into klp-docs
* commit 'd057fa6d40198e07844f702608b7959bad3bd48b':
  docs: Fixed links to Proguard manual. Bug: 12713887
2014-02-06 21:13:21 +00:00
Ricardo Cervera
d057fa6d40 am 531939d1: Merge "docs: Fixed links to Proguard manual. Bug: 12713887" into klp-docs
* commit '531939d151167e56b3106205f4c3d859a9f509ce':
  docs: Fixed links to Proguard manual. Bug: 12713887
2014-02-06 21:09:36 +00:00
Ricardo Cervera
8756b0c3ce Merge "docs: Updated the retaining an object during conf change. Bug: 10303533" into klp-docs 2014-02-06 21:09:12 +00:00
Ricardo Cervera
531939d151 Merge "docs: Fixed links to Proguard manual. Bug: 12713887" into klp-docs 2014-02-06 21:07:09 +00:00
Craig Mautner
c667f054d5 am 43ef013c: (-s ours) am 38f7dcd7: DO NOT MERGE. Test for Configuration differences before changing.
* commit '43ef013cbd769533737135af5a338898cc619602':
  DO NOT MERGE. Test for Configuration differences before changing.
2014-02-06 20:36:56 +00:00
Craig Mautner
43ef013cbd am 38f7dcd7: DO NOT MERGE. Test for Configuration differences before changing.
* commit '38f7dcd7dcb5d98d86f19f3c4725aea89f9792ff':
  DO NOT MERGE. Test for Configuration differences before changing.
2014-02-06 20:29:49 +00:00
Craig Mautner
38f7dcd7dc DO NOT MERGE. Test for Configuration differences before changing.
Changing Configuration first and then testing for changes yields a
result indicating no change.

Fixes bug 12904769.

Change-Id: If7e39e843f15b1143d9877497d595511afabd020
2014-02-06 12:27:20 -08:00
John Reck
393fdbec9f Merge "Remove overdraw counter" 2014-02-06 20:26:37 +00:00
Adam Lesinski
9f97de1335 am a5a93f55: am 7f416631: Merge "Check feature bits before loading optional services" into klp-modular-dev
* commit 'a5a93f559d337ad5b79716b05ea43707eb779dc8':
  Check feature bits before loading optional services
2014-02-06 20:25:51 +00:00
Adam Lesinski
a5a93f559d am 7f416631: Merge "Check feature bits before loading optional services" into klp-modular-dev
* commit '7f416631413e75a1756bd316a2e1906725d72f24':
  Check feature bits before loading optional services
2014-02-06 20:16:30 +00:00
Adam Lesinski
7f41663141 Merge "Check feature bits before loading optional services" into klp-modular-dev 2014-02-06 20:13:21 +00:00
John Reck
593b19a49e Remove overdraw counter
Change-Id: Iee05362b9080b28714a4cca5a571f19ce81eadfd
2014-02-06 11:26:23 -08:00
Ricardo Cervera
893ee42c72 docs: Updated the retaining an object during conf change. Bug: 10303533
Replaced use of deprecated methods with retained fragments.

Change-Id: I0f0a045da88f9817077070729ef0af283bea93e4
Review: http://quixote.mtv.corp.google.com:8007/guide/topics/resources/runtime-changes.html
2014-02-06 10:57:36 -08:00
Jeff Sharkey
2b1252ddd2 Merge "Update DrmOutputStream to use raw FileDescriptor." 2014-02-06 18:50:05 +00:00
Craig Mautner
d1c2c54211 Test for Configuration differences before changing.
Changing Configuration first and then testing for changes yields a
result indicating no change.

Fixes bug 12904769.

Change-Id: If7e39e843f15b1143d9877497d595511afabd020
2014-02-06 10:31:41 -08:00
Ricardo Cervera
56d37fb8cd docs: Fixed links to Proguard manual. Bug: 12713887
The SourceForge manual cannot be linked to sections directly because
of JavaScript and HTML frames. I used the MIT links from the bug
report instead.

Review: http://quixote.mtv.corp.google.com:8001/tools/help/proguard.html

Change-Id: I1be210d392d78a7560a89f421074ba6d99499da0
2014-02-06 09:49:04 -08:00
Jeff Sharkey
ebf8ad5d91 Update DrmOutputStream to use raw FileDescriptor.
This allows DownloadManager to use FDs, paving the way for downloading
directly to content:// Uris.

Also return flag indicating if deleteOlderFiles() actually deleted
anything.  Update tests to verify.

Bug: 5287571
Change-Id: I2579e5e2113f31b2860d7b021bd61c91b6310963
2014-02-06 09:47:38 -08:00
Andreas Huber
0bf51fc094 am b341a24b: Merge "Remove no longer needed http proxy handling code, it\'s obsolete now"
* commit 'b341a24b2adbb67cdc34ade0a19570ee37f0cb82':
  Remove no longer needed http proxy handling code, it's obsolete now
2014-02-06 09:13:10 -08:00
Andreas Huber
b341a24b2a Merge "Remove no longer needed http proxy handling code, it's obsolete now" 2014-02-06 17:10:31 +00:00
Narayan Kamath
017546e652 Fix several bad function definitions.
We claim these functions want jlong as input (8 bytes wide)
but the definitions use pointer types or jints
(4 bytes wide for 32 bit).

bug: 12890271
Change-Id: I6a167a4f3aac1e22ddea33d067caaef6a11b418c
2014-02-06 11:50:31 +00:00
Jessica Hummel
3c3e16e041 am e33e2ca3: Merge "Extend DeviceOwner concept to accommodate ProfileOwners"
* commit 'e33e2ca3460c0e5a898e5b0406d86b16b96f735a':
  Extend DeviceOwner concept to accommodate ProfileOwners
2014-02-06 02:25:23 -08:00
Jessica Hummel
e33e2ca346 Merge "Extend DeviceOwner concept to accommodate ProfileOwners" 2014-02-06 10:23:00 +00:00