diff --git a/src/main/java/com/android/gallery3d/exif/ExifInterface.java b/src/main/java/com/android/gallery3d/exif/ExifInterface.java index b0b3f48..c3c1fd8 100644 --- a/src/main/java/com/android/gallery3d/exif/ExifInterface.java +++ b/src/main/java/com/android/gallery3d/exif/ExifInterface.java @@ -52,7 +52,7 @@ * updated by: reading new ones from a file, deleting or adding existing ones, * or building new ExifTags from a tag definition. These ExifTags can be written * to a valid jpeg image as exif metadata. - *

+ *

* Each ExifTag has a tag ID (TID) and is stored in a specific image file * directory (IFD) as specified by the exif standard. A tag definition can be * looked up with a constant that is a combination of TID and IFD. This @@ -370,9 +370,9 @@ public static int getTrueIfd(int tag) { *
  • TOP_RIGHT is a left-right mirror.
  • *
  • BOTTOM_LEFT is a 180 degree rotation.
  • *
  • BOTTOM_RIGHT is a top-bottom mirror.
  • - *
  • LEFT_TOP is mirrored about the top-left<->bottom-right axis.
  • + *
  • LEFT_TOP is mirrored about the top-left<->bottom-right axis.
  • *
  • RIGHT_TOP is a 90 degree clockwise rotation.
  • - *
  • LEFT_BOTTOM is mirrored about the top-right<->bottom-left axis.
  • + *
  • LEFT_BOTTOM is mirrored about the top-right<->bottom-left axis.
  • *
  • RIGHT_BOTTOM is a 270 degree clockwise rotation.
  • * */ @@ -459,9 +459,9 @@ public static interface MeteringMode { /** * Constants for {@link TAG_FLASH} As the definition in Jeita EXIF 2.2 * standard, we can treat this constant as bitwise flag. - *

    + *

    * e.g. - *

    + *

    * short flash = FIRED | RETURN_STROBE_RETURN_LIGHT_DETECTED | * MODE_AUTO_MODE */ @@ -1152,7 +1152,7 @@ public List getTagsForTagId(short tagId) { /** * Returns a list of ExifTags that share an IFD (which can be obtained by - * calling {@link #getTrueIFD} on a defined tag constant) or null if none + * calling {@link #getTrueIfd(int)} on a defined tag constant) or null if none * exist. * * @param ifdId an IFD as defined in the exif standard (or with @@ -1466,7 +1466,7 @@ public short getDefinedTagType(int tagId) { * Returns true if tag TID is one of the following: {@link TAG_EXIF_IFD}, * {@link TAG_GPS_IFD}, {@link TAG_JPEG_INTERCHANGE_FORMAT}, * {@link TAG_STRIP_OFFSETS}, {@link TAG_INTEROPERABILITY_IFD} - *

    + *

    * Note: defining tags with these TID's is disallowed. * * @param tag a tag's TID (can be obtained from a defined tag constant with diff --git a/src/main/java/com/android/gallery3d/exif/ExifTag.java b/src/main/java/com/android/gallery3d/exif/ExifTag.java index 8494126..51b0693 100644 --- a/src/main/java/com/android/gallery3d/exif/ExifTag.java +++ b/src/main/java/com/android/gallery3d/exif/ExifTag.java @@ -835,7 +835,7 @@ protected void getBytes(byte[] buf) { * * @param buf the byte array in which to store the bytes read. * @param offset the initial position in buffer to store the bytes. - * @param length the maximum number of bytes to store in buffer. If length > + * @param length the maximum number of bytes to store in buffer. If length > * component count, only the valid bytes will be stored. * @throws IllegalArgumentException If the type is NOT * {@link #TYPE_UNDEFINED} or {@link #TYPE_UNSIGNED_BYTE}. @@ -850,7 +850,7 @@ protected void getBytes(byte[] buf, int offset, int length) { } /** - * Gets the offset of this tag. This is only valid if this data size > 4 and + * Gets the offset of this tag. This is only valid if this data size > 4 and * contains an offset to the location of the actual value. */ protected int getOffset() {