diff options
| author | 2011-08-30 19:24:04 -0700 | |
|---|---|---|
| committer | 2011-08-30 19:24:04 -0700 | |
| commit | c21843a8b5c395cbaae6db0f786bdee556075f5d (patch) | |
| tree | 22a798f6c97054bd2cc40ceb0cc2ef910c5a84cd /services/surfaceflinger/LayerBase.h | |
| parent | 66b665ab8b8b52450310b1a551bfa8f52dbb2c10 (diff) | |
| parent | 34cb9f2a960c4173bdafb4b8a2444c1bca4c5f0d (diff) | |
Merge "fix Surface positions are not floats"
Diffstat (limited to 'services/surfaceflinger/LayerBase.h')
| -rw-r--r-- | services/surfaceflinger/LayerBase.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/services/surfaceflinger/LayerBase.h b/services/surfaceflinger/LayerBase.h index 2cd3a9435e91..d20f06ac87b9 100644 --- a/services/surfaceflinger/LayerBase.h +++ b/services/surfaceflinger/LayerBase.h @@ -84,7 +84,7 @@ public: String8 getName() const; // modify current state - bool setPosition(int32_t x, int32_t y); + bool setPosition(float x, float y); bool setLayer(uint32_t z); bool setSize(uint32_t w, uint32_t h); bool setAlpha(uint8_t alpha); @@ -217,8 +217,6 @@ public: inline State& currentState() { return mCurrentState; } int32_t getOrientation() const { return mOrientation; } - int tx() const { return mLeft; } - int ty() const { return mTop; } protected: const GraphicPlane& graphicPlane(int dpy) const; @@ -250,8 +248,6 @@ protected: Transform mTransform; GLfloat mVertices[4][2]; Rect mTransformedBounds; - int mLeft; - int mTop; // these are protected by an external lock State mCurrentState; |