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

Commit 05160d70 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh
Browse files

resolve merge conflicts of 5152fd90 to stage-aosp-master

Change-Id: I2066125eb4076dbc9e8996bb1fa87735aa6040d3
parents 95e42d97 5152fd90
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ public:

private:
    friend class AnimationContext;
    AnimationHandle(AnimationContext& context);
    explicit AnimationHandle(AnimationContext& context);
    AnimationHandle(RenderNode& animatingNode, AnimationContext& context);
    ~AnimationHandle();

@@ -75,7 +75,7 @@ private:
class AnimationContext {
    PREVENT_COPY_AND_ASSIGN(AnimationContext);
public:
    ANDROID_API AnimationContext(renderthread::TimeLord& clock);
    ANDROID_API explicit AnimationContext(renderthread::TimeLord& clock);
    ANDROID_API virtual ~AnimationContext();

    nsecs_t frameTimeMs() { return mFrameTimeMs; }
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ class TreeInfo;
class AnimatorManager {
    PREVENT_COPY_AND_ASSIGN(AnimatorManager);
public:
    AnimatorManager(RenderNode& parent);
    explicit AnimatorManager(RenderNode& parent);
    ~AnimatorManager();

    void addAnimator(const sp<BaseRenderNodeAnimator>& animator);
+1 −1
Original line number Diff line number Diff line
@@ -77,7 +77,7 @@ public:
        return sInstance != nullptr;
    }
private:
    Caches(RenderState& renderState);
    explicit Caches(RenderState& renderState);
    static Caches* sInstance;

public:
+2 −2
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ namespace uirenderer {
class CanvasPropertyPrimitive : public VirtualLightRefBase {
    PREVENT_COPY_AND_ASSIGN(CanvasPropertyPrimitive);
public:
    CanvasPropertyPrimitive(float initialValue) : value(initialValue) {}
    explicit CanvasPropertyPrimitive(float initialValue) : value(initialValue) {}

    float value;
};
@@ -36,7 +36,7 @@ public:
class CanvasPropertyPaint : public VirtualLightRefBase {
    PREVENT_COPY_AND_ASSIGN(CanvasPropertyPaint);
public:
    CanvasPropertyPaint(const SkPaint& initialValue) : value(initialValue) {}
    explicit CanvasPropertyPaint(const SkPaint& initialValue) : value(initialValue) {}

    SkPaint value;
};
+1 −1
Original line number Diff line number Diff line
@@ -73,7 +73,7 @@ public:

class CanvasState {
public:
    CanvasState(CanvasStateClient& renderer);
    explicit CanvasState(CanvasStateClient& renderer);
    ~CanvasState();

    /**
Loading