summaryrefslogtreecommitdiffstats
path: root/res/drawable
Commit message (Collapse)AuthorAgeFilesLines
* Custom checkbox drawable for K devicesAlan Newberger2015-03-061-0/+8
| | | | | | | | | L is already taken care of in a v21 style, with the new buttonTint property. For K, use the given assets, which happen to be in a Material style as provided by UX. Bug: 19083903 Change-Id: I9392edf6460a3a9c7c00e1b62cc0f61f9e2b4231
* gray cleanup to 1b1b1bAlan Newberger2015-02-064-8/+3
| | | | | | | | | | During Material update, filmstrip background was intentionally made 1b1b1b. Capture button and mode covers were slightly off from a previous gray design. Unifying all to one color constant. There are other, unused background specified from older times, removing them as part of cleanup. Confirmed with UX that all these colors should be 1b1b1b. Change-Id: I3da07e9828546d2c9d30a8ac756a0bbb89d6376c
* Remove elevations from filmstripAlan Newberger2015-02-041-6/+0
| | | | | | | | | Elevations were not applied to SessionItems causing bad z-order behavior. As the shadows are not really visible, just removing elevation entirely, this also seems to improve performance. Bug: 17742801 Change-Id: I8fedad3b6c083f7cde349e51021f928d719edb40
* Add Camera cover equivalent to windowBackground to smooth lockscreen startupAlan Newberger2015-01-161-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL adds a windowBackground drawable equivalent to the covers shown by lockscreen and app, to remove the black screen in between. With this CL I mostly see no artifacts when opening camera from lockscreen. Some issues: * to improve memory usage in system UI holding the lockscreen preview, a vector camera blanket was added in ag/587418 to ic_camera_blanket. That works transparently everywhere so far but not in resource drawables that can only handle bitmaps in layer-list items. Split the vector and bitmaps here, which means only the lockscreen uses the vector -- this also surfaced a color mismatch between the vector and our PNG bitmaps, corrected in the new ic_camera_blanket_vector resource. This is a bit fragile as we rely on pixel match of the two resources, would like a cleaner solution but the layer-list limitation is tough -- without this change the app crashes at runtime within BitmapDrawable when the windowBackground is loaded. * likewise both the lockscreen and app covers explicitly size the bitmap, there are no provisions to do so within layer-list. Will follow up with a refactor of in-app cover (ModeTransitionView) to remove explicit sizing and then all will rely on bitmap size (per above will still need vector file size coordinated with bitmap). * current implementation relies upon a black window background, we restore that in onCreate. * Both secure camera and v21 main camera currently use the windowBackground, will submit just for secure then introduce for main camera when we always start into Camera mode. * For L explicitly set android:windowDrawsSystemBarBackgrounds to false to ensure the system preview into the DecorView doesn't take the navigation bar into account when vertically centering the cover bitmap, to make the preview identical to the other covers. Bug: 18369862 Change-Id: Ia481e2d1d94bdc5a5d39b4d35b32c29a75bf99ec
* Add experimental RAW(DNG) support.Sascha Haeberling2014-11-071-29/+0
| | | | | | | | | | | | | | | | Bug: 18272977 This adds RAW writing behind a new debug property: adb shell setprop persist.camera.capture_dng 1 This will switch to the non-ZSL implementation of one Camera. The resulting files are stored in a "DNG" folder under DCIM/Camera. Caveats: - Preview aspect ratio will not match. - No item in filmstrip Change-Id: I9d990de119f22a12d37b22d36d84dc15aeee9340
* new colors for GAR contrast complianceSpike Sprague2014-10-221-0/+7
| | | | Change-Id: I2e1a05b9670c01c9729ed9e7b8b146add95ab88f
* new share iconSpike Sprague2014-09-291-6/+13
| | | | | bug: 17671676 Change-Id: I1b681efdb3129cdd532002d85ad3257cef962d92
* implement new trash icon, plus some asset cleanupSpike Sprague2014-09-181-2/+2
| | | | | bug: 17566685 Change-Id: Ia7b55ad3b6fed939c19abcde12cbf34726ba919c
* boatload of new assetsSpike Sprague2014-08-266-0/+174
| | | | | | also: bug: 17255612 Change-Id: I8551e3162b8eedee9653a05abb88177e39f12be5
* ripple drawable on shutter buttonSpike Sprague2014-07-243-0/+14
| | | | | bug: 16123188 Change-Id: I390279acb7a4599f1aeba71b415f1261b9a9b97b
* filmstip quantumificationSpike Sprague2014-07-221-0/+6
| | | | | | bug: 16456504 Change-Id: I7c4c309671ae08179f22c35ffa7f3f9f5b4ee7ce
* Show timer option in HDR+ mode and as disabled.Sascha Haeberling2014-05-203-0/+117
| | | | | | Bug: 15089347 Change-Id: I366cd0b553808d55136c141bc1efec6ada9ee9b0
* Fix the build, we need button_cling in camera2.Sascha Haeberling2014-05-161-0/+7
| | | | Change-Id: I8150d87567ed0e8598e59a806859b00bf51b70c8
* Start up screenDoris Liu2014-05-132-0/+40
| | | | | | | | | This is the 2-step full screen popup: Step 1: (Only for new users) Choose whether geo-tagging should be on Step 2: For new users and upgraders to choose 4:3 or 16:9 preview resolution to take advantage of the screen size. Change-Id: Ibffe5a807cc622a3945b9fd869de1bf7dd660849
* change exposure comp and pano orientation toSpike Sprague2014-05-051-0/+24
| | | | | | | | use the new RadioOptions bug: 13780101 Change-Id: Ie7b12199a96272827cc381560a5b801f87a5b81a
* exposure compensation control is backSpike Sprague2014-04-042-0/+63
| | | | | bug: 13607051 Change-Id: Ib4920ba3f8f3a548651a2d07613ccfdc28ca1d6e
* keep three dots option toggle on the screenSpike Sprague2014-03-312-0/+16
| | | | | bug: 13716654 Change-Id: I142d2ce8c026ad4f4fded15475e4d2a42e10f859
* moving assets around to unbreak build (Camera2 / GoogleCamera differences)Spike Sprague2014-03-112-58/+0
| | | | Change-Id: I1dfc3963d7d577a5404527317b0cf1813ca7f478
* capture button disabled states supportSpike Sprague2014-03-114-0/+116
| | | | | | bug: 13244592 Change-Id: I58b1b3dada9be60ec28be0e0bab81c9dc000511b
* implement capture options animationSpike Sprague2014-03-042-4/+4
| | | | | bug: 13100962 Change-Id: I1baf64693d0e01e99bfa19d0bd8699fd33d5812a
* Merge "Change progress bar color" into gb-ub-photos-denaliAngus Kong2014-02-281-0/+27
|\
| * Change progress bar colorAngus Kong2014-02-281-0/+27
| | | | | | | | | | bug:13026663 Change-Id: I81171fee34c8cba21a74c1fbadc25f82e853143d
* | Remove unused refocus drawable.Sascha Haeberling2014-02-282-78/+0
|/ | | | Change-Id: I38922d8d8f3f98694d273b7902085ae6b828f359
* Add a pressed state on mode drawer itemsDoris Liu2014-02-221-1/+1
| | | | | Bug: 13097259 Change-Id: I63ba6a8200d69b451081b3ece8e8b71123b58a6e
* Update assets of filmstrip controlsAngus Kong2014-02-183-0/+66
| | | | | bug:13027163 Change-Id: I7a19a4ef35358566717e816a85a0ffa77ca7e48a
* Change gear icon background and implement pressed stateDoris Liu2014-02-183-0/+75
| | | | | | Bug: 13004843 Bug: 13005562 Change-Id: I18b44283bb337ca0bb3eb4aae923398a8ac4bfbb
* removing level 1 button backround circlesSpike Sprague2014-02-1313-286/+104
| | | | Change-Id: I4ae7eae6ad80288f7113ad0480adc60c92c6c9a2
* Merge "new intent bottom bar ux" into gb-ub-photos-denaliSpike Sprague2014-02-123-72/+0
|\
| * new intent bottom bar uxSpike Sprague2014-02-113-72/+0
| | | | | | | | | | bug: 12969738 Change-Id: I938a7266a71ed6a6eb4cf3e8a0153d938df11e1f
* | Merge "Update focus ring indicator with new assets." into gb-ub-photos-denaliDoris Liu2014-02-112-30/+0
|\ \
| * | Update focus ring indicator with new assets.Doris Liu2014-02-112-30/+0
| |/ | | | | | | | | Bug: 12963258 Change-Id: I8f399aec05c2064b0b6dac0fc2e6fc31b68ca3ad
* / fixing video mode stop button (too big? not anymore)Spike Sprague2014-02-111-24/+0
|/ | | | | bug: 12970650 Change-Id: Idf22205919b295c0ca51beed93a187da11a327ed
* New focus indicator for touch to focusDoris Liu2014-02-101-0/+30
| | | | | Bug: 12954917 Change-Id: I103c1071c81c48bbbd3a90cce2e2a39df4bd633e
* New mode drawer.Doris Liu2014-02-072-0/+57
| | | | | | | | | | | | | | | -Changed the entire look of the mode drawer by using a live preview as background, and use circle icons rather than block shaped icons -Fade in the blurred preview frame during mode switch -Add highlighted and selected states to mode icons -Center the mode drawer in preview rather than whole screen -Swapped mode order in the drawer TODO: -Add settings access point -Refine swipe in/out behavior of the drawer Change-Id: Ibab0fe960bcfbb9635ca7f45d50178cb1ef2941f
* Add grid lines option and indicator.Erin Dahlgren2014-02-072-0/+106
| | | | | Bug: 12454164 Change-Id: Iae088cee0cc67041bb304f276a5ffe84a813df5e
* Use ninepatch for indicator background.Erin Dahlgren2014-01-231-20/+0
| | | | | Bug: 12602711 Change-Id: Id513f526331b4dbefcfae1f2bff548cbf4bbac94
* Add hdr option and indicatorErin Dahlgren2014-01-212-0/+106
| | | | | Bug: 12440745 Change-Id: I2e5b8d860a19cd1fd1299dc42d13b26b6b5e88ec
* Merge "3 dots press state in bottom bar should be sticky" into ↵Spike Sprague2014-01-171-0/+39
|\ | | | | | | gb-ub-photos-denali
| * 3 dots press state in bottom bar should be stickySpike Sprague2014-01-171-0/+39
| | | | | | | | | | bug: 12600702 Change-Id: Ibd6725e8441775d6d6bced08280430e180bd1c37
* | Change the press state transparency value in the video bottom barSpike Sprague2014-01-171-1/+1
|/ | | | | bug: 12600857 Change-Id: I12852fb936443bef67211ba21ed51a4fb9feae28
* button background press statesSpike Sprague2014-01-1618-56/+620
| | | | | | bug: 12450227 Change-Id: I9008a4d57545bd081a4c6539c64d23b939d4ab95
* Add dynamically sized transparent background to indicators.Erin Dahlgren2014-01-091-0/+20
| | | | Change-Id: Ie9d8214b665ae134fda66c17707d50040cf3f837
* Touch to focusDoris Liu2013-12-201-0/+0
| | | | Change-Id: I69860bd05426e3a04bc5fd7d0dd581b5d6ff768d
* removing *_disabled.png assets for mode iconsSpike Sprague2013-12-196-126/+0
| | | | | | bug: 12234456 Change-Id: I978e0f43c3ca3bf5dfd5198a9c45048299b43c0e
* adding new icon resourcesSpike Sprague2013-12-1824-0/+504
| | | | | | bug: 12128194 Change-Id: I1b34100821113aa7ba996fab3faf14752e766030
* Pinhole animation, quick switch between photo and videoDoris Liu2013-11-237-0/+0
| | | | | | Also, first pass of the view hierarchy refactor. Change-Id: I6c80191f15908bd24c16b76df6ef92df3ef905fc
* Introduce new mode switcherDoris Liu2013-11-127-0/+0
| | | | | | TODO: Get assets from UX and activate shimmy Bug: 11514368 Change-Id: Iebfd3c3c2dc1b08db25e166d5f90d3418a67ed22
* Add 'disabled' state for when Gcam is unable to take another shot.Sascha Haeberling2013-10-131-0/+21
| | | | | | Bug: 11113201 Change-Id: I887104dc79f4a7a83bb79b2d30c0289fc90c9022
* Merge "Fix drawable location." into gb-ub-photos-carlsbadRuben Brunk2013-09-191-0/+0
|\
| * Fix drawable location.Ruben Brunk2013-09-191-0/+0
| | | | | | | | | | | | | | | | Bug: 10430748 - Drawable wasn't included when building from klp-dev. Change-Id: I85e57eebbab3a25e18e3fd6738ffa43bdd61f974