Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
power off animation
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ellen  
View profile  
 More options Jul 28 2011, 4:18 am
From: Ellen <ellen...@hotmail.com>
Date: Thu, 28 Jul 2011 01:18:10 -0700 (PDT)
Local: Thurs, Jul 28 2011 4:18 am
Subject: power off animation
Hi,

I want to play animation when device shutdown, now I tried
"SystemProperties.set("ctl.start","bootanim");"  in
beginShutdownSequence.

it worked, but, there was already a power on animation in this
bootanim service. I want a different animation for power off. So, is
there any way to make this service know who is calling it?
Or could I define another service named "shutdownanim", but the real
service is still bootanim for it? it looks like this:
service shutdownanim /system/bin/bootanimation
    user graphics
    group graphics
    disabled
    oneshot
Then how could bootanimation_main.c know the value is "bootanim" or
"shutdownanim"?

By the way, from bootanimation_main.c, it called
"property_get("debug.sf.nobootanimation", value, "0");" to decide
whether play the animation, then who has been set this property value
0 or 1?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dianne Hackborn  
View profile  
 More options Jul 28 2011, 3:08 pm
From: Dianne Hackborn <hack...@android.com>
Date: Thu, 28 Jul 2011 12:08:03 -0700
Local: Thurs, Jul 28 2011 3:08 pm
Subject: Re: power off animation

Why do you want to do this?  There is no facility in the platform for this.
 While shutting down the entire user space UI is running, and it is showing
a shutdown dialog.  At the time the userspace goes down, the device is
essentially off.

I guess you could replace that shutdown dialog with your own window if that
is what you want.

--
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ellen  
View profile  
 More options Jul 28 2011, 10:14 pm
From: Ellen <ellen...@hotmail.com>
Date: Thu, 28 Jul 2011 19:14:53 -0700 (PDT)
Local: Thurs, Jul 28 2011 10:14 pm
Subject: Re: power off animation
yes, exactly! I want to replace the progress dialog with shut down
animation during power off process.
I don't want to make duplicate code, so is there any way to let shut
down process use the bootanim service to play animation?

On 7月29日, 上午3时08分, Dianne Hackborn <hack...@android.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dianne Hackborn  
View profile  
 More options Jul 29 2011, 3:50 am
From: Dianne Hackborn <hack...@android.com>
Date: Fri, 29 Jul 2011 00:50:46 -0700
Local: Fri, Jul 29 2011 3:50 am
Subject: Re: power off animation

No the boot animation is for booting, before the system server and window
manager is up.

2011/7/28 Ellen <ellen...@hotmail.com>

--
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ellen  
View profile  
 More options Jul 29 2011, 4:20 am
From: Ellen <ellen...@hotmail.com>
Date: Fri, 29 Jul 2011 01:20:55 -0700 (PDT)
Local: Fri, Jul 29 2011 4:20 am
Subject: Re: power off animation
But it seems only a service which do not care when will called.
Infact, when I tried to start this service in shut down process. It
worked normally, just the same animation as booting.

"before the system server and window manager is up."
this depend when to start this service, right? seems at
"SurfaceFlinger::readyToRun()".

what I was mean that bootanim is a independent service, when it will
be run depends when to call it.
Maybe I was wrong, I just do not understand why we couldn't use it any
time we want?

So, I need copy the bootanimation's code, give a new service name such
as "shutdownanimation" and use it for power off ?

On 7月29日, 下午3时50分, Dianne Hackborn <hack...@android.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »