summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Gallery: don't flash title on launchLikai Ding2016-06-061-1/+0
| | | | | | | Request no title feature in app theme instead of during onCreate(). CRs-Fixed: 1024516 Change-Id: I2805f1e5bdfbeaf3b4e142d9aab18b8e75669e68
* Gallery: remove dead codeLikai Ding2016-06-062-30/+2
| | | | | CRs-Fixed: 1024516 Change-Id: I61002ec124a6a0c0efcf580af581cfc8a1b34ea1
* Gallery: remove calls to @hide and internal API/membersLikai Ding2016-06-039-48/+38
| | | | | CRs-Fixed: 986672 Change-Id: Ib7b9eb494da9c38191f75960f01e62dfbf356205
* Gallery: AudioSystem wrapperLikai Ding2016-06-031-8/+6
| | | | | CRs-Fixed: 986672 Change-Id: I6cb69643162a089b3565666523291563860e6170
* Gallery: MediaPlayer/Metadata wrapperLikai Ding2016-06-032-9/+10
| | | | | CRs-Fixed: 986672 Change-Id: Ia290c2043d0d6a01df0ff2a07d143e15078ca109
* Gallery: SystemProperties wrapperLikai Ding2016-06-034-44/+26
| | | | | CRs-Fixed: 986672 Change-Id: I84c1c24604ef2bb5890e8054f4a8ef9b43f1a07e
* Gallery: rename project and make it buildLikai Ding2016-05-29222-226/+230
| | | | Change-Id: I18f3b067694be923a263732a90b8e59904db0186
* Gallery2: Fix FilterShowActivity load fail and force closehuiyan2016-05-095-41/+76
| | | | | | | | | | | | | | | | There are two running instances of FilterShowActivity, one instantiate from Gallery path, the other instantiate from Camera path. The two activity instances bind to the same ProcessingService instance. If one instaces save image by the service, the service is always in saving state, so other instance cannot load and the NullPointerException occur. Remove the saving condition and use broadcast result to notify FilterShowActivity 's instances to update UI in ProcessingService. In FilterShowActivity load the ui immediately after bind to service and use the request id to distinguish the different instance's request. Change-Id: Ief6e746bba5670f397977639df0ba7fb903a4925 CRs-Fixed: 1002161 1000423
* Merge "Gallery2: modify some UI interface according to UI document." into ↵Linux Build Service Account2016-05-095-12/+20
|\ | | | | | | android_ui.lnx.1.2-dev
| * Gallery2: modify some UI interface according to UI document.Chao Zhang2016-05-065-12/+20
| | | | | | | | | | | | | | | | | | | | | | 1. Modify layout of actionbar when selected photo; 2. Modify menu string in Video Page; 3. Modify compare button's position in photo editor; 4. Modify bottom panel's height in photo editor; 5. Set video play icon to 48dp in PhotoView; Change-Id: Ic660d5dde87998e87eb02482ac7ba7e2ba2f0bb1 CRs-Fixed: 1010984
* | Merge "Gallery: fix a memory leak" into android_ui.lnx.1.2-devLinux Build Service Account2016-05-061-0/+2
|\ \ | |/ |/|
| * Gallery: fix a memory leakLikai Ding2016-05-051-0/+2
| | | | | | | | | | | | | | | | If video playing is completed, not paused or cancelled, the Runnables posted are not removed from the Handler. Make sure they are removed. Change-Id: I4c27583e4305398b35188c494b6da15f809439b9 CRs-Fixed: 999702
* | Merge "Gallery2: Fix force closed when input long size at Export Flattened ↵Linux Build Service Account2016-05-051-2/+10
|\ \ | | | | | | | | | Image." into android_ui.lnx.1.2-dev
| * | Gallery2: Fix force closed when input long size at Export Flattened Image.huiyan2016-05-031-2/+10
| |/ | | | | | | | | | | | | | | | | | | | | If input long size, the NumberFormatException occur when parse int from string. Try to catch the NumberFormatException, and use the original width and height for user. Change-Id: I5401f400c2ddb79aa9bd952a02de1c45222f5ae0 CRs-Fixed: 1002767
* / Gallery2: Fix picture is different when changes font sizehuiyan2016-05-021-1/+13
|/ | | | | | | | | | | | when change the system font size, photopage destroy. when re-start it, the photopage restore from stack. But the current photo index is not saved. So photopage display the original photo not the current photo. In onSaveState the current photo index is saved. In onCreate that current index is restored if the photopage restore from stack. Change-Id: I9a0e4ff1d13773a976c197e96fef570c173b3b8d CRs-Fixed: 1004545
* Merge "Gallery2: Show seekbar under category panel according to UI design." ↵Linux Build Service Account2016-05-029-42/+182
|\ | | | | | | into android_ui.lnx.1.2-dev
| * Gallery2: Show seekbar under category panel according to UI design.Chao Zhang2016-04-289-42/+182
| | | | | | | | | | | | | | | | 1. Show seekbar under category panel according to UI design. 2. No need animation if return from seek bar's "cancel" and "save". Change-Id: I63d8454137c1c87862c9fb5a52d322edc81ccff3 CRs-Fixed: 1007612
* | Merge "Gallery2: Fix status bar and menu list are overlapped in photopage." ↵Linux Build Service Account2016-05-023-1/+26
|\ \ | |/ |/| | | into android_ui.lnx.1.2-dev
| * Gallery2: Fix status bar and menu list are overlapped in photopage.huiyan2016-04-263-1/+26
| | | | | | | | | | | | | | | | | | | | After the menu list open, the status bar is showed. So they overlapped. Set full screen in onResume state to hide status bar, and cancel full screen in onPause state to show status bar in photopage. Change-Id: I7af92a3c351b0b713126645e0270f454263356ee CRs-Fixed: 1004673
* | Gallery: fix a memory leakLikai Ding2016-04-273-77/+51
|/ | | | | | | | | | | | The requestAudioFocus() call does not provide the listener previously registered, so it remains in AudioManager and eventually leaks MovieActivity. The regression is introduced by Id8e3e4b0afbc72892301a08fb8a122c285fbfe97. Change-Id: I032cfb9df1973420a51476bba139294badee1366 CRs-Fixed: 999702
* Merge "Gallery2: fix photo details title display incorrect in Timeline." ↵Linux Build Service Account2016-04-252-4/+18
|\ | | | | | | into android_ui.lnx.1.2-dev
| * Gallery2: fix photo details title display incorrect in Timeline.Chao Zhang2016-04-252-4/+18
| | | | | | | | | | | | | | | | In Timeline page, index of photo in detail dialog need filter TimelineTitle items. Change-Id: Ice99e24b38c20f56f59b3a219b5f9030165c0acb CRs-Fixed: 1004629
* | Gallery2: Add gesture controller in MoviePlayer according to UI spec.Chao Zhang2016-04-256-31/+653
|/ | | | | | | | | 1. Add gesture controller in MoviePlayer according to UI spec, include adjust brightness, adjust volume, adjust video position. 2. Tap screen when system ui is shown, hide system ui immediately. Change-Id: I759246baa1efb18cd525716da59a314ecefaf163 CRs-Fixed: 988590
* Merge "Gallery2: Fix menu icon is missing when change language on Videos ↵Linux Build Service Account2016-04-252-2/+17
|\ | | | | | | page." into android_ui.lnx.1.2-dev
| * Gallery2: Fix menu icon is missing when change language on Videos page.huiyan2016-04-222-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the gallery is in background ,the video page is saved to the stack. After the language change, the Gallery is destroyed. If gallery start again, the video page is restored from the stack. But the action bar is set to don't display the home as up in onResume, which set the navigation icon to null, so the menu icon can't display. If albumpage is started by Video option, the action bar set to display home option. If albumpage is start by others(albumnsetpage), the action bar set to display home as up option,to display menu icon or up icon rightly in action bar. Besides, fix to display the right title with the different language. Change-Id: Ieec0bd47400f6c0b698f5c2e842dc1038d9addcf CRs-Fixed: 1002171
* | Merge "Revert "Gallery2: Set PhotoPage GL root reset when rotate"" into ↵Linux Build Service Account2016-04-252-18/+0
|\ \ | | | | | | | | | android_ui.lnx.1.2-dev
| * | Revert "Gallery2: Set PhotoPage GL root reset when rotate"huiyan2016-04-212-18/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 104f367812c753362c9c077d1d010e127e3be7f1. Change the orientation in SlideshowPage which is active, photoPage reload the data and invalidate UI in inactive state. This cause UI is black when return from SlideshowPage to PhotoPage. So revert it to avoid reloading data and invalidating UI, if PhotoPage is inactive state and the orientation change. Change-Id: Ia60af41662c60858d92d00fcacb6686a123c0e21 CRs-Fixed: 997153
* | | Gallery2: hide action bar in photo editor if there has bottom panel.Chao Zhang2016-04-225-4/+61
| | | | | | | | | | | | | | | | | | | | | | | | 1. hide action bar in photo editor if there has bottom panel. 2. hide SAVE button and Reset menu item if no modifications. Change-Id: If8e78d95052dbfdc44a5c5edeb464d2fb4e43af5 CRs-Fixed: 988053 988059
* | | Gallery2: Modified layout of crop and exposure model in photo editor.wqi2016-04-2213-32/+577
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | 1. Modified layout in crop model. 2. Remove mirror and draw only keep crop, straighten, rotate in crop model. 3. Adjust style of seekbar in exposure model. 4. Modified layout in exposure model. 5. Remove '4:3', '3:4', '5:7' and '7:5' functions from crop. According to UX specification document. Change-Id: Ib536b3f57a83053bac8fc6ec778675a82b6327e6 CRs-Fixed: 988082 988090
* | Merge "Gallery2: fix some abnormal of comparison button in photo editor." ↵Linux Build Service Account2016-04-223-7/+24
|\ \ | |/ |/| | | into android_ui.lnx.1.2-dev
| * Gallery2: fix some abnormal of comparison button in photo editor.Chao Zhang2016-04-213-7/+24
| | | | | | | | | | | | | | | | | | | | 1. don't call backToMain() when press comparison button. 2. don't call updateCategories() when press comparison button. 3. fix comparison button disappeared when exit Crop editor. 4. hide comparison button in Straighten editor. Change-Id: Ib5d2a9df59d2e1c5ed0d0764dc7520c1ed518207 CRs-Fixed: 1005753
* | Merge "Gallery2: Fix UI display wrongly after deleting some pictures in ↵Linux Build Service Account2016-04-215-12/+44
|\ \ | | | | | | | | | photopage." into android_ui.lnx.1.2-dev
| * | Gallery2: Fix UI display wrongly after deleting some pictures in photopage.huiyan2016-04-215-12/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The kind in TimeLinePage is set to wrong value after retrun from photopage, so the UI display wrongly. The albums from dataManger is not cleared after delete all the photos, so can't finish the photopage after deleting the last photo. Set the right value to kind in timelinepage after return from photopage. And set the empty path to the albums which don't exist from dataManger, to finsih the photopage after delete the last photo. Change-Id: I09d4d5349ce5e78a2be3129510d822584bfa57db CRs-Fixed: 991313
* | | Gallery: fix error when license expiresLikai Ding2016-04-211-1/+1
|/ / | | | | | | | | | | | | | | License expired pop-up will appear for multiple times. Check error status when start the video. Change-Id: I7ce509aec6859c8117aebc01c7a3c828221aafa3 CRs-Fixed: 980372
* | Merge "Gallery2: Fix the image add to the status bar." into ↵Linux Build Service Account2016-04-212-3/+12
|\ \ | |/ |/| | | android_ui.lnx.1.2-dev
| * Gallery2: Fix the image add to the status bar.huiyan2016-04-202-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The Gallery is killed by system in background due to some reason. The Gallery restore last states after restart it. But the mediaset is loading, the reload function return immediately, and the data is empty,the Photopage is finished when the data is empty. So the UI is wrong. If the mediaset is loading, waiting for it. After loading successfully, display the right photo. Change-Id: Icb95524bd151145beeba83205b365065fbb20530 CRs-Fixed: 979193
* | Merge "Gallery2: fix photo count display abnormal on Timeline title." into ↵Linux Build Service Account2016-04-201-2/+0
|\ \ | | | | | | | | | android_ui.lnx.1.2-dev
| * | Gallery2: fix photo count display abnormal on Timeline title.Chao Zhang2016-04-191-2/+0
| | | | | | | | | | | | | | | | | | | | | Don't ellipsis photo count string on Timeline title. Change-Id: I348bb6b31daff516c50530d4d393481041ada84e CRs-Fixed: 1000943
* | | Merge "Gallery: fix crash after deletion" into android_ui.lnx.1.2-devLinux Build Service Account2016-04-202-17/+23
|\ \ \
| * | | Gallery: fix crash after deletionLikai Ding2016-04-152-17/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If an image is deleted, before UI update, it can still be selected. Add checks to avoid crash. Change-Id: I1eaa74fb62c5f4d205b82854bc75d442bf59fee0 CRs-Fixed: 991985
* | | | Merge "Gallery2: Adjust the layout of trim video and Audio+." into ↵Linux Build Service Account2016-04-203-18/+47
|\ \ \ \ | | | | | | | | | | | | | | | android_ui.lnx.1.2-dev
| * | | | Gallery2: Adjust the layout of trim video and Audio+.zdi2016-04-193-18/+47
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | Adjust the view of trim and Audio+ according to UX specification document. Change-Id: I20066bace85c1956e7a27e5e63bd6eeeedca183e CRs-Fixed: 1003393
* | | | Merge "Gallery2: Add video snapshot function according to UI spec." into ↵Linux Build Service Account2016-04-205-2/+375
|\ \ \ \ | |/ / / |/| | | | | | | android_ui.lnx.1.2-dev
| * | | Gallery2: Add video snapshot function according to UI spec.Chao Zhang2016-04-195-2/+375
| | |/ | |/| | | | | | | | | | | | | | | | Add video snapshot function. Change-Id: I225d2c5a8f4a0b022e9dd2b517a98ddaf35dcf4a CRs-Fixed: 988600
* | | Gallery2: Modify actionbar in photo editor interface.wqi2016-04-183-75/+76
| | | | | | | | | | | | | | | | | | | | | | | | Add a exit button and move save button to right in photo editor interface according to UX specification document. Change-Id: I2cdbb0b4967822b78f65af6eea2b8571a6e653b9 CRs-Fixed: 988043
* | | Gallery2: Modified layout of main panel in photo editor interface.wqi2016-04-186-50/+66
|/ / | | | | | | | | | | | | | | | | | | | | | | 1. Change shape of iconview to square. 2. Add label on the bottom of iconview. 3. Change main panel background to transparent. 4. Change pictures of bottom icons in main panel. 5. Remove preset item if it has for each model filter. according to UX specification document. Change-Id: I81034c2e26e5ff1844826f0810bb91bbbaceb1ad CRs-Fixed: 988070 988051
* | Merge "Gallery2: fix photo widget has not sync after delete the photo." into ↵Linux Build Service Account2016-04-171-0/+67
|\ \ | | | | | | | | | android_ui.lnx.1.2-dev
| * | Gallery2: fix photo widget has not sync after delete the photo.Chao Zhang2016-04-141-0/+67
| | | | | | | | | | | | | | | | | | | | | | | | Use a ContentObserver to observe uri's change. If uri is deleted, show a empty view in widght. Change-Id: I11f0632ed96958a74b6aa2cdd9c2f1d88c99e94e CRs-Fixed: 981663
* | | Merge "Gallery: fix an ANR in slide show" into android_ui.lnx.1.2-devLinux Build Service Account2016-04-171-1/+0
|\ \ \
| * | | Gallery: fix an ANR in slide showLikai Ding2016-04-151-1/+0
| | |/ | |/| | | | | | | | | | | | | | | | | | | waitDone() is called in SlideshowDataAdapter.pause(), which causes ANR when database is busy. It's not necessary to sync there. Change-Id: I4bd2594987f5fb16a50775e8cede9fed68c7bea0 CRs-Fixed: 997382