summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/screenshot
Commit message (Collapse)AuthorAgeFilesLines
* framework: fix screenshot and rotation animation for devices with abnormal ↵Tom Giordano2015-11-071-1/+8
| | | | | | hw rotation Change-Id: I42694931cb1a754aa6c7652c0a96304ef1f88492
* Use immutable ashmem bitmaps in screenshot notifications.Winson Chung2015-06-021-2/+2
| | | | | Bug 21037890 Change-Id: Ib5ed32bb475e1e8f7b3407ac72f53a6d640ffad1
* Ensuring that we write to disk first.Winson Chung2015-06-011-10/+9
| | | | Change-Id: I2c55db77ab6feef1b405858aac53fb0ed3370dc2
* Adding a delete action to the screenshot notification.Winson Chung2015-05-271-15/+70
| | | | | Bug: 21161917 Change-Id: I03e2073ef09e9aea00b523eddbe2b9122d280d89
* Fixing issue with screenshot icon being stretched.Winson Chung2015-05-271-9/+19
| | | | | Bug: 17491725 Change-Id: Iea36ed204dc9431fe1d80be5224a1fcbf6ff1c40
* Icon support comes to Notification.Dan Sandler2015-05-151-1/+1
| | | | | | | | | | | | | | | And you may ask yourself: what is that beautiful icon? And you may ask yourself: where does that API go to? And you may ask yourself: is it a resource? is it a Bitmap? And you may say to yourself: my god, what have I done (This patch fixes a number of bugs in the initial implementation, but other than that, it's the same as it ever was.) Bug: 18568715 Bug: 21141842 Change-Id: I1d3f9427abd7f0bb57e533fcfac708851ff644b6
* Revert "Icon support comes to Notification."Daniel Sandler2015-05-141-1/+1
| | | | | | | This reverts commit 08a04c15245c970856022d0779aa27d4d63cdee3. This also reverts commit 5bcbf857d129f4513e562801a4e88077b2655ade. Change-Id: Ia0b0a5339d523581c877822a3a1feec97ae4b73d
* Icon support comes to Notification.Dan Sandler2015-05-131-1/+1
| | | | | | | | | | And you may ask yourself: what is that beautiful icon? And you may ask yourself: where does that API go to? And you may ask yourself: is it a resource? is it a Bitmap? And you may say to yourself: my god, what have I done Bug: 18568715 Change-Id: I4377b311c538bd1cf36b3fba22326bae81af40c9
* Cancel a screenshot notification after a share target is chosen.Adam Powell2015-04-171-1/+27
| | | | | | | | Use the (relatively) new API for supplying a callback when a user makes a selection from the system ChooserActivity to clear out the screenshot notification after it has been shared to another app. Change-Id: If023a26d690c5ae8e29f28e2422f694ae4b654cb
* Making the screenshot filename smaller to fix issue on certain platforms.Winson Chung2015-04-031-1/+1
| | | | | Bug: 11574102 Change-Id: Ia71e600a6d484bc36624ae959841ae0b3f23697a
* Replace usages of deprecated Resources.getColor() and getColorStateList()Alan Viverette2015-03-181-1/+1
| | | | Change-Id: I8f64fe6c4c44a92ff6d07250223ba590a1d691b0
* Standardize notification IDs in the sysui package.Chris Wren2015-01-161-3/+2
| | | | | | | | Use the resource system to assign IDs for notifications, so that we know there will be no collisions. Bug: 10671709 Change-Id: I403e89f6ec953f6e2e63520b86e2cd464ebce6b3
* Added notification color to all system notificationsSelim Cinek2014-08-201-5/+14
| | | | | Bug: 17128331 Change-Id: I81a94510ef51b99916f314c0dd65852426a1fbeb
* Fix screenshots.Dan Sandler2014-08-071-0/+3
| | | | | Bug: 16861182 Change-Id: I9433cb4a5cc100d85f06eeed18ade3ead5ba8188
* Optimize large preview from the screenshot notification.Chris Wren2014-08-011-3/+21
| | | | | | | | | | | | Crop out a notification_panel_width by notification_max_height section of the screenshot for the preview. This will only save about 25% of the bytes on a phone-like device over the existing square crop, but on a tablet-like device the savings will be more significant: above 75%. Bug: 16631778 Change-Id: I05d4d402e44f7700f17b8b97018f6c00c3b0196d
* Categorize some system notifications.Dan Sandler2014-03-261-0/+2
| | | | Change-Id: Ia343bc276f50f488e2165056cff249a02f01d45a
* Redact public version of screenshot notifications.Dan Sandler2014-01-301-3/+28
| | | | | | | | | It's OK to reveal that a screenshot has been taken, but the public version of this notification no longer shows the actual screenshot image itself (in case it was taken before the device was locked and therefore might contain sensitive information). Change-Id: I5ba0b64023810ece0cea56ba457968fbde4b0cbe
* more locale-appropriate screenshot share textVictoria Lease2013-10-011-2/+2
| | | | | | | | The SimpleDateFormat version of this produces very poor results in locales other than en_US. Trusting DateFormat to do its thing produces more consistently-pleasing results across all locales. Change-Id: I2eca2b035dfe5282cfc506080db2780bedd15dd4
* Use correct timescale for "date taken" fieldMarco Nelissen2013-08-211-2/+3
| | | | | | | | Images.DATE_TAKEN is in milliseconds, not seconds. b/10424911 Change-Id: I7b6231715ee3945bbd473039fb204881b8de3dc0
* Remove trailing whitespace from system ui.John Spurlock2013-07-171-2/+2
| | | | | | Baseline existing .java files, no excuses going forward. Change-Id: I4bd0f25bbda6f2ec832e34ef5c70d4830bf07f99
* Organize the imports in systemui.John Spurlock2013-06-122-2/+0
| | | | | | | To follow android conventions, more importantly to remove the unused. Change-Id: I75881718e84360a579a3b02c26489ad250bc9227
* Fix date fields in media database for screenshot filesMike Lockwoood2013-05-021-3/+6
| | | | | Bug: 8770827 Change-Id: Ib0e8695ab00c58dc77505387a1e31ea693d416e2
* Fixing NPE on screenshot error. (Bug 8328886)Winson Chung2013-04-012-28/+6
| | | | Change-Id: Id47b8429c512c02e63d86de2ce37bd8e3ee02359
* split Surface in two classes: SurfaceControl and SurfaceMathias Agopian2013-02-141-1/+2
| | | | | | | | | SurfaceControl is the window manager side; it can control the attributes of a surface but cannot push buffers to it. Surface on the other hand is the application (producer) side and is used to push buffers to the surface. Change-Id: Ib6754c968924e87e8dd02a2073c7a447f729f4dd
* Manually recycling bitmap memory when rotating ss, resetting canvas bitmap, ↵Winson Chung2013-02-112-0/+36
| | | | | | adding logging. (Bug 7974275) Change-Id: I1b0590a297610ee5fee4e68222144780ab6e55ec
* Cleaning up listeners and AsyncTasks.Winson Chung2013-01-221-3/+25
| | | | Change-Id: I97dc44c93590764e1f9c6708ac2a9e30f65e1c8f
* Merge "Clearing screenshot bitmap references and recycling bitmap data ↵Winson Chung2013-01-171-0/+12
|\ | | | | | | immediately after saving. (Bug 7974275)"
| * Clearing screenshot bitmap references and recycling bitmap data immediately ↵Winson Chung2013-01-161-0/+12
| | | | | | | | | | | | after saving. (Bug 7974275) Change-Id: Icb71d28eb80105757026d7fac530db936b327500
* | Create directory on background thread.Jeff Sharkey2013-01-161-14/+15
| | | | | | | | | | Bug: 7726949 Change-Id: I707431075055cddb8da2c2bca37e91a846938dce
* | Create screenshot directory if missing.Jeff Sharkey2013-01-161-5/+7
|/ | | | | | | Also use File to build paths instead of String template. Bug: 7726949 Change-Id: I9aa0e6a0890c5450fe11e8007f8f4cb2e3287256
* Adding width and height into screenshot metadataDoris Liu2012-11-061-5/+9
| | | | | Bug: 7486020 Change-Id: I375cf9f1065bd1c75558d5f986e7e483cfd4a404
* Fixing issue where screenshot error message is clipped and share action is ↵Winson Chung2012-07-181-3/+11
| | | | | | missing subject. (Bug 6800151, Bug 6721459) Change-Id: Ie0ef654d660706607276069ae9b93b61ad94b2be
* Merge "Fix warnings and remove dead code"Michael Jurka2012-06-281-1/+0
|\
| * Fix warnings and remove dead codeMichael Jurka2012-06-281-1/+0
| | | | | | | | Change-Id: Ifd1bcd8f5be181b115910f2f8918e1e50975a790
* | Fix issue #6717667: expanded notification actions don't work on the lock screenDianne Hackborn2012-06-251-2/+1
|/ | | | | | | | | | | FLAG_ACTIVITY_CLOSE_SYSTEM_DIALOGS was a mistake. Instead, and the infrastructure for the status bar to take care of closing and hiding things itself when you press these buttons, just like it does for the main Intent of the notification. Bug: 6717667 Change-Id: I1b22186e0cedc05f46a1a3ec78053a72afaf61b1
* Present a one-time chooser when sharing screenshots.Daniel Sandler2012-06-011-2/+8
| | | | | Bug: 6561747 Change-Id: I0ee98d10e6927a9166e643a4a965285a62379a9b
* BigPicture notifications for screenshots.Chris Wren2012-05-221-12/+40
| | | | | | | | | | | | Needed a little extra help from the builder to make this happen (like the title, you might want a different largeIcon in the expanded view if---as in this case---it is redundant with the big picture). Needed to fix BigPicture template to reveal actions. Bug: 6289107 Change-Id: I19dc62e693ee2c87cbe82f7327fe9115768b4102
* NEW_API: Rework CameraSound into MediaActionSound, and unhide it.Eino-Ville Talvala2012-03-061-4/+5
| | | | | | | | | | | | | | | MediaActionSound is a helper class for applications that use the camera, or include camera-like behavior such as taking screenshots. This class helps applications match the sound-playing behavior of the Camera.takePicture, MediaRecorder.start, and MediaRecorder.stop methods. This is useful for applications that don't use the above methods, but still logically capture images or video, such as the panorama capture feature and the video effects in the platform camera application. Bug: 5029099 Change-Id: I829f6e2941f167f91f9cb506215b7232cb054958
* Fixing crash when taking screenshot over secure window.Winson Chung2012-01-041-7/+8
| | | | Change-Id: If3d4e458030e37aae3310b23dcad2ff5fe29fa73
* Adding a sound when you take a screenshot. (Bug 5617734)Winson Chung2011-12-011-0/+10
| | | | Change-Id: I7f253adddd09da65481081a4ca22f043d3325d65
* Improve screenshot animation performanceRomain Guy2011-11-291-75/+45
| | | | | | | | | Bug #5525888 Uses only 25% of the original amount of OpenGL API calls Fillrate usage is now 1x the screen size instead of 5x Change-Id: Icc7d2793f276fb7ce23c7f652079e54e3d4779d5
* Defer adding large icon until when we compose the final notification. (Bug ↵Winson Chung2011-11-141-5/+6
| | | | | | 5566846) Change-Id: I9f156d7b597112ce14e274f05df421100c9481e6
* Using fast-invalidate pattern for screenshot animations.Winson Chung2011-10-271-22/+36
| | | | Change-Id: I33e2dc72986a1e0309b33e9e4a71e131396fc2c8
* Last update for screenshot animations for MR0. (Bug: 5333706)Winson Chung2011-10-201-61/+92
| | | | | | - Also adding proper border asset Change-Id: I423389d1a68498b2e470e6d483f5b7542a814c31
* Updating the screenshot notification icons.Winson Chung2011-10-191-2/+2
| | | | Change-Id: If4c4632e73445d69f13805b6e472a167a85d6601
* Fixing issue where screenshot intent to file path did not show other ↵Winson Chung2011-10-181-4/+12
| | | | | | | | screenshots. (Bug: 5333706) - Upping the priority of the saving background thread Change-Id: I274991261f46eece3773ca1f84d2a1cb7b6f4e7b
* Updating screenshot animation and behaviour. (Bug: 5333706)Winson Chung2011-10-182-67/+157
| | | | | | | | - Removing the second ticker text - Adding a new animation to the status bar - Adding a large icon to the notification Change-Id: I8778178519fc72ffc299e8d624069b684475191d
* Showing notifications after taking a screenshot (Bug: 5333706)Winson Chung2011-10-132-64/+111
| | | | | | - Fixing issue where ticker and swipe-to-remove wasn't working for updated notifications Change-Id: Ib8ef07778a11028c9c2627830ee1dd4561d2ae3b
* Fix issue #5150899: Call activity takes 15MB we never get back.Dianne Hackborn2011-09-021-1/+0
| | | | | | | Persistent process can no longer use hardware acclerated drawing when running on a low-memory device. Change-Id: I3110335617af1c98fcede9bf41f4a1d0c20d0e87
* Fix issue #5128639: SystemUI grows by 10MB after taking a screenshotDianne Hackborn2011-08-172-13/+36
| | | | | | | | | | | We now do the screenshot in a separate process. Also change the recents panel to not use hardware acceleration on lower-end devices. And improve how it gets shown to not load all data up-front which results in a long delay when you have lots of recents. Change-Id: Ia309a90f9939e5405758621b3f7114597bd0c02a