Android Programming Press on the image to return to the main documentation page.

ICOSScaleAnimation

Written by Giuseppe Salvi

List of types:

ICOSScaleAnimation

ICOSScaleAnimation


This is an 'Activity Object', it cannot be declared under Sub Process_Globals.

Events:

animationend

Members:


  AutoRepeat

  AutoReverse

  IsInitialized As Boolean

  ScaleCenterIn (EventName As String, Duration As Long)

  ScaleCenterOut (EventName As String, Duration As Long)

  ScaleFromBottom (EventName As String, Duration As Long)

  ScaleFromBottomToTopBack (EventName As String, Duration As Long)

  ScaleFromCenterToLeftRight (EventName As String, Duration As Long)

  ScaleFromCenterToLeftRightBack (EventName As String, Duration As Long)

  ScaleFromCenterToTopBottom (EventName As String, Duration As Long)

  ScaleFromCenterToTopBottomBack (EventName As String, Duration As Long)

  ScaleFromLeft (EventName As String, Duration As Long)

  ScaleFromLeftRightToCenter (EventName As String, Duration As Long)

  ScaleFromLeftToRightBack (EventName As String, Duration As Long)

  ScaleFromRight (EventName As String, Duration As Long)

  ScaleFromRightToLeftBack (EventName As String, Duration As Long)

  ScaleFromTop (EventName As String, Duration As Long)

  ScaleFromTopBottomToCenter (EventName As String, Duration As Long)

  ScaleFromTopToBottomBack (EventName As String, Duration As Long)

  ScaleToBottom (EventName As String, Duration As Long)

  ScaleToLeft (EventName As String, Duration As Long)

  ScaleToRight (EventName As String, Duration As Long)

  ScaleToTop (EventName As String, Duration As Long)

  StartAnim (view As android.view.View)

  StartAnimAtTime As Long  [write only]

  StopAnin (view As android.view.View)

  Version As Double  [read only]

Members description:

AutoRepeat
Set repeat infinity automatically
AutoReverse
Set reverse automatically
IsInitialized As Boolean
ScaleCenterIn (EventName As String, Duration As Long)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim b1 As Button

Sub b1_Click
anim.ScaleCenterIn("anim",2000)
anim.StartAnim(ImageView1)
End Sub
ScaleCenterOut (EventName As String, Duration As Long)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim b1 As Button

Sub b1_Click
anim.ScaleCenterOut("anim",2000)
anim.StartAnim(ImageView1)
End Sub
ScaleFromBottom (EventName As String, Duration As Long)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim b1 As Button

Sub b1_Click
anim.ScaleFromBottom("anim",2000)
anim.StartAnim(ImageView1)
End Sub
ScaleFromBottomToTopBack (EventName As String, Duration As Long)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim b1 As Button

Sub b1_Click
anim.ScaleFromBottomToTopBack("anim",2000)
anim.StartAnim(ImageView1)
End Sub
ScaleFromCenterToLeftRight (EventName As String, Duration As Long)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim b1 As Button

Sub b1_Click
anim.ScaleFromCenterToLeftRight("anim",2000)
anim.StartAnim(ImageView1)
End Sub
ScaleFromCenterToLeftRightBack (EventName As String, Duration As Long)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim b1 As Button

Sub b1_Click
anim.ScaleFromCenterToLeftRightBack("anim",2000)
anim.StartAnim(ImageView1)
End Sub
ScaleFromCenterToTopBottom (EventName As String, Duration As Long)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim b1 As Button

Sub b1_Click
anim.ScaleFromCenterToTopBottom("anim",2000)
anim.StartAnim(ImageView1)
End Sub
ScaleFromCenterToTopBottomBack (EventName As String, Duration As Long)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim b1 As Button

Sub b1_Click
anim.ScaleFromCenterToTopBottomBack("anim",2000)
anim.StartAnim(ImageView1)
End Sub
ScaleFromLeft (EventName As String, Duration As Long)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim b1 As Button

Sub b1_Click
anim.ScaleFromLeft("anim",2000)
anim.StartAnim(ImageView1)
End Sub
ScaleFromLeftRightToCenter (EventName As String, Duration As Long)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim b1 As Button

Sub b1_Click
anim.ScaleFromLeftRightToCenter("anim",2000)
anim.StartAnim(ImageView1)
End Sub
ScaleFromLeftToRightBack (EventName As String, Duration As Long)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim b1 As Button

Sub b1_Click
anim.ScaleFromLeftToRightBack("anim",2000)
anim.StartAnim(ImageView1)
End Sub
ScaleFromRight (EventName As String, Duration As Long)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim b1 As Button

Sub b1_Click
anim.ScaleFromRight("anim",2000)
anim.StartAnim(ImageView1)
End Sub
ScaleFromRightToLeftBack (EventName As String, Duration As Long)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim b1 As Button

Sub b1_Click
anim.ScaleFromRightToLeftBack("anim",2000)
anim.StartAnim(ImageView1)
End Sub
ScaleFromTop (EventName As String, Duration As Long)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim b1 As Button

Sub b1_Click
anim.ScaleFromTop("anim",2000)
anim.StartAnim(ImageView1)
End Sub
ScaleFromTopBottomToCenter (EventName As String, Duration As Long)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim b1 As Button

Sub b1_Click
anim.ScaleFromTopBottomToCenter("anim",2000)
anim.StartAnim(ImageView1)
End Sub
ScaleFromTopToBottomBack (EventName As String, Duration As Long)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim b1 As Button

Sub b1_Click
anim.ScaleFromTopToBottomBack("anim",2000)
anim.StartAnim(ImageView1)
End Sub
ScaleToBottom (EventName As String, Duration As Long)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim b1 As Button

Sub b1_Click
anim.ScaleToBottom("anim",2000)
anim.StartAnim(ImageView1)
End Sub
ScaleToLeft (EventName As String, Duration As Long)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim b1 As Button

Sub b1_Click
anim.ScaleToLeft("anim",2000)
anim.StartAnim(ImageView1)
End Sub
ScaleToRight (EventName As String, Duration As Long)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim b1 As Button

Sub b1_Click
anim.ScaleToRight("anim",2000)
anim.StartAnim(ImageView1)
End Sub
ScaleToTop (EventName As String, Duration As Long)
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim b1 As Button

Sub b1_Click
anim.ScaleToTop("anim",2000)
anim.StartAnim(ImageView1)
End Sub
StartAnim (view As android.view.View)
anim.StartAnim -- ( Not for titlebar )
StartAnimAtTime As Long  [write only]
Example:
Dim anim As ICOSAnimation
Dim ImageView1 As ImageView
Dim b1 As Button

Sub b1_Click
anim.StartAnimAtTime=5000 The Animation Will start after 5 seconds
anim.FadeOut(2000)
anim.StartAnim(ImageView1)
End Sub
StopAnin (view As android.view.View)
Stop the animation
Version As Double  [read only]
Return the version of this library
Top