[android-developers] Re: newbie question

2009-01-16 Thread Romkin
/widget/ImageView.Sca... On Jan 13, 7:55 am, Romkin ram...@gmail.com wrote: if i have created a bitmap of 240x320, what would be the best way to scale it to the android's screen resolution and how? thanks a lot. --~--~-~--~~~---~--~~ You received this message

[android-developers] newbie question

2009-01-13 Thread Romkin
if i have created a bitmap of 240x320, what would be the best way to scale it to the android's screen resolution and how? thanks a lot. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: the fastest way to draw on screen

2008-12-12 Thread Romkin
  or colorFilter or xfermode on the paint). On Dec 10, 2008, at 5:39 AM, Romkin wrote: To be honest the surface in created in C, as char* and originally i wanted to use 16bit colour, but Bitmap takes int[], which means i have to use 32bit, is there a way i can solve it to use 16bit? On 9 Dec, 17:38

[android-developers] Re: the fastest way to draw on screen

2008-12-10 Thread Romkin
canvas.drawColor or canvas.drawRect) and then draw the   bitmap. It all depends, but the fastest a Bitmap can go is memcpy, but   drawing a large area in a solid color can use memset, which is faster   for the same number of dst pixels. On Dec 9, 2008, at 11:54 AM, Romkin wrote: What is the fastest way

[android-developers] the fastest way to draw on screen

2008-12-09 Thread Romkin
What is the fastest way to draw on screen? currently we use OnDraw and have Bitmap, but is there a faster way to draw pixel array to screen? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Android Source Code Now Available

2008-10-22 Thread Romkin
I wonder how one can actually go into the function from native library while running java activity? (debugging purposes) On Oct 21, 10:09 pm, hackbod [EMAIL PROTECTED] wrote: On Oct 21, 1:32 pm, Al Sutton [EMAIL PROTECTED] wrote: So is Google going to provide examples of how third parties