diff options
author | Likai Ding <likaid@codeaurora.org> | 2013-08-20 16:21:57 +0800 |
---|---|---|
committer | Xiaojing Zhang <zhangx@codeaurora.org> | 2014-11-04 20:38:08 -0800 |
commit | 253ebbd3baff765d034adcd960bdaf40e949a44f (patch) | |
tree | f0f5c2396db8f1990a1e999f6cff066eaf1d803e /src/org/codeaurora/gallery3d/ext/IContrllerOverlayExt.java | |
parent | 5a4edcd17ea886d29c3d6bc97bba4e1f2b0d0e40 (diff) | |
download | android_packages_apps_Gallery2-253ebbd3baff765d034adcd960bdaf40e949a44f.tar.gz android_packages_apps_Gallery2-253ebbd3baff765d034adcd960bdaf40e949a44f.tar.bz2 android_packages_apps_Gallery2-253ebbd3baff765d034adcd960bdaf40e949a44f.zip |
Gallery2: add some video features
including: previous/next video play mode, screen mode,
fast forward/rewind button, step settings.
Change-Id: I3f4890c4dd95956e0eca889a5fd8b8d83b8d542e
Diffstat (limited to 'src/org/codeaurora/gallery3d/ext/IContrllerOverlayExt.java')
-rw-r--r-- | src/org/codeaurora/gallery3d/ext/IContrllerOverlayExt.java | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/src/org/codeaurora/gallery3d/ext/IContrllerOverlayExt.java b/src/org/codeaurora/gallery3d/ext/IContrllerOverlayExt.java new file mode 100644 index 000000000..da50cdffc --- /dev/null +++ b/src/org/codeaurora/gallery3d/ext/IContrllerOverlayExt.java @@ -0,0 +1,51 @@ +package org.codeaurora.gallery3d.ext; +/** + * Controller overlay extension interface. + */ +public interface IContrllerOverlayExt { + /** + * Show buffering state. + * @param fullBuffer + * @param percent + */ + void showBuffering(boolean fullBuffer, int percent); + /** + * Clear buffering state. + */ + void clearBuffering(); + /** + * Show re-connecting state. + * @param times + */ + void showReconnecting(int times); + /** + * Show re-connecting error for connecting fail error. + */ + void showReconnectingError(); + /** + * Show playing info or not. + * @param liveStreaming true means showing playing info, otherwise doesn't show playing info. + */ + void setPlayingInfo(boolean liveStreaming); + /** + * Indicates whether current video can be paused or not. + * @param canPause + */ + void setCanPause(boolean canPause); + /** + * Indicates whether thumb can be scrubbed or not. + * @param enable + */ + void setCanScrubbing(boolean enable); + /** + * Always show bottmon panel or not. + * @param alwaysShow + * @param foreShow + */ + void setBottomPanel(boolean alwaysShow, boolean foreShow); + /** + * Is playing end or not. + * @return + */ + boolean isPlayingEnd(); +} |