Fix Javadoc

This commit is contained in:
Oliver Woodman 2019-05-03 21:12:02 +01:00
parent 71d7e0afe2
commit ce37c79968
3 changed files with 8 additions and 8 deletions

View file

@ -92,7 +92,7 @@ public final class OfflineLicenseHelper<T extends ExoMediaCrypto> {
* @throws UnsupportedDrmException If the Widevine DRM scheme is unsupported or cannot be
* instantiated.
* @see DefaultDrmSessionManager#DefaultDrmSessionManager(java.util.UUID, ExoMediaDrm,
* MediaDrmCallback, HashMap, Handler, DefaultDrmSessionEventListener)
* MediaDrmCallback, HashMap)
*/
public static OfflineLicenseHelper<FrameworkMediaCrypto> newWidevineInstance(
String defaultLicenseUrl,
@ -115,7 +115,7 @@ public final class OfflineLicenseHelper<T extends ExoMediaCrypto> {
* @param optionalKeyRequestParameters An optional map of parameters to pass as the last argument
* to {@link MediaDrm#getKeyRequest(byte[], byte[], String, int, HashMap)}. May be null.
* @see DefaultDrmSessionManager#DefaultDrmSessionManager(java.util.UUID, ExoMediaDrm,
* MediaDrmCallback, HashMap, Handler, DefaultDrmSessionEventListener)
* MediaDrmCallback, HashMap)
*/
public OfflineLicenseHelper(
UUID uuid,

View file

@ -51,7 +51,7 @@ public final class GlUtil {
}
/**
* Builds a GL shader program from vertex & fragment shader code.
* Builds a GL shader program from vertex and fragment shader code.
*
* @param vertexCode GLES20 vertex shader program as arrays of strings. Strings are joined by
* adding a new line character in between each of them.
@ -64,7 +64,7 @@ public final class GlUtil {
}
/**
* Builds a GL shader program from vertex & fragment shader code.
* Builds a GL shader program from vertex and fragment shader code.
*
* @param vertexCode GLES20 vertex shader program.
* @param fragmentCode GLES20 fragment shader program.

View file

@ -72,7 +72,7 @@ public final class CanvasRenderer {
"}"
};
// The quad has 2 triangles built from 4 total vertices. Each vertex has 3 position & 2 texture
// The quad has 2 triangles built from 4 total vertices. Each vertex has 3 position and 2 texture
// coordinates.
private static final int POSITION_COORDS_PER_VERTEX = 3;
private static final int TEXTURE_COORDS_PER_VERTEX = 2;
@ -253,8 +253,8 @@ public final class CanvasRenderer {
* Translates an orientation into pixel coordinates on the canvas.
*
* <p>This is a minimal hit detection system that works for this quad because it has no model
* matrix. All the math is based on the fact that its size & distance are hard-coded into this
* class. For a more complex 3D mesh, a general bounding box & ray collision system would be
* matrix. All the math is based on the fact that its size and distance are hard-coded into this
* class. For a more complex 3D mesh, a general bounding box and ray collision system would be
* required.
*
* @param yaw Yaw of the orientation in radians.
@ -287,7 +287,7 @@ public final class CanvasRenderer {
return null;
}
// Convert from the polar coordinates of the controller to the rectangular coordinates of the
// View. Note the negative yaw & pitch used to generate Android-compliant x & y coordinates.
// View. Note the negative yaw and pitch used to generate Android-compliant x and y coordinates.
float clickXPixel = (float) (widthPixel - clickXUnit * widthPixel / widthUnit);
float clickYPixel = (float) (heightPixel - clickYUnit * heightPixel / heightUnit);
return new PointF(clickXPixel, clickYPixel);