91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 297KB
    文件類型: .zip
    金幣: 2
    下載: 1 次
    發布日期: 2021-06-22
  • 語言: Java
  • 標簽: PhotoView??

資源簡介

PhotoView PhotoView aims to help produce an easily usable implementation of a zooming Android ImageView. Branch Develop: Build Status Branch Master: Build Status PhotoView Features Out of the box zooming, using multi-touch and double-tap. Scrolling, with smooth scrolling fling. Works perfectly w

資源截圖

代碼片段和文件信息

/*******************************************************************************
?*?Copyright?2011?2012?Chris?Banes.
?*
?*?Licensed?under?the?Apache?License?Version?2.0?(the?“License“);
?*?you?may?not?use?this?file?except?in?compliance?with?the?License.
?*?You?may?obtain?a?copy?of?the?License?at
?*
?*?http://www.apache.org/licenses/LICENSE-2.0
?*
?*?Unless?required?by?applicable?law?or?agreed?to?in?writing?software
?*?distributed?under?the?License?is?distributed?on?an?“AS?IS“?BASIS
?*?WITHOUT?WARRANTIES?OR?CONDITIONS?OF?ANY?KIND?either?express?or?implied.
?*?See?the?License?for?the?specific?language?governing?permissions?and
?*?limitations?under?the?License.
?*******************************************************************************/
package?uk.co.senab.photoview;

import?android.annotation.TargetApi;
import?android.os.Build;
import?android.os.Build.VERSION;
import?android.os.Build.VERSION_CODES;
import?android.view.MotionEvent;
import?android.view.View;

public?class?Compat?{

????private?static?final?int?SIXTY_FPS_INTERVAL?=?1000?/?60;

????public?static?void?postOnAnimation(View?view?Runnable?runnable)?{
????????if?(VERSION.SDK_INT?>=?VERSION_CODES.JELLY_BEAN)?{
????????????postOnAnimationJellyBean(view?runnable);
????????}?else?{
????????????view.postDelayed(runnable?SIXTY_FPS_INTERVAL);
????????}
????}

????@TargetApi(16)
????private?static?void?postOnAnimationJellyBean(View?view?Runnable?runnable)?{
????????view.postOnAnimation(runnable);
????}

????public?static?int?getPointerIndex(int?action)?{
????????if?(VERSION.SDK_INT?>=?VERSION_CODES.HONEYCOMB)
????????????return?getPointerIndexHoneyComb(action);
????????else
????????????return?getPointerIndexEclair(action);
????}

????@SuppressWarnings(“deprecation“)
????@TargetApi(Build.VERSION_CODES.ECLAIR)
????private?static?int?getPointerIndexEclair(int?action)?{
????????return?(action?&?MotionEvent.ACTION_POINTER_ID_MASK)?>>?MotionEvent.ACTION_POINTER_ID_SHIFT;
????}

????@TargetApi(Build.VERSION_CODES.HONEYCOMB)
????private?static?int?getPointerIndexHoneyComb(int?action)?{
????????return?(action?&?MotionEvent.ACTION_POINTER_INDEX_MASK)?>>?MotionEvent.ACTION_POINTER_INDEX_SHIFT;
????}

}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2016-05-16?06:22??PhotoView-master\
?????文件?????????241??2016-05-16?06:22??PhotoView-master\.gitignore
?????目錄???????????0??2016-06-23?18:00??__MACOSX\
?????目錄???????????0??2016-06-23?18:00??__MACOSX\PhotoView-master\
?????文件?????????212??2016-05-16?06:22??__MACOSX\PhotoView-master\._.gitignore
?????文件?????????346??2016-05-16?06:22??PhotoView-master\.travis.yml
?????文件?????????212??2016-05-16?06:22??__MACOSX\PhotoView-master\._.travis.yml
?????目錄???????????0??2016-05-16?06:22??PhotoView-master\art\
?????文件????????6298??2016-05-16?06:22??PhotoView-master\art\google-play-badge-small.png
?????目錄???????????0??2016-06-23?18:00??__MACOSX\PhotoView-master\art\
?????文件?????????212??2016-05-16?06:22??__MACOSX\PhotoView-master\art\._google-play-badge-small.png
?????文件???????13188??2016-05-16?06:22??PhotoView-master\art\header_graphic.png
?????文件?????????212??2016-05-16?06:22??__MACOSX\PhotoView-master\art\._header_graphic.png
?????文件?????????212??2016-05-16?06:22??__MACOSX\PhotoView-master\._art
?????文件?????????276??2016-05-16?06:22??PhotoView-master\build.gradle
?????文件?????????212??2016-05-16?06:22??__MACOSX\PhotoView-master\._build.gradle
?????目錄???????????0??2016-05-16?06:22??PhotoView-master\gradle\
?????目錄???????????0??2016-05-16?06:22??PhotoView-master\gradle\wrapper\
?????文件???????52141??2016-05-16?06:22??PhotoView-master\gradle\wrapper\gradle-wrapper.jar
?????目錄???????????0??2016-06-23?18:00??__MACOSX\PhotoView-master\gradle\
?????目錄???????????0??2016-06-23?18:00??__MACOSX\PhotoView-master\gradle\wrapper\
?????文件?????????212??2016-05-16?06:22??__MACOSX\PhotoView-master\gradle\wrapper\._gradle-wrapper.jar
?????文件?????????232??2016-05-16?06:22??PhotoView-master\gradle\wrapper\gradle-wrapper.properties
?????文件?????????212??2016-05-16?06:22??__MACOSX\PhotoView-master\gradle\wrapper\._gradle-wrapper.properties
?????文件?????????212??2016-05-16?06:22??__MACOSX\PhotoView-master\gradle\._wrapper
?????文件?????????212??2016-05-16?06:22??__MACOSX\PhotoView-master\._gradle
?????文件?????????609??2016-05-16?06:22??PhotoView-master\gradle.properties
?????文件?????????212??2016-05-16?06:22??__MACOSX\PhotoView-master\._gradle.properties
?????文件????????5080??2016-05-16?06:22??PhotoView-master\gradlew
?????文件?????????212??2016-05-16?06:22??__MACOSX\PhotoView-master\._gradlew
?????文件????????2314??2016-05-16?06:22??PhotoView-master\gradlew.bat
............此處省略192個文件信息

評論

共有 條評論