diff --git a/docs/android-docs/1.6/allclasses-index.html b/docs/android-docs/1.6/allclasses-index.html new file mode 100644 index 0000000..3f4e1a8 --- /dev/null +++ b/docs/android-docs/1.6/allclasses-index.html @@ -0,0 +1,97 @@ + + + + +All Classes and Interfaces + + + + + + + + + + + + + + + +
+ +
+
+
+

All Classes and Interfaces

+
+
+
+
+
+
+
说明
+ +
+
TIEPass is a class responsible for performing image enhance rendering on input images.
+
+ +
+
This interface represents the log callbacks of the TsrSdk.
+
+ +
+
TSRPass is a class responsible for performing super-resolution rendering on input images.
+
+ +
+
The TSRAlgorithmType enum value representing the algorithm running mode to be used.
+
+ +
+
TSRSdk is a class responsible for managing and verifying the license of the super-resolution SDK.
+
+ +
+
Enum representing the status of an SDK license.
+
+ +
+
TSRSdkLicenseVerifyResultCallback is an interface for handling the result of TSRSDK license verification.
+
+
+
+
+
+
+
+ + diff --git a/docs/android-docs/1.6/allpackages-index.html b/docs/android-docs/1.6/allpackages-index.html new file mode 100644 index 0000000..346bc21 --- /dev/null +++ b/docs/android-docs/1.6/allpackages-index.html @@ -0,0 +1,63 @@ + + + + +所有程序包 + + + + + + + + + + + + + + + +
+ +
+
+
+

所有程序包

+
+
程序包概要
+
+
程序包
+
说明
+ +
 
+
+
+
+
+ + diff --git a/docs/android-docs/1.6/com/tencent/mps/tie/api/TIEPass.html b/docs/android-docs/1.6/com/tencent/mps/tie/api/TIEPass.html new file mode 100644 index 0000000..3731cfa --- /dev/null +++ b/docs/android-docs/1.6/com/tencent/mps/tie/api/TIEPass.html @@ -0,0 +1,277 @@ + + + + +TIEPass + + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

类 TIEPass

+
+
java.lang.Object +
com.tencent.mps.tie.api.TIEPass
+
+
+
+
public class TIEPass +extends Object
+
TIEPass is a class responsible for performing image enhance rendering on input images. + The class creates a TIEPass object and provides methods for initialization, rendering, and + releasing resources. +

Usage:

+
    +
  1. Create a TIEPass object using the constructor.
  2. +
  3. (In glThread) Initialize the TIEPass object by calling the init(int, int) method.
  4. +
  5. (In glThread) Perform image enhance rendering on an input opengl texture by calling the render(int) + method.
  6. +
  7. Release resources when the TIEPass object is no longer needed by calling the deInit() + method.
  8. +
+

Example:

+
+ // Create a TIEPass object using the constructor.
+ TIEPass tiePass = new TIEPass();
+
+ // The code below must be executed in glThread.
+ //----------------------GL Thread---------------------//
+
+ // Init TIEPass
+ tiePass.init(inputWidth, inputHeight);
+ // If the type of inputTexture is TextureOES, you must transform it to Texture2D.
+ int outputTextureId = tiePass.render(inputTextureId);
+
+ //----------------------GL Thread---------------------//
+
+ // Release resources when the TIEPass object is no longer needed.
+ tiePass.deInit();
+ 
+
+
+
    + +
  • +
    +

    构造器概要

    +
    构造器
    +
    +
    构造器
    +
    说明
    + +
    +
    Creates a TIEPass object for image enhance.
    +
    +
    +
    +
  • + +
  • +
    +

    方法概要

    +
    +
    +
    +
    +
    修饰符和类型
    +
    方法
    +
    说明
    +
    void
    + +
    +
    Releases the resources.
    +
    +
    boolean
    +
    init(int inputWidth, + int inputHeight)
    +
    +
    Init TIEPass object for image enhance.
    +
    +
    int
    +
    render(int textureId)
    +
    +
    Performs the image enhance rendering operation on the input image.
    +
    +
    int
    +
    render(int textureId, + float[] transformMatrix)
    +
    +
    Performs the image enhance rendering operation on the input image with a specified transform matrix.
    +
    +
    +
    +
    +
    +

    从类继承的方法 java.lang.Object

    +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    +
    +
  • +
+
+
+
    + +
  • +
    +

    构造器详细资料

    + +
    +
  • + +
  • +
    +

    方法详细资料

    +
      +
    • +
      +

      init

      +
      public boolean init(int inputWidth, + int inputHeight)
      +
      Init TIEPass object for image enhance. This method must be called in the GLThread.
      +
      +
      参数:
      +
      inputWidth - The width of the input image
      +
      inputHeight - The height of the input image
      +
      返回:
      +
      true if the initialization is successful, false if the opengl es version is lower than 3.1
      +
      +
      +
    • +
    • +
      +

      render

      +
      public int render(int textureId)
      +
      Performs the image enhance rendering operation on the input image. This method must be performed in the + GLThread. +
      + This method applies the image enhance rendering process to the input image, improving its quality. The + processed image is rendered onto a texture within the TIEPass object. And the return is the texture's id. +
      +
      + NOTE: The type of the texture corresponding to the textureId you pass in must be texture2D. +
      +
      +
      参数:
      +
      textureId - The OpenGL textureId of the input image that needs to be processed for image enhance. The + corresponding texture is a texture2D texture.
      +
      返回:
      +
      The textureId of the texture2D after image enhance rendering, which is stored inside the TIEPass + object. The size of the output texture is (inputWidth, inputHeight).
      +
      +
      +
    • +
    • +
      +

      render

      +
      public int render(int textureId, + float[] transformMatrix)
      +
      Performs the image enhance rendering operation on the input image with a specified transform matrix. This method must be performed in the + GLThread. +

      + This method applies the image enhance rendering process to the input image, improving its quality, and uses the given transform matrix to manipulate the image during the rendering process. The + processed image is rendered onto a texture within the TIEPass object. And the return is the texture's id. +

      +

      + NOTE: The type of the texture corresponding to the textureId you pass in must be texture2D. +

      +
      +
      参数:
      +
      textureId - The OpenGL textureId of the input image that needs to be processed for image enhance. The + corresponding texture is a texture2D texture.
      +
      transformMatrix - A float array representing the transform matrix to be applied to the input image during the rendering process. The matrix should be in column-major order and of size 16.
      +
      返回:
      +
      The textureId of the texture2D after image enhance rendering and applying the transform matrix, which is stored inside the TIEPass + object. The size of the output texture is (inputWidth, inputHeight).
      +
      +
      +
    • +
    • +
      +

      deInit

      +
      public void deInit()
      +
      Releases the resources. +
      + This method should be called when the TIEPass object is no longer needed, to free up the memory and other + resources.
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/docs/android-docs/1.6/com/tencent/mps/tie/api/TSRLogger.html b/docs/android-docs/1.6/com/tencent/mps/tie/api/TSRLogger.html new file mode 100644 index 0000000..e7e529f --- /dev/null +++ b/docs/android-docs/1.6/com/tencent/mps/tie/api/TSRLogger.html @@ -0,0 +1,146 @@ + + + + +TSRLogger + + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

接口 TSRLogger

+
+
+
+
public interface TSRLogger
+
This interface represents the log callbacks of the TsrSdk.
+
+
另请参阅:
+
+ +
+
+
+
+
    + +
  • +
    +

    方法概要

    +
    +
    +
    +
    +
    修饰符和类型
    +
    方法
    +
    说明
    +
    void
    +
    logWithLevel(int logLevel, + String tag, + String msg)
    +
    +
    Logs the message with the specified log level.
    +
    +
    +
    +
    +
    +
  • +
+
+
+
    + +
  • +
    +

    方法详细资料

    +
      +
    • +
      +

      logWithLevel

      +
      void logWithLevel(int logLevel, + String tag, + String msg)
      +
      Logs the message with the specified log level.
      +
      +
      参数:
      +
      logLevel - The log level, e.g., Log.VERBOSE, Log.DEBUG, Log.INFO, Log.WARN, Log.ERROR
      +
      tag - The log tag, used to identify the source of the log
      +
      msg - The log message, containing the detailed information to be logged
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/docs/android-docs/1.6/com/tencent/mps/tie/api/TSRPass.TSRAlgorithmType.html b/docs/android-docs/1.6/com/tencent/mps/tie/api/TSRPass.TSRAlgorithmType.html new file mode 100644 index 0000000..114109b --- /dev/null +++ b/docs/android-docs/1.6/com/tencent/mps/tie/api/TSRPass.TSRAlgorithmType.html @@ -0,0 +1,244 @@ + + + + +TSRPass.TSRAlgorithmType + + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Enum Class TSRPass.TSRAlgorithmType

+
+
java.lang.Object +
java.lang.Enum<TSRPass.TSRAlgorithmType> +
com.tencent.mps.tie.api.TSRPass.TSRAlgorithmType
+
+
+
+
+
所有已实现的接口:
+
Serializable, Comparable<TSRPass.TSRAlgorithmType>, Constable
+
+
+
封闭类:
+
TSRPass
+
+
+
public static enum TSRPass.TSRAlgorithmType +extends Enum<TSRPass.TSRAlgorithmType>
+
The TSRAlgorithmType enum value representing the algorithm running mode to be used. +

+ TSRPass(TSRAlgorithmType)

+
+
+ +
+
+
    + +
  • +
    +

    枚举常量详细资料

    +
      +
    • +
      +

      STANDARD

      +
      public static final TSRPass.TSRAlgorithmType STANDARD
      +
      The STANDARD mode provides fast super-resolution processing speed, suitable for scenarios + with high real-time requirements, and can achieve significant image quality improvements.
      +
      +
    • +
    • +
      +

      PROFESSIONAL

      +
      public static final TSRPass.TSRAlgorithmType PROFESSIONAL
      +
      The PROFESSIONAL mode places greater emphasis on super-resolution effects, making it + suitable for scenarios with high quality requirements. The super-resolution effect is + better than that of the STANDARD mode, but it has certain requirements for device + performance and is recommended for use on mid-to-high-end smartphones.
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    方法详细资料

    +
      +
    • +
      +

      values

      +
      public static TSRPass.TSRAlgorithmType[] values()
      +
      Returns an array containing the constants of this enum class, in +the order they are declared.
      +
      +
      返回:
      +
      an array containing the constants of this enum class, in the order they are declared
      +
      +
      +
    • +
    • +
      +

      valueOf

      +
      public static TSRPass.TSRAlgorithmType valueOf(String name)
      +
      Returns the enum constant of this class with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this class. (Extraneous whitespace characters are +not permitted.)
      +
      +
      参数:
      +
      name - 要返回的枚举常量的名称。
      +
      返回:
      +
      返回带有指定名称的枚举常量
      +
      抛出:
      +
      IllegalArgumentException - if this enum class has no constant with the specified name
      +
      NullPointerException - 如果参数为空值
      +
      +
      +
    • +
    • +
      +

      getValue

      +
      public int getValue()
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/docs/android-docs/1.6/com/tencent/mps/tie/api/TSRPass.html b/docs/android-docs/1.6/com/tencent/mps/tie/api/TSRPass.html new file mode 100644 index 0000000..dbfd931 --- /dev/null +++ b/docs/android-docs/1.6/com/tencent/mps/tie/api/TSRPass.html @@ -0,0 +1,336 @@ + + + + +TSRPass + + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

类 TSRPass

+
+
java.lang.Object +
com.tencent.mps.tie.api.TSRPass
+
+
+
+
public class TSRPass +extends Object
+
TSRPass is a class responsible for performing super-resolution rendering on input images. + The class creates a TSRPass object and provides methods for initialization, rendering, and + releasing resources. +

Usage:

+
    +
  1. Create a TSRPass object using the constructor.
  2. +
  3. (In glThread) Initialize the TSRPass object by calling the init(int, int, float) method.
  4. +
  5. (In glThread) Perform super-resolution rendering on an input opengl texture by calling the render(int) + method.
  6. +
  7. Release resources when the TSRPass object is no longer needed by calling the deInit() + method.
  8. +
+

Example:

+
+ // Create a TSRPass object using the constructor.
+ TSRPass tsrPass = new TSRPass();
+
+ // The code below must be executed in glThread.
+ //----------------------GL Thread---------------------//
+ // Init TSRPass
+ tsrPass.init(inputWidth, inputHeight, srRatio);
+ // If the type of inputTexture is TextureOES, you must transform it to Texture2D.
+ int outputTextureId = tsrPass.render(inputTextureId);
+
+ //----------------------GL Thread---------------------//
+
+ // Release resources when the TSRPass object is no longer needed.
+ tsrPass.deInit();
+ 
+
+
+
    + +
  • +
    +

    嵌套类概要

    +
    嵌套类
    +
    +
    修饰符和类型
    +
    +
    说明
    +
    static enum 
    + +
    +
    The TSRAlgorithmType enum value representing the algorithm running mode to be used.
    +
    +
    +
    +
  • + +
  • +
    +

    构造器概要

    +
    构造器
    +
    +
    构造器
    +
    说明
    + +
    +
    Creates a TSRPass object for super-resolution.
    +
    +
    +
    +
  • + +
  • +
    +

    方法概要

    +
    +
    +
    +
    +
    修饰符和类型
    +
    方法
    +
    说明
    +
    void
    + +
    +
    Releases the resources.
    +
    +
    boolean
    +
    init(int inputWidth, + int inputHeight, + float srRatio)
    +
    +
    Init TSRPass object for super-resolution.
    +
    +
    int
    +
    render(int textureId)
    +
    +
    Performs the super-resolution rendering operation on the input image.
    +
    +
    int
    +
    render(int textureId, + float[] transformMatrix)
    +
    +
    Performs the super-resolution rendering operation on the input image with a specified transform matrix.
    +
    +
    void
    +
    setParameters(float brightness, + float saturation, + float contrast, + float sharpness)
    +
    +
    Set the parameters of the rendering operator.
    +
    +
    +
    +
    +
    +

    从类继承的方法 java.lang.Object

    +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    +
    +
  • +
+
+
+
    + +
  • +
    +

    构造器详细资料

    +
      +
    • +
      +

      TSRPass

      +
      public TSRPass(TSRPass.TSRAlgorithmType algorithmType)
      +
      Creates a TSRPass object for super-resolution. +

      + This method must be executed after + TSRSdk.init(long, int, TSRSdk.TSRSdkLicenseVerifyResultCallback, TSRLogger), + TSRPass.TSRAlgorithmType

      +
      +
      参数:
      +
      algorithmType - The TSRAlgorithmType enum value representing the algorithm running mode to be used. + It can be either STANDARD (fast mode) or PROFESSIONAL (quality mode). + STANDARD mode prioritizes better performance in terms of speed, possibly sacrificing some result accuracy. + PROFESSIONAL mode prioritizes result accuracy, even if the running speed is slower.
      +
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    方法详细资料

    +
      +
    • +
      +

      init

      +
      public boolean init(int inputWidth, + int inputHeight, + float srRatio)
      +
      Init TSRPass object for super-resolution. This method must be called in the GLThread.
      +
      +
      参数:
      +
      inputWidth - The width of the input image
      +
      inputHeight - The height of the input image
      +
      srRatio - The magnification factor for super-resolution.
      +
      返回:
      +
      true if the initialization is successful, false if the opengl es version is lower than 3.1
      +
      +
      +
    • +
    • +
      +

      setParameters

      +
      public void setParameters(float brightness, + float saturation, + float contrast, + float sharpness)
      +
      Set the parameters of the rendering operator. + It needs to take effect after init(int, int, float) is called.
      +
      +
      参数:
      +
      brightness - The brightness level to apply. + Valid values are between 0 and 100, with a default value of 50.
      +
      saturation - The saturation level to apply. + Valid values are between 0 and 100, with a default value of 50.
      +
      contrast - The contrast level to apply. + Valid values are between 0 and 100, with a default value of 50.
      +
      sharpness - The sharpness factor to apply + Valid values are between 0 and 100, with a default value of 0.
      +
      +
      +
    • +
    • +
      +

      render

      +
      public int render(int textureId)
      +
      Performs the super-resolution rendering operation on the input image. This method must be performed in the + GLThread. +
      + This method applies the super-resolution rendering process to the input image, improving its quality. The + processed image is rendered onto a texture within the TSRPass object. And the return is the texture's id. +
      +
      + NOTE: The type of the texture corresponding to the textureId you pass in must be texture2D. +
      +
      +
      参数:
      +
      textureId - The OpenGL textureId of the input image that needs to be processed for super-resolution. The + corresponding texture is a texture2D texture.
      +
      返回:
      +
      The textureId of the texture2D after super-resolution rendering, which is stored inside the TSRPass + object. The size of the output texture is (inputWidth * srRatio, inputHeight * srRatio).
      +
      +
      +
    • +
    • +
      +

      render

      +
      public int render(int textureId, + float[] transformMatrix)
      +
      Performs the super-resolution rendering operation on the input image with a specified transform matrix. This method must be performed in the + GLThread. +

      + This method applies the super-resolution rendering process to the input image, improving its quality, and uses the given transform matrix to manipulate the image during the rendering process. The + processed image is rendered onto a texture within the TSRPass object. And the return is the texture's id. +

      +

      + NOTE: The type of the texture corresponding to the textureId you pass in must be texture2D. +

      +
      +
      参数:
      +
      textureId - The OpenGL textureId of the input image that needs to be processed for super-resolution. The + corresponding texture is a texture2D texture.
      +
      transformMatrix - A float array representing the transform matrix to be applied to the input image during the rendering process. The matrix should be in column-major order and of size 16.
      +
      返回:
      +
      The textureId of the texture2D after super-resolution rendering and applying the transform matrix, which is stored inside the TSRPass + object. The size of the output texture is (inputWidth * srRatio, inputHeight * srRatio).
      +
      +
      +
    • +
    • +
      +

      deInit

      +
      public void deInit()
      +
      Releases the resources. +
      + This method should be called when the TSRPass object is no longer needed, to free up the memory and other + resources.
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/docs/android-docs/1.6/com/tencent/mps/tie/api/TSRSdk.TSRSdkLicenseStatus.html b/docs/android-docs/1.6/com/tencent/mps/tie/api/TSRSdk.TSRSdkLicenseStatus.html new file mode 100644 index 0000000..924a280 --- /dev/null +++ b/docs/android-docs/1.6/com/tencent/mps/tie/api/TSRSdk.TSRSdkLicenseStatus.html @@ -0,0 +1,380 @@ + + + + +TSRSdk.TSRSdkLicenseStatus + + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

Enum Class TSRSdk.TSRSdkLicenseStatus

+
+
java.lang.Object +
java.lang.Enum<TSRSdk.TSRSdkLicenseStatus> +
com.tencent.mps.tie.api.TSRSdk.TSRSdkLicenseStatus
+
+
+
+
+
所有已实现的接口:
+
Serializable, Comparable<TSRSdk.TSRSdkLicenseStatus>, Constable
+
+
+
封闭类:
+
TSRSdk
+
+
+
public static enum TSRSdk.TSRSdkLicenseStatus +extends Enum<TSRSdk.TSRSdkLicenseStatus>
+
Enum representing the status of an SDK license.
+
+
+ +
+
+
    + +
  • +
    +

    枚举常量详细资料

    +
      +
    • +
      +

      UNKNOWN

      +
      public static final TSRSdk.TSRSdkLicenseStatus UNKNOWN
      +
      License status is unknown.
      +
      +
    • +
    • +
      +

      INTERNAL_ERR

      +
      public static final TSRSdk.TSRSdkLicenseStatus INTERNAL_ERR
      +
      Internal operating logic error.
      +
      +
    • +
    • +
      +

      APPINFO_NOT_MATCHED

      +
      public static final TSRSdk.TSRSdkLicenseStatus APPINFO_NOT_MATCHED
      +
      App signature or packagename(android)、bundleId(macos/ios) not matched.
      +
      +
    • +
    • +
      +

      TRIALS

      +
      public static final TSRSdk.TSRSdkLicenseStatus TRIALS
      +
      Network abort, trials.
      +
      +
    • +
    • +
      +

      ERROR_INVALID

      +
      public static final TSRSdk.TSRSdkLicenseStatus ERROR_INVALID
      +
      License server verify failed (invalid appid/sdkid, or disabled).
      +
      +
    • +
    • +
      +

      DEVICE_COUNT_EXCEEDED

      +
      public static final TSRSdk.TSRSdkLicenseStatus DEVICE_COUNT_EXCEEDED
      +
      The number of license authorized devices exceeds.
      +
      +
    • +
    • +
      +

      NO_AVAILABLE_AUTH

      +
      public static final TSRSdk.TSRSdkLicenseStatus NO_AVAILABLE_AUTH
      +
      License not available for user request (online authorization).
      +
      +
    • +
    • +
      +

      EXPIRES

      +
      public static final TSRSdk.TSRSdkLicenseStatus EXPIRES
      +
      License expires.
      +
      +
    • +
    • +
      +

      SDK_FEATURE_NOT_MATCHED

      +
      public static final TSRSdk.TSRSdkLicenseStatus SDK_FEATURE_NOT_MATCHED
      +
      License certificate policy SDK version information does not match.
      +
      +
    • +
    • +
      +

      SIGN_NOT_MATCHED

      +
      public static final TSRSdk.TSRSdkLicenseStatus SIGN_NOT_MATCHED
      +
      License binding certificate policy signature information does not match.
      +
      +
    • +
    • +
      +

      DEVID_NOT_MATCHED

      +
      public static final TSRSdk.TSRSdkLicenseStatus DEVID_NOT_MATCHED
      +
      License binding certificate policy devid information does not match.
      +
      +
    • +
    • +
      +

      UNAVAILABLE

      +
      public static final TSRSdk.TSRSdkLicenseStatus UNAVAILABLE
      +
      License verify failed (mismatched certificate info or incorrect format or file not found).
      +
      +
    • +
    • +
      +

      AVAILABLE

      +
      public static final TSRSdk.TSRSdkLicenseStatus AVAILABLE
      +
      Verify successful.
      +
      +
    • +
    +
    +
  • + +
  • +
    +

    方法详细资料

    +
      +
    • +
      +

      values

      +
      public static TSRSdk.TSRSdkLicenseStatus[] values()
      +
      Returns an array containing the constants of this enum class, in +the order they are declared.
      +
      +
      返回:
      +
      an array containing the constants of this enum class, in the order they are declared
      +
      +
      +
    • +
    • +
      +

      valueOf

      +
      public static TSRSdk.TSRSdkLicenseStatus valueOf(String name)
      +
      Returns the enum constant of this class with the specified name. +The string must match exactly an identifier used to declare an +enum constant in this class. (Extraneous whitespace characters are +not permitted.)
      +
      +
      参数:
      +
      name - 要返回的枚举常量的名称。
      +
      返回:
      +
      返回带有指定名称的枚举常量
      +
      抛出:
      +
      IllegalArgumentException - if this enum class has no constant with the specified name
      +
      NullPointerException - 如果参数为空值
      +
      +
      +
    • +
    • +
      +

      findEnumByCode

      +
      public static TSRSdk.TSRSdkLicenseStatus findEnumByCode(Integer code)
      +
      +
    • +
    • +
      +

      getCode

      +
      public int getCode()
      +
      +
    • +
    • +
      +

      toString

      +
      @NonNull +public String toString()
      +
      +
      覆盖:
      +
      toString 在类中 Enum<TSRSdk.TSRSdkLicenseStatus>
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/docs/android-docs/1.6/com/tencent/mps/tie/api/TSRSdk.TSRSdkLicenseVerifyResultCallback.html b/docs/android-docs/1.6/com/tencent/mps/tie/api/TSRSdk.TSRSdkLicenseVerifyResultCallback.html new file mode 100644 index 0000000..ee6ab67 --- /dev/null +++ b/docs/android-docs/1.6/com/tencent/mps/tie/api/TSRSdk.TSRSdkLicenseVerifyResultCallback.html @@ -0,0 +1,137 @@ + + + + +TSRSdk.TSRSdkLicenseVerifyResultCallback + + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

