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

Commit 044b4dc7 authored by Chavi Weingarten's avatar Chavi Weingarten Committed by Android (Google) Code Review
Browse files

Merge "Added libui dependencies for input"

parents 2738c9eb fd9c1ede
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@
#include <android/input.h>
#include <math.h>
#include <stdint.h>
#include <ui/Transform.h>
#include <utils/BitSet.h>
#include <utils/KeyedVector.h>
#include <utils/RefBase.h>
@@ -741,6 +742,7 @@ protected:
    float mYScale;
    float mXOffset;
    float mYOffset;
    ui::Transform mTransform;
    float mXPrecision;
    float mYPrecision;
    float mRawXCursorPosition;
+4 −0
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@
#include <input/InputTransport.h>
#include <ui/Rect.h>
#include <ui/Region.h>
#include <ui/Transform.h>
#include <utils/RefBase.h>
#include <utils/Timers.h>

@@ -160,6 +161,9 @@ struct InputWindowInfo : public Parcelable {
    float windowXScale = 1.0f;
    float windowYScale = 1.0f;

    // Transform applied to individual windows.
    ui::Transform transform;

    /*
     * This is filled in by the WM relative to the frame and then translated
     * to absolute coordinates by SurfaceFlinger once the frame is computed.

include/ui/Rotation.h

0 → 120000
+1 −0
Original line number Diff line number Diff line
../../libs/ui/include/ui/Rotation.h
 No newline at end of file

include/ui/Transform.h

0 → 120000
+1 −0
Original line number Diff line number Diff line
../../libs/ui/include/ui/Transform.h
 No newline at end of file
+8 −0
Original line number Diff line number Diff line
@@ -43,6 +43,14 @@ cc_library {
        "libcutils",
    ],

    static_libs: [
        "libui-types",
    ],

    export_static_lib_headers: [
        "libui-types",
    ],

    target: {
        android: {
            srcs: [
Loading