| <?xml version="1.0" encoding="UTF-8"?> |
| <Lockscreen screenWidth="1080" frameRate="45" displayDesktop="true" scale="1*#scalescreen" pivotX="#screen_width/2" pivotY="#screen_height/2" alpha="255*#homescreen_action"> |
| |
| <Button x="0" y="0" w="#screen_width" h="#screen_height" /> |
| <ExternalCommands> |
| <Trigger action="resume"> |
| <VariableCommand name="ts" expression="0" /> |
| <VariableCommand name="Sidebar_v" expression="0" /> |
| <VariableCommand name="wallpaper_mask" expression="1" /> |
| <VariableCommand name="slider_xy_flag" expression="0" /> |
| <VariableCommand name="unlocker_flag" expression="0" /> |
| <VariableCommand name="unlocked" expression="0" /> |
| <AnimationCommand target="timemove" command="play(500,1000)" delay="0" condition="eq(#timemove,0)*#blackbg" /> |
| <AnimationCommand target="timemove2" command="play(500,1400)" delay="0" condition="eq(#timemove2,0)*#blackbg" /> |
| <AnimationCommand target="timemove3" command="play(500,1800)" delay="0" condition="eq(#timemove3,0)*#blackbg" /> |
| <AnimationCommand target="timemove" command="play(1000,0)" delay="0" condition="eq(#timemove,0)*not(#blackbg)" /> |
| <AnimationCommand target="timemove2" command="play(1400,0)" delay="0" condition="eq(#timemove2,0)*not(#blackbg)" /> |
| <AnimationCommand target="timemove3" command="play(1800,0)" delay="0" condition="eq(#timemove3,0)*not(#blackbg)" /> |
| <AnimationCommand target="appmove" command="play(800,0)" delay="0" condition="eq(#appmove,0)*not(#blackbg)" /> |
| <AnimationCommand target="appalpha" command="play(0)" delay="0" condition="eq(#appalpha,0)*not(#blackbg)" /> |
| <AnimationCommand target="bzmove" command="play" /> |
| </Trigger> |
| <Trigger action="pause"> |
| <VariableCommand name="Sidebar_v" expression="0" /> |
| <VariableCommand name="suiji_bg" expression="ifelse(not(#Img_ID),round(rand(0)*7+1),#Img_ID)" /> |
| <AnimationCommand target="scale_charge" command="play(200,0)" condition="eq(#charge,1)"/> |
| <AnimationCommand target="chargealpha" command="play(200,0)" condition="eq(#charge,1)"/> |
| <AnimationCommand target="bgalpha" command="play(1800,0)" condition="eq(#blackbg,1)" /> |
| </Trigger> |
| </ExternalCommands> |
| |
| <VariableBinders> |
| <ContentProviderBinder name="data" uri="content://keyguard.notification/notifications" columns="icon,title,content,time,info,subtext,key" countName="hasnotifications"> |
| <Variable name="notification_icon" type="blob.bitmap" column="icon" row="0" /> |
| <Variable name="notification_title" type="string" column="title" row="0" /> |
| <Variable name="notification_content" type="string" column="content" row="0" /> |
| <Variable name="notification_time" type="string" column="time" row="0" /> |
| <Variable name="notification_info" type="string" column="info" row="0" /> |
| <Variable name="notification_subtext" type="string" column="subtext" row="0" /> |
| <Variable name="notification_key" type="int" column="key" row="0" /> |
| <List name="notification_list" /> |
| </ContentProviderBinder> |
| <SensorBinder type="gravity" rate="60"> |
| <Variable name="gravity_x" index="0" /> |
| <Variable name="gravity_y" index="1" /> |
| <Variable name="gravity_z" index="2" /> |
| </SensorBinder> |
| <SensorBinder type="linear_acceleration"> |
| <Variable name="linear_acceleration_x" index="0" /> |
| <Variable name="linear_acceleration_y" index="1" /> |
| <Variable name="linear_acceleration_z" index="2" /> |
| </SensorBinder> |
| <SensorBinder type="linear_acceleration" rate="2"> |
| <Variable name="va_x" index="0" /> |
| <Variable name="va_y" index="1" /> |
| <Variable name="va_z" index="2" /> |
| </SensorBinder> |
| </VariableBinders> |
| |
| |
| <Group visibility="#nfc" > |
| <Var name="shuaidong_judge" expression="#linear_acceleration_x" threshold="8"> |
| <Trigger> |
| <VariableCommand name="shuaidong_num" expression="#shuaidong_num+1" /> |
| </Trigger> |
| </Var> |
| <Var name="shuaidong_num_judge" expression="#shuaidong_num" threshold="3"> |
| <Trigger> |
| <IntentCommand action="com.miui.intent.action.DOUBLE_CLICK" package="com.miui.tsmclient"> |
| <Extra name="event_source" type="string" expression="'key_volume_down'" /> |
| </IntentCommand> |
| </Trigger> |
| </Var> |
| </Group> |
| </Lockscreen>COPY |