接口 TSRSdk.TSRSdkLicenseVerifyResultCallback

+
+
+
+
封闭类:
+
TSRSdk
+
+
+
public static interface TSRSdk.TSRSdkLicenseVerifyResultCallback
+
TSRSdkLicenseVerifyResultCallback is an interface for handling the result of TSRSDK license verification. + Implement this interface to define custom actions that should be executed when the license verification process + is completed.
+
+
+
    + +
  • +
    +

    方法概要

    +
    +
    +
    +
    +
    修饰符和类型
    +
    方法
    +
    说明
    +
    void
    + +
    +
    This method is called when the TSRSDK license verification process is completed.
    +
    +
    +
    +
    +
    +
  • +
+
+
+
    + +
  • +
    +

    方法详细资料

    +
      +
    • +
      +

      onTSRSdkLicenseVerifyResult

      +
      void onTSRSdkLicenseVerifyResult(TSRSdk.TSRSdkLicenseStatus status)
      +
      This method is called when the TSRSDK license verification process is completed.
      +
      +
      参数:
      +
      status - The TSRSdk.TSRSdkLicenseStatus code of the license verification result.
      +
      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/docs/android-docs/1.6/com/tencent/mps/tie/api/TSRSdk.html b/docs/android-docs/1.6/com/tencent/mps/tie/api/TSRSdk.html new file mode 100644 index 0000000..3f02ef1 --- /dev/null +++ b/docs/android-docs/1.6/com/tencent/mps/tie/api/TSRSdk.html @@ -0,0 +1,267 @@ + + + + +TSRSdk + + + + + + + + + + + + + + + +
+ +
+
+ +
+ +

类 TSRSdk

+
+
java.lang.Object +
com.tencent.mps.tie.api.TSRSdk
+
+
+
+
public class TSRSdk +extends Object
+
TSRSdk is a class responsible for managing and verifying the license of the super-resolution SDK. + The class provides methods for initializing the SDK with online license verification, + and releasing the resources when the SDK is no longer needed. It also allows setting a custom + logger for logging purposes. +

Usage:

+
    +
  1. Get an instance of TSRSdk using the getInstance() method.
  2. +
  3. Initialize the TSRSdk object with online license verification using the + init(long, int, TSRSdkLicenseVerifyResultCallback, TSRLogger) methods.
  4. +
  5. Perform super-resolution rendering using the TSRPass class.
  6. +
  7. Release resources when the TSRSdk object is no longer needed by calling the deInit() method.
  8. +
+ +

Example for online verification:

+
+ 
+ TSRSdkLicenseVerifyResultCallback callback = new TSRSdkLicenseVerifyResultCallback() {
+   public void onTSRSdkLicenseVerifyResult(TSRSdkLicenseStatus status) {
+       if (status == TSRSdkLicenseStatus.AVAILABLE) {
+          // Creating TSRPass for super-resolution rendering
+       } else {
+          // Do something when the verification of sdk's license failed.
+       }
+   }
+ };
+ TSRSdk.getInstance().init(appId, callback, logger);
+
+ // If you have created TSRPass, you should release it before release TSRSdk.
+ tsrPass.deInit();
+ // Release resources when the TSRSdk object is no longer needed.
+ TSRSdk.getInstance().deInit();
+ 
+ 
+
+
+ +
+
+
    + +
  • +
    +

    方法详细资料

    +
      +
    • +
      +

      getInstance

      +
      public static TSRSdk getInstance()
      +
      +
    • +
    • +
      +

      init

      +
      public void init(long appId, + int authId, + TSRSdk.TSRSdkLicenseVerifyResultCallback callback, + TSRLogger logger)
      +
      Initializes the TSRSdk with online license verification. This method only can be executed once before the + deInit() is executed.
      +
      +
      参数:
      +
      appId - Tencent Cloud account's APPID, You can click on the link + + https://github.com/tencentyun/TSR/blob/main/%E6%8E%A5%E5%85%A5%E6%8C%87%E5%8D%97.md + to learn how to find the APPID.
      +
      authId - The authentication ID of the TSRSDK. You can contact the Tencent Cloud MPS Team + to get the authentication ID.
      +
      callback - SdkLicenseVerifyResultCallback is an interface for handling the result of SDK license + verification. See TSRSdk.TSRSdkLicenseVerifyResultCallback for more information.
      +
      logger - Set a logger for the TSRSdk. The Logger must not be null.
      +
      +
      +
    • +
    • +
      +

      init

      +
      public TSRSdk.TSRSdkLicenseStatus init(long appId, + String licensePath, + TSRLogger logger)
      +
      Initializes the TsrSdk with offline license verification. This method only can be executed once before the + deInit() is executed.
      +
      +
      参数:
      +
      appId - Tencent Cloud account's APPID, You can click on the link + + https://github.com/tencentyun/TSR/blob/main/%E6%8E%A5%E5%85%A5%E6%8C%87%E5%8D%97.md + to learn how to find the APPID.
      +
      licensePath - The path of the license
      +
      logger - Set a logger for the TsrSdk. The Logger must not be null.
      +
      返回:
      +
      The result of the verification of sdk's license.
      +
      +
      +
    • +
    • +
      +

      deInit

      +
      public void deInit()
      +
      Releases the resources associated with the TSRSdk instance. +

      + This method should be called when the TSRSdk instance is no longer needed, to free up memory and other + resources. + Before calling this method, make sure to release all associated TSRPass objects by calling their + TSRPass.deInit() method, as they depend on the resources provided by the TSRSdk instance. Failing to + release TSRPass objects before releasing the TSRSdk may lead to unexpected errors or undefined behavior. +

      +

      + After calling this method, you must re-initialize the TSRSdk instance using the init methods + init(long, int, TSRSdkLicenseVerifyResultCallback, TSRLogger)) before using it again. +

      +
      +
    • +
    +
    +
  • +
+
+ +
+
+
+ + diff --git a/docs/android-docs/1.6/com/tencent/mps/tie/api/package-summary.html b/docs/android-docs/1.6/com/tencent/mps/tie/api/package-summary.html new file mode 100644 index 0000000..c0f475c --- /dev/null +++ b/docs/android-docs/1.6/com/tencent/mps/tie/api/package-summary.html @@ -0,0 +1,113 @@ + + + + +com.tencent.mps.tie.api + + + + + + + + + + + + + + + +
+ +
+
+
+

程序包 com.tencent.mps.tie.api

+
+
+
package com.tencent.mps.tie.api
+
+
    +
  • +
    +
    +
    +
    +
    +
    说明
    + +
    +
    TIEPass is a class responsible for performing image enhance rendering on input images.
    +
    + +
    +
    This interface represents the log callbacks of the TsrSdk.
    +
    + +
    +
    TSRPass is a class responsible for performing super-resolution rendering on input images.
    +
    + +
    +
    The TSRAlgorithmType enum value representing the algorithm running mode to be used.
    +
    + +
    +
    TSRSdk is a class responsible for managing and verifying the license of the super-resolution SDK.
    +
    + +
    +
    Enum representing the status of an SDK license.
    +
    + +
    +
    TSRSdkLicenseVerifyResultCallback is an interface for handling the result of TSRSDK license verification.
    +
    +
    +
    +
    +
  • +
+
+
+
+
+ + diff --git a/docs/android-docs/1.6/com/tencent/mps/tie/api/package-tree.html b/docs/android-docs/1.6/com/tencent/mps/tie/api/package-tree.html new file mode 100644 index 0000000..85a029f --- /dev/null +++ b/docs/android-docs/1.6/com/tencent/mps/tie/api/package-tree.html @@ -0,0 +1,90 @@ + + + + +com.tencent.mps.tie.api 类分层结构 + + + + + + + + + + + + + + + +
+ +
+
+
+

程序包com.tencent.mps.tie.api的分层结构

+
+
+

类分层结构

+ +
+
+

接口分层结构

+ +
+
+

Enum Class Hierarchy

+ +
+
+
+
+ + diff --git a/docs/android-docs/1.6/element-list b/docs/android-docs/1.6/element-list new file mode 100644 index 0000000..8ec235a --- /dev/null +++ b/docs/android-docs/1.6/element-list @@ -0,0 +1 @@ +com.tencent.mps.tie.api diff --git a/docs/android-docs/1.6/help-doc.html b/docs/android-docs/1.6/help-doc.html new file mode 100644 index 0000000..9e679c8 --- /dev/null +++ b/docs/android-docs/1.6/help-doc.html @@ -0,0 +1,170 @@ + + + + +API 帮助 + + + + + + + + + + + + + + + +
+ +
+
+

此 API 文档的组织方式

+ +
+
+

Navigation

+Starting from the 概览 page, you can browse the documentation using the links in each page, and in the navigation bar at the top of each page. The 索引 and Search box allow you to navigate to specific declarations and summary pages, including: 所有程序包, All Classes and Interfaces + +
+
+
+

Kinds of Pages

+The following sections describe the different kinds of pages in this collection. +
+

程序包

+

每个程序包都有一页,其中包含它的类和接口的列表及其概要。这些页可以包含六个类别:

+
    +
  • 接口
  • +
  • +
  • Enum Classes
  • +
  • 异常错误
  • +
  • 错误
  • +
  • Annotation Interfaces
  • +
+
+
+

类或接口

+

每个类, 接口, 嵌套类和嵌套接口都有各自的页面。其中每个页面都由三部分 (类/接口说明, 概要表, 以及详细的成员说明) 组成:

+
    +
  • 类继承图
  • +
  • 直接子类
  • +
  • 所有已知子接口
  • +
  • 所有已知实现类
  • +
  • 类或接口声明
  • +
  • 类或接口说明
  • +
+
+
    +
  • 嵌套类概要
  • +
  • 枚举常量概要
  • +
  • 字段概要
  • +
  • 属性概要
  • +
  • 构造器概要
  • +
  • 方法概要
  • +
  • 必需元素概要
  • +
  • 可选元素概要
  • +
+
+
    +
  • 枚举常量详细资料
  • +
  • 字段详细资料
  • +
  • 属性详细资料
  • +
  • 构造器详细资料
  • +
  • 方法详细资料
  • +
  • 元素详细资料
  • +
+

Note: Annotation interfaces have required and optional elements, but not methods. Only enum classes have enum constants. The components of a record class are displayed as part of the declaration of the record class. Properties are a feature of JavaFX.

+

The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

+
+
+

Other Files

+

Packages and modules may contain pages with additional information related to the declarations nearby.

+
+
+

树 (类分层结构)

+

对于所有程序包,都有一个 类分层结构 页,以及每个程序包的分层结构。每个分层结构页都包含类的列表和接口的列表。从 java.lang.Object 开始,按继承结构对类进行排列。接口不从 java.lang.Object 继承。

+
    +
  • 查看“概览”页面时, 单击 "树" 将显示所有程序包的分层结构。
  • +
  • 查看特定程序包、类或接口页时,单击“树”将仅显示该程序包的分层结构。
  • +
+
+
+

All Packages

+

The 所有程序包 page contains an alphabetic index of all packages contained in the documentation.

+
+
+

All Classes and Interfaces

+

The All Classes and Interfaces page contains an alphabetic index of all classes and interfaces contained in the documentation, including annotation interfaces, enum classes, and record classes.

+
+
+

索引

+

索引 包含所有类、接口、构造器、方法和字段的按字母顺序排列的索引,以及所有程序包和所有类的列表。

+
+
+
+此帮助文件适用于由标准 doclet 生成的 API 文档。
+
+
+ + diff --git a/docs/android-docs/1.6/index-files/index-1.html b/docs/android-docs/1.6/index-files/index-1.html new file mode 100644 index 0000000..4d05e5e --- /dev/null +++ b/docs/android-docs/1.6/index-files/index-1.html @@ -0,0 +1,68 @@ + + + + +A - 索引 + + + + + + + + + + + + + + + +
+ +
+
+
+

索引

+
+A C D E F G I L N O P R S T U V 
All Classes and Interfaces|所有程序包 +

A

+
+
APPINFO_NOT_MATCHED - enum class 中的枚举常量 com.tencent.mps.tie.api.TSRSdk.TSRSdkLicenseStatus
+
+
App signature or packagename(android)、bundleId(macos/ios) not matched.
+
+
AVAILABLE - enum class 中的枚举常量 com.tencent.mps.tie.api.TSRSdk.TSRSdkLicenseStatus
+
+
Verify successful.
+
+
+A C D E F G I L N O P R S T U V 
All Classes and Interfaces|所有程序包
+
+
+ + diff --git a/docs/android-docs/1.6/index-files/index-10.html b/docs/android-docs/1.6/index-files/index-10.html new file mode 100644 index 0000000..7e153c5 --- /dev/null +++ b/docs/android-docs/1.6/index-files/index-10.html @@ -0,0 +1,64 @@ + + + + +O - 索引 + + + + + + + + + + + + + + + +
+ +
+
+
+

索引

+
+A C D E F G I L N O P R S T U V 
All Classes and Interfaces|所有程序包 +

O

+
+
onTSRSdkLicenseVerifyResult(TSRSdk.TSRSdkLicenseStatus) - 接口中的方法 com.tencent.mps.tie.api.TSRSdk.TSRSdkLicenseVerifyResultCallback
+
+
This method is called when the TSRSDK license verification process is completed.
+
+
+A C D E F G I L N O P R S T U V 
All Classes and Interfaces|所有程序包
+
+
+ + diff --git a/docs/android-docs/1.6/index-files/index-11.html b/docs/android-docs/1.6/index-files/index-11.html new file mode 100644 index 0000000..7a7a854 --- /dev/null +++ b/docs/android-docs/1.6/index-files/index-11.html @@ -0,0 +1,65 @@ + + + + +P - 索引 + + + + + + + + + + + + + + + +
+ +
+
+
+

索引

+
+A C D E F G I L N O P R S T U V 
All Classes and Interfaces|所有程序包 +

P

+
+
PROFESSIONAL - enum class 中的枚举常量 com.tencent.mps.tie.api.TSRPass.TSRAlgorithmType
+
+
The PROFESSIONAL mode places greater emphasis on super-resolution effects, making it + suitable for scenarios with high quality requirements.
+
+
+A C D E F G I L N O P R S T U V 
All Classes and Interfaces|所有程序包
+
+
+ + diff --git a/docs/android-docs/1.6/index-files/index-12.html b/docs/android-docs/1.6/index-files/index-12.html new file mode 100644 index 0000000..66869ee --- /dev/null +++ b/docs/android-docs/1.6/index-files/index-12.html @@ -0,0 +1,76 @@ + + + + +R - 索引 + + + + + + + + + + + + + + + +
+ +
+
+
+

索引

+
+A C D E F G I L N O P R S T U V 
All Classes and Interfaces|所有程序包 +

R

+
+
render(int) - 类中的方法 com.tencent.mps.tie.api.TIEPass
+
+
Performs the image enhance rendering operation on the input image.
+
+
render(int) - 类中的方法 com.tencent.mps.tie.api.TSRPass
+
+
Performs the super-resolution rendering operation on the input image.
+
+
render(int, float[]) - 类中的方法 com.tencent.mps.tie.api.TIEPass
+
+
Performs the image enhance rendering operation on the input image with a specified transform matrix.
+
+
render(int, float[]) - 类中的方法 com.tencent.mps.tie.api.TSRPass
+
+
Performs the super-resolution rendering operation on the input image with a specified transform matrix.
+
+
+A C D E F G I L N O P R S T U V 
All Classes and Interfaces|所有程序包
+
+
+ + diff --git a/docs/android-docs/1.6/index-files/index-13.html b/docs/android-docs/1.6/index-files/index-13.html new file mode 100644 index 0000000..5b2f899 --- /dev/null +++ b/docs/android-docs/1.6/index-files/index-13.html @@ -0,0 +1,77 @@ + + + + +S - 索引 + + + + + + + + + + + + + + + +
+ +
+
+
+

索引

+
+A C D E F G I L N O P R S T U V 
All Classes and Interfaces|所有程序包 +

S

+
+
SDK_FEATURE_NOT_MATCHED - enum class 中的枚举常量 com.tencent.mps.tie.api.TSRSdk.TSRSdkLicenseStatus
+
+
License certificate policy SDK version information does not match.
+
+
setParameters(float, float, float, float) - 类中的方法 com.tencent.mps.tie.api.TSRPass
+
+
Set the parameters of the rendering operator.
+
+
SIGN_NOT_MATCHED - enum class 中的枚举常量 com.tencent.mps.tie.api.TSRSdk.TSRSdkLicenseStatus
+
+
License binding certificate policy signature information does not match.
+
+
STANDARD - enum class 中的枚举常量 com.tencent.mps.tie.api.TSRPass.TSRAlgorithmType
+
+
The STANDARD mode provides fast super-resolution processing speed, suitable for scenarios + with high real-time requirements, and can achieve significant image quality improvements.
+
+
+A C D E F G I L N O P R S T U V 
All Classes and Interfaces|所有程序包
+
+
+ + diff --git a/docs/android-docs/1.6/index-files/index-14.html b/docs/android-docs/1.6/index-files/index-14.html new file mode 100644 index 0000000..48b87f2 --- /dev/null +++ b/docs/android-docs/1.6/index-files/index-14.html @@ -0,0 +1,102 @@ + + + + +T - 索引 + + + + + + + + + + + + + + + +
+ +
+
+
+

索引

+
+A C D E F G I L N O P R S T U V 
All Classes and Interfaces|所有程序包 +

T

+
+
TIEPass - com.tencent.mps.tie.api中的类
+
+
TIEPass is a class responsible for performing image enhance rendering on input images.
+
+
TIEPass() - 类的构造器 com.tencent.mps.tie.api.TIEPass
+
+
Creates a TIEPass object for image enhance.
+
+
toString() - enum class中的方法 com.tencent.mps.tie.api.TSRSdk.TSRSdkLicenseStatus
+
 
+
TRIALS - enum class 中的枚举常量 com.tencent.mps.tie.api.TSRSdk.TSRSdkLicenseStatus
+
+
Network abort, trials.
+
+
TSRLogger - com.tencent.mps.tie.api中的接口
+
+
This interface represents the log callbacks of the TsrSdk.
+
+
TSRPass - com.tencent.mps.tie.api中的类
+
+
TSRPass is a class responsible for performing super-resolution rendering on input images.
+
+
TSRPass(TSRPass.TSRAlgorithmType) - 类的构造器 com.tencent.mps.tie.api.TSRPass
+
+
Creates a TSRPass object for super-resolution.
+
+
TSRPass.TSRAlgorithmType - com.tencent.mps.tie.api中的Enum Class
+
+
The TSRAlgorithmType enum value representing the algorithm running mode to be used.
+
+
TSRSdk - com.tencent.mps.tie.api中的类
+
+
TSRSdk is a class responsible for managing and verifying the license of the super-resolution SDK.
+
+
TSRSdk.TSRSdkLicenseStatus - com.tencent.mps.tie.api中的Enum Class
+
+
Enum representing the status of an SDK license.
+
+
TSRSdk.TSRSdkLicenseVerifyResultCallback - com.tencent.mps.tie.api中的接口
+
+
TSRSdkLicenseVerifyResultCallback is an interface for handling the result of TSRSDK license verification.
+
+
+A C D E F G I L N O P R S T U V 
All Classes and Interfaces|所有程序包
+
+
+ + diff --git a/docs/android-docs/1.6/index-files/index-15.html b/docs/android-docs/1.6/index-files/index-15.html new file mode 100644 index 0000000..adb9130 --- /dev/null +++ b/docs/android-docs/1.6/index-files/index-15.html @@ -0,0 +1,68 @@ + + + + +U - 索引 + + + + + + + + + + + + + + + +
+ +
+
+
+

索引

+
+A C D E F G I L N O P R S T U V 
All Classes and Interfaces|所有程序包 +

U

+
+
UNAVAILABLE - enum class 中的枚举常量 com.tencent.mps.tie.api.TSRSdk.TSRSdkLicenseStatus
+
+
License verify failed (mismatched certificate info or incorrect format or file not found).
+
+
UNKNOWN - enum class 中的枚举常量 com.tencent.mps.tie.api.TSRSdk.TSRSdkLicenseStatus
+
+
License status is unknown.
+
+
+A C D E F G I L N O P R S T U V 
All Classes and Interfaces|所有程序包
+
+
+ + diff --git a/docs/android-docs/1.6/index-files/index-16.html b/docs/android-docs/1.6/index-files/index-16.html new file mode 100644 index 0000000..e1dea82 --- /dev/null +++ b/docs/android-docs/1.6/index-files/index-16.html @@ -0,0 +1,78 @@ + + + + +V - 索引 + + + + + + + + + + + + + + + +
+ +
+
+
+

索引

+
+A C D E F G I L N O P R S T U V 
All Classes and Interfaces|所有程序包 +

V

