Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b2618e5b authored by Omer Ozer's avatar Omer Ozer Committed by Roshan
Browse files

Change NFC antenna api comments to indicated top-left start

point for all axis.

Bug: 342041952
Test: N/A
Flag: DOCS_ONLY

Merged-In: I0d84a68520153ad6d06b0982d9785862a4ecf668
Change-Id: I0d84a68520153ad6d06b0982d9785862a4ecf668
parent 5ebbe662
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -28,13 +28,13 @@ import android.os.Parcelable;
public final class AvailableNfcAntenna implements Parcelable {
    /**
     * Location of the antenna on the Y axis in millimeters.
     * 0 is the bottom-left when the user is facing the screen
     * 0 is the top-left when the user is facing the screen
     * and the device orientation is Portrait.
     */
    private final int mLocationX;
    /**
     * Location of the antenna on the Y axis in millimeters.
     * 0 is the bottom-left when the user is facing the screen
     * 0 is the top-left when the user is facing the screen
     * and the device orientation is Portrait.
     */
    private final int mLocationY;
@@ -46,7 +46,7 @@ public final class AvailableNfcAntenna implements Parcelable {

    /**
     * Location of the antenna on the X axis in millimeters.
     * 0 is the bottom-left when the user is facing the screen
     * 0 is the top-left when the user is facing the screen
     * and the device orientation is Portrait.
     */
    public int getLocationX() {
@@ -55,7 +55,7 @@ public final class AvailableNfcAntenna implements Parcelable {

    /**
     * Location of the antenna on the Y axis in millimeters.
     * 0 is the bottom-left when the user is facing the screen
     * 0 is the top-left when the user is facing the screen
     * and the device orientation is Portrait.
     */
    public int getLocationY() {
+2 −2
Original line number Diff line number Diff line
@@ -64,9 +64,9 @@ public final class NfcAntennaInfo implements Parcelable {

    /**
     * Whether the device is foldable. When the device is foldable,
     * the 0, 0 is considered to be bottom-left when the device is unfolded and
     * the 0, 0 is considered to be top-left when the device is unfolded and
     * the screens are facing the user. For non-foldable devices 0, 0
     * is bottom-left when the user is facing the screen.
     * is top-left when the user is facing the screen.
     */
    public boolean isDeviceFoldable() {
        return mDeviceFoldable;