summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | Fix Gallery glitch due to ColorTexture.Owen Lin2012-06-191-1/+1
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | Change the initial value of mTextureTarget to GL_TEXTURE_2D, since it is default enabled. bug:6668616 Change-Id: I4bf475ca1a02fed3371e8223003a10e88ce8d519
* | | am 2ce59cbd: Fix scaling gesture responsiveness.Chih-Chung Chang2012-06-182-7/+16
|\| | | | | | | | | | | | | | * commit '2ce59cbd4368eaf0f30cfea28891bd47155182cb': Fix scaling gesture responsiveness.
| * | Fix scaling gesture responsiveness.Chih-Chung Chang2012-06-182-7/+16
| | | | | | | | | | | | | | | Bug: 6632011 Change-Id: I9cfeafa4365354a631565f8ee4a9b53df76d06e9
* | | am 6b891c6a: Add swipe-to-delete gesture.Chih-Chung Chang2012-06-1814-188/+1038
|\| | | | | | | | | | | | | | * commit '6b891c6a3739f8c49d42f9db6fc76cb92c7c5f25': Add swipe-to-delete gesture.
| * | Add swipe-to-delete gesture.Chih-Chung Chang2012-06-1814-188/+1038
| |/ | | | | | | Change-Id: I992e59702f9dfff17da2f4464e48c9228d42b1b3
* | resolved conflicts for merge of cf6f99e7 to jb-dev-plus-aospJean-Baptiste Queru2012-06-146-4/+53
|\ \ | | | | | | | | | Change-Id: I4d8d85960b5f0289ee442278db39b8f8c445d73e
| * \ am 8d340042: Merge "Gallery2: Check privative effects"Jean-Baptiste Queru2012-06-146-6/+53
| |\ \ | | | | | | | | | | | | | | | | * commit '8d340042d2b79218b19f650803ea6a584c61f01f': Gallery2: Check privative effects
| | * | Gallery2: Check privative effectsJorge Ruesga2012-06-146-6/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Gallery2 has 2 effects (FaceTan and Facelift) from the privative gapps. If gapps is not present, Gallery2 gets into a FC when click on this effects. This patch checks if the permission "com.google.android.media.effects" exists and hide this 2 effects if permission not exists Patch 2: Use EffectFactory.isEffectSupported to detect if filters exists Patch 3: Make isPresent method from effect classes a static method Patch 4: Change actions classes for static calling to effects classes Change-Id: I8f6b59e57e504114835ab3283f65a72b4f6774a8
* | | | am b62f354d: am 582c3bb9: Merge "Gallery2: Use ICS alert drawable"Jean-Baptiste Queru2012-06-111-1/+1
|\| | | | |_|/ |/| | | | | | | | * commit 'b62f354d4f890a20f6bec37eac83226f75a4a475': Gallery2: Use ICS alert drawable
| * | am 582c3bb9: Merge "Gallery2: Use ICS alert drawable"Jean-Baptiste Queru2012-06-111-1/+1
| |\| | | | | | | | | | | | | * commit '582c3bb99cf58b55defa5f788d488c62f771b60e': Gallery2: Use ICS alert drawable
| | * Gallery2: Use ICS alert drawableBjörn Lundén2012-05-311-1/+1
| | | | | | | | | | | | | | | | | | | | | Same bug here. It's using the old compability drawable instead of the Holo theme one. Change-Id: Ia84ce1d305ee63fc6bc1fdb407a91b3421842eb1
| * | Patch 2 for MR1.Chih-Chung Chang2012-03-222-5/+54
| | | | | | | | | | | | Change-Id: I39cc780e0ef49c4e0863a1a83e585e16f0a32425
| * | Patch for MR1.Chih-Chung Chang2012-03-216-76/+312
| |/ | | | | | | Change-Id: I3f4bba2854257008eed95b8eacce598abdca3180
* | Don't display loading text when loading album sets.Yuli Huang2012-06-111-5/+0
| | | | | | | | | | bug:6635606 Change-Id: I55f0dafd5ead8455ed8bee1f03c06ca03662ebbd
* | Check the offset of output rect when cropping image.Owen Lin2012-06-062-4/+12
| | | | | | | | | | bug: 6568720 Change-Id: I36c98cab5830eaac15369ada1a1a988e10b0fbf4
* | Merge "Update the screen nail size even if screen nail is still the same ↵Wei Huang2012-06-041-2/+1
|\ \ | | | | | | | | | one." into jb-dev
| * | Update the screen nail size even if screen nail is still the same one.Chih-Chung Chang2012-06-011-2/+1
| | | | | | | | | | | | | | | | | | | | | Because the rotation value may have changed. Bug: 6594218 Change-Id: I8da2a3041da0e27e1b80723dab8a825a2350c2dd
* | | Fix b/6590795 dejank photo effect sliderRuei-sung Lin2012-06-011-0/+7
|/ / | | | | | | Change-Id: I14737bd01361b58c6bd4af19957d514368cc19ea
* | Don't allow the orientation to be unlocked if "Rotation Lock" is checked in ↵Chih-Chung Chang2012-05-311-4/+10
| | | | | | | | | | | | | | Settings. Bug: 6577802 Change-Id: I5c8eefbb154eedcf71e80e082261e38450105892
* | Improve scale gesture snapback.Chih-Chung Chang2012-05-311-23/+48
| | | | | | | | | | | | | | | | | | If the picture is zoomed-in, we want to keep the focus point stay in the same position on screen, so we need to adjust the target mCurrentX value. Bug: 6563619 Change-Id: I87b23da99aced1490187e550bd43fad733122577
* | If the focused box was at minimal scale, we try to make it theChih-Chung Chang2012-05-301-0/+9
| | | | | | | | | | | | | | minimal scale under the new view size. Bug: 6584425 Change-Id: I7dcc748cb3659a06f2ca4d8550d075fdda2949fa
* | Move to final position after view size change.Chih-Chung Chang2012-05-302-3/+8
| | | | | | | | | | Bug: 6584188 Change-Id: If6ab23532bd7040701e358f9cdd813d2f6a71e5c
* | Merge "Improve image size change handling." into jb-devChih-Chung Chang2012-05-302-60/+101
|\ \
| * | Improve image size change handling.Chih-Chung Chang2012-05-292-60/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - When the camera relative frame is set, we delay the change for camera rectange until the next setImageSize call. This avoids the unwanted intermediate state if we change them separately. - Don't draw other screennails when the camera is in full screen. This avoids showing other screennails when the image size changes. - When the aspect ratio of the image changes, we assume the view angle of the longer side doesn't change (so the aspect ratio change is because the view angle of the shorter side changes). This matches what camera preview does. Bug: 6566612 Change-Id: I7603416f31c96ba77c96cdc2a3d0b79f8921c491
* | | Keep screen on for user-initiated slideshow.Yuli Huang2012-05-294-5/+20
|/ / | | | | | | | | Change-Id: I3085398c663e2c38a31cfde5a07b23446bb7bd7f b:6450305
* | Add back the background when we show the action barOwen Lin2012-05-253-28/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change fix the following UI issues: 1. We add a black backgorund when ActionBar shows and remove it when we hide the action bar. 2. Make the postion of video stable when opening 3. Prevent glitching when opening a video 4. Make it really full-screen. 5. Hide ControlOverlay at begining. bug:6519765 bug:6491674 Change-Id: I3ab033642df2c4a158b99385b02e3e967eebeabd
* | Force to stop scrolling in filmstrip mode.Angus Kong2012-05-241-0/+1
| | | | | | | | | | bug:6554106 Change-Id: I4305ce7068a36e72a325996a88c1d227a2d2b20c
* | Merge "Fix 6519765 Ghosting is seen when hiding the actionbar in fullscreen ↵Wei Huang2012-05-231-8/+12
|\ \ | | | | | | | | | video playback mode b:6519765" into jb-dev
| * | Fix 6519765 Ghosting is seen when hiding the actionbar in fullscreen video ↵Ray Chen2012-05-231-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | playback mode b:6519765 Ensure SYSTEM_UI_FLAG_LAYOUT_STABLE and SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN is set in all states so ActionBarOverlayLayout can response to fitSystemWindows and onSystemVisibilityChange correctly. Change-Id: I41a33c9e7d21243bde6fa64e6cd1b709e7b04203
* | | Merge "Back should progress through Gallery and return Home for widget ↵Yuli Huang2012-05-233-5/+21
|\ \ \ | | | | | | | | | | | | intents." into jb-dev
| * | | Back should progress through Gallery and return Home for widget intents.Yuli Huang2012-05-233-5/+21
| | | | | | | | | | | | | | | | | | | | bug:6384492 Change-Id: I7ffb824568e400ff5724a29c1908c34a1e10235c
* | | | Merge "Remove the background in MovieActivity." into jb-devChih-Chung Chang2012-05-231-0/+4
|\ \ \ \
| * | | | Remove the background in MovieActivity.Owen Lin2012-05-231-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a regression. We add the background for bug 6494653. So we need to remove it in MovieActivity as well. bug:6491674 Change-Id: I6fb692fa778a1200ffbed741ca0996cb7eeef32f
* | | | | Merge "Put a black View in front of SurfaceView." into jb-devChih-Chung Chang2012-05-231-0/+17
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Put a black View in front of SurfaceView.Chih-Chung Chang2012-05-221-0/+17
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | This prevents SurfaceView from being transparent before the first draw. Bug: 6507478 Change-Id: I2170f23d4c9844bfc3854d6120f5e72cc0d591ca
* | | | Merge "Fix 6259517 "0 images / videos available" toast is displayed in ↵Wei Huang2012-05-227-6/+39
|\ \ \ \ | | | | | | | | | | | | | | | gallery on launch though it has images / videos" into jb-dev
| * | | | Fix 6259517 "0 images / videos available" toast is displayed in gallery on ↵Ray Chen2012-05-237-6/+39
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | launch though it has images / videos And removed sync error toast. Bug: 6259517 Change-Id: Ib7b25176a6db290220661a2e98e4e031043201d9
* | | | Merge "Recycle textures when we don't need them." into jb-devWei Huang2012-05-226-35/+38
|\ \ \ \
| * | | | Recycle textures when we don't need them.Owen Lin2012-05-226-35/+38
| |/ / / | | | | | | | | | | | | | | | | bug: 6307447 Change-Id: Id0c1abab54e1fbb75364dffda9f1f72d6b39310b
* / / / Unlock orientation only when action bar is needed.Chih-Chung Chang2012-05-223-61/+51
|/ / / | | | | | | | | | | | | Bug: 6482079 Change-Id: I75d96ca7957f80e9c52f35edf74127f82f194f63
* | | Add a new state uploading to UploadedTexture.Owen Lin2012-05-2214-38/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This state means the texture is being uploaded in background and should not be drawn now to prevent janking. Sometimes, we may lose GLContext and we will need to reupload textures again. In this case, we would like to upload these texture in foreground instead of using TextureUploader. (for simplicity since this won't happen too often). bug: 6519344 Change-Id: Ic5d7547c6a0eb4b044b79aa0eb4eb52397faac03
* | | Hide status bar in lights out mode.Chih-Chung Chang2012-05-221-1/+5
| | | | | | | | | | | | | | | Bug: 6451200 Change-Id: I6ad5ffc203fd8e6be9191ba13a4a99eb716c4734
* | | Reuse bitmap to prevent GC in TiledImageView.Owen Lin2012-05-225-79/+99
| | | | | | | | | | | | | | | bug:5948093 Change-Id: Iad89c5809bde0de5409752330f607aab153dceba
* | | Limit the size of a ScreenNail.Owen Lin2012-05-225-11/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:6528366 This bug was happened because we are trying to make a texture beyond the max size allowed in GL. Here is what we do in this CL: 1. Limit the size of a screen nail 2. Print warning message, if we try to allocate a texture beyond the size 3. Don't show fall-back animation if the image is not loaded yet. Change-Id: I004b1138efd0eef7ba11aa89556f67743ca46745
* | | Fix 6360834 Select All is shown in place of Deselect all optionRay Chen2012-05-224-12/+26
|/ / | | | | | | | | | | | | | | | | | | The CL changes the SelectionManager's toggle method so it changes itself to inverse selection mode when all items are already selected, and onSelectionModeChange will be triggered so the listener can update the selection menu (Select all/Deselect all) and ActionBar. Change-Id: I9aa5507067415e52f6800c254ecb4d68e7395ffa b: 6360834
* | Merge "Don't fire data change notification before the data is made ↵Chih-Chung Chang2012-05-211-1/+0
|\ \ | | | | | | | | | consistent." into jb-dev
| * | Don't fire data change notification before the data is made consistent.Chih-Chung Chang2012-05-211-1/+0
| | | | | | | | | | | | | | | Bug: 6500467 Change-Id: Ia064461daba92bbf1172eae5d321bf5049de6d48
* | | Merge "Fix capture animation if we are far away from the camera preview." ↵Chih-Chung Chang2012-05-212-17/+42
|\| | | | | | | | | | | into jb-dev
| * | Fix capture animation if we are far away from the camera preview.Chih-Chung Chang2012-05-212-17/+42
| | | | | | | | | | | | | | | Bug: 6481823 Change-Id: If2511c8dd08e0483cdc3139068ee190e2b08126d
* | | Merge "Fix the detail isn't updated for the selected thumbnail." into jb-devWei Huang2012-05-212-0/+3
|\ \ \