+
+
valueOf(String) - enum class中的静态方法 com.tencent.mps.tie.api.TSRPass.TSRAlgorithmType
+
+
Returns the enum constant of this class with the specified name.
+
+
valueOf(String) - enum class中的静态方法 com.tencent.mps.tie.api.TSRSdk.TSRSdkLicenseStatus
+
+
Returns the enum constant of this class with the specified name.
+
+
values() - enum class中的静态方法 com.tencent.mps.tie.api.TSRPass.TSRAlgorithmType
+
+
Returns an array containing the constants of this enum class, in +the order they are declared.
+
+
values() - enum class中的静态方法 com.tencent.mps.tie.api.TSRSdk.TSRSdkLicenseStatus
+
+
Returns an array containing the constants of this enum class, in +the order they are declared.
+
+
+A C D E F G I L N O P R S T U V 
All Classes and Interfaces|所有程序包
+
+
+ + diff --git a/docs/android-docs/1.6/index-files/index-2.html b/docs/android-docs/1.6/index-files/index-2.html new file mode 100644 index 0000000..e653e86 --- /dev/null +++ b/docs/android-docs/1.6/index-files/index-2.html @@ -0,0 +1,62 @@ + + + + +C - 索引 + + + + + + + + + + + + + + + +
+ +
+
+
+

索引

+
+A C D E F G I L N O P R S T U V 
All Classes and Interfaces|所有程序包 +

C

+
+
com.tencent.mps.tie.api - 程序包 com.tencent.mps.tie.api
+
 
+
+A C D E F G I L N O P R S T U V 
All Classes and Interfaces|所有程序包
+
+
+ + diff --git a/docs/android-docs/1.6/index-files/index-3.html b/docs/android-docs/1.6/index-files/index-3.html new file mode 100644 index 0000000..18112b3 --- /dev/null +++ b/docs/android-docs/1.6/index-files/index-3.html @@ -0,0 +1,80 @@ + + + + +D - 索引 + + + + + + + + + + + + + + + +
+ +
+
+
+

索引

+
+A C D E F G I L N O P R S T U V 
All Classes and Interfaces|所有程序包 +

D

+
+
deInit() - 类中的方法 com.tencent.mps.tie.api.TIEPass
+
+
Releases the resources.
+
+
deInit() - 类中的方法 com.tencent.mps.tie.api.TSRPass
+
+
Releases the resources.
+
+
deInit() - 类中的方法 com.tencent.mps.tie.api.TSRSdk
+
+
Releases the resources associated with the TSRSdk instance.
+
+
DEVICE_COUNT_EXCEEDED - enum class 中的枚举常量 com.tencent.mps.tie.api.TSRSdk.TSRSdkLicenseStatus
+
+
The number of license authorized devices exceeds.
+
+
DEVID_NOT_MATCHED - enum class 中的枚举常量 com.tencent.mps.tie.api.TSRSdk.TSRSdkLicenseStatus
+
+
License binding certificate policy devid information does not match.
+
+
+A C D E F G I L N O P R S T U V 
All Classes and Interfaces|所有程序包
+
+
+ + diff --git a/docs/android-docs/1.6/index-files/index-4.html b/docs/android-docs/1.6/index-files/index-4.html new file mode 100644 index 0000000..095f3c6 --- /dev/null +++ b/docs/android-docs/1.6/index-files/index-4.html @@ -0,0 +1,68 @@ + + + + +E - 索引 + + + + + + + + + + + + + + + +
+ +
+
+
+

索引

+
+A C D E F G I L N O P R S T U V 
All Classes and Interfaces|所有程序包 +

E

+
+
ERROR_INVALID - enum class 中的枚举常量 com.tencent.mps.tie.api.TSRSdk.TSRSdkLicenseStatus
+
+
License server verify failed (invalid appid/sdkid, or disabled).
+
+
EXPIRES - enum class 中的枚举常量 com.tencent.mps.tie.api.TSRSdk.TSRSdkLicenseStatus
+
+
License expires.
+
+
+A C D E F G I L N O P R S T U V 
All Classes and Interfaces|所有程序包
+
+
+ + diff --git a/docs/android-docs/1.6/index-files/index-5.html b/docs/android-docs/1.6/index-files/index-5.html new file mode 100644 index 0000000..483c1e0 --- /dev/null +++ b/docs/android-docs/1.6/index-files/index-5.html @@ -0,0 +1,62 @@ + + + + +F - 索引 + + + + + + + + + + + + + + + +
+ +
+
+
+

索引

+
+A C D E F G I L N O P R S T U V 
All Classes and Interfaces|所有程序包 +

F

+
+
findEnumByCode(Integer) - enum class中的静态方法 com.tencent.mps.tie.api.TSRSdk.TSRSdkLicenseStatus
+
 
+
+A C D E F G I L N O P R S T U V 
All Classes and Interfaces|所有程序包
+
+
+ + diff --git a/docs/android-docs/1.6/index-files/index-6.html b/docs/android-docs/1.6/index-files/index-6.html new file mode 100644 index 0000000..ae02435 --- /dev/null +++ b/docs/android-docs/1.6/index-files/index-6.html @@ -0,0 +1,66 @@ + + + + +G - 索引 + + + + + + + + + + + + + + + +
+ +
+
+
+

索引

+
+A C D E F G I L N O P R S T U V 
All Classes and Interfaces|所有程序包 +

G

+
+
getCode() - enum class中的方法 com.tencent.mps.tie.api.TSRSdk.TSRSdkLicenseStatus
+
 
+
getInstance() - 类中的静态方法 com.tencent.mps.tie.api.TSRSdk
+
 
+
getValue() - enum class中的方法 com.tencent.mps.tie.api.TSRPass.TSRAlgorithmType
+
 
+
+A C D E F G I L N O P R S T U V 
All Classes and Interfaces|所有程序包
+
+
+ + diff --git a/docs/android-docs/1.6/index-files/index-7.html b/docs/android-docs/1.6/index-files/index-7.html new file mode 100644 index 0000000..6523287 --- /dev/null +++ b/docs/android-docs/1.6/index-files/index-7.html @@ -0,0 +1,80 @@ + + + + +I - 索引 + + + + + + + + + + + + + + + +
+ +
+
+
+

索引

+
+A C D E F G I L N O P R S T U V 
All Classes and Interfaces|所有程序包 +

I

+
+
init(int, int) - 类中的方法 com.tencent.mps.tie.api.TIEPass
+
+
Init TIEPass object for image enhance.
+
+
init(int, int, float) - 类中的方法 com.tencent.mps.tie.api.TSRPass
+
+
Init TSRPass object for super-resolution.
+
+
init(long, int, TSRSdk.TSRSdkLicenseVerifyResultCallback, TSRLogger) - 类中的方法 com.tencent.mps.tie.api.TSRSdk
+
+
Initializes the TSRSdk with online license verification.
+
+
init(long, String, TSRLogger) - 类中的方法 com.tencent.mps.tie.api.TSRSdk
+
+
Initializes the TsrSdk with offline license verification.
+
+
INTERNAL_ERR - enum class 中的枚举常量 com.tencent.mps.tie.api.TSRSdk.TSRSdkLicenseStatus
+
+
Internal operating logic error.
+
+
+A C D E F G I L N O P R S T U V 
All Classes and Interfaces|所有程序包
+
+
+ + diff --git a/docs/android-docs/1.6/index-files/index-8.html b/docs/android-docs/1.6/index-files/index-8.html new file mode 100644 index 0000000..1a84d19 --- /dev/null +++ b/docs/android-docs/1.6/index-files/index-8.html @@ -0,0 +1,64 @@ + + + + +L - 索引 + + + + + + + + + + + + + + + +
+ +
+
+
+

索引

+
+A C D E F G I L N O P R S T U V 
All Classes and Interfaces|所有程序包 +

L

+
+
logWithLevel(int, String, String) - 接口中的方法 com.tencent.mps.tie.api.TSRLogger
+
+
Logs the message with the specified log level.
+
+
+A C D E F G I L N O P R S T U V 
All Classes and Interfaces|所有程序包
+
+
+ + diff --git a/docs/android-docs/1.6/index-files/index-9.html b/docs/android-docs/1.6/index-files/index-9.html new file mode 100644 index 0000000..189f2a0 --- /dev/null +++ b/docs/android-docs/1.6/index-files/index-9.html @@ -0,0 +1,64 @@ + + + + +N - 索引 + + + + + + + + + + + + + + + +
+ +
+
+
+

索引

+
+A C D E F G I L N O P R S T U V 
All Classes and Interfaces|所有程序包 +

N

+
+
NO_AVAILABLE_AUTH - enum class 中的枚举常量 com.tencent.mps.tie.api.TSRSdk.TSRSdkLicenseStatus
+
+
License not available for user request (online authorization).
+
+
+A C D E F G I L N O P R S T U V 
All Classes and Interfaces|所有程序包
+
+
+ + diff --git a/docs/android-docs/1.6/index.html b/docs/android-docs/1.6/index.html new file mode 100644 index 0000000..5028d2d --- /dev/null +++ b/docs/android-docs/1.6/index.html @@ -0,0 +1,26 @@ + + + + +生成的文档 (无标题) + + + + + + + + + + + +
+ +

com/tencent/mps/tie/api/package-summary.html

