With API 14 your app is hardware accelerated. Are you sure you are
calling invalidate() on the View that contains this drawPath code?

On Thu, Aug 30, 2012 at 9:05 AM, Georg Wiese <[email protected]> wrote:
> I'm having several issues dealing with android.graphics.Path when I set my
> target API-Level to 14 or higher and only on certain devices. One has
> already been described here, another one is this:
>
> I used to be able to create a Path and then in View.onDraw() do something
> like:
> canvas.drawPath(p, paint);
> pTest.offset(1, 1);
> This would offset the path by 1 pixel each dimension every time
> View.invalidate() is called. At target API-Level 14+ however, this offsets
> it only once and then never again, when running on the Nexus 7. On the
> emulator, it works just as it should.
>
> Does anyone know, what the problem is here? Thanks in advance.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Romain Guy
Android framework engineer
[email protected]

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to