+
+ + diff --git a/docs/android-docs/1.6/jquery-ui.overrides.css b/docs/android-docs/1.6/jquery-ui.overrides.css new file mode 100644 index 0000000..facf852 --- /dev/null +++ b/docs/android-docs/1.6/jquery-ui.overrides.css @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +.ui-state-active, +.ui-widget-content .ui-state-active, +.ui-widget-header .ui-state-active, +a.ui-button:active, +.ui-button:active, +.ui-button.ui-state-active:hover { + /* Overrides the color of selection used in jQuery UI */ + background: #F8981D; + border: 1px solid #F8981D; +} diff --git a/docs/android-docs/1.6/legal/ADDITIONAL_LICENSE_INFO b/docs/android-docs/1.6/legal/ADDITIONAL_LICENSE_INFO new file mode 100644 index 0000000..ff700cd --- /dev/null +++ b/docs/android-docs/1.6/legal/ADDITIONAL_LICENSE_INFO @@ -0,0 +1,37 @@ + ADDITIONAL INFORMATION ABOUT LICENSING + +Certain files distributed by Oracle America, Inc. and/or its affiliates are +subject to the following clarification and special exception to the GPLv2, +based on the GNU Project exception for its Classpath libraries, known as the +GNU Classpath Exception. + +Note that Oracle includes multiple, independent programs in this software +package. Some of those programs are provided under licenses deemed +incompatible with the GPLv2 by the Free Software Foundation and others. +For example, the package includes programs licensed under the Apache +License, Version 2.0 and may include FreeType. Such programs are licensed +to you under their original licenses. + +Oracle facilitates your further distribution of this package by adding the +Classpath Exception to the necessary parts of its GPLv2 code, which permits +you to use that code in combination with other independent modules not +licensed under the GPLv2. However, note that this would not permit you to +commingle code under an incompatible license with Oracle's GPLv2 licensed +code by, for example, cutting and pasting such code into a file also +containing Oracle's GPLv2 licensed code and then distributing the result. + +Additionally, if you were to remove the Classpath Exception from any of the +files to which it applies and distribute the result, you would likely be +required to license some or all of the other code in that distribution under +the GPLv2 as well, and since the GPLv2 is incompatible with the license terms +of some items included in the distribution by Oracle, removing the Classpath +Exception could therefore effectively compromise your ability to further +distribute the package. + +Failing to distribute notices associated with some files may also create +unexpected legal consequences. + +Proceed with caution and we recommend that you obtain the advice of a lawyer +skilled in open source matters before removing the Classpath Exception or +making modifications to this package which may subsequently be redistributed +and/or involve the use of third party software. diff --git a/docs/android-docs/1.6/legal/ASSEMBLY_EXCEPTION b/docs/android-docs/1.6/legal/ASSEMBLY_EXCEPTION new file mode 100644 index 0000000..065b8d9 --- /dev/null +++ b/docs/android-docs/1.6/legal/ASSEMBLY_EXCEPTION @@ -0,0 +1,27 @@ + +OPENJDK ASSEMBLY EXCEPTION + +The OpenJDK source code made available by Oracle America, Inc. (Oracle) at +openjdk.java.net ("OpenJDK Code") is distributed under the terms of the GNU +General Public License version 2 +only ("GPL2"), with the following clarification and special exception. + + Linking this OpenJDK Code statically or dynamically with other code + is making a combined work based on this library. Thus, the terms + and conditions of GPL2 cover the whole combination. + + As a special exception, Oracle gives you permission to link this + OpenJDK Code with certain code licensed by Oracle as indicated at + http://openjdk.java.net/legal/exception-modules-2007-05-08.html + ("Designated Exception Modules") to produce an executable, + regardless of the license terms of the Designated Exception Modules, + and to copy and distribute the resulting executable under GPL2, + provided that the Designated Exception Modules continue to be + governed by the licenses under which they were offered by Oracle. + +As such, it allows licensees and sublicensees of Oracle's GPL2 OpenJDK Code +to build an executable that includes those portions of necessary code that +Oracle could not provide under GPL2 (or that Oracle has provided under GPL2 +with the Classpath exception). If you modify or add to the OpenJDK code, +that new GPL2 code may still be combined with Designated Exception Modules +if the new code is made subject to this exception by its copyright holder. diff --git a/docs/android-docs/1.6/legal/LICENSE b/docs/android-docs/1.6/legal/LICENSE new file mode 100644 index 0000000..8b400c7 --- /dev/null +++ b/docs/android-docs/1.6/legal/LICENSE @@ -0,0 +1,347 @@ +The GNU General Public License (GPL) + +Version 2, June 1991 + +Copyright (C) 1989, 1991 Free Software Foundation, Inc. +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Everyone is permitted to copy and distribute verbatim copies of this license +document, but changing it is not allowed. + +Preamble + +The licenses for most software are designed to take away your freedom to share +and change it. By contrast, the GNU General Public License is intended to +guarantee your freedom to share and change free software--to make sure the +software is free for all its users. This General Public License applies to +most of the Free Software Foundation's software and to any other program whose +authors commit to using it. (Some other Free Software Foundation software is +covered by the GNU Library General Public License instead.) You can apply it to +your programs, too. + +When we speak of free software, we are referring to freedom, not price. Our +General Public Licenses are designed to make sure that you have the freedom to +distribute copies of free software (and charge for this service if you wish), +that you receive source code or can get it if you want it, that you can change +the software or use pieces of it in new free programs; and that you know you +can do these things. + +To protect your rights, we need to make restrictions that forbid anyone to deny +you these rights or to ask you to surrender the rights. These restrictions +translate to certain responsibilities for you if you distribute copies of the +software, or if you modify it. + +For example, if you distribute copies of such a program, whether gratis or for +a fee, you must give the recipients all the rights that you have. You must +make sure that they, too, receive or can get the source code. And you must +show them these terms so they know their rights. + +We protect your rights with two steps: (1) copyright the software, and (2) +offer you this license which gives you legal permission to copy, distribute +and/or modify the software. + +Also, for each author's protection and ours, we want to make certain that +everyone understands that there is no warranty for this free software. If the +software is modified by someone else and passed on, we want its recipients to +know that what they have is not the original, so that any problems introduced +by others will not reflect on the original authors' reputations. + +Finally, any free program is threatened constantly by software patents. We +wish to avoid the danger that redistributors of a free program will +individually obtain patent licenses, in effect making the program proprietary. +To prevent this, we have made it clear that any patent must be licensed for +everyone's free use or not licensed at all. + +The precise terms and conditions for copying, distribution and modification +follow. + +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. This License applies to any program or other work which contains a notice +placed by the copyright holder saying it may be distributed under the terms of +this General Public License. The "Program", below, refers to any such program +or work, and a "work based on the Program" means either the Program or any +derivative work under copyright law: that is to say, a work containing the +Program or a portion of it, either verbatim or with modifications and/or +translated into another language. (Hereinafter, translation is included +without limitation in the term "modification".) Each licensee is addressed as +"you". + +Activities other than copying, distribution and modification are not covered by +this License; they are outside its scope. The act of running the Program is +not restricted, and the output from the Program is covered only if its contents +constitute a work based on the Program (independent of having been made by +running the Program). Whether that is true depends on what the Program does. + +1. You may copy and distribute verbatim copies of the Program's source code as +you receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice and +disclaimer of warranty; keep intact all the notices that refer to this License +and to the absence of any warranty; and give any other recipients of the +Program a copy of this License along with the Program. + +You may charge a fee for the physical act of transferring a copy, and you may +at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Program or any portion of it, thus +forming a work based on the Program, and copy and distribute such modifications +or work under the terms of Section 1 above, provided that you also meet all of +these conditions: + + a) You must cause the modified files to carry prominent notices stating + that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in whole or + in part contains or is derived from the Program or any part thereof, to be + licensed as a whole at no charge to all third parties under the terms of + this License. + + c) If the modified program normally reads commands interactively when run, + you must cause it, when started running for such interactive use in the + most ordinary way, to print or display an announcement including an + appropriate copyright notice and a notice that there is no warranty (or + else, saying that you provide a warranty) and that users may redistribute + the program under these conditions, and telling the user how to view a copy + of this License. (Exception: if the Program itself is interactive but does + not normally print such an announcement, your work based on the Program is + not required to print an announcement.) + +These requirements apply to the modified work as a whole. If identifiable +sections of that work are not derived from the Program, and can be reasonably +considered independent and separate works in themselves, then this License, and +its terms, do not apply to those sections when you distribute them as separate +works. But when you distribute the same sections as part of a whole which is a +work based on the Program, the distribution of the whole must be on the terms +of this License, whose permissions for other licensees extend to the entire +whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest your +rights to work written entirely by you; rather, the intent is to exercise the +right to control the distribution of derivative or collective works based on +the Program. + +In addition, mere aggregation of another work not based on the Program with the +Program (or with a work based on the Program) on a volume of a storage or +distribution medium does not bring the other work under the scope of this +License. + +3. You may copy and distribute the Program (or a work based on it, under +Section 2) in object code or executable form under the terms of Sections 1 and +2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable source + code, which must be distributed under the terms of Sections 1 and 2 above + on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three years, to + give any third party, for a charge no more than your cost of physically + performing source distribution, a complete machine-readable copy of the + corresponding source code, to be distributed under the terms of Sections 1 + and 2 above on a medium customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer to + distribute corresponding source code. (This alternative is allowed only + for noncommercial distribution and only if you received the program in + object code or executable form with such an offer, in accord with + Subsection b above.) + +The source code for a work means the preferred form of the work for making +modifications to it. For an executable work, complete source code means all +the source code for all modules it contains, plus any associated interface +definition files, plus the scripts used to control compilation and installation +of the executable. However, as a special exception, the source code +distributed need not include anything that is normally distributed (in either +source or binary form) with the major components (compiler, kernel, and so on) +of the operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the source +code from the same place counts as distribution of the source code, even though +third parties are not compelled to copy the source along with the object code. + +4. You may not copy, modify, sublicense, or distribute the Program except as +expressly provided under this License. Any attempt otherwise to copy, modify, +sublicense or distribute the Program is void, and will automatically terminate +your rights under this License. However, parties who have received copies, or +rights, from you under this License will not have their licenses terminated so +long as such parties remain in full compliance. + +5. You are not required to accept this License, since you have not signed it. +However, nothing else grants you permission to modify or distribute the Program +or its derivative works. These actions are prohibited by law if you do not +accept this License. Therefore, by modifying or distributing the Program (or +any work based on the Program), you indicate your acceptance of this License to +do so, and all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + +6. Each time you redistribute the Program (or any work based on the Program), +the recipient automatically receives a license from the original licensor to +copy, distribute or modify the Program subject to these terms and conditions. +You may not impose any further restrictions on the recipients' exercise of the +rights granted herein. You are not responsible for enforcing compliance by +third parties to this License. + +7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), conditions +are imposed on you (whether by court order, agreement or otherwise) that +contradict the conditions of this License, they do not excuse you from the +conditions of this License. If you cannot distribute so as to satisfy +simultaneously your obligations under this License and any other pertinent +obligations, then as a consequence you may not distribute the Program at all. +For example, if a patent license would not permit royalty-free redistribution +of the Program by all those who receive copies directly or indirectly through +you, then the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply and +the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any patents or +other property right claims or to contest validity of any such claims; this +section has the sole purpose of protecting the integrity of the free software +distribution system, which is implemented by public license practices. Many +people have made generous contributions to the wide range of software +distributed through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing to +distribute software through any other system and a licensee cannot impose that +choice. + +This section is intended to make thoroughly clear what is believed to be a +consequence of the rest of this License. + +8. If the distribution and/or use of the Program is restricted in certain +countries either by patents or by copyrighted interfaces, the original +copyright holder who places the Program under this License may add an explicit +geographical distribution limitation excluding those countries, so that +distribution is permitted only in or among countries not thus excluded. In +such case, this License incorporates the limitation as if written in the body +of this License. + +9. The Free Software Foundation may publish revised and/or new versions of the +General Public License from time to time. Such new versions will be similar in +spirit to the present version, but may differ in detail to address new problems +or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any later +version", you have the option of following the terms and conditions either of +that version or of any later version published by the Free Software Foundation. +If the Program does not specify a version number of this License, you may +choose any version ever published by the Free Software Foundation. + +10. If you wish to incorporate parts of the Program into other free programs +whose distribution conditions are different, write to the author to ask for +permission. For software which is copyrighted by the Free Software Foundation, +write to the Free Software Foundation; we sometimes make exceptions for this. +Our decision will be guided by the two goals of preserving the free status of +all derivatives of our free software and of promoting the sharing and reuse of +software generally. + +NO WARRANTY + +11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR +THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE +STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE +PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND +PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, +YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL +ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE +PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR +INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA +BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER +OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Programs + +If you develop a new program, and you want it to be of the greatest possible +use to the public, the best way to achieve this is to make it free software +which everyone can redistribute and change under these terms. + +To do so, attach the following notices to the program. It is safest to attach +them to the start of each source file to most effectively convey the exclusion +of warranty; and each file should have at least the "copyright" line and a +pointer to where the full notice is found. + + One line to give the program's name and a brief idea of what it does. + + Copyright (C) + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this when it +starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author Gnomovision comes + with ABSOLUTELY NO WARRANTY; for details type 'show w'. This is free + software, and you are welcome to redistribute it under certain conditions; + type 'show c' for details. + +The hypothetical commands 'show w' and 'show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may be +called something other than 'show w' and 'show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your school, +if any, to sign a "copyright disclaimer" for the program, if necessary. Here +is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + 'Gnomovision' (which makes passes at compilers) written by James Hacker. + + signature of Ty Coon, 1 April 1989 + + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General Public +License instead of this License. + + +"CLASSPATH" EXCEPTION TO THE GPL + +Certain source files distributed by Oracle America and/or its affiliates are +subject to the following clarification and special exception to the GPL, but +only where Oracle has expressly included in the particular source file's header +the words "Oracle designates this particular file as subject to the "Classpath" +exception as provided by Oracle in the LICENSE file that accompanied this code." + + Linking this library statically or dynamically with other modules is making + a combined work based on this library. Thus, the terms and conditions of + the GNU General Public License cover the whole combination. + + As a special exception, the copyright holders of this library give you + permission to link this library with independent modules to produce an + executable, regardless of the license terms of these independent modules, + and to copy and distribute the resulting executable under terms of your + choice, provided that you also meet, for each linked independent module, + the terms and conditions of the license of that module. An independent + module is a module which is not derived from or based on this library. If + you modify this library, you may extend this exception to your version of + the library, but you are not obligated to do so. If you do not wish to do + so, delete this exception statement from your version. diff --git a/docs/android-docs/1.6/legal/jquery.md b/docs/android-docs/1.6/legal/jquery.md new file mode 100644 index 0000000..d468b31 --- /dev/null +++ b/docs/android-docs/1.6/legal/jquery.md @@ -0,0 +1,72 @@ +## jQuery v3.6.1 + +### jQuery License +``` +jQuery v 3.6.1 +Copyright OpenJS Foundation and other contributors, https://openjsf.org/ + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +****************************************** + +The jQuery JavaScript Library v3.6.1 also includes Sizzle.js + +Sizzle.js includes the following license: + +Copyright JS Foundation and other contributors, https://js.foundation/ + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/jquery/sizzle + +The following license applies to all parts of this software except as +documented below: + +==== + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +==== + +All files located in the node_modules and external directories are +externally maintained libraries used by this software which have their +own licenses; we recommend you read them, as their terms may differ from +the terms above. + +********************* + +``` diff --git a/docs/android-docs/1.6/legal/jqueryUI.md b/docs/android-docs/1.6/legal/jqueryUI.md new file mode 100644 index 0000000..8bda9d7 --- /dev/null +++ b/docs/android-docs/1.6/legal/jqueryUI.md @@ -0,0 +1,49 @@ +## jQuery UI v1.13.2 + +### jQuery UI License +``` +Copyright jQuery Foundation and other contributors, https://jquery.org/ + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/jquery/jquery-ui + +The following license applies to all parts of this software except as +documented below: + +==== + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +==== + +Copyright and related rights for sample code are waived via CC0. Sample +code is defined as all source code contained within the demos directory. + +CC0: http://creativecommons.org/publicdomain/zero/1.0/ + +==== + +All files located in the node_modules and external directories are +externally maintained libraries used by this software which have their +own licenses; we recommend you read them, as their terms may differ from +the terms above. + +``` diff --git a/docs/android-docs/1.6/member-search-index.js b/docs/android-docs/1.6/member-search-index.js new file mode 100644 index 0000000..8ed5bdd --- /dev/null +++ b/docs/android-docs/1.6/member-search-index.js @@ -0,0 +1 @@ +memberSearchIndex = [{"p":"com.tencent.mps.tie.api","c":"TSRSdk.TSRSdkLicenseStatus","l":"APPINFO_NOT_MATCHED"},{"p":"com.tencent.mps.tie.api","c":"TSRSdk.TSRSdkLicenseStatus","l":"AVAILABLE"},{"p":"com.tencent.mps.tie.api","c":"TIEPass","l":"deInit()"},{"p":"com.tencent.mps.tie.api","c":"TSRPass","l":"deInit()"},{"p":"com.tencent.mps.tie.api","c":"TSRSdk","l":"deInit()"},{"p":"com.tencent.mps.tie.api","c":"TSRSdk.TSRSdkLicenseStatus","l":"DEVICE_COUNT_EXCEEDED"},{"p":"com.tencent.mps.tie.api","c":"TSRSdk.TSRSdkLicenseStatus","l":"DEVID_NOT_MATCHED"},{"p":"com.tencent.mps.tie.api","c":"TSRSdk.TSRSdkLicenseStatus","l":"ERROR_INVALID"},{"p":"com.tencent.mps.tie.api","c":"TSRSdk.TSRSdkLicenseStatus","l":"EXPIRES"},{"p":"com.tencent.mps.tie.api","c":"TSRSdk.TSRSdkLicenseStatus","l":"findEnumByCode(Integer)","u":"findEnumByCode(java.lang.Integer)"},{"p":"com.tencent.mps.tie.api","c":"TSRSdk.TSRSdkLicenseStatus","l":"getCode()"},{"p":"com.tencent.mps.tie.api","c":"TSRSdk","l":"getInstance()"},{"p":"com.tencent.mps.tie.api","c":"TSRPass.TSRAlgorithmType","l":"getValue()"},{"p":"com.tencent.mps.tie.api","c":"TIEPass","l":"init(int, int)","u":"init(int,int)"},{"p":"com.tencent.mps.tie.api","c":"TSRPass","l":"init(int, int, float)","u":"init(int,int,float)"},{"p":"com.tencent.mps.tie.api","c":"TSRSdk","l":"init(long, int, TSRSdk.TSRSdkLicenseVerifyResultCallback, TSRLogger)","u":"init(long,int,com.tencent.mps.tie.api.TSRSdk.TSRSdkLicenseVerifyResultCallback,com.tencent.mps.tie.api.TSRLogger)"},{"p":"com.tencent.mps.tie.api","c":"TSRSdk","l":"init(long, String, TSRLogger)","u":"init(long,java.lang.String,com.tencent.mps.tie.api.TSRLogger)"},{"p":"com.tencent.mps.tie.api","c":"TSRSdk.TSRSdkLicenseStatus","l":"INTERNAL_ERR"},{"p":"com.tencent.mps.tie.api","c":"TSRLogger","l":"logWithLevel(int, String, String)","u":"logWithLevel(int,java.lang.String,java.lang.String)"},{"p":"com.tencent.mps.tie.api","c":"TSRSdk.TSRSdkLicenseStatus","l":"NO_AVAILABLE_AUTH"},{"p":"com.tencent.mps.tie.api","c":"TSRSdk.TSRSdkLicenseVerifyResultCallback","l":"onTSRSdkLicenseVerifyResult(TSRSdk.TSRSdkLicenseStatus)","u":"onTSRSdkLicenseVerifyResult(com.tencent.mps.tie.api.TSRSdk.TSRSdkLicenseStatus)"},{"p":"com.tencent.mps.tie.api","c":"TSRPass.TSRAlgorithmType","l":"PROFESSIONAL"},{"p":"com.tencent.mps.tie.api","c":"TIEPass","l":"render(int)"},{"p":"com.tencent.mps.tie.api","c":"TSRPass","l":"render(int)"},{"p":"com.tencent.mps.tie.api","c":"TIEPass","l":"render(int, float[])","u":"render(int,float[])"},{"p":"com.tencent.mps.tie.api","c":"TSRPass","l":"render(int, float[])","u":"render(int,float[])"},{"p":"com.tencent.mps.tie.api","c":"TSRSdk.TSRSdkLicenseStatus","l":"SDK_FEATURE_NOT_MATCHED"},{"p":"com.tencent.mps.tie.api","c":"TSRPass","l":"setParameters(float, float, float, float)","u":"setParameters(float,float,float,float)"},{"p":"com.tencent.mps.tie.api","c":"TSRSdk.TSRSdkLicenseStatus","l":"SIGN_NOT_MATCHED"},{"p":"com.tencent.mps.tie.api","c":"TSRPass.TSRAlgorithmType","l":"STANDARD"},{"p":"com.tencent.mps.tie.api","c":"TIEPass","l":"TIEPass()","u":"%3Cinit%3E()"},{"p":"com.tencent.mps.tie.api","c":"TSRSdk.TSRSdkLicenseStatus","l":"toString()"},{"p":"com.tencent.mps.tie.api","c":"TSRSdk.TSRSdkLicenseStatus","l":"TRIALS"},{"p":"com.tencent.mps.tie.api","c":"TSRPass","l":"TSRPass(TSRPass.TSRAlgorithmType)","u":"%3Cinit%3E(com.tencent.mps.tie.api.TSRPass.TSRAlgorithmType)"},{"p":"com.tencent.mps.tie.api","c":"TSRSdk.TSRSdkLicenseStatus","l":"UNAVAILABLE"},{"p":"com.tencent.mps.tie.api","c":"TSRSdk.TSRSdkLicenseStatus","l":"UNKNOWN"},{"p":"com.tencent.mps.tie.api","c":"TSRPass.TSRAlgorithmType","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.tencent.mps.tie.api","c":"TSRSdk.TSRSdkLicenseStatus","l":"valueOf(String)","u":"valueOf(java.lang.String)"},{"p":"com.tencent.mps.tie.api","c":"TSRPass.TSRAlgorithmType","l":"values()"},{"p":"com.tencent.mps.tie.api","c":"TSRSdk.TSRSdkLicenseStatus","l":"values()"}];updateSearchResults(); \ No newline at end of file diff --git a/docs/android-docs/1.6/module-search-index.js b/docs/android-docs/1.6/module-search-index.js new file mode 100644 index 0000000..0d59754 --- /dev/null +++ b/docs/android-docs/1.6/module-search-index.js @@ -0,0 +1 @@ +moduleSearchIndex = [];updateSearchResults(); \ No newline at end of file diff --git a/docs/android-docs/1.6/overview-tree.html b/docs/android-docs/1.6/overview-tree.html new file mode 100644 index 0000000..4dc90bc --- /dev/null +++ b/docs/android-docs/1.6/overview-tree.html @@ -0,0 +1,94 @@ + + + + +类分层结构 + + + + + + + + + + + + + + + +
+ +
+
+
+

所有程序包的分层结构

+程序包分层结构: + +
+
+

类分层结构

+ +
+
+

接口分层结构

+ +
+
+

Enum Class Hierarchy

+ +
+
+
+
+ + diff --git a/docs/android-docs/1.6/package-search-index.js b/docs/android-docs/1.6/package-search-index.js new file mode 100644 index 0000000..fffa8c5 --- /dev/null +++ b/docs/android-docs/1.6/package-search-index.js @@ -0,0 +1 @@ +packageSearchIndex = [{"l":"com.tencent.mps.tie.api"},{"l":"所有程序包","u":"allpackages-index.html"}];updateSearchResults(); \ No newline at end of file diff --git a/docs/android-docs/1.6/resources/glass.png b/docs/android-docs/1.6/resources/glass.png new file mode 100644 index 0000000..a7f591f Binary files /dev/null and b/docs/android-docs/1.6/resources/glass.png differ diff --git a/docs/android-docs/1.6/resources/x.png b/docs/android-docs/1.6/resources/x.png new file mode 100644 index 0000000..30548a7 Binary files /dev/null and b/docs/android-docs/1.6/resources/x.png differ diff --git a/docs/android-docs/1.6/script-dir/jquery-3.6.1.min.js b/docs/android-docs/1.6/script-dir/jquery-3.6.1.min.js new file mode 100644 index 0000000..2c69bc9 --- /dev/null +++ b/docs/android-docs/1.6/script-dir/jquery-3.6.1.min.js @@ -0,0 +1,2 @@ +/*! jQuery v3.6.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,y=n.hasOwnProperty,a=y.toString,l=a.call(Object),v={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.6.1",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&v(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!y||!y.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ve(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ye(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ve(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],y=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||y.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||y.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||y.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||y.push(".#.+[+~]"),e.querySelectorAll("\\\f"),y.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&y.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&y.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),y=y.length&&new RegExp(y.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),v=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&v(p,e)?-1:t==C||t.ownerDocument==p&&v(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!y||!y.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,D=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),v.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="",v.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="",v.option=!!ce.lastChild;var ge={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ye(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Ut,Xt=[],Vt=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Xt.pop()||S.expando+"_"+Ct.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Vt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Vt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Vt,"$1"+r):!1!==e.jsonp&&(e.url+=(Et.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Xt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),v.createHTMLDocument=((Ut=E.implementation.createHTMLDocument("").body).innerHTML="
",2===Ut.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(v.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return B(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=_e(v.pixelPosition,function(e,t){if(t)return t=Be(e,n),Pe.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return B(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=x(e||this.defaultElement||this)[0],this.element=x(e),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),this.classesElementLookup={},e!==this&&(x.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=x(e.style?e.ownerDocument:e.document||e),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:x.noop,_create:x.noop,_init:x.noop,destroy:function(){var i=this;this._destroy(),x.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:x.noop,widget:function(){return this.element},option:function(t,e){var i,s,n,o=t;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(i=t.split(".")).shift(),i.length){for(s=o[t]=x.widget.extend({},this.options[t]),n=0;n
"),i=e.children()[0];return x("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),s=t-i},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.widthC(E(s),E(n))?o.important="horizontal":o.important="vertical",c.using.call(this,t,o)}),l.offset(x.extend(u,{using:t}))})},x.ui.position={fit:{left:function(t,e){var i=e.within,s=i.isWindow?i.scrollLeft:i.offset.left,n=i.width,o=t.left-e.collisionPosition.marginLeft,l=s-o,a=o+e.collisionWidth-n-s;e.collisionWidth>n?0n?0",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.lastMousePosition={x:null,y:null},this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(t){t.preventDefault(),this._activateItem(t)},"click .ui-menu-item":function(t){var e=x(t.target),i=x(x.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&e.not(".ui-state-disabled").length&&(this.select(t),t.isPropagationStopped()||(this.mouseHandled=!0),e.has(".ui-menu").length?this.expand(t):!this.element.is(":focus")&&i.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":"_activateItem","mousemove .ui-menu-item":"_activateItem",mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this._menuItems().first();e||this.focus(t,i)},blur:function(t){this._delay(function(){x.contains(this.element[0],x.ui.safeActiveElement(this.document[0]))||this.collapseAll(t)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){this._closeOnDocumentClick(t)&&this.collapseAll(t,!0),this.mouseHandled=!1}})},_activateItem:function(t){var e,i;this.previousFilter||t.clientX===this.lastMousePosition.x&&t.clientY===this.lastMousePosition.y||(this.lastMousePosition={x:t.clientX,y:t.clientY},e=x(t.target).closest(".ui-menu-item"),i=x(t.currentTarget),e[0]===i[0]&&(i.is(".ui-state-active")||(this._removeClass(i.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(t,i))))},_destroy:function(){var t=this.element.find(".ui-menu-item").removeAttr("role aria-disabled").children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),t.children().each(function(){var t=x(this);t.data("ui-menu-submenu-caret")&&t.remove()})},_keydown:function(t){var e,i,s,n=!0;switch(t.keyCode){case x.ui.keyCode.PAGE_UP:this.previousPage(t);break;case x.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case x.ui.keyCode.HOME:this._move("first","first",t);break;case x.ui.keyCode.END:this._move("last","last",t);break;case x.ui.keyCode.UP:this.previous(t);break;case x.ui.keyCode.DOWN:this.next(t);break;case x.ui.keyCode.LEFT:this.collapse(t);break;case x.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(t);break;case x.ui.keyCode.ENTER:case x.ui.keyCode.SPACE:this._activate(t);break;case x.ui.keyCode.ESCAPE:this.collapse(t);break;default:e=this.previousFilter||"",s=n=!1,i=96<=t.keyCode&&t.keyCode<=105?(t.keyCode-96).toString():String.fromCharCode(t.keyCode),clearTimeout(this.filterTimer),i===e?s=!0:i=e+i,e=this._filterMenuItems(i),(e=s&&-1!==e.index(this.active.next())?this.active.nextAll(".ui-menu-item"):e).length||(i=String.fromCharCode(t.keyCode),e=this._filterMenuItems(i)),e.length?(this.focus(t,e),this.previousFilter=i,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}n&&t.preventDefault()},_activate:function(t){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var t,e,s=this,n=this.options.icons.submenu,i=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),e=i.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var t=x(this),e=t.prev(),i=x("").data("ui-menu-submenu-caret",!0);s._addClass(i,"ui-menu-icon","ui-icon "+n),e.attr("aria-haspopup","true").prepend(i),t.attr("aria-labelledby",e.attr("id"))}),this._addClass(e,"ui-menu","ui-widget ui-widget-content ui-front"),(t=i.add(this.element).find(this.options.items)).not(".ui-menu-item").each(function(){var t=x(this);s._isDivider(t)&&s._addClass(t,"ui-menu-divider","ui-widget-content")}),i=(e=t.not(".ui-menu-item, .ui-menu-divider")).children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(e,"ui-menu-item")._addClass(i,"ui-menu-item-wrapper"),t.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!x.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){var i;"icons"===t&&(i=this.element.find(".ui-menu-icon"),this._removeClass(i,null,this.options.icons.submenu)._addClass(i,null,e.submenu)),this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",String(t)),this._toggleClass(null,"ui-state-disabled",!!t)},focus:function(t,e){var i;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),i=this.active.children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",i.attr("id")),i=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(i=e.children(".ui-menu")).length&&t&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(t){var e,i,s;this._hasScroll()&&(i=parseFloat(x.css(this.activeMenu[0],"borderTopWidth"))||0,s=parseFloat(x.css(this.activeMenu[0],"paddingTop"))||0,e=t.offset().top-this.activeMenu.offset().top-i-s,i=this.activeMenu.scrollTop(),s=this.activeMenu.height(),t=t.outerHeight(),e<0?this.activeMenu.scrollTop(i+e):s",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,liveRegionTimer:null,_create:function(){var i,s,n,t=this.element[0].nodeName.toLowerCase(),e="textarea"===t,t="input"===t;this.isMultiLine=e||!t&&this._isContentEditable(this.element),this.valueMethod=this.element[e||t?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(t){if(this.element.prop("readOnly"))s=n=i=!0;else{s=n=i=!1;var e=x.ui.keyCode;switch(t.keyCode){case e.PAGE_UP:i=!0,this._move("previousPage",t);break;case e.PAGE_DOWN:i=!0,this._move("nextPage",t);break;case e.UP:i=!0,this._keyEvent("previous",t);break;case e.DOWN:i=!0,this._keyEvent("next",t);break;case e.ENTER:this.menu.active&&(i=!0,t.preventDefault(),this.menu.select(t));break;case e.TAB:this.menu.active&&this.menu.select(t);break;case e.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(t),t.preventDefault());break;default:s=!0,this._searchTimeout(t)}}},keypress:function(t){if(i)return i=!1,void(this.isMultiLine&&!this.menu.element.is(":visible")||t.preventDefault());if(!s){var e=x.ui.keyCode;switch(t.keyCode){case e.PAGE_UP:this._move("previousPage",t);break;case e.PAGE_DOWN:this._move("nextPage",t);break;case e.UP:this._keyEvent("previous",t);break;case e.DOWN:this._keyEvent("next",t)}}},input:function(t){if(n)return n=!1,void t.preventDefault();this._searchTimeout(t)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){clearTimeout(this.searching),this.close(t),this._change(t)}}),this._initSource(),this.menu=x("
    ").appendTo(this._appendTo()).menu({role:null}).hide().attr({unselectable:"on"}).menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(t){t.preventDefault()},menufocus:function(t,e){var i,s;if(this.isNewMenu&&(this.isNewMenu=!1,t.originalEvent&&/^mouse/.test(t.originalEvent.type)))return this.menu.blur(),void this.document.one("mousemove",function(){x(t.target).trigger(t.originalEvent)});s=e.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",t,{item:s})&&t.originalEvent&&/^key/.test(t.originalEvent.type)&&this._value(s.value),(i=e.item.attr("aria-label")||s.value)&&String.prototype.trim.call(i).length&&(clearTimeout(this.liveRegionTimer),this.liveRegionTimer=this._delay(function(){this.liveRegion.html(x("
    ").text(i))},100))},menuselect:function(t,e){var i=e.item.data("ui-autocomplete-item"),s=this.previous;this.element[0]!==x.ui.safeActiveElement(this.document[0])&&(this.element.trigger("focus"),this.previous=s,this._delay(function(){this.previous=s,this.selectedItem=i})),!1!==this._trigger("select",t,{item:i})&&this._value(i.value),this.term=this._value(),this.close(t),this.selectedItem=i}}),this.liveRegion=x("
    ",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(this._appendTo()),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(t){var e=this.menu.element[0];return t.target===this.element[0]||t.target===e||x.contains(e,t.target)},_closeOnClickOutside:function(t){this._isEventTargetInWidget(t)||this.close()},_appendTo:function(){var t=this.options.appendTo;return t=!(t=!(t=t&&(t.jquery||t.nodeType?x(t):this.document.find(t).eq(0)))||!t[0]?this.element.closest(".ui-front, dialog"):t).length?this.document[0].body:t},_initSource:function(){var i,s,n=this;Array.isArray(this.options.source)?(i=this.options.source,this.source=function(t,e){e(x.ui.autocomplete.filter(i,t.term))}):"string"==typeof this.options.source?(s=this.options.source,this.source=function(t,e){n.xhr&&n.xhr.abort(),n.xhr=x.ajax({url:s,data:t,dataType:"json",success:function(t){e(t)},error:function(){e([])}})}):this.source=this.options.source},_searchTimeout:function(s){clearTimeout(this.searching),this.searching=this._delay(function(){var t=this.term===this._value(),e=this.menu.element.is(":visible"),i=s.altKey||s.ctrlKey||s.metaKey||s.shiftKey;t&&(e||i)||(this.selectedItem=null,this.search(null,s))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length").append(x("
    ").text(e.label)).appendTo(t)},_move:function(t,e){if(this.menu.element.is(":visible"))return this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this.isMultiLine||this._value(this.term),void this.menu.blur()):void this.menu[t](e);this.search(null,e)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(t,e),e.preventDefault())},_isContentEditable:function(t){if(!t.length)return!1;var e=t.prop("contentEditable");return"inherit"===e?this._isContentEditable(t.parent()):"true"===e}}),x.extend(x.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(t,e){var i=new RegExp(x.ui.autocomplete.escapeRegex(e),"i");return x.grep(t,function(t){return i.test(t.label||t.value||t)})}}),x.widget("ui.autocomplete",x.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(1").text(e))},100))}});x.ui.autocomplete}); \ No newline at end of file diff --git a/docs/android-docs/1.6/script.js b/docs/android-docs/1.6/script.js new file mode 100644 index 0000000..864989c --- /dev/null +++ b/docs/android-docs/1.6/script.js @@ -0,0 +1,132 @@ +/* + * Copyright (c) 2013, 2020, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +var moduleSearchIndex; +var packageSearchIndex; +var typeSearchIndex; +var memberSearchIndex; +var tagSearchIndex; +function loadScripts(doc, tag) { + createElem(doc, tag, 'search.js'); + + createElem(doc, tag, 'module-search-index.js'); + createElem(doc, tag, 'package-search-index.js'); + createElem(doc, tag, 'type-search-index.js'); + createElem(doc, tag, 'member-search-index.js'); + createElem(doc, tag, 'tag-search-index.js'); +} + +function createElem(doc, tag, path) { + var script = doc.createElement(tag); + var scriptElement = doc.getElementsByTagName(tag)[0]; + script.src = pathtoroot + path; + scriptElement.parentNode.insertBefore(script, scriptElement); +} + +function show(tableId, selected, columns) { + if (tableId !== selected) { + document.querySelectorAll('div.' + tableId + ':not(.' + selected + ')') + .forEach(function(elem) { + elem.style.display = 'none'; + }); + } + document.querySelectorAll('div.' + selected) + .forEach(function(elem, index) { + elem.style.display = ''; + var isEvenRow = index % (columns * 2) < columns; + elem.classList.remove(isEvenRow ? oddRowColor : evenRowColor); + elem.classList.add(isEvenRow ? evenRowColor : oddRowColor); + }); + updateTabs(tableId, selected); +} + +function updateTabs(tableId, selected) { + document.querySelector('div#' + tableId +' .summary-table') + .setAttribute('aria-labelledby', selected); + document.querySelectorAll('button[id^="' + tableId + '"]') + .forEach(function(tab, index) { + if (selected === tab.id || (tableId === selected && index === 0)) { + tab.className = activeTableTab; + tab.setAttribute('aria-selected', true); + tab.setAttribute('tabindex',0); + } else { + tab.className = tableTab; + tab.setAttribute('aria-selected', false); + tab.setAttribute('tabindex',-1); + } + }); +} + +function switchTab(e) { + var selected = document.querySelector('[aria-selected=true]'); + if (selected) { + if ((e.keyCode === 37 || e.keyCode === 38) && selected.previousSibling) { + // left or up arrow key pressed: move focus to previous tab + selected.previousSibling.click(); + selected.previousSibling.focus(); + e.preventDefault(); + } else if ((e.keyCode === 39 || e.keyCode === 40) && selected.nextSibling) { + // right or down arrow key pressed: move focus to next tab + selected.nextSibling.click(); + selected.nextSibling.focus(); + e.preventDefault(); + } + } +} + +var updateSearchResults = function() {}; + +function indexFilesLoaded() { + return moduleSearchIndex + && packageSearchIndex + && typeSearchIndex + && memberSearchIndex + && tagSearchIndex; +} + +// Workaround for scroll position not being included in browser history (8249133) +document.addEventListener("DOMContentLoaded", function(e) { + var contentDiv = document.querySelector("div.flex-content"); + window.addEventListener("popstate", function(e) { + if (e.state !== null) { + contentDiv.scrollTop = e.state; + } + }); + window.addEventListener("hashchange", function(e) { + history.replaceState(contentDiv.scrollTop, document.title); + }); + contentDiv.addEventListener("scroll", function(e) { + var timeoutID; + if (!timeoutID) { + timeoutID = setTimeout(function() { + history.replaceState(contentDiv.scrollTop, document.title); + timeoutID = null; + }, 100); + } + }); + if (!location.hash) { + history.replaceState(contentDiv.scrollTop, document.title); + } +}); diff --git a/docs/android-docs/1.6/search.js b/docs/android-docs/1.6/search.js new file mode 100644 index 0000000..db3b2f4 --- /dev/null +++ b/docs/android-docs/1.6/search.js @@ -0,0 +1,354 @@ +/* + * Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Oracle designates this + * particular file as subject to the "Classpath" exception as provided + * by Oracle in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + * + * You should have received a copy of the GNU General Public License version + * 2 along with this work; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + * or visit www.oracle.com if you need additional information or have any + * questions. + */ + +var noResult = {l: "No results found"}; +var loading = {l: "Loading search index..."}; +var catModules = "Modules"; +var catPackages = "Packages"; +var catTypes = "Classes and Interfaces"; +var catMembers = "Members"; +var catSearchTags = "Search Tags"; +var highlight = "$&"; +var searchPattern = ""; +var fallbackPattern = ""; +var RANKING_THRESHOLD = 2; +var NO_MATCH = 0xffff; +var MIN_RESULTS = 3; +var MAX_RESULTS = 500; +var UNNAMED = ""; +function escapeHtml(str) { + return str.replace(//g, ">"); +} +function getHighlightedText(item, matcher, fallbackMatcher) { + var escapedItem = escapeHtml(item); + var highlighted = escapedItem.replace(matcher, highlight); + if (highlighted === escapedItem) { + highlighted = escapedItem.replace(fallbackMatcher, highlight) + } + return highlighted; +} +function getURLPrefix(ui) { + var urlPrefix=""; + var slash = "/"; + if (ui.item.category === catModules) { + return ui.item.l + slash; + } else if (ui.item.category === catPackages && ui.item.m) { + return ui.item.m + slash; + } else if (ui.item.category === catTypes || ui.item.category === catMembers) { + if (ui.item.m) { + urlPrefix = ui.item.m + slash; + } else { + $.each(packageSearchIndex, function(index, item) { + if (item.m && ui.item.p === item.l) { + urlPrefix = item.m + slash; + } + }); + } + } + return urlPrefix; +} +function createSearchPattern(term) { + var pattern = ""; + var isWordToken = false; + term.replace(/,\s*/g, ", ").trim().split(/\s+/).forEach(function(w, index) { + if (index > 0) { + // whitespace between identifiers is significant + pattern += (isWordToken && /^\w/.test(w)) ? "\\s+" : "\\s*"; + } + var tokens = w.split(/(?=[A-Z,.()<>[\/])/); + for (var i = 0; i < tokens.length; i++) { + var s = tokens[i]; + if (s === "") { + continue; + } + pattern += $.ui.autocomplete.escapeRegex(s); + isWordToken = /\w$/.test(s); + if (isWordToken) { + pattern += "([a-z0-9_$<>\\[\\]]*?)"; + } + } + }); + return pattern; +} +function createMatcher(pattern, flags) { + var isCamelCase = /[A-Z]/.test(pattern); + return new RegExp(pattern, flags + (isCamelCase ? "" : "i")); +} +var watermark = 'Search'; +$(function() { + var search = $("#search-input"); + var reset = $("#reset-button"); + search.val(''); + search.prop("disabled", false); + reset.prop("disabled", false); + search.val(watermark).addClass('watermark'); + search.blur(function() { + if ($(this).val().length === 0) { + $(this).val(watermark).addClass('watermark'); + } + }); + search.on('click keydown paste', function() { + if ($(this).val() === watermark) { + $(this).val('').removeClass('watermark'); + } + }); + reset.click(function() { + search.val('').focus(); + }); + search.focus()[0].setSelectionRange(0, 0); +}); +$.widget("custom.catcomplete", $.ui.autocomplete, { + _create: function() { + this._super(); + this.widget().menu("option", "items", "> :not(.ui-autocomplete-category)"); + }, + _renderMenu: function(ul, items) { + var rMenu = this; + var currentCategory = ""; + rMenu.menu.bindings = $(); + $.each(items, function(index, item) { + var li; + if (item.category && item.category !== currentCategory) { + ul.append("
  • " + item.category + "
  • "); + currentCategory = item.category; + } + li = rMenu._renderItemData(ul, item); + if (item.category) { + li.attr("aria-label", item.category + " : " + item.l); + li.attr("class", "result-item"); + } else { + li.attr("aria-label", item.l); + li.attr("class", "result-item"); + } + }); + }, + _renderItem: function(ul, item) { + var label = ""; + var matcher = createMatcher(escapeHtml(searchPattern), "g"); + var fallbackMatcher = new RegExp(fallbackPattern, "gi") + if (item.category === catModules) { + label = getHighlightedText(item.l, matcher, fallbackMatcher); + } else if (item.category === catPackages) { + label = getHighlightedText(item.l, matcher, fallbackMatcher); + } else if (item.category === catTypes) { + label = (item.p && item.p !== UNNAMED) + ? getHighlightedText(item.p + "." + item.l, matcher, fallbackMatcher) + : getHighlightedText(item.l, matcher, fallbackMatcher); + } else if (item.category === catMembers) { + label = (item.p && item.p !== UNNAMED) + ? getHighlightedText(item.p + "." + item.c + "." + item.l, matcher, fallbackMatcher) + : getHighlightedText(item.c + "." + item.l, matcher, fallbackMatcher); + } else if (item.category === catSearchTags) { + label = getHighlightedText(item.l, matcher, fallbackMatcher); + } else { + label = item.l; + } + var li = $("
  • ").appendTo(ul); + var div = $("
    ").appendTo(li); + if (item.category === catSearchTags && item.h) { + if (item.d) { + div.html(label + " (" + item.h + ")
    " + + item.d + "
    "); + } else { + div.html(label + " (" + item.h + ")"); + } + } else { + if (item.m) { + div.html(item.m + "/" + label); + } else { + div.html(label); + } + } + return li; + } +}); +function rankMatch(match, category) { + if (!match) { + return NO_MATCH; + } + var index = match.index; + var input = match.input; + var leftBoundaryMatch = 2; + var periferalMatch = 0; + // make sure match is anchored on a left word boundary + if (index === 0 || /\W/.test(input[index - 1]) || "_" === input[index]) { + leftBoundaryMatch = 0; + } else if ("_" === input[index - 1] || (input[index] === input[index].toUpperCase() && !/^[A-Z0-9_$]+$/.test(input))) { + leftBoundaryMatch = 1; + } + var matchEnd = index + match[0].length; + var leftParen = input.indexOf("("); + var endOfName = leftParen > -1 ? leftParen : input.length; + // exclude peripheral matches + if (category !== catModules && category !== catSearchTags) { + var delim = category === catPackages ? "/" : "."; + if (leftParen > -1 && leftParen < index) { + periferalMatch += 2; + } else if (input.lastIndexOf(delim, endOfName) >= matchEnd) { + periferalMatch += 2; + } + } + var delta = match[0].length === endOfName ? 0 : 1; // rank full match higher than partial match + for (var i = 1; i < match.length; i++) { + // lower ranking if parts of the name are missing + if (match[i]) + delta += match[i].length; + } + if (category === catTypes) { + // lower ranking if a type name contains unmatched camel-case parts + if (/[A-Z]/.test(input.substring(matchEnd))) + delta += 5; + if (/[A-Z]/.test(input.substring(0, index))) + delta += 5; + } + return leftBoundaryMatch + periferalMatch + (delta / 200); + +} +function doSearch(request, response) { + var result = []; + searchPattern = createSearchPattern(request.term); + fallbackPattern = createSearchPattern(request.term.toLowerCase()); + if (searchPattern === "") { + return this.close(); + } + var camelCaseMatcher = createMatcher(searchPattern, ""); + var fallbackMatcher = new RegExp(fallbackPattern, "i"); + + function searchIndexWithMatcher(indexArray, matcher, category, nameFunc) { + if (indexArray) { + var newResults = []; + $.each(indexArray, function (i, item) { + item.category = category; + var ranking = rankMatch(matcher.exec(nameFunc(item)), category); + if (ranking < RANKING_THRESHOLD) { + newResults.push({ranking: ranking, item: item}); + } + return newResults.length <= MAX_RESULTS; + }); + return newResults.sort(function(e1, e2) { + return e1.ranking - e2.ranking; + }).map(function(e) { + return e.item; + }); + } + return []; + } + function searchIndex(indexArray, category, nameFunc) { + var primaryResults = searchIndexWithMatcher(indexArray, camelCaseMatcher, category, nameFunc); + result = result.concat(primaryResults); + if (primaryResults.length <= MIN_RESULTS && !camelCaseMatcher.ignoreCase) { + var secondaryResults = searchIndexWithMatcher(indexArray, fallbackMatcher, category, nameFunc); + result = result.concat(secondaryResults.filter(function (item) { + return primaryResults.indexOf(item) === -1; + })); + } + } + + searchIndex(moduleSearchIndex, catModules, function(item) { return item.l; }); + searchIndex(packageSearchIndex, catPackages, function(item) { + return (item.m && request.term.indexOf("/") > -1) + ? (item.m + "/" + item.l) : item.l; + }); + searchIndex(typeSearchIndex, catTypes, function(item) { + return request.term.indexOf(".") > -1 ? item.p + "." + item.l : item.l; + }); + searchIndex(memberSearchIndex, catMembers, function(item) { + return request.term.indexOf(".") > -1 + ? item.p + "." + item.c + "." + item.l : item.l; + }); + searchIndex(tagSearchIndex, catSearchTags, function(item) { return item.l; }); + + if (!indexFilesLoaded()) { + updateSearchResults = function() { + doSearch(request, response); + } + result.unshift(loading); + } else { + updateSearchResults = function() {}; + } + response(result); +} +$(function() { + $("#search-input").catcomplete({ + minLength: 1, + delay: 300, + source: doSearch, + response: function(event, ui) { + if (!ui.content.length) { + ui.content.push(noResult); + } else { + $("#search-input").empty(); + } + }, + autoFocus: true, + focus: function(event, ui) { + return false; + }, + position: { + collision: "flip" + }, + select: function(event, ui) { + if (ui.item.category) { + var url = getURLPrefix(ui); + if (ui.item.category === catModules) { + url += "module-summary.html"; + } else if (ui.item.category === catPackages) { + if (ui.item.u) { + url = ui.item.u; + } else { + url += ui.item.l.replace(/\./g, '/') + "/package-summary.html"; + } + } else if (ui.item.category === catTypes) { + if (ui.item.u) { + url = ui.item.u; + } else if (ui.item.p === UNNAMED) { + url += ui.item.l + ".html"; + } else { + url += ui.item.p.replace(/\./g, '/') + "/" + ui.item.l + ".html"; + } + } else if (ui.item.category === catMembers) { + if (ui.item.p === UNNAMED) { + url += ui.item.c + ".html" + "#"; + } else { + url += ui.item.p.replace(/\./g, '/') + "/" + ui.item.c + ".html" + "#"; + } + if (ui.item.u) { + url += ui.item.u; + } else { + url += ui.item.l; + } + } else if (ui.item.category === catSearchTags) { + url += ui.item.u; + } + if (top !== window) { + parent.classFrame.location = pathtoroot + url; + } else { + window.location.href = pathtoroot + url; + } + $("#search-input").focus(); + } + } + }); +}); diff --git a/docs/android-docs/1.6/stylesheet.css b/docs/android-docs/1.6/stylesheet.css new file mode 100644 index 0000000..4a576bd --- /dev/null +++ b/docs/android-docs/1.6/stylesheet.css @@ -0,0 +1,869 @@ +/* + * Javadoc style sheet + */ + +@import url('resources/fonts/dejavu.css'); + +/* + * Styles for individual HTML elements. + * + * These are styles that are specific to individual HTML elements. Changing them affects the style of a particular + * HTML element throughout the page. + */ + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; + padding:0; + height:100%; + width:100%; +} +iframe { + margin:0; + padding:0; + height:100%; + width:100%; + overflow-y:scroll; + border:none; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a[href]:hover, a[href]:focus { + text-decoration:none; + color:#bb7a2a; +} +a[name] { + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; +} +h4 { + font-size:15px; +} +h5 { + font-size:14px; +} +h6 { + font-size:13px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; +} +:not(h1, h2, h3, h4, h5, h6) > code, +:not(h1, h2, h3, h4, h5, h6) > tt { + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +.summary-table dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +button { + font-family: 'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size: 14px; +} +/* + * Styles for HTML generated by javadoc. + * + * These are style classes that are used by the standard doclet to generate HTML documentation. + */ + +/* + * Styles for document title and copyright. + */ +.clear { + clear:both; + height:0; + overflow:hidden; +} +.about-language { + float:right; + padding:0 21px 8px 8px; + font-size:11px; + margin-top:-9px; + height:2.9em; +} +.legal-copy { + margin-left:.5em; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* + * Styles for navigation bar. + */ +@media screen { + .flex-box { + position:fixed; + display:flex; + flex-direction:column; + height: 100%; + width: 100%; + } + .flex-header { + flex: 0 0 auto; + } + .flex-content { + flex: 1 1 auto; + overflow-y: auto; + } +} +.top-nav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + min-height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.sub-nav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.sub-nav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +.sub-nav .nav-list { + padding-top:5px; +} +ul.nav-list { + display:block; + margin:0 25px 0 0; + padding:0; +} +ul.sub-nav-list { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.nav-list li { + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +.sub-nav .nav-list-search { + float:right; + margin:0 0 0 0; + padding:5px 6px; + clear:none; +} +.nav-list-search label { + position:relative; + right:-16px; +} +ul.sub-nav-list li { + list-style:none; + float:left; + padding-top:10px; +} +.top-nav a:link, .top-nav a:active, .top-nav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.top-nav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.nav-bar-cell1-rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skip-nav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* + * Hide navigation links and search box in print layout + */ +@media print { + ul.nav-list, div.sub-nav { + display:none; + } +} +/* + * Styles for page header and footer. + */ +.title { + color:#2c4557; + margin:10px 0; +} +.sub-title { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* + * Styles for headings. + */ +body.class-declaration-page .summary h2, +body.class-declaration-page .details h2, +body.class-use-page h2, +body.module-declaration-page .block-list h2 { + font-style: italic; + padding:0; + margin:15px 0; +} +body.class-declaration-page .summary h3, +body.class-declaration-page .details h3, +body.class-declaration-page .summary .inherited-list h2 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +/* + * Styles for page layout containers. + */ +main { + clear:both; + padding:10px 20px; + position:relative; +} +dl.notes > dt { + font-family: 'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +dl.notes > dd { + margin:5px 10px 10px 0; + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} +dl.name-value > dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +dl.name-value > dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* + * Styles for lists. + */ +li.circle { + list-style:circle; +} +ul.horizontal li { + display:inline; + font-size:0.9em; +} +div.inheritance { + margin:0; + padding:0; +} +div.inheritance div.inheritance { + margin-left:2em; +} +ul.block-list, +ul.details-list, +ul.member-list, +ul.summary-list { + margin:10px 0 10px 0; + padding:0; +} +ul.block-list > li, +ul.details-list > li, +ul.member-list > li, +ul.summary-list > li { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +.summary-table dl, .summary-table dl dt, .summary-table dl dd { + margin-top:0; + margin-bottom:1px; +} +ul.see-list, ul.see-list-long { + padding-left: 0; + list-style: none; +} +ul.see-list li { + display: inline; +} +ul.see-list li:not(:last-child):after, +ul.see-list-long li:not(:last-child):after { + content: ", "; + white-space: pre-wrap; +} +/* + * Styles for tables. + */ +.summary-table, .details-table { + width:100%; + border-spacing:0; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; + padding:0; +} +.caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0; + padding-top:10px; + padding-left:1px; + margin:0; + white-space:pre; +} +.caption a:link, .caption a:visited { + color:#1f389c; +} +.caption a:hover, +.caption a:active { + color:#FFFFFF; +} +.caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +div.table-tabs { + padding:10px 0 0 1px; + margin:0; +} +div.table-tabs > button { + border: none; + cursor: pointer; + padding: 5px 12px 7px 12px; + font-weight: bold; + margin-right: 3px; +} +div.table-tabs > button.active-table-tab { + background: #F8981D; + color: #253441; +} +div.table-tabs > button.table-tab { + background: #4D7A97; + color: #FFFFFF; +} +.two-column-summary { + display: grid; + grid-template-columns: minmax(15%, max-content) minmax(15%, auto); +} +.three-column-summary { + display: grid; + grid-template-columns: minmax(10%, max-content) minmax(15%, max-content) minmax(15%, auto); +} +.four-column-summary { + display: grid; + grid-template-columns: minmax(10%, max-content) minmax(10%, max-content) minmax(10%, max-content) minmax(10%, auto); +} +@media screen and (max-width: 600px) { + .two-column-summary { + display: grid; + grid-template-columns: 1fr; + } +} +@media screen and (max-width: 800px) { + .three-column-summary { + display: grid; + grid-template-columns: minmax(10%, max-content) minmax(25%, auto); + } + .three-column-summary .col-last { + grid-column-end: span 2; + } +} +@media screen and (max-width: 1000px) { + .four-column-summary { + display: grid; + grid-template-columns: minmax(15%, max-content) minmax(15%, auto); + } +} +.summary-table > div, .details-table > div { + text-align:left; + padding: 8px 3px 3px 7px; +} +.col-first, .col-second, .col-last, .col-constructor-name, .col-summary-item-name { + vertical-align:top; + padding-right:0; + padding-top:8px; + padding-bottom:3px; +} +.table-header { + background:#dee3e9; + font-weight: bold; +} +.col-first, .col-first { + font-size:13px; +} +.col-second, .col-second, .col-last, .col-constructor-name, .col-summary-item-name, .col-last { + font-size:13px; +} +.col-first, .col-second, .col-constructor-name { + vertical-align:top; + overflow: auto; +} +.col-last { + white-space:normal; +} +.col-first a:link, .col-first a:visited, +.col-second a:link, .col-second a:visited, +.col-first a:link, .col-first a:visited, +.col-second a:link, .col-second a:visited, +.col-constructor-name a:link, .col-constructor-name a:visited, +.col-summary-item-name a:link, .col-summary-item-name a:visited, +.constant-values-container a:link, .constant-values-container a:visited, +.all-classes-container a:link, .all-classes-container a:visited, +.all-packages-container a:link, .all-packages-container a:visited { + font-weight:bold; +} +.table-sub-heading-color { + background-color:#EEEEFF; +} +.even-row-color, .even-row-color .table-header { + background-color:#FFFFFF; +} +.odd-row-color, .odd-row-color .table-header { + background-color:#EEEEEF; +} +/* + * Styles for contents. + */ +.deprecated-content { + margin:0; + padding:10px 0; +} +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} +.col-last div { + padding-top:0; +} +.col-last a { + padding-bottom:3px; +} +.module-signature, +.package-signature, +.type-signature, +.member-signature { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + margin:14px 0; + white-space: pre-wrap; +} +.module-signature, +.package-signature, +.type-signature { + margin-top: 0; +} +.member-signature .type-parameters-long, +.member-signature .parameters, +.member-signature .exceptions { + display: inline-block; + vertical-align: top; + white-space: pre; +} +.member-signature .type-parameters { + white-space: normal; +} +/* + * Styles for formatting effect. + */ +.source-line-no { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:0 10px 5px 0; + color:#474747; +} +.deprecated-label, .descfrm-type-label, .implementation-label, .member-name-label, .member-name-link, +.module-label-in-package, .module-label-in-type, .override-specify-label, .package-label-in-type, +.package-hierarchy-label, .type-name-label, .type-name-link, .search-tag-link, .preview-label { + font-weight:bold; +} +.deprecation-comment, .help-footnote, .preview-comment { + font-style:italic; +} +.deprecation-block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; + border-style:solid; + border-width:thin; + border-radius:10px; + padding:10px; + margin-bottom:10px; + margin-right:10px; + display:inline-block; +} +.preview-block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; + border-style:solid; + border-width:thin; + border-radius:10px; + padding:10px; + margin-bottom:10px; + margin-right:10px; + display:inline-block; +} +div.block div.deprecation-comment { + font-style:normal; +} +/* + * Styles specific to HTML5 elements. + */ +main, nav, header, footer, section { + display:block; +} +/* + * Styles for javadoc search. + */ +.ui-autocomplete-category { + font-weight:bold; + font-size:15px; + padding:7px 0 7px 3px; + background-color:#4D7A97; + color:#FFFFFF; +} +.result-item { + font-size:13px; +} +.ui-autocomplete { + max-height:85%; + max-width:65%; + overflow-y:scroll; + overflow-x:scroll; + white-space:nowrap; + box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); +} +ul.ui-autocomplete { + position:fixed; + z-index:999999; + background-color: #FFFFFF; +} +ul.ui-autocomplete li { + float:left; + clear:both; + width:100%; +} +.result-highlight { + font-weight:bold; +} +.ui-autocomplete .result-item { + font-size: inherit; +} +#search-input { + background-image:url('resources/glass.png'); + background-size:13px; + background-repeat:no-repeat; + background-position:2px 3px; + padding-left:20px; + position:relative; + right:-18px; + width:400px; +} +#reset-button { + background-color: rgb(255,255,255); + background-image:url('resources/x.png'); + background-position:center; + background-repeat:no-repeat; + background-size:12px; + border:0 none; + width:16px; + height:16px; + position:relative; + left:-4px; + top:-4px; + font-size:0px; +} +.watermark { + color:#545454; +} +.search-tag-desc-result { + font-style:italic; + font-size:11px; +} +.search-tag-holder-result { + font-style:italic; + font-size:12px; +} +.search-tag-result:target { + background-color:yellow; +} +.module-graph span { + display:none; + position:absolute; +} +.module-graph:hover span { + display:block; + margin: -100px 0 0 100px; + z-index: 1; +} +.inherited-list { + margin: 10px 0 10px 0; +} +section.class-description { + line-height: 1.4; +} +.summary section[class$="-summary"], .details section[class$="-details"], +.class-uses .detail, .serialized-class-details { + padding: 0px 20px 5px 10px; + border: 1px solid #ededed; + background-color: #f8f8f8; +} +.inherited-list, section[class$="-details"] .detail { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +.vertical-separator { + padding: 0 5px; +} +ul.help-section-list { + margin: 0; +} +ul.help-subtoc > li { + display: inline-block; + padding-right: 5px; + font-size: smaller; +} +ul.help-subtoc > li::before { + content: "\2022" ; + padding-right:2px; +} +span.help-note { + font-style: italic; +} +/* + * Indicator icon for external links. + */ +main a[href*="://"]::after { + content:""; + display:inline-block; + background-image:url('data:image/svg+xml; utf8, \ + \ + \ + '); + background-size:100% 100%; + width:7px; + height:7px; + margin-left:2px; + margin-bottom:4px; +} +main a[href*="://"]:hover::after, +main a[href*="://"]:focus::after { + background-image:url('data:image/svg+xml; utf8, \ + \ + \ + '); +} + +/* + * Styles for user-provided tables. + * + * borderless: + * No borders, vertical margins, styled caption. + * This style is provided for use with existing doc comments. + * In general, borderless tables should not be used for layout purposes. + * + * plain: + * Plain borders around table and cells, vertical margins, styled caption. + * Best for small tables or for complex tables for tables with cells that span + * rows and columns, when the "striped" style does not work well. + * + * striped: + * Borders around the table and vertical borders between cells, striped rows, + * vertical margins, styled caption. + * Best for tables that have a header row, and a body containing a series of simple rows. + */ + +table.borderless, +table.plain, +table.striped { + margin-top: 10px; + margin-bottom: 10px; +} +table.borderless > caption, +table.plain > caption, +table.striped > caption { + font-weight: bold; + font-size: smaller; +} +table.borderless th, table.borderless td, +table.plain th, table.plain td, +table.striped th, table.striped td { + padding: 2px 5px; +} +table.borderless, +table.borderless > thead > tr > th, table.borderless > tbody > tr > th, table.borderless > tr > th, +table.borderless > thead > tr > td, table.borderless > tbody > tr > td, table.borderless > tr > td { + border: none; +} +table.borderless > thead > tr, table.borderless > tbody > tr, table.borderless > tr { + background-color: transparent; +} +table.plain { + border-collapse: collapse; + border: 1px solid black; +} +table.plain > thead > tr, table.plain > tbody tr, table.plain > tr { + background-color: transparent; +} +table.plain > thead > tr > th, table.plain > tbody > tr > th, table.plain > tr > th, +table.plain > thead > tr > td, table.plain > tbody > tr > td, table.plain > tr > td { + border: 1px solid black; +} +table.striped { + border-collapse: collapse; + border: 1px solid black; +} +table.striped > thead { + background-color: #E3E3E3; +} +table.striped > thead > tr > th, table.striped > thead > tr > td { + border: 1px solid black; +} +table.striped > tbody > tr:nth-child(even) { + background-color: #EEE +} +table.striped > tbody > tr:nth-child(odd) { + background-color: #FFF +} +table.striped > tbody > tr > th, table.striped > tbody > tr > td { + border-left: 1px solid black; + border-right: 1px solid black; +} +table.striped > tbody > tr > th { + font-weight: normal; +} +/** + * Tweak font sizes and paddings for small screens. + */ +@media screen and (max-width: 1050px) { + #search-input { + width: 300px; + } +} +@media screen and (max-width: 800px) { + #search-input { + width: 200px; + } + .top-nav, + .bottom-nav { + font-size: 11px; + padding-top: 6px; + } + .sub-nav { + font-size: 11px; + } + .about-language { + padding-right: 16px; + } + ul.nav-list li, + .sub-nav .nav-list-search { + padding: 6px; + } + ul.sub-nav-list li { + padding-top: 5px; + } + main { + padding: 10px; + } + .summary section[class$="-summary"], .details section[class$="-details"], + .class-uses .detail, .serialized-class-details { + padding: 0 8px 5px 8px; + } + body { + -webkit-text-size-adjust: none; + } +} +@media screen and (max-width: 500px) { + #search-input { + width: 150px; + } + .top-nav, + .bottom-nav { + font-size: 10px; + } + .sub-nav { + font-size: 10px; + } + .about-language { + font-size: 10px; + padding-right: 12px; + } +} diff --git a/docs/android-docs/1.6/tag-search-index.js b/docs/android-docs/1.6/tag-search-index.js new file mode 100644 index 0000000..0367dae --- /dev/null +++ b/docs/android-docs/1.6/tag-search-index.js @@ -0,0 +1 @@ +tagSearchIndex = [];updateSearchResults(); \ No newline at end of file diff --git a/docs/android-docs/1.6/type-search-index.js b/docs/android-docs/1.6/type-search-index.js new file mode 100644 index 0000000..108073c --- /dev/null +++ b/docs/android-docs/1.6/type-search-index.js @@ -0,0 +1 @@ +typeSearchIndex = [{"l":"All Classes and Interfaces","u":"allclasses-index.html"},{"p":"com.tencent.mps.tie.api","l":"TIEPass"},{"p":"com.tencent.mps.tie.api","l":"TSRPass.TSRAlgorithmType"},{"p":"com.tencent.mps.tie.api","l":"TSRLogger"},{"p":"com.tencent.mps.tie.api","l":"TSRPass"},{"p":"com.tencent.mps.tie.api","l":"TSRSdk"},{"p":"com.tencent.mps.tie.api","l":"TSRSdk.TSRSdkLicenseStatus"},{"p":"com.tencent.mps.tie.api","l":"TSRSdk.TSRSdkLicenseVerifyResultCallback"}];updateSearchResults(); \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 2862b80..5b96d38 100644 --- a/docs/index.html +++ b/docs/index.html @@ -9,6 +9,7 @@

    TSRSDK API DOCUMENTS:

    Android

    iOS

      +
    • 1.6
    • 1.5
    • 1.4
    • 1.3
    • diff --git a/docs/ios-docs/1.6/Classes/TIEPass.html b/docs/ios-docs/1.6/Classes/TIEPass.html new file mode 100644 index 0000000..de1ce53 --- /dev/null +++ b/docs/ios-docs/1.6/Classes/TIEPass.html @@ -0,0 +1,430 @@ + + + + + + TIEPass Class Reference + + + + + + +
      +
      + +

      + TSRSDK +

      + +

      + Tencent +

      + +
      +
      + + + +
      +
      +
      +
      +

      TIEPass Class Reference

      + + +
      + + + + + + + +
      Inherits fromNSObject
      Declared inTIEPass.h
      TIEPass.mm
      + + + + +
      + +

      Overview

      +

      TIEPass is a class responsible for performing image enhance rendering on input images using the Metal framework.

      + +

      TIEPass is responsible for initializing the image enhance rendering process with the specified input image size. It also provides a render method that applies the image enhance process to the input image and returns the processed image as an MTLTexture object.

      + +

      Usage:

      + + +
        +
      1. Create a TIEPass instance using the initWithDevice:inputWidth:inputHeight: method.
      2. +
      3. Call the render:commandBuffer: method with the input image’s MTLTexture and an MTLCommandBuffer to perform image enhance rendering.
      4. +
      5. Obtain the processed image as an MTLTexture from the return value of the render:commandBuffer: method.
      6. +
      +

      Note: This class uses the Metal framework for performing image enhance rendering and requires a device that supports Metal.

      +
      + + + + + +
      + + + + +

      Other Methods

      + +
      +
      + +

      – initWithDevice:inputWidth:inputHeight: +

      + +
      +
      + +
      + + +
      +

      Init TIEPass object for image enhance.

      +
      + + + +
      - (instancetype)initWithDevice:(id<MTLDevice>)device inputWidth:(int32_t)inputWidth inputHeight:(int32_t)inputHeight
      + + + +
      +

      Parameters

      + + + + + + + + + + + + + + + + + +
      device

      The MTLDevice which you are using.

      inputWidth

      The width of the input image

      inputHeight

      The height of the input image

      +
      + + + + + + + +
      +

      Discussion

      +

      Init TIEPass object for image enhance.

      +
      + + + + + + + +
      +

      Declared In

      +

      TIEPass.h

      +
      + + +
      +
      +
      + +

      – render:commandBuffer: +

      + +
      +
      + +
      + + +
      +

      Performs the image enhance rendering operation on the input image. +
      +This method applies the image enhance rendering process to the input image, improving its quality. The processed image is rendered onto a MTLTexture within +the TIEPass object. And the return is the MTLTexture which has preformed image enhance rendering . +

      +
      + + + +
      - (id<MTLTexture>)render:(id<MTLTexture>)texture commandBuffer:(id<MTLCommandBuffer>)commandBuffer
      + + + +
      +

      Parameters

      + + + + + + + + + + + + +
      texture

      The MTLTexture of the input image that needs to be processed for image enhance.

      commandBuffer

      The MTLCommandBuffer which you are using.

      +
      + + + +
      +

      Return Value

      +

      The MTLTexture that will be performed super-resolution rendering, which is stored inside the TIEPass +object.

      +
      + + + + + +
      +

      Discussion

      +

      Performs the image enhance rendering operation on the input image. +
      +This method applies the image enhance rendering process to the input image, improving its quality. The processed image is rendered onto a MTLTexture within +the TIEPass object. And the return is the MTLTexture which has preformed image enhance rendering . +

      +
      + + + + + + + +
      +

      Declared In

      +

      TIEPass.h

      +
      + + +
      +
      +
      +
      + + + +

      Other Methods

      + +
      +
      + +

      – renderWithPixelBuffer: +

      + +
      +
      + +
      + + +
      +

      Performs the image enhance rendering operation on the input pixel buffer.

      +
      + + + +
      - (CVPixelBufferRef)renderWithPixelBuffer:(CVPixelBufferRef)pixelBuffer
      + + + +
      +

      Parameters

      + + + + + + + +
      pixelBuffer

      The CVPixelBufferRef of the input image that needs to be processed for image enhance. The width and height of the pixel buffer must match the inputWidth and inputHeight set during initialization, and the pixel format must be BGRA.

      +
      + + + +
      +

      Return Value

      +

      The CVPixelBufferRef that has been performed image enhance rendering. The size of the output pixel buffer is (inputWidth, inputHeight).

      +
      + + + + + +
      +

      Discussion

      +

      Performs the image enhance rendering operation on the input pixel buffer.

      + +

      This method applies the image enhance rendering process to the input pixel buffer, improving its quality. The processed pixel buffer is created and returned as a new CVPixelBufferRef.

      +
      + + + + + + + +
      +

      Declared In

      +

      TIEPass.h

      +
      + + +
      +
      +
      + +

      – deInit +

      + +
      +
      + +
      + + +
      +

      Releases the resources. +
      +This method should be called when the TIEPass object is no longer needed, to free up the memory and other +resources.

      +
      + + + +
      - (void)deInit
      + + + + + + + + + +
      +

      Discussion

      +

      Releases the resources. +
      +This method should be called when the TIEPass object is no longer needed, to free up the memory and other +resources.

      +
      + + + + + + + +
      +

      Declared In

      +

      TIEPass.h

      +
      + + +
      +
      +
      +
      + +
      + + + + + + +
      + + +
      +
      +
      + + + + \ No newline at end of file diff --git a/docs/ios-docs/1.6/Classes/TSRPass.html b/docs/ios-docs/1.6/Classes/TSRPass.html new file mode 100644 index 0000000..5039920 --- /dev/null +++ b/docs/ios-docs/1.6/Classes/TSRPass.html @@ -0,0 +1,599 @@ + + + + + + TSRPass Class Reference + + + + + + +
      +
      + +

      + TSRSDK +

      + +

      + Tencent +

      + +
      +
      + + + +
      +
      +
      +
      +

      TSRPass Class Reference

      + + +
      + + + + + + + +
      Inherits fromNSObject
      Declared inTSRPass.h
      TSRPass.mm
      + + + + +
      + +

      Overview

      +

      The TSRPass class provides methods for performing super-resolution rendering on input images using the Metal framework.

      + +

      TSRPass is responsible for initializing the super-resolution rendering process with the specified input image size and super-resolution ratio. It also provides a render method that applies the super-resolution process to +the input image and returns the processed image as an MTLTexture object.

      + +

      Usage:

      + + +
        +
      1. Create a TSRPass instance using the initWithDevice:inputWidth:inputHeight:srRatio: method.
      2. +
      3. Call the render:commandBuffer: method with the input image’s MTLTexture and an MTLCommandBuffer to perform super-resolution rendering.
      4. +
      5. Obtain the processed image as an MTLTexture from the return value of the render:commandBuffer: method.
      6. +
      +

      Note: This class uses the Metal framework for performing super-resolution rendering and requires a device that supports Metal.

      +
      + + + + + +
      + + + + + + +
      +
      + +

      – initWithTSRAlgorithmType:device:inputWidth:inputHeight:srRatio: +

      + +
      +
      + +
      + + +
      +

      Init TSRPass object for super-resolution.

      +
      + + + +
      - (instancetype)initWithTSRAlgorithmType:(TSRAlgorithmType)algorithmType device:(id<MTLDevice>)device inputWidth:(int32_t)inputWidth inputHeight:(int32_t)inputHeight srRatio:(float_t)srRatio
      + + + +
      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      algorithmType

      The TSRAlgorithmType enum value representing the algorithm running mode to be used. It can be either STANDARD (fast mode) or PROFESSIONAL (quality mode). STANDARD mode prioritizes better performance in terms of speed, possibly sacrificing some result accuracy. PROFESSIONAL mode prioritizes result accuracy, even if the running speed is slower.

      device

      The MTLDevice which you are using.

      inputWidth

      The width of the input texture

      inputHeight

      The height of the input texture

      srRatio

      The magnification factor for super-resolution.

      +
      + + + + + + + +
      +

      Discussion

      +

      Init TSRPass object for super-resolution.

      +
      + + + + + + + +
      +

      Declared In

      +

      TSRPass.h

      +
      + + +
      +
      +
      + +

      – initWithTSRAlgorithmType:device:inputWidth:inputHeight:outputWidth:outputHeight: +

      + +
      +
      + +
      + + +
      +

      Init TSRPass object for super-resolution.

      +
      + + + +
      - (instancetype)initWithTSRAlgorithmType:(TSRAlgorithmType)algorithmType device:(id<MTLDevice>)device inputWidth:(int32_t)inputWidth inputHeight:(int32_t)inputHeight outputWidth:(int32_t)outputWidth outputHeight:(int32_t)outputHeight
      + + + +
      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      algorithmType

      The TSRAlgorithmType enum value representing the algorithm running mode to be used. It can be either STANDARD (fast mode) or PROFESSIONAL (quality mode). STANDARD mode prioritizes better performance in terms of speed, possibly sacrificing some result accuracy. PROFESSIONAL mode prioritizes result accuracy, even if the running speed is slower.

      device

      The MTLDevice which you are using.

      inputWidth

      The width of the input texture

      inputHeight

      The height of the input texture

      outputWidth

      The width of the output texture

      outputHeight

      The height of the output texture

      +
      + + + + + + + +
      +

      Discussion

      +

      Init TSRPass object for super-resolution.

      +
      + + + + + + + +
      +

      Declared In

      +

      TSRPass.h

      +
      + + +
      +
      +
      + +

      – render:commandBuffer: +

      + +
      +
      + +
      + + +
      +

      Performs the super-resolution rendering operation on the input image. +
      +This method applies the super-resolution rendering process to the input image, improving its quality. The processed image is rendered onto a MTLTexture within +the TSRPass object. And the return is the MTLTexture which has preformed super-resolution rendering . +

      +
      + + + +
      - (id<MTLTexture>)render:(id<MTLTexture>)texture commandBuffer:(id<MTLCommandBuffer>)commandBuffer
      + + + +
      +

      Parameters

      + + + + + + + + + + + + +
      texture

      The MTLTexture of the input image that needs to be processed for super-resolution.

      commandBuffer

      The MTLCommandBuffer which you are using.

      +
      + + + +
      +

      Return Value

      +

      The MTLTexture that will be performed super-resolution rendering, which is stored inside the TSRPass +object. The size of the output texture is (inputWidth * srRatio, inputHeight * srRatio).

      +
      + + + + + +
      +

      Discussion

      +

      Performs the super-resolution rendering operation on the input image. +
      +This method applies the super-resolution rendering process to the input image, improving its quality. The processed image is rendered onto a MTLTexture within +the TSRPass object. And the return is the MTLTexture which has preformed super-resolution rendering . +

      +
      + + + + + + + +
      +

      Declared In

      +

      TSRPass.h

      +
      + + +
      +
      +
      + +

      – renderWithPixelBuffer: +

      + +
      +
      + +
      + + +
      +

      Performs the super-resolution rendering operation on the input pixel buffer.

      +
      + + + +
      - (CVPixelBufferRef)renderWithPixelBuffer:(CVPixelBufferRef)pixelBuffer
      + + + +
      +

      Parameters

      + + + + + + + +
      pixelBuffer

      The CVPixelBufferRef of the input image that needs to be processed for super-resolution. The width and height of the pixel buffer must match the inputWidth and inputHeight set during initialization, and the pixel format must be BGRA.

      +
      + + + +
      +

      Return Value

      +

      The CVPixelBufferRef that has been performed super-resolution rendering. The size of the output pixel buffer is (inputWidth * srRatio, inputHeight * srRatio).

      +
      + + + + + +
      +

      Discussion

      +

      Performs the super-resolution rendering operation on the input pixel buffer.

      + +

      This method applies the super-resolution rendering process to the input pixel buffer, improving its quality. The processed pixel buffer is created and returned as a new CVPixelBufferRef.

      +
      + + + + + + + +
      +

      Declared In

      +

      TSRPass.h

      +
      + + +
      +
      +
      + +

      – setParametersWithBrightness:saturation:contrast:sharpness: +

      + +
      +
      + +
      + + +
      +

      Adjusts the parameters of the rendering operator. +It needs to take effect after TSRPass#initWithDevice is called.

      +
      + + + +
      - (void)setParametersWithBrightness:(float)brightness saturation:(float)saturation contrast:(float)contrast sharpness:(float)sharpness
      + + + +
      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + +
      brightness

      The brightness level to apply. +Valid values are between 0 and 100, with a default value of 50.

      saturation

      The saturation level to apply. +Valid values are between 0 and 100, with a default value of 50.

      contrast

      The contrast level to apply. +Valid values are between 0 and 100, with a default value of 50.

      sharpness

      The sharpness level to apply. +Valid values are between 0 and 100, with a default value of 0.

      +
      + + + + + + + +
      +

      Discussion

      +

      Adjusts the parameters of the rendering operator. +It needs to take effect after TSRPass#initWithDevice is called.

      +
      + + + + + + + +
      +

      Declared In

      +

      TSRPass.h

      +
      + + +
      +
      +
      + +

      – deInit +

      + +
      +
      + +
      + + +
      +

      Releases the resources. +
      +This method should be called when the TSRPass object is no longer needed, to free up the memory and other +resources.

      +
      + + + +
      - (void)deInit
      + + + + + + + + + +
      +

      Discussion

      +

      Releases the resources. +
      +This method should be called when the TSRPass object is no longer needed, to free up the memory and other +resources.

      +
      + + + + + + + +
      +

      Declared In

      +

      TSRPass.h

      +
      + + +
      +
      +
      +
      + +
      + + + + + + +
      + + +
      +
      +
      + + + + \ No newline at end of file diff --git a/docs/ios-docs/1.6/Classes/TSRSdk.html b/docs/ios-docs/1.6/Classes/TSRSdk.html new file mode 100644 index 0000000..dadb3cb --- /dev/null +++ b/docs/ios-docs/1.6/Classes/TSRSdk.html @@ -0,0 +1,399 @@ + + + + + + TSRSdk Class Reference + + + + + + +
      +
      + +

      + TSRSDK +

      + +

      + Tencent +

      + +
      +
      + + + +
      +
      +
      +
      +

      TSRSdk Class Reference

      + + +
      + + + + + + + +
      Inherits fromNSObject
      Declared inTSRSdk.h
      TSRSdk.mm
      + + + + +
      + +

      Overview

      +

      TSRSdk is a class responsible for managing and verifying the license of the super-resolution SDK. +The class provides methods for initializing the SDK with online license verification, +and releasing the resources when the SDK is no longer needed. It also allows setting a custom +logger for logging purposes.

      + +

      Usage:

      + + +
        +
      1. Get an instance of TSRSdk using the getInstance method.
      2. +
      3. Initialize the TSRSdk object with online license verification using the initWithAppId:sdkLicenseVerifyResultCallback:tsrLogger: methods.
      4. +
      5. Perform super-resolution rendering using the TSRPass class.
      6. +
      7. Release resources when the TSRSdk object is no longer needed by calling the reset method.
      8. +
      + + +

      Example for online verification:

      + + +
      +
      +- (void)onTSRSdkLicenseVerifyResult:(TSRSdkLicenseStatus)status {
      +if (status == TSRSdkLicenseStatusAvailable) {
      +// Creating TSRPass for super-resolution rendering
      +} else {
      +// Do something when the verification of sdk's license failed.
      +}
      +}
      +
      +// Init TSRSdk and verify the online license
      +[TSRSdk.getInstance initWithAppId:APPID sdkLicenseVerifyResultCallback:self tsrLogger:[[Logger alloc] init]];
      +// Release resources when the TSRSdk object is no longer needed.
      +[TSRSdk.getInstance reset];
      +
      +
      + +
      + + + + + +
      + + + + + + +
      +
      + +

      – initWithAppId:authId:sdkLicenseVerifyResultCallback:tsrLogger: +

      + +
      +
      + +
      + + +
      +

      Initializes the TSRSdk with online license verification. This method only can be executed once before the +reset is executed.

      +
      + + + +
      - (void)initWithAppId:(long)appId authId:(int)authId sdkLicenseVerifyResultCallback:(id<TSRSdkLicenseVerifyResultCallback>)sdkLicenseVerifyResultCallback tsrLogger:(id<TSRLogger>)tsrLogger
      + + + +
      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + +
      appId

      Tencent Cloud account’s APPID, You can click on the link https://github.com/tencentyun/TSR/blob/main/%E6%8E%A5%E5%85%A5%E6%8C%87%E5%8D%97.md to learn how to find the APPID.

      authId

      The authentication ID of the TSRSDK. You can contact the Tencent Cloud MPS Team to get the authentication ID.

      sdkLicenseVerifyResultCallback

      SdkLicenseVerifyResultCallback is an interface for handling the result of SDK license verification.

      tsrLogger

      Set a TSRLogger for the TSRSdk. The TSRLogger must not be null.

      +
      + + + + + + + +
      +

      Discussion

      +

      Initializes the TSRSdk with online license verification. This method only can be executed once before the +reset is executed.

      +
      + + + + + + + +
      +

      Declared In

      +

      TSRSdk.h

      +
      + + +
      +
      +
      + +

      – initWithAppId:licenseUrl:tsrLogger: +

      + +
      +
      + +
      + + +
      +

      Initializes the TSRSdk with offline license verification. This method only can be executed once before the +reset() is executed.

      +
      + + + +
      - (TSRSdkLicenseStatus)initWithAppId:(long)appId licenseUrl:(NSURL *)licenseUrl tsrLogger:(id<TSRLogger>)tsrLogger
      + + + +
      +

      Parameters

      + + + + + + + + + + + + + + + + + +
      appId

      Tencent Cloud account’s APPID, You can click on the link https://github.com/tencentyun/TSR/blob/main/%E6%8E%A5%E5%85%A5%E6%8C%87%E5%8D%97.md to learn how to find the APPID.

      licenseUrl

      The url of the license

      tsrLogger

      Set a TSRLogger for the TSRSdk. The TSRLogger must not be null.

      +
      + + + +
      +

      Return Value

      +

      The result of the verification of sdk’s license.

      +
      + + + + + +
      +

      Discussion

      +

      Initializes the TSRSdk with offline license verification. This method only can be executed once before the +reset() is executed.

      +
      + + + + + + + +
      +

      Declared In

      +

      TSRSdk.h

      +
      + + +
      +
      +
      + +

      – deInit +

      + +
      +
      + +
      + + +
      +

      Releases the resources associated with the TSRSdk instance.

      + +

      +This method should be called when the TSRSdk instance is no longer needed, to free up memory and other +resources. +

      + + +

      +After calling this method, you must re-initialize the TSRSdk instance using the initWithAppId methods before using it again. +

      + +
      + + + +
      - (void)deInit
      + + + + + + + + + +
      +

      Discussion

      +

      Releases the resources associated with the TSRSdk instance.

      + +

      +This method should be called when the TSRSdk instance is no longer needed, to free up memory and other +resources. +

      + + +

      +After calling this method, you must re-initialize the TSRSdk instance using the initWithAppId methods before using it again. +

      + +
      + + + + + + + +
      +

      Declared In

      +

      TSRSdk.h

      +
      + + +
      +
      +
      +
      + +
      + + + + + + +
      + + +
      +
      +
      + + + + \ No newline at end of file diff --git a/docs/ios-docs/1.6/Constants/TSRAlgorithmType.html b/docs/ios-docs/1.6/Constants/TSRAlgorithmType.html new file mode 100644 index 0000000..dd717c4 --- /dev/null +++ b/docs/ios-docs/1.6/Constants/TSRAlgorithmType.html @@ -0,0 +1,175 @@ + + + + + + TSRAlgorithmType Constants Reference + + + + + + +
      +
      + +

      + TSRSDK +

      + +

      + Tencent +

      + +
      +
      + + + +
      +
      +
      +
      +

      TSRAlgorithmType Constants Reference

      + + +
      + + + + +
      Declared inTSRPass.h
      + + + + + + + +

      TSRAlgorithmType

      + + + +
      + + +

      Definition

      + typedef NS_ENUM(NSInteger, TSRAlgorithmType ) {
      + +    TSRAlgorithmTypeStandard,
      + +    TSRAlgorithmTypeProfessional,
      + + };
      + +
      + +
      +

      Constants

      +
      + +
      TSRAlgorithmTypeStandard
      +
      + + +

      The STANDARD mode provides fast super-resolution processing speed, suitable for scenarios +with high real-time requirements, and can achieve significant image quality improvements.

      + + + + + + +

      + Declared In TSRPass.h. +

      + +
      + +
      TSRAlgorithmTypeProfessional
      +
      + + +

      The PROFESSIONAL mode places greater emphasis on super-resolution effects, making it +suitable for scenarios with high quality requirements. The super-resolution effect is +better than that of the STANDARD mode, but it has certain requirements for device +performance and is recommended for use on mid-to-high-end smartphones.

      + + + + + + +

      + Declared In TSRPass.h. +

      + +
      + +
      +
      + + + + + + + + +
      +

      Declared In

      +

      TSRPass.h

      +
      + + + + + +
      + + +
      +
      +
      + + + + \ No newline at end of file diff --git a/docs/ios-docs/1.6/Constants/TSRLogLevel.html b/docs/ios-docs/1.6/Constants/TSRLogLevel.html new file mode 100644 index 0000000..a557a66 --- /dev/null +++ b/docs/ios-docs/1.6/Constants/TSRLogLevel.html @@ -0,0 +1,232 @@ + + + + + + TSRLogLevel Constants Reference + + + + + + +
      +
      + +

      + TSRSDK +

      + +

      + Tencent +

      + +
      +
      + + + +
      +
      +
      +
      +

      TSRLogLevel Constants Reference

      + + +
      + + + + +
      Declared inTsrLogger.h
      + + + + + + + +

      TSRLogLevel

      + + +
      +

      Log level.

      +
      + + +
      + + +

      Definition

      + typedef NS_ENUM(NSUInteger, TSRLogLevel ) {
      + +    TSRLogLevelVerbose = 2,
      + +    TSRLogLevelDebug,
      + +    TSRLogLevelInfo,
      + +    TSRLogLevelWarning,
      + +    TSRLogLevelError,
      + + };
      + +
      + +
      +

      Constants

      +
      + +
      TSRLogLevelVerbose
      +
      + + +

      Log level.

      + + + + + + +

      + Declared In TsrLogger.h. +

      + +
      + +
      TSRLogLevelDebug
      +
      + + +

      Log level.

      + + + + + + +

      + Declared In TsrLogger.h. +

      + +
      + +
      TSRLogLevelInfo
      +
      + + +

      Log level.

      + + + + + + +

      + Declared In TsrLogger.h. +

      + +
      + +
      TSRLogLevelWarning
      +
      + + +

      Log level.

      + + + + + + +

      + Declared In TsrLogger.h. +

      + +
      + +
      TSRLogLevelError
      +
      + + +

      Log level.

      + + + + + + +

      + Declared In TsrLogger.h. +

      + +
      + +
      +
      + + + + + + + + +
      +

      Declared In

      +

      TsrLogger.h

      +
      + + + + + +
      + + +
      +
      +
      + + + + \ No newline at end of file diff --git a/docs/ios-docs/1.6/Constants/TSRSdkLicenseStatus.html b/docs/ios-docs/1.6/Constants/TSRSdkLicenseStatus.html new file mode 100644 index 0000000..f7b8e04 --- /dev/null +++ b/docs/ios-docs/1.6/Constants/TSRSdkLicenseStatus.html @@ -0,0 +1,387 @@ + + + + + + TSRSdkLicenseStatus Constants Reference + + + + + + +
      +
      + +

      + TSRSDK +

      + +

      + Tencent +

      + +
      +
      + + + +
      +
      +
      +
      +

      TSRSdkLicenseStatus Constants Reference

      + + +
      + + + + +
      Declared inTSRSdk.h
      + + + + + + + +

      TSRSdkLicenseStatus

      + + + + + +
      +

      Constants

      +
      + +
      TSRSdkLicenseStatusUnknown
      +
      + + +

      init status

      + + + + + + +

      + Declared In TSRSdk.h. +

      + +
      + +
      TSRSdkLicenseStatusInternalErr
      +
      + + +

      internal operating logic error

      + + + + + + +

      + Declared In TSRSdk.h. +

      + +
      + +
      TSRSdkLicenseStatusAppInfoNotMatched
      +
      + + +

      app signature or packagename(android)、bundleId(macos/ios) not matched. +the license verification matches the app information and the SDK built-in +information before the authorization verification can be performed.

      + + + + + + +

      + Declared In TSRSdk.h. +

      + +
      + +
      TSRSdkLicenseStatusTrials
      +
      + + +

      net abort, trials

      + + + + + + +

      + Declared In TSRSdk.h. +

      + +
      + +
      TSRSdkLicenseStatusErrorInvalid
      +
      + + +

      license server verify failed +invalid appid/sdkid, or disabled

      + + + + + + +

      + Declared In TSRSdk.h. +

      + +
      + +
      TSRSdkLicenseStatusDeviceCountExceeded
      +
      + + +

      the number of license authorized devices exceeds

      + + + + + + +

      + Declared In TSRSdk.h. +

      + +
      + +
      TSRSdkLicenseStatusNoAvailableAuth
      +
      + + +

      license no available for user req +Request authorization license online, +no available license is available.

      + + + + + + +

      + Declared In TSRSdk.h. +

      + +
      + +
      TSRSdkLicenseStatusExpires
      +
      + + +

      license expires

      + + + + + + +

      + Declared In TSRSdk.h. +

      + +
      + +
      TSRSdkLicenseStatusSdkFeatureNotMatched
      +
      + + +

      license certificate policy sdk version information does not match

      + + + + + + +

      + Declared In TSRSdk.h. +

      + +
      + +
      TSRSdkLicenseStatusSignNotMatched
      +
      + + +

      license binding certificate policy signature information does not match

      + + + + + + +

      + Declared In TSRSdk.h. +

      + +
      + +
      TSRSdkLicenseStatusDevidNotMatched
      +
      + + +

      License binding certificate policy devid information does not match

      + + + + + + +

      + Declared In TSRSdk.h. +

      + +
      + +
      TSRSdkLicenseStatusUnavailable
      +
      + + +

      license verify failed +The certificate information does not match, is modified, +or the certificate format is incorrect.

      + + + + + + +

      + Declared In TSRSdk.h. +

      + +
      + +
      TSRSdkLicenseStatusAvailable
      +
      + + +

      verify successful

      + + + + + + +

      + Declared In TSRSdk.h. +

      + +
      + +
      +
      + + + + + + + + +
      +

      Declared In

      +

      TSRSdk.h

      +
      + + + + + +
      + + +
      +
      +
      + + + + \ No newline at end of file diff --git a/docs/ios-docs/1.6/Protocols/TSRLogger.html b/docs/ios-docs/1.6/Protocols/TSRLogger.html new file mode 100644 index 0000000..d12626c --- /dev/null +++ b/docs/ios-docs/1.6/Protocols/TSRLogger.html @@ -0,0 +1,205 @@ + + + + + + TSRLogger Protocol Reference + + + + + + +
      +
      + +

      + TSRSDK +

      + +

      + Tencent +

      + +
      +
      + + + +
      +
      +
      +
      +

      TSRLogger Protocol Reference

      + + +
      + + + + + + + +
      Conforms toNSObject
      Declared inTsrLogger.h
      + + + + +
      + +

      Overview

      +

      This protocol represents the log callbacks of the TsrSdk. You can implement the protocol to get the logs from tsrsdk.

      +
      + + + + + +
      + + + + + + +
      +
      + +

      – logWithLevel:log: +required method

      + +
      +
      + +
      + + +
      +

      This interface represents the log callbacks of the TsrSdk.

      +
      + + + +
      - (void)logWithLevel:(TSRLogLevel)logLevel log:(NSString *)log
      + + + +
      +

      Parameters

      + + + + + + + + + + + + +
      logLevel

      Log level

      log

      Log message.

      +
      + + + + + + + +
      +

      Discussion

      +

      This interface represents the log callbacks of the TsrSdk.

      +
      + + + + + + + +
      +

      Declared In

      +

      TsrLogger.h

      +
      + + +
      +
      +
      +
      + +
      + + + + + + +
      + + +
      +
      +
      + + + + \ No newline at end of file diff --git a/docs/ios-docs/1.6/Protocols/TSRSdkLicenseVerifyResultCallback.html b/docs/ios-docs/1.6/Protocols/TSRSdkLicenseVerifyResultCallback.html new file mode 100644 index 0000000..76e42cb --- /dev/null +++ b/docs/ios-docs/1.6/Protocols/TSRSdkLicenseVerifyResultCallback.html @@ -0,0 +1,202 @@ + + + + + + TSRSdkLicenseVerifyResultCallback Protocol Reference + + + + + + +
      +
      + +

      + TSRSDK +

      + +

      + Tencent +

      + +
      +
      + + + +
      +
      +
      +
      +

      TSRSdkLicenseVerifyResultCallback Protocol Reference

      + + +
      + + + + + + + +
      Conforms toNSObject
      Declared inTSRSdk.h
      + + + + +
      + +

      Overview

      +

      TSRSdkLicenseVerifyResultCallback is a protocal for handling the result of TSRSDK license verification. +Implement this protocal to define custom actions that should be executed when the license verification process +is completed.

      +
      + + + + + +
      + + + + + + +
      +
      + +

      – onTSRSdkLicenseVerifyResult: +required method

      + +
      +
      + +
      + + +
      +

      This method is called when the TSRSDK license verification process is completed.

      +
      + + + +
      - (void)onTSRSdkLicenseVerifyResult:(TSRSdkLicenseStatus)status
      + + + +
      +

      Parameters

      + + + + + + + +
      status

      The TSRSdkLicenseStatus code of the license verification result.

      +
      + + + + + + + +
      +

      Discussion

      +

      This method is called when the TSRSDK license verification process is completed.

      +
      + + + + + + + +
      +

      Declared In

      +

      TSRSdk.h

      +
      + + +
      +
      +
      +
      + +
      + + + + + + +
      + + +
      +
      +
      + + + + \ No newline at end of file diff --git a/docs/ios-docs/1.6/css/scss/_index.scss b/docs/ios-docs/1.6/css/scss/_index.scss new file mode 100644 index 0000000..6a57ec5 --- /dev/null +++ b/docs/ios-docs/1.6/css/scss/_index.scss @@ -0,0 +1,17 @@ +.index-container { + -webkit-flex-direction: column; + flex-direction: column; + + @media (min-width: $desktop-min-width) { + display: flex; + -webkit-flex-direction: row; + flex-direction: row; + -webkit-flex-wrap: wrap; + flex-wrap: wrap; + } + + .index-column { + -webkit-flex: 1 1 33%; + flex: 1 1 33%; + } +} diff --git a/docs/ios-docs/1.6/css/scss/_layout.scss b/docs/ios-docs/1.6/css/scss/_layout.scss new file mode 100644 index 0000000..da46aef --- /dev/null +++ b/docs/ios-docs/1.6/css/scss/_layout.scss @@ -0,0 +1,302 @@ +* { + box-sizing: border-box; +} + +.clear { + clear: both; +} + +.clearfix { + &:before, &:after { + clear: both; + display: table; + content: ""; + } +} + +.xcode .hide-in-xcode { + display: none; +} + +body { + font: 62.5% $body-font; + background: $body-background; + + @media (max-width: $mobile-max-width) { + background-color: $content-background; + } +} + +h1, h2, h3 { + font-weight: 300; + color: #808080; +} + +h1 { + font-size: 2em; + color: #000; +} + +h4 { + font-size: 13px; + line-height: 1.5; + margin: 21px 0 0 0; +} + +a { + color: $tint-color; + text-decoration: none; +} + +pre, code { + font-family: $code-font; + word-wrap: break-word; +} + +pre > code, .method-declaration code { + display: inline-block; + font-size: .85em; + padding: 4px 0 4px 10px; + border-left: 5px solid rgba(0, 155, 51, .2); + + &:before { + content: "Objective-C"; + display: block; + + font: 9px/1 $body-font; + color: #009b33; + text-transform: uppercase; + letter-spacing: 2px; + padding-bottom: 6px; + } +} + +pre > code { + font-size: inherit; +} + +table, th, td { + border: 1px solid #e9e9e9; +} + +table { + width: 100%; +} + +th, td { + padding: 7px; + + > :first-child { + margin-top: 0; + } + + > :last-child { + margin-bottom: 0; + } +} + +.container { + @extend .clearfix; + + max-width: 980px; + padding: 0 10px; + margin: 0 auto; + + @media (max-width: $mobile-max-width) { + padding: 0; + } +} + +header { + position: fixed; + top: 0; + left: 0; + width: 100%; + z-index: 2; + + background: #414141; + color: #fff; + font-size: 1.1em; + line-height: 25px; + letter-spacing: .05em; + + #library-title { + float: left; + } + + #developer-home { + float: right; + } + + h1 { + font-size: inherit; + font-weight: inherit; + margin: 0; + } + + p { + margin: 0; + } + + h1, a { + color: inherit; + } + + @media (max-width: $mobile-max-width) { + .container { + padding: 0 10px; + } + } +} + +aside { + position: fixed; + top: 25px; + left: 0; + width: 100%; + height: 25px; + z-index: 2; + + font-size: 1.1em; + + #header-buttons { + background: rgba(255, 255, 255, .8); + margin: 0 1px; + padding: 0; + list-style: none; + text-align: right; + line-height: 32px; + + li { + display: inline-block; + cursor: pointer; + padding: 0 10px; + } + + label, select { + cursor: inherit; + } + + #on-this-page { + position: relative; + + .chevron { + display: inline-block; + width: 14px; + height: 4px; + position: relative; + + .chevy { + background: #878787; + height: 2px; + position: absolute; + width: 10px; + + &.chevron-left { + left: 0; + transform: rotateZ(45deg) scale(0.6); + } + + &.chevron-right { + right: 0; + transform: rotateZ(-45deg) scale(0.6); + } + } + } + + #jump-to { + opacity: 0; + font-size: 16px; + + position: absolute; + top: 5px; + left: 0; + width: 100%; + height: 100%; + } + } + } +} + +article { + margin-top: 25px; + + #content { + @extend .clearfix; + + background: $content-background; + border: 1px solid $content-border; + padding: 15px 25px 30px 25px; + + font-size: 1.4em; + line-height: 1.45; + + position: relative; + + @media (max-width: $mobile-max-width) { + padding: 15px 10px 20px 10px; + border: none; + } + + .navigation-top { + position: absolute; + top: 15px; + right: 25px; + } + + .title { + margin: 21px 0 0 0; + padding: 15px 0; + } + + p { + color: #414141; + margin: 0 0 15px 0; + } + + th, td { + p:last-child { + margin-bottom: 0; + } + } + + main { + ul { + list-style: none; + margin-left: 24px; + margin-bottom: 12px; + padding: 0; + + li { + position: relative; + padding-left: 1.3em; + + &:before { + content: "\02022"; + + color: #414141; + font-size: 1.08em; + line-height: 1; + + position: absolute; + left: 0; + padding-top: 2px; + } + } + } + } + + footer { + @extend .clearfix; + + .footer-copyright { + margin: 70px 25px 10px 0; + } + + p { + font-size: .71em; + color: #a0a0a0; + } + } + } +} diff --git a/docs/ios-docs/1.6/css/scss/_normalize.scss b/docs/ios-docs/1.6/css/scss/_normalize.scss new file mode 100644 index 0000000..9b8848a --- /dev/null +++ b/docs/ios-docs/1.6/css/scss/_normalize.scss @@ -0,0 +1,581 @@ +/* ========================================================================== + Normalize.scss settings + ========================================================================== */ +/** + * Includes legacy browser support IE6/7 + * + * Set to false if you want to drop support for IE6 and IE7 + */ + +$legacy_browser_support: false !default; + +/* Base + ========================================================================== */ + +/** + * 1. Set default font family to sans-serif. + * 2. Prevent iOS text size adjust after orientation change, without disabling + * user zoom. + * 3. Corrects text resizing oddly in IE 6/7 when body `font-size` is set using + * `em` units. + */ + +html { + font-family: sans-serif; /* 1 */ + -ms-text-size-adjust: 100%; /* 2 */ + -webkit-text-size-adjust: 100%; /* 2 */ + @if $legacy_browser_support { + *font-size: 100%; /* 3 */ + } +} + +/** + * Remove default margin. + */ + +body { + margin: 0; +} + +/* HTML5 display definitions + ========================================================================== */ + +/** + * Correct `block` display not defined for any HTML5 element in IE 8/9. + * Correct `block` display not defined for `details` or `summary` in IE 10/11 + * and Firefox. + * Correct `block` display not defined for `main` in IE 11. + */ + +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +menu, +nav, +section, +summary { + display: block; +} + +/** + * 1. Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3. + * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. + */ + +audio, +canvas, +progress, +video { + display: inline-block; /* 1 */ + vertical-align: baseline; /* 2 */ + @if $legacy_browser_support { + *display: inline; + *zoom: 1; + } +} + +/** + * Prevents modern browsers from displaying `audio` without controls. + * Remove excess height in iOS 5 devices. + */ + +audio:not([controls]) { + display: none; + height: 0; +} + +/** + * Address `[hidden]` styling not present in IE 8/9/10. + * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22. + */ + +[hidden], +template { + display: none; +} + +/* Links + ========================================================================== */ + +/** + * Remove the gray background color from active links in IE 10. + */ + +a { + background-color: transparent; +} + +/** + * Improve readability when focused and also mouse hovered in all browsers. + */ + +a { + &:active, &:hover { + outline: 0; + }; +} + +/* Text-level semantics + ========================================================================== */ + +/** + * Address styling not present in IE 8/9/10/11, Safari, and Chrome. + */ + +abbr[title] { + border-bottom: 1px dotted; +} + +/** + * Address style set to `bolder` in Firefox 4+, Safari, and Chrome. + */ + +b, +strong { + font-weight: bold; +} + +@if $legacy_browser_support { + blockquote { + margin: 1em 40px; + } +} + +/** + * Address styling not present in Safari and Chrome. + */ + +dfn { + font-style: italic; +} + +/** + * Address variable `h1` font-size and margin within `section` and `article` + * contexts in Firefox 4+, Safari, and Chrome. + */ + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +@if $legacy_browser_support { + h2 { + font-size: 1.5em; + margin: 0.83em 0; + } + + h3 { + font-size: 1.17em; + margin: 1em 0; + } + + h4 { + font-size: 1em; + margin: 1.33em 0; + } + + h5 { + font-size: 0.83em; + margin: 1.67em 0; + } + + h6 { + font-size: 0.67em; + margin: 2.33em 0; + } +} + +/** + * Addresses styling not present in IE 8/9. + */ + +mark { + background: #ff0; + color: #000; +} + +@if $legacy_browser_support { + + /** + * Addresses margins set differently in IE 6/7. + */ + + p, + pre { + *margin: 1em 0; + } + + /* + * Addresses CSS quotes not supported in IE 6/7. + */ + + q { + *quotes: none; + } + + /* + * Addresses `quotes` property not supported in Safari 4. + */ + + q:before, + q:after { + content: ''; + content: none; + } +} + +/** + * Address inconsistent and variable font size in all browsers. + */ + +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` affecting `line-height` in all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sup { + top: -0.5em; +} + +sub { + bottom: -0.25em; +} + +@if $legacy_browser_support { + + /* ========================================================================== + Lists + ========================================================================== */ + + /* + * Addresses margins set differently in IE 6/7. + */ + + dl, + menu, + ol, + ul { + *margin: 1em 0; + } + + dd { + *margin: 0 0 0 40px; + } + + /* + * Addresses paddings set differently in IE 6/7. + */ + + menu, + ol, + ul { + *padding: 0 0 0 40px; + } + + /* + * Corrects list images handled incorrectly in IE 7. + */ + + nav ul, + nav ol { + *list-style: none; + *list-style-image: none; + } + +} + +/* Embedded content + ========================================================================== */ + +/** + * 1. Remove border when inside `a` element in IE 8/9/10. + * 2. Improves image quality when scaled in IE 7. + */ + +img { + border: 0; + @if $legacy_browser_support { + *-ms-interpolation-mode: bicubic; /* 2 */ + } +} + +/** + * Correct overflow not hidden in IE 9/10/11. + */ + +svg:not(:root) { + overflow: hidden; +} + +/* Grouping content + ========================================================================== */ + +/** + * Address margin not present in IE 8/9 and Safari. + */ + +figure { + margin: 1em 40px; +} + +/** + * Address differences between Firefox and other browsers. + */ + +hr { + -moz-box-sizing: content-box; + box-sizing: content-box; + height: 0; +} + +/** + * Contain overflow in all browsers. + */ + +pre { + overflow: auto; +} + +/** + * Address odd `em`-unit font size rendering in all browsers. + * Correct font family set oddly in IE 6, Safari 4/5, and Chrome. + */ + +code, +kbd, +pre, +samp { + font-family: monospace, monospace; + @if $legacy_browser_support { + _font-family: 'courier new', monospace; + } + font-size: 1em; +} + +/* Forms + ========================================================================== */ + +/** + * Known limitation: by default, Chrome and Safari on OS X allow very limited + * styling of `select`, unless a `border` property is set. + */ + +/** + * 1. Correct color not being inherited. + * Known issue: affects color of disabled elements. + * 2. Correct font properties not being inherited. + * 3. Address margins set differently in Firefox 4+, Safari, and Chrome. + * 4. Improves appearance and consistency in all browsers. + */ + +button, +input, +optgroup, +select, +textarea { + color: inherit; /* 1 */ + font: inherit; /* 2 */ + margin: 0; /* 3 */ + @if $legacy_browser_support { + vertical-align: baseline; /* 3 */ + *vertical-align: middle; /* 3 */ + } +} + +/** + * Address `overflow` set to `hidden` in IE 8/9/10/11. + */ + +button { + overflow: visible; +} + +/** + * Address inconsistent `text-transform` inheritance for `button` and `select`. + * All other form control elements do not inherit `text-transform` values. + * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera. + * Correct `select` style inheritance in Firefox. + */ + +button, +select { + text-transform: none; +} + +/** + * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` + * and `video` controls. + * 2. Correct inability to style clickable `input` types in iOS. + * 3. Improve usability and consistency of cursor style between image-type + * `input` and others. + * 4. Removes inner spacing in IE 7 without affecting normal text inputs. + * Known issue: inner spacing remains in IE 6. + */ + +button, +html input[type="button"], /* 1 */ +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; /* 2 */ + cursor: pointer; /* 3 */ + @if $legacy_browser_support { + *overflow: visible; /* 4 */ + } +} + +/** + * Re-set default cursor for disabled elements. + */ + +button[disabled], +html input[disabled] { + cursor: default; +} + +/** + * Remove inner padding and border in Firefox 4+. + */ + +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; + padding: 0; +} + +/** + * Address Firefox 4+ setting `line-height` on `input` using `!important` in + * the UA stylesheet. + */ + +input { + line-height: normal; +} + +/** + * 1. Address box sizing set to `content-box` in IE 8/9/10. + * 2. Remove excess padding in IE 8/9/10. + * Known issue: excess padding remains in IE 6. + */ + +input[type="checkbox"], +input[type="radio"] { + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ + @if $legacy_browser_support { + *height: 13px; /* 3 */ + *width: 13px; /* 3 */ + } +} + +/** + * Fix the cursor style for Chrome's increment/decrement buttons. For certain + * `font-size` values of the `input`, it causes the cursor style of the + * decrement button to change from `default` to `text`. + */ + +input[type="number"]::-webkit-inner-spin-button, +input[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +/** + * 1. Address `appearance` set to `searchfield` in Safari and Chrome. + * 2. Address `box-sizing` set to `border-box` in Safari and Chrome + * (include `-moz` to future-proof). + */ + +input[type="search"] { + -webkit-appearance: textfield; /* 1 */ + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; /* 2 */ + box-sizing: content-box; +} + +/** + * Remove inner padding and search cancel button in Safari and Chrome on OS X. + * Safari (but not Chrome) clips the cancel button when the search input has + * padding (and `textfield` appearance). + */ + +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * Define consistent border, margin, and padding. + */ + +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; +} + +/** + * 1. Correct `color` not being inherited in IE 8/9/10/11. + * 2. Remove padding so people aren't caught out if they zero out fieldsets. + * 3. Corrects text not wrapping in Firefox 3. + * 4. Corrects alignment displayed oddly in IE 6/7. + */ + +legend { + border: 0; /* 1 */ + padding: 0; /* 2 */ + @if $legacy_browser_support { + white-space: normal; /* 3 */ + *margin-left: -7px; /* 4 */ + } +} + +/** + * Remove default vertical scrollbar in IE 8/9/10/11. + */ + +textarea { + overflow: auto; +} + +/** + * Don't inherit the `font-weight` (applied by a rule above). + * NOTE: the default cannot safely be changed in Chrome and Safari on OS X. + */ + +optgroup { + font-weight: bold; +} + +/* Tables + ========================================================================== */ + +/** + * Remove most spacing between table cells. + */ + +table { + border-collapse: collapse; + border-spacing: 0; +} + +td, +th { + padding: 0; +} diff --git a/docs/ios-docs/1.6/css/scss/_object.scss b/docs/ios-docs/1.6/css/scss/_object.scss new file mode 100644 index 0000000..22eebd8 --- /dev/null +++ b/docs/ios-docs/1.6/css/scss/_object.scss @@ -0,0 +1,89 @@ +.section-specification { + table { + width: auto; + + th { + text-align: left; + } + } +} + +.method-title { + margin-left: -15px; + margin-bottom: 8px; + transition: margin-left .3s ease-out; + + .section-method.hide & { + margin-left: 0; + } + + code { + font-weight: 400; + font-size: .85em; + } +} + +.method-info { + background: $object-background; + border-bottom: 1px solid $object-border; + margin: 0 -25px; + padding: 20px 25px 0 25px; + transition: height .3s ease-out; + + position: relative; + + .pointy-thing { + background: $content-background; + height: 10px; + border-bottom: 1px solid $object-border; + margin: -20px -25px 16px -25px; + + &:before { + display: inline-block; + content: ""; + + background: $object-background; + border: 1px solid $object-border; + border-bottom: 0; + border-right: 0; + + position: absolute; + left: 21px; + top: 3px; + width: 12px; + height: 12px; + transform: rotate(45deg); + } + } + + .method-subsection { + margin-bottom: 15px; + + .argument-name { + width: 1px; + text-align: right; + + code { + color: #808080; + font-style: italic; + font-weight: 400; + } + } + } +} + +.section-method { + &.hide .method-info { + height: 0 !important; + overflow: hidden; + display: none; + } + + &.hide.animating .method-info { + display: block; + } + + &.animating .method-info { + overflow: hidden; + } +} diff --git a/docs/ios-docs/1.6/css/scss/_print.scss b/docs/ios-docs/1.6/css/scss/_print.scss new file mode 100644 index 0000000..61bdf99 --- /dev/null +++ b/docs/ios-docs/1.6/css/scss/_print.scss @@ -0,0 +1,42 @@ +@media print { + body { + background: #fff; + padding: 8px; + } + + header { + position: static; + background: #fff; + color: #000; + } + + aside { + display: none; + } + + .container { + max-width: none; + padding: 0; + } + + article { + margin-top: 0; + + #content { + border: 0; + background: #fff; + padding: 15px 0 0 0; + + .title { + margin-top: 0; + padding-top: 0; + } + } + } + + .method-info { + &, & .pointy-thing { + background: #fff; + } + } +} diff --git a/docs/ios-docs/1.6/css/scss/_variables.scss b/docs/ios-docs/1.6/css/scss/_variables.scss new file mode 100644 index 0000000..38e072d --- /dev/null +++ b/docs/ios-docs/1.6/css/scss/_variables.scss @@ -0,0 +1,12 @@ +$body-font: -apple-system-font, "Helvetica Neue", Helvetica, sans-serif; +$code-font: "Source Code Pro", Monaco, Menlo, Consolas, monospace; + +$body-background: #f2f2f2; +$content-background: #fff; +$content-border: #e9e9e9; +$tint-color: #08c; +$object-background: #f9f9f9; +$object-border: #e9e9e9; + +$mobile-max-width: 650px; +$desktop-min-width: 768px; \ No newline at end of file diff --git a/docs/ios-docs/1.6/css/scss/_xcode.scss b/docs/ios-docs/1.6/css/scss/_xcode.scss new file mode 100644 index 0000000..340b1f6 --- /dev/null +++ b/docs/ios-docs/1.6/css/scss/_xcode.scss @@ -0,0 +1,29 @@ +.xcode { + header, aside { + display: none; + } + + .container { + padding: 0; + } + + article { + margin-top: 0; + + #content { + border: 0; + margin: 0; + } + } + + .method-info { + &, .section-method.hide & { + max-height: auto; + overflow: visible; + + &.hiding { + display: block; + } + } + } +} diff --git a/docs/ios-docs/1.6/css/scss/style.scss b/docs/ios-docs/1.6/css/scss/style.scss new file mode 100644 index 0000000..648a608 --- /dev/null +++ b/docs/ios-docs/1.6/css/scss/style.scss @@ -0,0 +1 @@ +@import "variables", "normalize", "layout", "index", "object", "print", "xcode"; diff --git a/docs/ios-docs/1.6/css/style.css b/docs/ios-docs/1.6/css/style.css new file mode 100644 index 0000000..d9d59dd --- /dev/null +++ b/docs/ios-docs/1.6/css/style.css @@ -0,0 +1,2 @@ +html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}*{box-sizing:border-box}.clear{clear:both}.clearfix:before,.container:before,article #content:before,article #content footer:before,.clearfix:after,.container:after,article #content:after,article #content footer:after{clear:both;display:table;content:""}.xcode .hide-in-xcode{display:none}body{font:62.5% -apple-system-font,"Helvetica Neue",Helvetica,sans-serif;background:#f2f2f2}@media (max-width: 650px){body{background-color:#fff}}h1,h2,h3{font-weight:300;color:#808080}h1{font-size:2em;color:#000}h4{font-size:13px;line-height:1.5;margin:21px 0 0 0}a{color:#08c;text-decoration:none}pre,code{font-family:"Source Code Pro",Monaco,Menlo,Consolas,monospace;word-wrap:break-word}pre>code,.method-declaration code{display:inline-block;font-size:.85em;padding:4px 0 4px 10px;border-left:5px solid rgba(0,155,51,0.2)}pre>code:before,.method-declaration code:before{content:"Objective-C";display:block;font:9px/1 -apple-system-font,"Helvetica Neue",Helvetica,sans-serif;color:#009b33;text-transform:uppercase;letter-spacing:2px;padding-bottom:6px}pre>code{font-size:inherit}table,th,td{border:1px solid #e9e9e9}table{width:100%}th,td{padding:7px}th>:first-child,td>:first-child{margin-top:0}th>:last-child,td>:last-child{margin-bottom:0}.container{max-width:980px;padding:0 10px;margin:0 auto}@media (max-width: 650px){.container{padding:0}}header{position:fixed;top:0;left:0;width:100%;z-index:2;background:#414141;color:#fff;font-size:1.1em;line-height:25px;letter-spacing:.05em}header #library-title{float:left}header #developer-home{float:right}header h1{font-size:inherit;font-weight:inherit;margin:0}header p{margin:0}header h1,header a{color:inherit}@media (max-width: 650px){header .container{padding:0 10px}}aside{position:fixed;top:25px;left:0;width:100%;height:25px;z-index:2;font-size:1.1em}aside #header-buttons{background:rgba(255,255,255,0.8);margin:0 1px;padding:0;list-style:none;text-align:right;line-height:32px}aside #header-buttons li{display:inline-block;cursor:pointer;padding:0 10px}aside #header-buttons label,aside #header-buttons select{cursor:inherit}aside #header-buttons #on-this-page{position:relative}aside #header-buttons #on-this-page .chevron{display:inline-block;width:14px;height:4px;position:relative}aside #header-buttons #on-this-page .chevron .chevy{background:#878787;height:2px;position:absolute;width:10px}aside #header-buttons #on-this-page .chevron .chevy.chevron-left{left:0;transform:rotateZ(45deg) scale(0.6)}aside #header-buttons #on-this-page .chevron .chevy.chevron-right{right:0;transform:rotateZ(-45deg) scale(0.6)}aside #header-buttons #on-this-page #jump-to{opacity:0;font-size:16px;position:absolute;top:5px;left:0;width:100%;height:100%}article{margin-top:25px}article #content{background:#fff;border:1px solid #e9e9e9;padding:15px 25px 30px 25px;font-size:1.4em;line-height:1.45;position:relative}@media (max-width: 650px){article #content{padding:15px 10px 20px 10px;border:none}}article #content .navigation-top{position:absolute;top:15px;right:25px}article #content .title{margin:21px 0 0 0;padding:15px 0}article #content p{color:#414141;margin:0 0 15px 0}article #content th p:last-child,article #content td p:last-child{margin-bottom:0}article #content main ul{list-style:none;margin-left:24px;margin-bottom:12px;padding:0}article #content main ul li{position:relative;padding-left:1.3em}article #content main ul li:before{content:"\02022";color:#414141;font-size:1.08em;line-height:1;position:absolute;left:0;padding-top:2px}article #content footer .footer-copyright{margin:70px 25px 10px 0}article #content footer p{font-size:.71em;color:#a0a0a0}.index-container{-webkit-flex-direction:column;flex-direction:column}@media (min-width: 768px){.index-container{display:flex;-webkit-flex-direction:row;flex-direction:row;-webkit-flex-wrap:wrap;flex-wrap:wrap}}.index-container .index-column{-webkit-flex:1 1 33%;flex:1 1 33%}.section-specification table{width:auto}.section-specification table th{text-align:left}.method-title{margin-left:-15px;margin-bottom:8px;transition:margin-left .3s ease-out}.section-method.hide .method-title{margin-left:0}.method-title code{font-weight:400;font-size:.85em}.method-info{background:#f9f9f9;border-bottom:1px solid #e9e9e9;margin:0 -25px;padding:20px 25px 0 25px;transition:height .3s ease-out;position:relative}.method-info .pointy-thing{background:#fff;height:10px;border-bottom:1px solid #e9e9e9;margin:-20px -25px 16px -25px}.method-info .pointy-thing:before{display:inline-block;content:"";background:#f9f9f9;border:1px solid #e9e9e9;border-bottom:0;border-right:0;position:absolute;left:21px;top:3px;width:12px;height:12px;-webkit-transform:rotate(45deg);transform:rotate(45deg) }.method-info .method-subsection{margin-bottom:15px}.method-info .method-subsection .argument-name{width:1px;text-align:right}.method-info .method-subsection .argument-name code{color:#808080;font-style:italic;font-weight:400}.section-method.hide .method-info{height:0 !important;overflow:hidden;display:none}.section-method.hide.animating .method-info{display:block}.section-method.animating .method-info{overflow:hidden}@media print{body{background:#fff;padding:8px}header{position:static;background:#fff;color:#000}aside{display:none}.container{max-width:none;padding:0}article{margin-top:0}article #content{border:0;background:#fff;padding:15px 0 0 0}article #content .title{margin-top:0;padding-top:0}.method-info,.method-info .pointy-thing{background:#fff}}.xcode header,.xcode aside{display:none}.xcode .container{padding:0}.xcode article{margin-top:0}.xcode article #content{border:0;margin:0}.xcode .method-info,.section-method.hide .xcode .method-info{max-height:auto;overflow:visible}.xcode .method-info.hiding,.section-method.hide .xcode .method-info.hiding{display:block} + diff --git a/docs/ios-docs/1.6/hierarchy.html b/docs/ios-docs/1.6/hierarchy.html new file mode 100644 index 0000000..0c505f2 --- /dev/null +++ b/docs/ios-docs/1.6/hierarchy.html @@ -0,0 +1,111 @@ + + + + + + TSRSDK Hierarchy + + + + + + +
      +
      + +

      + TSRSDK +

      + +

      + Tencent +

      + +
      +
      + + + + + + + + \ No newline at end of file diff --git a/docs/ios-docs/1.6/img/button_bar_background.png b/docs/ios-docs/1.6/img/button_bar_background.png new file mode 100644 index 0000000..71d1019 Binary files /dev/null and b/docs/ios-docs/1.6/img/button_bar_background.png differ diff --git a/docs/ios-docs/1.6/img/disclosure.png b/docs/ios-docs/1.6/img/disclosure.png new file mode 100644 index 0000000..4c5cbf4 Binary files /dev/null and b/docs/ios-docs/1.6/img/disclosure.png differ diff --git a/docs/ios-docs/1.6/img/disclosure_open.png b/docs/ios-docs/1.6/img/disclosure_open.png new file mode 100644 index 0000000..82396fe Binary files /dev/null and b/docs/ios-docs/1.6/img/disclosure_open.png differ diff --git a/docs/ios-docs/1.6/img/library_background.png b/docs/ios-docs/1.6/img/library_background.png new file mode 100644 index 0000000..3006248 Binary files /dev/null and b/docs/ios-docs/1.6/img/library_background.png differ diff --git a/docs/ios-docs/1.6/img/title_background.png b/docs/ios-docs/1.6/img/title_background.png new file mode 100644 index 0000000..846e496 Binary files /dev/null and b/docs/ios-docs/1.6/img/title_background.png differ diff --git a/docs/ios-docs/1.6/index.html b/docs/ios-docs/1.6/index.html new file mode 100644 index 0000000..1d37bba --- /dev/null +++ b/docs/ios-docs/1.6/index.html @@ -0,0 +1,111 @@ + + + + + + TSRSDK Reference + + + + + + +
      +
      + +

      + TSRSDK +

      + +

      + Tencent +

      + +
      +
      + + + + + + + + \ No newline at end of file diff --git a/docs/ios-docs/1.6/js/script.js b/docs/ios-docs/1.6/js/script.js new file mode 100644 index 0000000..4074361 --- /dev/null +++ b/docs/ios-docs/1.6/js/script.js @@ -0,0 +1,59 @@ +function $() { + return document.querySelector.apply(document, arguments); +} + +if (navigator.userAgent.indexOf("Xcode") != -1) { + document.documentElement.classList.add("xcode"); +} + +var jumpTo = $("#jump-to"); + +if (jumpTo) { + jumpTo.addEventListener("change", function(e) { + location.hash = this.options[this.selectedIndex].value; + }); +} + +function hashChanged() { + if (/^#\/\/api\//.test(location.hash)) { + var element = document.querySelector("a[name='" + location.hash.substring(1) + "']"); + + if (!element) { + return; + } + + element = element.parentNode; + + element.classList.remove("hide"); + fixScrollPosition(element); + } +} + +function fixScrollPosition(element) { + var scrollTop = element.offsetTop - 150; + document.documentElement.scrollTop = scrollTop; + document.body.scrollTop = scrollTop; +} + +[].forEach.call(document.querySelectorAll(".section-method"), function(element) { + element.classList.add("hide"); + + element.querySelector(".method-title a").addEventListener("click", function(e) { + var info = element.querySelector(".method-info"), + infoContainer = element.querySelector(".method-info-container"); + + element.classList.add("animating"); + info.style.height = (infoContainer.clientHeight + 40) + "px"; + fixScrollPosition(element); + element.classList.toggle("hide"); + if (element.classList.contains("hide")) { + e.preventDefault(); + } + setTimeout(function() { + element.classList.remove("animating"); + }, 300); + }); +}); + +window.addEventListener("hashchange", hashChanged); +hashChanged();