Documentation
¶
Overview ¶
Package drawable provides Go bindings for android.graphics.drawable.
Index ¶
- Constants
- func Init(env *jni.Env) error
- type AdaptiveIconDrawable
- func (m *AdaptiveIconDrawable) ApplyTheme(arg0 *jni.Object) error
- func (m *AdaptiveIconDrawable) CanApplyTheme() (bool, error)
- func (m *AdaptiveIconDrawable) Draw(arg0 *jni.Object) error
- func (m *AdaptiveIconDrawable) GetAlpha() (int32, error)
- func (m *AdaptiveIconDrawable) GetBackground() (*jni.Object, error)
- func (m *AdaptiveIconDrawable) GetChangingConfigurations() (int32, error)
- func (m *AdaptiveIconDrawable) GetConstantState() (*jni.Object, error)
- func (m *AdaptiveIconDrawable) GetExtraInsetFraction() (float32, error)
- func (m *AdaptiveIconDrawable) GetForeground() (*jni.Object, error)
- func (m *AdaptiveIconDrawable) GetHotspotBounds(arg0 *jni.Object) error
- func (m *AdaptiveIconDrawable) GetIconMask() (*jni.Object, error)
- func (m *AdaptiveIconDrawable) GetIntrinsicHeight() (int32, error)
- func (m *AdaptiveIconDrawable) GetIntrinsicWidth() (int32, error)
- func (m *AdaptiveIconDrawable) GetMonochrome() (*jni.Object, error)
- func (m *AdaptiveIconDrawable) GetOpacity() (int32, error)
- func (m *AdaptiveIconDrawable) GetOutline(arg0 *jni.Object) error
- func (m *AdaptiveIconDrawable) GetTransparentRegion() (*jni.Object, error)
- func (m *AdaptiveIconDrawable) HasFocusStateSpecified() (bool, error)
- func (m *AdaptiveIconDrawable) Inflate(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object) error
- func (m *AdaptiveIconDrawable) InvalidateDrawable(arg0 *jni.Object) error
- func (m *AdaptiveIconDrawable) InvalidateSelf() error
- func (m *AdaptiveIconDrawable) IsAutoMirrored() (bool, error)
- func (m *AdaptiveIconDrawable) IsProjected() (bool, error)
- func (m *AdaptiveIconDrawable) IsStateful() (bool, error)
- func (m *AdaptiveIconDrawable) JumpToCurrentState() error
- func (m *AdaptiveIconDrawable) Mutate() (*jni.Object, error)
- func (m *AdaptiveIconDrawable) ScheduleDrawable(arg0 *jni.Object, arg1 *jni.Object, arg2 int64) error
- func (m *AdaptiveIconDrawable) SetAlpha(arg0 int32) error
- func (m *AdaptiveIconDrawable) SetAutoMirrored(arg0 bool) error
- func (m *AdaptiveIconDrawable) SetColorFilter(arg0 *jni.Object) error
- func (m *AdaptiveIconDrawable) SetDither(arg0 bool) error
- func (m *AdaptiveIconDrawable) SetHotspot(arg0 float32, arg1 float32) error
- func (m *AdaptiveIconDrawable) SetHotspotBounds(arg0 int32, arg1 int32, arg2 int32, arg3 int32) error
- func (m *AdaptiveIconDrawable) SetOpacity(arg0 int32) error
- func (m *AdaptiveIconDrawable) SetTintBlendMode(arg0 *jni.Object) error
- func (m *AdaptiveIconDrawable) SetTintList(arg0 *jni.Object) error
- func (m *AdaptiveIconDrawable) SetVisible(arg0 bool, arg1 bool) (bool, error)
- func (m *AdaptiveIconDrawable) ToString() (string, error)
- func (m *AdaptiveIconDrawable) UnscheduleDrawable(arg0 *jni.Object, arg1 *jni.Object) error
- type Animatable
- type Animatable2
- type Animatable2AnimationCallback
- type AnimatedImageDrawable
- func (m *AnimatedImageDrawable) ClearAnimationCallbacks() error
- func (m *AnimatedImageDrawable) Draw(arg0 *jni.Object) error
- func (m *AnimatedImageDrawable) GetAlpha() (int32, error)
- func (m *AnimatedImageDrawable) GetColorFilter() (*jni.Object, error)
- func (m *AnimatedImageDrawable) GetIntrinsicHeight() (int32, error)
- func (m *AnimatedImageDrawable) GetIntrinsicWidth() (int32, error)
- func (m *AnimatedImageDrawable) GetOpacity() (int32, error)
- func (m *AnimatedImageDrawable) GetRepeatCount() (int32, error)
- func (m *AnimatedImageDrawable) Inflate(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object) error
- func (m *AnimatedImageDrawable) IsAutoMirrored() (bool, error)
- func (m *AnimatedImageDrawable) IsFilterBitmap() (bool, error)
- func (m *AnimatedImageDrawable) IsRunning() (bool, error)
- func (m *AnimatedImageDrawable) OnLayoutDirectionChanged(arg0 int32) (bool, error)
- func (m *AnimatedImageDrawable) RegisterAnimationCallback(arg0 *jni.Object) error
- func (m *AnimatedImageDrawable) SetAlpha(arg0 int32) error
- func (m *AnimatedImageDrawable) SetAutoMirrored(arg0 bool) error
- func (m *AnimatedImageDrawable) SetColorFilter(arg0 *jni.Object) error
- func (m *AnimatedImageDrawable) SetFilterBitmap(arg0 bool) error
- func (m *AnimatedImageDrawable) SetRepeatCount(arg0 int32) error
- func (m *AnimatedImageDrawable) Start() error
- func (m *AnimatedImageDrawable) Stop() error
- func (m *AnimatedImageDrawable) ToString() (string, error)
- func (m *AnimatedImageDrawable) UnregisterAnimationCallback(arg0 *jni.Object) (bool, error)
- type AnimatedStateListDrawable
- func (m *AnimatedStateListDrawable) AddState(arg0 *jni.Object, arg1 *jni.Object, arg2 int32) error
- func (m *AnimatedStateListDrawable) ApplyTheme(arg0 *jni.Object) error
- func (m *AnimatedStateListDrawable) Inflate(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object) error
- func (m *AnimatedStateListDrawable) IsStateful() (bool, error)
- func (m *AnimatedStateListDrawable) JumpToCurrentState() error
- func (m *AnimatedStateListDrawable) Mutate() (*jni.Object, error)
- func (m *AnimatedStateListDrawable) SetVisible(arg0 bool, arg1 bool) (bool, error)
- func (m *AnimatedStateListDrawable) ToString() (string, error)
- type AnimatedVectorDrawable
- func (m *AnimatedVectorDrawable) ApplyTheme(arg0 *jni.Object) error
- func (m *AnimatedVectorDrawable) CanApplyTheme() (bool, error)
- func (m *AnimatedVectorDrawable) ClearAnimationCallbacks() error
- func (m *AnimatedVectorDrawable) Draw(arg0 *jni.Object) error
- func (m *AnimatedVectorDrawable) GetAlpha() (int32, error)
- func (m *AnimatedVectorDrawable) GetChangingConfigurations() (int32, error)
- func (m *AnimatedVectorDrawable) GetColorFilter() (*jni.Object, error)
- func (m *AnimatedVectorDrawable) GetConstantState() (*jni.Object, error)
- func (m *AnimatedVectorDrawable) GetIntrinsicHeight() (int32, error)
- func (m *AnimatedVectorDrawable) GetIntrinsicWidth() (int32, error)
- func (m *AnimatedVectorDrawable) GetOpacity() (int32, error)
- func (m *AnimatedVectorDrawable) GetOpticalInsets() (*jni.Object, error)
- func (m *AnimatedVectorDrawable) GetOutline(arg0 *jni.Object) error
- func (m *AnimatedVectorDrawable) Inflate(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object) error
- func (m *AnimatedVectorDrawable) IsRunning() (bool, error)
- func (m *AnimatedVectorDrawable) IsStateful() (bool, error)
- func (m *AnimatedVectorDrawable) Mutate() (*jni.Object, error)
- func (m *AnimatedVectorDrawable) OnLayoutDirectionChanged(arg0 int32) (bool, error)
- func (m *AnimatedVectorDrawable) RegisterAnimationCallback(arg0 *jni.Object) error
- func (m *AnimatedVectorDrawable) Reset() error
- func (m *AnimatedVectorDrawable) SetAlpha(arg0 int32) error
- func (m *AnimatedVectorDrawable) SetColorFilter(arg0 *jni.Object) error
- func (m *AnimatedVectorDrawable) SetHotspot(arg0 float32, arg1 float32) error
- func (m *AnimatedVectorDrawable) SetHotspotBounds(arg0 int32, arg1 int32, arg2 int32, arg3 int32) error
- func (m *AnimatedVectorDrawable) SetTintBlendMode(arg0 *jni.Object) error
- func (m *AnimatedVectorDrawable) SetTintList(arg0 *jni.Object) error
- func (m *AnimatedVectorDrawable) SetVisible(arg0 bool, arg1 bool) (bool, error)
- func (m *AnimatedVectorDrawable) Start() error
- func (m *AnimatedVectorDrawable) Stop() error
- func (m *AnimatedVectorDrawable) ToString() (string, error)
- func (m *AnimatedVectorDrawable) UnregisterAnimationCallback(arg0 *jni.Object) (bool, error)
- type AnimationDrawable
- func (m *AnimationDrawable) AddFrame(arg0 *jni.Object, arg1 int32) error
- func (m *AnimationDrawable) GetDuration(arg0 int32) (int32, error)
- func (m *AnimationDrawable) GetFrame(arg0 int32) (*jni.Object, error)
- func (m *AnimationDrawable) GetNumberOfFrames() (int32, error)
- func (m *AnimationDrawable) Inflate(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object) error
- func (m *AnimationDrawable) IsOneShot() (bool, error)
- func (m *AnimationDrawable) IsRunning() (bool, error)
- func (m *AnimationDrawable) Mutate() (*jni.Object, error)
- func (m *AnimationDrawable) Run() error
- func (m *AnimationDrawable) SetOneShot(arg0 bool) error
- func (m *AnimationDrawable) SetVisible(arg0 bool, arg1 bool) (bool, error)
- func (m *AnimationDrawable) Start() error
- func (m *AnimationDrawable) Stop() error
- func (m *AnimationDrawable) ToString() (string, error)
- func (m *AnimationDrawable) UnscheduleSelf(arg0 *jni.Object) error
- type BitmapDrawable
- func (m *BitmapDrawable) ApplyTheme(arg0 *jni.Object) error
- func (m *BitmapDrawable) CanApplyTheme() (bool, error)
- func (m *BitmapDrawable) Draw(arg0 *jni.Object) error
- func (m *BitmapDrawable) GetAlpha() (int32, error)
- func (m *BitmapDrawable) GetBitmap() (*jni.Object, error)
- func (m *BitmapDrawable) GetChangingConfigurations() (int32, error)
- func (m *BitmapDrawable) GetColorFilter() (*jni.Object, error)
- func (m *BitmapDrawable) GetConstantState() (*jni.Object, error)
- func (m *BitmapDrawable) GetGravity() (int32, error)
- func (m *BitmapDrawable) GetIntrinsicHeight() (int32, error)
- func (m *BitmapDrawable) GetIntrinsicWidth() (int32, error)
- func (m *BitmapDrawable) GetOpacity() (int32, error)
- func (m *BitmapDrawable) GetOpticalInsets() (*jni.Object, error)
- func (m *BitmapDrawable) GetOutline(arg0 *jni.Object) error
- func (m *BitmapDrawable) GetPaint() (*jni.Object, error)
- func (m *BitmapDrawable) GetTileModeX() (*jni.Object, error)
- func (m *BitmapDrawable) GetTileModeY() (*jni.Object, error)
- func (m *BitmapDrawable) HasAntiAlias() (bool, error)
- func (m *BitmapDrawable) HasFocusStateSpecified() (bool, error)
- func (m *BitmapDrawable) HasMipMap() (bool, error)
- func (m *BitmapDrawable) Inflate(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object) error
- func (m *BitmapDrawable) IsAutoMirrored() (bool, error)
- func (m *BitmapDrawable) IsFilterBitmap() (bool, error)
- func (m *BitmapDrawable) IsStateful() (bool, error)
- func (m *BitmapDrawable) Mutate() (*jni.Object, error)
- func (m *BitmapDrawable) SetAlpha(arg0 int32) error
- func (m *BitmapDrawable) SetAntiAlias(arg0 bool) error
- func (m *BitmapDrawable) SetAutoMirrored(arg0 bool) error
- func (m *BitmapDrawable) SetBitmap(arg0 *jni.Object) error
- func (m *BitmapDrawable) SetColorFilter(arg0 *jni.Object) error
- func (m *BitmapDrawable) SetDither(arg0 bool) error
- func (m *BitmapDrawable) SetFilterBitmap(arg0 bool) error
- func (m *BitmapDrawable) SetGravity(arg0 int32) error
- func (m *BitmapDrawable) SetMipMap(arg0 bool) error
- func (m *BitmapDrawable) SetTargetDensity1(arg0 *jni.Object) error
- func (m *BitmapDrawable) SetTargetDensity1_1(arg0 *jni.Object) error
- func (m *BitmapDrawable) SetTargetDensity1_2(arg0 int32) error
- func (m *BitmapDrawable) SetTileModeX(arg0 *jni.Object) error
- func (m *BitmapDrawable) SetTileModeXY(arg0 *jni.Object, arg1 *jni.Object) error
- func (m *BitmapDrawable) SetTileModeY(arg0 *jni.Object) error
- func (m *BitmapDrawable) SetTintBlendMode(arg0 *jni.Object) error
- func (m *BitmapDrawable) SetTintList(arg0 *jni.Object) error
- func (m *BitmapDrawable) ToString() (string, error)
- type Callback
- type ClipDrawable
- func (m *ClipDrawable) ApplyTheme(arg0 *jni.Object) error
- func (m *ClipDrawable) Draw(arg0 *jni.Object) error
- func (m *ClipDrawable) GetOpacity() (int32, error)
- func (m *ClipDrawable) Inflate(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object) error
- func (m *ClipDrawable) ToString() (string, error)
- type ColorDrawable
- func (m *ColorDrawable) ApplyTheme(arg0 *jni.Object) error
- func (m *ColorDrawable) CanApplyTheme() (bool, error)
- func (m *ColorDrawable) Draw(arg0 *jni.Object) error
- func (m *ColorDrawable) GetAlpha() (int32, error)
- func (m *ColorDrawable) GetChangingConfigurations() (int32, error)
- func (m *ColorDrawable) GetColor() (int32, error)
- func (m *ColorDrawable) GetColorFilter() (*jni.Object, error)
- func (m *ColorDrawable) GetConstantState() (*jni.Object, error)
- func (m *ColorDrawable) GetOpacity() (int32, error)
- func (m *ColorDrawable) GetOutline(arg0 *jni.Object) error
- func (m *ColorDrawable) HasFocusStateSpecified() (bool, error)
- func (m *ColorDrawable) Inflate(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object) error
- func (m *ColorDrawable) IsStateful() (bool, error)
- func (m *ColorDrawable) Mutate() (*jni.Object, error)
- func (m *ColorDrawable) SetAlpha(arg0 int32) error
- func (m *ColorDrawable) SetColor(arg0 int32) error
- func (m *ColorDrawable) SetColorFilter(arg0 *jni.Object) error
- func (m *ColorDrawable) SetTintBlendMode(arg0 *jni.Object) error
- func (m *ColorDrawable) SetTintList(arg0 *jni.Object) error
- func (m *ColorDrawable) ToString() (string, error)
- type ColorStateListDrawable
- func (m *ColorStateListDrawable) ApplyTheme(arg0 *jni.Object) error
- func (m *ColorStateListDrawable) CanApplyTheme() (bool, error)
- func (m *ColorStateListDrawable) ClearAlpha() error
- func (m *ColorStateListDrawable) Draw(arg0 *jni.Object) error
- func (m *ColorStateListDrawable) GetAlpha() (int32, error)
- func (m *ColorStateListDrawable) GetChangingConfigurations() (int32, error)
- func (m *ColorStateListDrawable) GetColorFilter() (*jni.Object, error)
- func (m *ColorStateListDrawable) GetColorStateList() (*jni.Object, error)
- func (m *ColorStateListDrawable) GetConstantState() (*jni.Object, error)
- func (m *ColorStateListDrawable) GetCurrent() (*jni.Object, error)
- func (m *ColorStateListDrawable) GetOpacity() (int32, error)
- func (m *ColorStateListDrawable) HasFocusStateSpecified() (bool, error)
- func (m *ColorStateListDrawable) InvalidateDrawable(arg0 *jni.Object) error
- func (m *ColorStateListDrawable) IsStateful() (bool, error)
- func (m *ColorStateListDrawable) Mutate() (*jni.Object, error)
- func (m *ColorStateListDrawable) ScheduleDrawable(arg0 *jni.Object, arg1 *jni.Object, arg2 int64) error
- func (m *ColorStateListDrawable) SetAlpha(arg0 int32) error
- func (m *ColorStateListDrawable) SetColorFilter(arg0 *jni.Object) error
- func (m *ColorStateListDrawable) SetColorStateList(arg0 *jni.Object) error
- func (m *ColorStateListDrawable) SetTintBlendMode(arg0 *jni.Object) error
- func (m *ColorStateListDrawable) SetTintList(arg0 *jni.Object) error
- func (m *ColorStateListDrawable) ToString() (string, error)
- func (m *ColorStateListDrawable) UnscheduleDrawable(arg0 *jni.Object, arg1 *jni.Object) error
- type ConstantState
- func (m *ConstantState) CanApplyTheme() (bool, error)
- func (m *ConstantState) GetChangingConfigurations() (int32, error)
- func (m *ConstantState) NewDrawable0() (*jni.Object, error)
- func (m *ConstantState) NewDrawable1_1(arg0 *jni.Object) (*jni.Object, error)
- func (m *ConstantState) NewDrawable2_2(arg0 *jni.Object, arg1 *jni.Object) (*jni.Object, error)
- func (m *ConstantState) ToString() (string, error)
- type Container
- func (m *Container) ApplyTheme(arg0 *jni.Object) error
- func (m *Container) CanApplyTheme() (bool, error)
- func (m *Container) Draw(arg0 *jni.Object) error
- func (m *Container) GetAlpha() (int32, error)
- func (m *Container) GetChangingConfigurations() (int32, error)
- func (m *Container) GetConstantState() (*jni.Object, error)
- func (m *Container) GetCurrent() (*jni.Object, error)
- func (m *Container) GetHotspotBounds(arg0 *jni.Object) error
- func (m *Container) GetIntrinsicHeight() (int32, error)
- func (m *Container) GetIntrinsicWidth() (int32, error)
- func (m *Container) GetMinimumHeight() (int32, error)
- func (m *Container) GetMinimumWidth() (int32, error)
- func (m *Container) GetOpacity() (int32, error)
- func (m *Container) GetOpticalInsets() (*jni.Object, error)
- func (m *Container) GetOutline(arg0 *jni.Object) error
- func (m *Container) GetPadding(arg0 *jni.Object) (bool, error)
- func (m *Container) HasFocusStateSpecified() (bool, error)
- func (m *Container) InvalidateDrawable(arg0 *jni.Object) error
- func (m *Container) IsAutoMirrored() (bool, error)
- func (m *Container) IsStateful() (bool, error)
- func (m *Container) JumpToCurrentState() error
- func (m *Container) Mutate() (*jni.Object, error)
- func (m *Container) OnLayoutDirectionChanged(arg0 int32) (bool, error)
- func (m *Container) ScheduleDrawable(arg0 *jni.Object, arg1 *jni.Object, arg2 int64) error
- func (m *Container) SelectDrawable(arg0 int32) (bool, error)
- func (m *Container) SetAlpha(arg0 int32) error
- func (m *Container) SetAutoMirrored(arg0 bool) error
- func (m *Container) SetColorFilter(arg0 *jni.Object) error
- func (m *Container) SetDither(arg0 bool) error
- func (m *Container) SetEnterFadeDuration(arg0 int32) error
- func (m *Container) SetExitFadeDuration(arg0 int32) error
- func (m *Container) SetHotspot(arg0 float32, arg1 float32) error
- func (m *Container) SetHotspotBounds(arg0 int32, arg1 int32, arg2 int32, arg3 int32) error
- func (m *Container) SetTintBlendMode(arg0 *jni.Object) error
- func (m *Container) SetTintList(arg0 *jni.Object) error
- func (m *Container) SetVisible(arg0 bool, arg1 bool) (bool, error)
- func (m *Container) ToString() (string, error)
- func (m *Container) UnscheduleDrawable(arg0 *jni.Object, arg1 *jni.Object) error
- type ContainerDrawableContainerState
- func (m *ContainerDrawableContainerState) AddChild(arg0 *jni.Object) (int32, error)
- func (m *ContainerDrawableContainerState) CanApplyTheme() (bool, error)
- func (m *ContainerDrawableContainerState) GetChangingConfigurations() (int32, error)
- func (m *ContainerDrawableContainerState) GetChild(arg0 int32) (*jni.Object, error)
- func (m *ContainerDrawableContainerState) GetChildCount() (int32, error)
- func (m *ContainerDrawableContainerState) GetChildren() (*jni.Object, error)
- func (m *ContainerDrawableContainerState) GetConstantHeight() (int32, error)
- func (m *ContainerDrawableContainerState) GetConstantMinimumHeight() (int32, error)
- func (m *ContainerDrawableContainerState) GetConstantMinimumWidth() (int32, error)
- func (m *ContainerDrawableContainerState) GetConstantPadding() (*jni.Object, error)
- func (m *ContainerDrawableContainerState) GetConstantWidth() (int32, error)
- func (m *ContainerDrawableContainerState) GetEnterFadeDuration() (int32, error)
- func (m *ContainerDrawableContainerState) GetExitFadeDuration() (int32, error)
- func (m *ContainerDrawableContainerState) GetOpacity() (int32, error)
- func (m *ContainerDrawableContainerState) GrowArray(arg0 int32, arg1 int32) error
- func (m *ContainerDrawableContainerState) IsConstantSize() (bool, error)
- func (m *ContainerDrawableContainerState) IsStateful() (bool, error)
- func (m *ContainerDrawableContainerState) SetConstantSize(arg0 bool) error
- func (m *ContainerDrawableContainerState) SetEnterFadeDuration(arg0 int32) error
- func (m *ContainerDrawableContainerState) SetExitFadeDuration(arg0 int32) error
- func (m *ContainerDrawableContainerState) SetVariablePadding(arg0 bool) error
- func (m *ContainerDrawableContainerState) ToString() (string, error)
- type Drawable
- func (m *Drawable) ApplyTheme(arg0 *jni.Object) error
- func (m *Drawable) CanApplyTheme() (bool, error)
- func (m *Drawable) ClearColorFilter() error
- func (m *Drawable) CopyBounds0() (*jni.Object, error)
- func (m *Drawable) CopyBounds1_1(arg0 *jni.Object) error
- func (m *Drawable) CreateFromPath(arg0 string) (*jni.Object, error)
- func (m *Drawable) CreateFromResourceStream4(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 string) (*jni.Object, error)
- func (m *Drawable) CreateFromResourceStream5_1(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 string, ...) (*jni.Object, error)
- func (m *Drawable) CreateFromStream(arg0 *jni.Object, arg1 string) (*jni.Object, error)
- func (m *Drawable) CreateFromXml2(arg0 *jni.Object, arg1 *jni.Object) (*jni.Object, error)
- func (m *Drawable) CreateFromXml3_1(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object) (*jni.Object, error)
- func (m *Drawable) CreateFromXmlInner3(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object) (*jni.Object, error)
- func (m *Drawable) CreateFromXmlInner4_1(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object) (*jni.Object, error)
- func (m *Drawable) Draw(arg0 *jni.Object) error
- func (m *Drawable) GetAlpha() (int32, error)
- func (m *Drawable) GetBounds() (*jni.Object, error)
- func (m *Drawable) GetCallback() (*jni.Object, error)
- func (m *Drawable) GetChangingConfigurations() (int32, error)
- func (m *Drawable) GetColorFilter() (*jni.Object, error)
- func (m *Drawable) GetConstantState() (*jni.Object, error)
- func (m *Drawable) GetCurrent() (*jni.Object, error)
- func (m *Drawable) GetDirtyBounds() (*jni.Object, error)
- func (m *Drawable) GetHotspotBounds(arg0 *jni.Object) error
- func (m *Drawable) GetIntrinsicHeight() (int32, error)
- func (m *Drawable) GetIntrinsicWidth() (int32, error)
- func (m *Drawable) GetLayoutDirection() (int32, error)
- func (m *Drawable) GetLevel() (int32, error)
- func (m *Drawable) GetMinimumHeight() (int32, error)
- func (m *Drawable) GetMinimumWidth() (int32, error)
- func (m *Drawable) GetOpacity() (int32, error)
- func (m *Drawable) GetOpticalInsets() (*jni.Object, error)
- func (m *Drawable) GetOutline(arg0 *jni.Object) error
- func (m *Drawable) GetPadding(arg0 *jni.Object) (bool, error)
- func (m *Drawable) GetState() (*jni.Object, error)
- func (m *Drawable) GetTransparentRegion() (*jni.Object, error)
- func (m *Drawable) HasFocusStateSpecified() (bool, error)
- func (m *Drawable) Inflate3(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object) error
- func (m *Drawable) Inflate4_1(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object) error
- func (m *Drawable) InvalidateSelf() error
- func (m *Drawable) IsAutoMirrored() (bool, error)
- func (m *Drawable) IsFilterBitmap() (bool, error)
- func (m *Drawable) IsProjected() (bool, error)
- func (m *Drawable) IsStateful() (bool, error)
- func (m *Drawable) IsVisible() (bool, error)
- func (m *Drawable) JumpToCurrentState() error
- func (m *Drawable) Mutate() (*jni.Object, error)
- func (m *Drawable) OnLayoutDirectionChanged(arg0 int32) (bool, error)
- func (m *Drawable) ResolveOpacity(arg0 int32, arg1 int32) (int32, error)
- func (m *Drawable) ScheduleSelf(arg0 *jni.Object, arg1 int64) error
- func (m *Drawable) SetAlpha(arg0 int32) error
- func (m *Drawable) SetAutoMirrored(arg0 bool) error
- func (m *Drawable) SetBounds1(arg0 *jni.Object) error
- func (m *Drawable) SetBounds4_1(arg0 int32, arg1 int32, arg2 int32, arg3 int32) error
- func (m *Drawable) SetCallback(arg0 *jni.Object) error
- func (m *Drawable) SetChangingConfigurations(arg0 int32) error
- func (m *Drawable) SetColorFilter1(arg0 *jni.Object) error
- func (m *Drawable) SetColorFilter2_1(arg0 int32, arg1 *jni.Object) error
- func (m *Drawable) SetDither(arg0 bool) error
- func (m *Drawable) SetFilterBitmap(arg0 bool) error
- func (m *Drawable) SetHotspot(arg0 float32, arg1 float32) error
- func (m *Drawable) SetHotspotBounds(arg0 int32, arg1 int32, arg2 int32, arg3 int32) error
- func (m *Drawable) SetLayoutDirection(arg0 int32) (bool, error)
- func (m *Drawable) SetLevel(arg0 int32) (bool, error)
- func (m *Drawable) SetState(arg0 *jni.Object) (bool, error)
- func (m *Drawable) SetTint(arg0 int32) error
- func (m *Drawable) SetTintBlendMode(arg0 *jni.Object) error
- func (m *Drawable) SetTintList(arg0 *jni.Object) error
- func (m *Drawable) SetTintMode(arg0 *jni.Object) error
- func (m *Drawable) SetVisible(arg0 bool, arg1 bool) (bool, error)
- func (m *Drawable) ToString() (string, error)
- func (m *Drawable) UnscheduleSelf(arg0 *jni.Object) error
- type GradientDrawable
- func (m *GradientDrawable) ApplyTheme(arg0 *jni.Object) error
- func (m *GradientDrawable) CanApplyTheme() (bool, error)
- func (m *GradientDrawable) Draw(arg0 *jni.Object) error
- func (m *GradientDrawable) GetAlpha() (int32, error)
- func (m *GradientDrawable) GetChangingConfigurations() (int32, error)
- func (m *GradientDrawable) GetColor() (*jni.Object, error)
- func (m *GradientDrawable) GetColorFilter() (*jni.Object, error)
- func (m *GradientDrawable) GetColors() (*jni.Object, error)
- func (m *GradientDrawable) GetConstantState() (*jni.Object, error)
- func (m *GradientDrawable) GetCornerRadii() (*jni.Object, error)
- func (m *GradientDrawable) GetCornerRadius() (float32, error)
- func (m *GradientDrawable) GetGradientCenterX() (float32, error)
- func (m *GradientDrawable) GetGradientCenterY() (float32, error)
- func (m *GradientDrawable) GetGradientRadius() (float32, error)
- func (m *GradientDrawable) GetGradientType() (int32, error)
- func (m *GradientDrawable) GetInnerRadius() (int32, error)
- func (m *GradientDrawable) GetInnerRadiusRatio() (float32, error)
- func (m *GradientDrawable) GetIntrinsicHeight() (int32, error)
- func (m *GradientDrawable) GetIntrinsicWidth() (int32, error)
- func (m *GradientDrawable) GetOpacity() (int32, error)
- func (m *GradientDrawable) GetOpticalInsets() (*jni.Object, error)
- func (m *GradientDrawable) GetOrientation() (*jni.Object, error)
- func (m *GradientDrawable) GetOutline(arg0 *jni.Object) error
- func (m *GradientDrawable) GetPadding(arg0 *jni.Object) (bool, error)
- func (m *GradientDrawable) GetShape() (int32, error)
- func (m *GradientDrawable) GetThickness() (int32, error)
- func (m *GradientDrawable) GetThicknessRatio() (float32, error)
- func (m *GradientDrawable) GetUseLevel() (bool, error)
- func (m *GradientDrawable) HasFocusStateSpecified() (bool, error)
- func (m *GradientDrawable) Inflate(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object) error
- func (m *GradientDrawable) IsStateful() (bool, error)
- func (m *GradientDrawable) Mutate() (*jni.Object, error)
- func (m *GradientDrawable) SetAlpha(arg0 int32) error
- func (m *GradientDrawable) SetColor1(arg0 *jni.Object) error
- func (m *GradientDrawable) SetColor1_1(arg0 int32) error
- func (m *GradientDrawable) SetColorFilter(arg0 *jni.Object) error
- func (m *GradientDrawable) SetColors1(arg0 *jni.Object) error
- func (m *GradientDrawable) SetColors2_1(arg0 *jni.Object, arg1 *jni.Object) error
- func (m *GradientDrawable) SetCornerRadii(arg0 *jni.Object) error
- func (m *GradientDrawable) SetCornerRadius(arg0 float32) error
- func (m *GradientDrawable) SetDither(arg0 bool) error
- func (m *GradientDrawable) SetGradientCenter(arg0 float32, arg1 float32) error
- func (m *GradientDrawable) SetGradientRadius(arg0 float32) error
- func (m *GradientDrawable) SetGradientType(arg0 int32) error
- func (m *GradientDrawable) SetInnerRadius(arg0 int32) error
- func (m *GradientDrawable) SetInnerRadiusRatio(arg0 float32) error
- func (m *GradientDrawable) SetOrientation(arg0 *jni.Object) error
- func (m *GradientDrawable) SetPadding(arg0 int32, arg1 int32, arg2 int32, arg3 int32) error
- func (m *GradientDrawable) SetShape(arg0 int32) error
- func (m *GradientDrawable) SetSize(arg0 int32, arg1 int32) error
- func (m *GradientDrawable) SetStroke2(arg0 int32, arg1 *jni.Object) error
- func (m *GradientDrawable) SetStroke2_2(arg0 int32, arg1 int32) error
- func (m *GradientDrawable) SetStroke4_1(arg0 int32, arg1 *jni.Object, arg2 float32, arg3 float32) error
- func (m *GradientDrawable) SetStroke4_3(arg0 int32, arg1 int32, arg2 float32, arg3 float32) error
- func (m *GradientDrawable) SetThickness(arg0 int32) error
- func (m *GradientDrawable) SetThicknessRatio(arg0 float32) error
- func (m *GradientDrawable) SetTintBlendMode(arg0 *jni.Object) error
- func (m *GradientDrawable) SetTintList(arg0 *jni.Object) error
- func (m *GradientDrawable) SetUseLevel(arg0 bool) error
- func (m *GradientDrawable) ToString() (string, error)
- type GradientDrawableOrientation
- type Icon
- func (m *Icon) CreateWithAdaptiveBitmap(arg0 *jni.Object) (*jni.Object, error)
- func (m *Icon) CreateWithAdaptiveBitmapContentUri1(arg0 *jni.Object) (*jni.Object, error)
- func (m *Icon) CreateWithAdaptiveBitmapContentUri1_1(arg0 string) (*jni.Object, error)
- func (m *Icon) CreateWithBitmap(arg0 *jni.Object) (*jni.Object, error)
- func (m *Icon) CreateWithContentUri1(arg0 *jni.Object) (*jni.Object, error)
- func (m *Icon) CreateWithContentUri1_1(arg0 string) (*jni.Object, error)
- func (m *Icon) CreateWithData(arg0 *jni.Object, arg1 int32, arg2 int32) (*jni.Object, error)
- func (m *Icon) CreateWithFilePath(arg0 string) (*jni.Object, error)
- func (m *Icon) CreateWithResource2(arg0 *jni.Object, arg1 int32) (*jni.Object, error)
- func (m *Icon) CreateWithResource2_1(arg0 string, arg1 int32) (*jni.Object, error)
- func (m *Icon) DescribeContents() (int32, error)
- func (m *Icon) GetResId() (int32, error)
- func (m *Icon) GetResPackage() (string, error)
- func (m *Icon) GetType() (int32, error)
- func (m *Icon) GetUri() (*jni.Object, error)
- func (m *Icon) LoadDrawable(arg0 *jni.Object) (*jni.Object, error)
- func (m *Icon) LoadDrawableAsync(arg0 *jni.Object, arg1 *jni.Object) error
- func (m *Icon) SetTint(arg0 int32) (*jni.Object, error)
- func (m *Icon) SetTintBlendMode(arg0 *jni.Object) (*jni.Object, error)
- func (m *Icon) SetTintList(arg0 *jni.Object) (*jni.Object, error)
- func (m *Icon) SetTintMode(arg0 *jni.Object) (*jni.Object, error)
- func (m *Icon) ToString() (string, error)
- func (m *Icon) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type IconOnDrawableLoadedListener
- type InsetDrawable
- func (m *InsetDrawable) ApplyTheme(arg0 *jni.Object) error
- func (m *InsetDrawable) GetIntrinsicHeight() (int32, error)
- func (m *InsetDrawable) GetIntrinsicWidth() (int32, error)
- func (m *InsetDrawable) GetOpacity() (int32, error)
- func (m *InsetDrawable) GetOpticalInsets() (*jni.Object, error)
- func (m *InsetDrawable) GetOutline(arg0 *jni.Object) error
- func (m *InsetDrawable) GetPadding(arg0 *jni.Object) (bool, error)
- func (m *InsetDrawable) Inflate(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object) error
- func (m *InsetDrawable) ToString() (string, error)
- type LayerDrawable
- func (m *LayerDrawable) AddLayer(arg0 *jni.Object) (int32, error)
- func (m *LayerDrawable) ApplyTheme(arg0 *jni.Object) error
- func (m *LayerDrawable) CanApplyTheme() (bool, error)
- func (m *LayerDrawable) Draw(arg0 *jni.Object) error
- func (m *LayerDrawable) FindDrawableByLayerId(arg0 int32) (*jni.Object, error)
- func (m *LayerDrawable) FindIndexByLayerId(arg0 int32) (int32, error)
- func (m *LayerDrawable) GetAlpha() (int32, error)
- func (m *LayerDrawable) GetBottomPadding() (int32, error)
- func (m *LayerDrawable) GetChangingConfigurations() (int32, error)
- func (m *LayerDrawable) GetConstantState() (*jni.Object, error)
- func (m *LayerDrawable) GetDrawable(arg0 int32) (*jni.Object, error)
- func (m *LayerDrawable) GetEndPadding() (int32, error)
- func (m *LayerDrawable) GetHotspotBounds(arg0 *jni.Object) error
- func (m *LayerDrawable) GetId(arg0 int32) (int32, error)
- func (m *LayerDrawable) GetIntrinsicHeight() (int32, error)
- func (m *LayerDrawable) GetIntrinsicWidth() (int32, error)
- func (m *LayerDrawable) GetLayerGravity(arg0 int32) (int32, error)
- func (m *LayerDrawable) GetLayerHeight(arg0 int32) (int32, error)
- func (m *LayerDrawable) GetLayerInsetBottom(arg0 int32) (int32, error)
- func (m *LayerDrawable) GetLayerInsetEnd(arg0 int32) (int32, error)
- func (m *LayerDrawable) GetLayerInsetLeft(arg0 int32) (int32, error)
- func (m *LayerDrawable) GetLayerInsetRight(arg0 int32) (int32, error)
- func (m *LayerDrawable) GetLayerInsetStart(arg0 int32) (int32, error)
- func (m *LayerDrawable) GetLayerInsetTop(arg0 int32) (int32, error)
- func (m *LayerDrawable) GetLayerWidth(arg0 int32) (int32, error)
- func (m *LayerDrawable) GetLeftPadding() (int32, error)
- func (m *LayerDrawable) GetNumberOfLayers() (int32, error)
- func (m *LayerDrawable) GetOpacity() (int32, error)
- func (m *LayerDrawable) GetOutline(arg0 *jni.Object) error
- func (m *LayerDrawable) GetPadding(arg0 *jni.Object) (bool, error)
- func (m *LayerDrawable) GetPaddingMode() (int32, error)
- func (m *LayerDrawable) GetRightPadding() (int32, error)
- func (m *LayerDrawable) GetStartPadding() (int32, error)
- func (m *LayerDrawable) GetTopPadding() (int32, error)
- func (m *LayerDrawable) HasFocusStateSpecified() (bool, error)
- func (m *LayerDrawable) Inflate(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object) error
- func (m *LayerDrawable) InvalidateDrawable(arg0 *jni.Object) error
- func (m *LayerDrawable) IsAutoMirrored() (bool, error)
- func (m *LayerDrawable) IsProjected() (bool, error)
- func (m *LayerDrawable) IsStateful() (bool, error)
- func (m *LayerDrawable) JumpToCurrentState() error
- func (m *LayerDrawable) Mutate() (*jni.Object, error)
- func (m *LayerDrawable) OnLayoutDirectionChanged(arg0 int32) (bool, error)
- func (m *LayerDrawable) ScheduleDrawable(arg0 *jni.Object, arg1 *jni.Object, arg2 int64) error
- func (m *LayerDrawable) SetAlpha(arg0 int32) error
- func (m *LayerDrawable) SetAutoMirrored(arg0 bool) error
- func (m *LayerDrawable) SetColorFilter(arg0 *jni.Object) error
- func (m *LayerDrawable) SetDither(arg0 bool) error
- func (m *LayerDrawable) SetDrawable(arg0 int32, arg1 *jni.Object) error
- func (m *LayerDrawable) SetDrawableByLayerId(arg0 int32, arg1 *jni.Object) (bool, error)
- func (m *LayerDrawable) SetHotspot(arg0 float32, arg1 float32) error
- func (m *LayerDrawable) SetHotspotBounds(arg0 int32, arg1 int32, arg2 int32, arg3 int32) error
- func (m *LayerDrawable) SetId(arg0 int32, arg1 int32) error
- func (m *LayerDrawable) SetLayerGravity(arg0 int32, arg1 int32) error
- func (m *LayerDrawable) SetLayerHeight(arg0 int32, arg1 int32) error
- func (m *LayerDrawable) SetLayerInset(arg0 int32, arg1 int32, arg2 int32, arg3 int32, arg4 int32) error
- func (m *LayerDrawable) SetLayerInsetBottom(arg0 int32, arg1 int32) error
- func (m *LayerDrawable) SetLayerInsetEnd(arg0 int32, arg1 int32) error
- func (m *LayerDrawable) SetLayerInsetLeft(arg0 int32, arg1 int32) error
- func (m *LayerDrawable) SetLayerInsetRelative(arg0 int32, arg1 int32, arg2 int32, arg3 int32, arg4 int32) error
- func (m *LayerDrawable) SetLayerInsetRight(arg0 int32, arg1 int32) error
- func (m *LayerDrawable) SetLayerInsetStart(arg0 int32, arg1 int32) error
- func (m *LayerDrawable) SetLayerInsetTop(arg0 int32, arg1 int32) error
- func (m *LayerDrawable) SetLayerSize(arg0 int32, arg1 int32, arg2 int32) error
- func (m *LayerDrawable) SetLayerWidth(arg0 int32, arg1 int32) error
- func (m *LayerDrawable) SetOpacity(arg0 int32) error
- func (m *LayerDrawable) SetPadding(arg0 int32, arg1 int32, arg2 int32, arg3 int32) error
- func (m *LayerDrawable) SetPaddingMode(arg0 int32) error
- func (m *LayerDrawable) SetPaddingRelative(arg0 int32, arg1 int32, arg2 int32, arg3 int32) error
- func (m *LayerDrawable) SetTintBlendMode(arg0 *jni.Object) error
- func (m *LayerDrawable) SetTintList(arg0 *jni.Object) error
- func (m *LayerDrawable) SetVisible(arg0 bool, arg1 bool) (bool, error)
- func (m *LayerDrawable) ToString() (string, error)
- func (m *LayerDrawable) UnscheduleDrawable(arg0 *jni.Object, arg1 *jni.Object) error
- type LevelListDrawable
- func (m *LevelListDrawable) AddLevel(arg0 int32, arg1 int32, arg2 *jni.Object) error
- func (m *LevelListDrawable) Inflate(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object) error
- func (m *LevelListDrawable) Mutate() (*jni.Object, error)
- func (m *LevelListDrawable) ToString() (string, error)
- type NinePatchDrawable
- func (m *NinePatchDrawable) ApplyTheme(arg0 *jni.Object) error
- func (m *NinePatchDrawable) CanApplyTheme() (bool, error)
- func (m *NinePatchDrawable) Draw(arg0 *jni.Object) error
- func (m *NinePatchDrawable) GetAlpha() (int32, error)
- func (m *NinePatchDrawable) GetChangingConfigurations() (int32, error)
- func (m *NinePatchDrawable) GetConstantState() (*jni.Object, error)
- func (m *NinePatchDrawable) GetIntrinsicHeight() (int32, error)
- func (m *NinePatchDrawable) GetIntrinsicWidth() (int32, error)
- func (m *NinePatchDrawable) GetOpacity() (int32, error)
- func (m *NinePatchDrawable) GetOpticalInsets() (*jni.Object, error)
- func (m *NinePatchDrawable) GetOutline(arg0 *jni.Object) error
- func (m *NinePatchDrawable) GetPadding(arg0 *jni.Object) (bool, error)
- func (m *NinePatchDrawable) GetPaint() (*jni.Object, error)
- func (m *NinePatchDrawable) GetTransparentRegion() (*jni.Object, error)
- func (m *NinePatchDrawable) HasFocusStateSpecified() (bool, error)
- func (m *NinePatchDrawable) Inflate(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object) error
- func (m *NinePatchDrawable) IsAutoMirrored() (bool, error)
- func (m *NinePatchDrawable) IsFilterBitmap() (bool, error)
- func (m *NinePatchDrawable) IsStateful() (bool, error)
- func (m *NinePatchDrawable) Mutate() (*jni.Object, error)
- func (m *NinePatchDrawable) SetAlpha(arg0 int32) error
- func (m *NinePatchDrawable) SetAutoMirrored(arg0 bool) error
- func (m *NinePatchDrawable) SetColorFilter(arg0 *jni.Object) error
- func (m *NinePatchDrawable) SetDither(arg0 bool) error
- func (m *NinePatchDrawable) SetFilterBitmap(arg0 bool) error
- func (m *NinePatchDrawable) SetTargetDensity1(arg0 *jni.Object) error
- func (m *NinePatchDrawable) SetTargetDensity1_1(arg0 *jni.Object) error
- func (m *NinePatchDrawable) SetTargetDensity1_2(arg0 int32) error
- func (m *NinePatchDrawable) SetTintBlendMode(arg0 *jni.Object) error
- func (m *NinePatchDrawable) SetTintList(arg0 *jni.Object) error
- func (m *NinePatchDrawable) ToString() (string, error)
- type PaintDrawable
- type PictureDrawable
- func (m *PictureDrawable) Draw(arg0 *jni.Object) error
- func (m *PictureDrawable) GetIntrinsicHeight() (int32, error)
- func (m *PictureDrawable) GetIntrinsicWidth() (int32, error)
- func (m *PictureDrawable) GetOpacity() (int32, error)
- func (m *PictureDrawable) GetPicture() (*jni.Object, error)
- func (m *PictureDrawable) SetAlpha(arg0 int32) error
- func (m *PictureDrawable) SetColorFilter(arg0 *jni.Object) error
- func (m *PictureDrawable) SetPicture(arg0 *jni.Object) error
- func (m *PictureDrawable) ToString() (string, error)
- type RippleDrawable
- func (m *RippleDrawable) ApplyTheme(arg0 *jni.Object) error
- func (m *RippleDrawable) CanApplyTheme() (bool, error)
- func (m *RippleDrawable) Draw(arg0 *jni.Object) error
- func (m *RippleDrawable) GetConstantState() (*jni.Object, error)
- func (m *RippleDrawable) GetDirtyBounds() (*jni.Object, error)
- func (m *RippleDrawable) GetEffectColor() (*jni.Object, error)
- func (m *RippleDrawable) GetHotspotBounds(arg0 *jni.Object) error
- func (m *RippleDrawable) GetOpacity() (int32, error)
- func (m *RippleDrawable) GetOutline(arg0 *jni.Object) error
- func (m *RippleDrawable) GetRadius() (int32, error)
- func (m *RippleDrawable) HasFocusStateSpecified() (bool, error)
- func (m *RippleDrawable) Inflate(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object) error
- func (m *RippleDrawable) InvalidateSelf() error
- func (m *RippleDrawable) IsProjected() (bool, error)
- func (m *RippleDrawable) IsStateful() (bool, error)
- func (m *RippleDrawable) JumpToCurrentState() error
- func (m *RippleDrawable) Mutate() (*jni.Object, error)
- func (m *RippleDrawable) SetColor(arg0 *jni.Object) error
- func (m *RippleDrawable) SetDrawableByLayerId(arg0 int32, arg1 *jni.Object) (bool, error)
- func (m *RippleDrawable) SetEffectColor(arg0 *jni.Object) error
- func (m *RippleDrawable) SetHotspot(arg0 float32, arg1 float32) error
- func (m *RippleDrawable) SetHotspotBounds(arg0 int32, arg1 int32, arg2 int32, arg3 int32) error
- func (m *RippleDrawable) SetPaddingMode(arg0 int32) error
- func (m *RippleDrawable) SetRadius(arg0 int32) error
- func (m *RippleDrawable) SetVisible(arg0 bool, arg1 bool) (bool, error)
- func (m *RippleDrawable) ToString() (string, error)
- type RotateDrawable
- func (m *RotateDrawable) ApplyTheme(arg0 *jni.Object) error
- func (m *RotateDrawable) Draw(arg0 *jni.Object) error
- func (m *RotateDrawable) GetFromDegrees() (float32, error)
- func (m *RotateDrawable) GetPivotX() (float32, error)
- func (m *RotateDrawable) GetPivotY() (float32, error)
- func (m *RotateDrawable) GetToDegrees() (float32, error)
- func (m *RotateDrawable) Inflate(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object) error
- func (m *RotateDrawable) IsPivotXRelative() (bool, error)
- func (m *RotateDrawable) IsPivotYRelative() (bool, error)
- func (m *RotateDrawable) SetFromDegrees(arg0 float32) error
- func (m *RotateDrawable) SetPivotX(arg0 float32) error
- func (m *RotateDrawable) SetPivotXRelative(arg0 bool) error
- func (m *RotateDrawable) SetPivotY(arg0 float32) error
- func (m *RotateDrawable) SetPivotYRelative(arg0 bool) error
- func (m *RotateDrawable) SetToDegrees(arg0 float32) error
- func (m *RotateDrawable) ToString() (string, error)
- type ScaleDrawable
- func (m *ScaleDrawable) ApplyTheme(arg0 *jni.Object) error
- func (m *ScaleDrawable) Draw(arg0 *jni.Object) error
- func (m *ScaleDrawable) GetOpacity() (int32, error)
- func (m *ScaleDrawable) Inflate(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object) error
- func (m *ScaleDrawable) ToString() (string, error)
- type ShapeDrawable
- func (m *ShapeDrawable) ApplyTheme(arg0 *jni.Object) error
- func (m *ShapeDrawable) Draw(arg0 *jni.Object) error
- func (m *ShapeDrawable) GetAlpha() (int32, error)
- func (m *ShapeDrawable) GetChangingConfigurations() (int32, error)
- func (m *ShapeDrawable) GetConstantState() (*jni.Object, error)
- func (m *ShapeDrawable) GetIntrinsicHeight() (int32, error)
- func (m *ShapeDrawable) GetIntrinsicWidth() (int32, error)
- func (m *ShapeDrawable) GetOpacity() (int32, error)
- func (m *ShapeDrawable) GetOutline(arg0 *jni.Object) error
- func (m *ShapeDrawable) GetPadding(arg0 *jni.Object) (bool, error)
- func (m *ShapeDrawable) GetPaint() (*jni.Object, error)
- func (m *ShapeDrawable) GetShaderFactory() (*jni.Object, error)
- func (m *ShapeDrawable) GetShape() (*jni.Object, error)
- func (m *ShapeDrawable) HasFocusStateSpecified() (bool, error)
- func (m *ShapeDrawable) Inflate(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object) error
- func (m *ShapeDrawable) IsStateful() (bool, error)
- func (m *ShapeDrawable) Mutate() (*jni.Object, error)
- func (m *ShapeDrawable) SetAlpha(arg0 int32) error
- func (m *ShapeDrawable) SetColorFilter(arg0 *jni.Object) error
- func (m *ShapeDrawable) SetDither(arg0 bool) error
- func (m *ShapeDrawable) SetIntrinsicHeight(arg0 int32) error
- func (m *ShapeDrawable) SetIntrinsicWidth(arg0 int32) error
- func (m *ShapeDrawable) SetPadding1(arg0 *jni.Object) error
- func (m *ShapeDrawable) SetPadding4_1(arg0 int32, arg1 int32, arg2 int32, arg3 int32) error
- func (m *ShapeDrawable) SetShaderFactory(arg0 *jni.Object) error
- func (m *ShapeDrawable) SetShape(arg0 *jni.Object) error
- func (m *ShapeDrawable) SetTintBlendMode(arg0 *jni.Object) error
- func (m *ShapeDrawable) SetTintList(arg0 *jni.Object) error
- func (m *ShapeDrawable) ToString() (string, error)
- type ShapeDrawableShaderFactory
- type StateListDrawable
- func (m *StateListDrawable) AddState(arg0 *jni.Object, arg1 *jni.Object) error
- func (m *StateListDrawable) ApplyTheme(arg0 *jni.Object) error
- func (m *StateListDrawable) FindStateDrawableIndex(arg0 *jni.Object) (int32, error)
- func (m *StateListDrawable) GetStateCount() (int32, error)
- func (m *StateListDrawable) GetStateDrawable(arg0 int32) (*jni.Object, error)
- func (m *StateListDrawable) GetStateSet(arg0 int32) (*jni.Object, error)
- func (m *StateListDrawable) HasFocusStateSpecified() (bool, error)
- func (m *StateListDrawable) Inflate(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object) error
- func (m *StateListDrawable) IsStateful() (bool, error)
- func (m *StateListDrawable) Mutate() (*jni.Object, error)
- func (m *StateListDrawable) ToString() (string, error)
- type TransitionDrawable
- func (m *TransitionDrawable) Draw(arg0 *jni.Object) error
- func (m *TransitionDrawable) IsCrossFadeEnabled() (bool, error)
- func (m *TransitionDrawable) ResetTransition() error
- func (m *TransitionDrawable) ReverseTransition(arg0 int32) error
- func (m *TransitionDrawable) SetCrossFadeEnabled(arg0 bool) error
- func (m *TransitionDrawable) StartTransition(arg0 int32) error
- func (m *TransitionDrawable) ToString() (string, error)
- type VectorDrawable
- func (m *VectorDrawable) ApplyTheme(arg0 *jni.Object) error
- func (m *VectorDrawable) CanApplyTheme() (bool, error)
- func (m *VectorDrawable) Draw(arg0 *jni.Object) error
- func (m *VectorDrawable) GetAlpha() (int32, error)
- func (m *VectorDrawable) GetChangingConfigurations() (int32, error)
- func (m *VectorDrawable) GetColorFilter() (*jni.Object, error)
- func (m *VectorDrawable) GetConstantState() (*jni.Object, error)
- func (m *VectorDrawable) GetIntrinsicHeight() (int32, error)
- func (m *VectorDrawable) GetIntrinsicWidth() (int32, error)
- func (m *VectorDrawable) GetOpacity() (int32, error)
- func (m *VectorDrawable) GetOpticalInsets() (*jni.Object, error)
- func (m *VectorDrawable) HasFocusStateSpecified() (bool, error)
- func (m *VectorDrawable) Inflate(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object) error
- func (m *VectorDrawable) IsAutoMirrored() (bool, error)
- func (m *VectorDrawable) IsStateful() (bool, error)
- func (m *VectorDrawable) Mutate() (*jni.Object, error)
- func (m *VectorDrawable) SetAlpha(arg0 int32) error
- func (m *VectorDrawable) SetAutoMirrored(arg0 bool) error
- func (m *VectorDrawable) SetColorFilter(arg0 *jni.Object) error
- func (m *VectorDrawable) SetTintBlendMode(arg0 *jni.Object) error
- func (m *VectorDrawable) SetTintList(arg0 *jni.Object) error
- func (m *VectorDrawable) ToString() (string, error)
- type Wrapper
- func (m *Wrapper) ApplyTheme(arg0 *jni.Object) error
- func (m *Wrapper) CanApplyTheme() (bool, error)
- func (m *Wrapper) Draw(arg0 *jni.Object) error
- func (m *Wrapper) GetAlpha() (int32, error)
- func (m *Wrapper) GetChangingConfigurations() (int32, error)
- func (m *Wrapper) GetColorFilter() (*jni.Object, error)
- func (m *Wrapper) GetConstantState() (*jni.Object, error)
- func (m *Wrapper) GetDrawable() (*jni.Object, error)
- func (m *Wrapper) GetHotspotBounds(arg0 *jni.Object) error
- func (m *Wrapper) GetIntrinsicHeight() (int32, error)
- func (m *Wrapper) GetIntrinsicWidth() (int32, error)
- func (m *Wrapper) GetOpacity() (int32, error)
- func (m *Wrapper) GetOpticalInsets() (*jni.Object, error)
- func (m *Wrapper) GetOutline(arg0 *jni.Object) error
- func (m *Wrapper) GetPadding(arg0 *jni.Object) (bool, error)
- func (m *Wrapper) HasFocusStateSpecified() (bool, error)
- func (m *Wrapper) Inflate(arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object) error
- func (m *Wrapper) InvalidateDrawable(arg0 *jni.Object) error
- func (m *Wrapper) IsStateful() (bool, error)
- func (m *Wrapper) JumpToCurrentState() error
- func (m *Wrapper) Mutate() (*jni.Object, error)
- func (m *Wrapper) OnLayoutDirectionChanged(arg0 int32) (bool, error)
- func (m *Wrapper) ScheduleDrawable(arg0 *jni.Object, arg1 *jni.Object, arg2 int64) error
- func (m *Wrapper) SetAlpha(arg0 int32) error
- func (m *Wrapper) SetColorFilter(arg0 *jni.Object) error
- func (m *Wrapper) SetDrawable(arg0 *jni.Object) error
- func (m *Wrapper) SetHotspot(arg0 float32, arg1 float32) error
- func (m *Wrapper) SetHotspotBounds(arg0 int32, arg1 int32, arg2 int32, arg3 int32) error
- func (m *Wrapper) SetTintBlendMode(arg0 *jni.Object) error
- func (m *Wrapper) SetTintList(arg0 *jni.Object) error
- func (m *Wrapper) SetVisible(arg0 bool, arg1 bool) (bool, error)
- func (m *Wrapper) ToString() (string, error)
- func (m *Wrapper) UnscheduleDrawable(arg0 *jni.Object, arg1 *jni.Object) error
Constants ¶
const ( InsetUndefined = consts.InsetUndefined PaddingModeNest = consts.PaddingModeNest PaddingModeStack = consts.PaddingModeStack Creator = consts.Creator TypeAdaptiveBitmap = consts.TypeAdaptiveBitmap TypeBitmap = consts.TypeBitmap TypeData = consts.TypeData TypeResource = consts.TypeResource TypeUri = consts.TypeUri TypeUriAdaptiveBitmap = consts.TypeUriAdaptiveBitmap Horizontal = consts.Horizontal Vertical = consts.Vertical Line = consts.Line LinearGradient = consts.LinearGradient Oval = consts.Oval RadialGradient = consts.RadialGradient Rectangle = consts.Rectangle Ring = consts.Ring SweepGradient = consts.SweepGradient BlTr = consts.BlTr BottomTop = consts.BottomTop BrTl = consts.BrTl LeftRight = consts.LeftRight RightLeft = consts.RightLeft TlBr = consts.TlBr TopBottom = consts.TopBottom TrBl = consts.TrBl RadiusAuto = consts.RadiusAuto RepeatInfinite = consts.RepeatInfinite )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AdaptiveIconDrawable ¶
AdaptiveIconDrawable wraps android.graphics.drawable.AdaptiveIconDrawable.
func NewAdaptiveIconDrawable ¶
func NewAdaptiveIconDrawable(vm *jni.VM, arg0 *jni.Object, arg1 *jni.Object) (*AdaptiveIconDrawable, error)
NewAdaptiveIconDrawable creates a new android.graphics.drawable.AdaptiveIconDrawable instance.
func (*AdaptiveIconDrawable) ApplyTheme ¶
func (m *AdaptiveIconDrawable) ApplyTheme(arg0 *jni.Object) error
ApplyTheme calls android.graphics.drawable.AdaptiveIconDrawable.applyTheme.
func (*AdaptiveIconDrawable) CanApplyTheme ¶
func (m *AdaptiveIconDrawable) CanApplyTheme() (bool, error)
CanApplyTheme calls android.graphics.drawable.AdaptiveIconDrawable.canApplyTheme.
func (*AdaptiveIconDrawable) Draw ¶
func (m *AdaptiveIconDrawable) Draw(arg0 *jni.Object) error
Draw calls android.graphics.drawable.AdaptiveIconDrawable.draw.
func (*AdaptiveIconDrawable) GetAlpha ¶
func (m *AdaptiveIconDrawable) GetAlpha() (int32, error)
GetAlpha calls android.graphics.drawable.AdaptiveIconDrawable.getAlpha.
func (*AdaptiveIconDrawable) GetBackground ¶
func (m *AdaptiveIconDrawable) GetBackground() (*jni.Object, error)
GetBackground calls android.graphics.drawable.AdaptiveIconDrawable.getBackground.
func (*AdaptiveIconDrawable) GetChangingConfigurations ¶
func (m *AdaptiveIconDrawable) GetChangingConfigurations() (int32, error)
GetChangingConfigurations calls android.graphics.drawable.AdaptiveIconDrawable.getChangingConfigurations.
func (*AdaptiveIconDrawable) GetConstantState ¶
func (m *AdaptiveIconDrawable) GetConstantState() (*jni.Object, error)
GetConstantState calls android.graphics.drawable.AdaptiveIconDrawable.getConstantState.
func (*AdaptiveIconDrawable) GetExtraInsetFraction ¶
func (m *AdaptiveIconDrawable) GetExtraInsetFraction() (float32, error)
GetExtraInsetFraction calls android.graphics.drawable.AdaptiveIconDrawable.getExtraInsetFraction.
func (*AdaptiveIconDrawable) GetForeground ¶
func (m *AdaptiveIconDrawable) GetForeground() (*jni.Object, error)
GetForeground calls android.graphics.drawable.AdaptiveIconDrawable.getForeground.
func (*AdaptiveIconDrawable) GetHotspotBounds ¶
func (m *AdaptiveIconDrawable) GetHotspotBounds(arg0 *jni.Object) error
GetHotspotBounds calls android.graphics.drawable.AdaptiveIconDrawable.getHotspotBounds.
func (*AdaptiveIconDrawable) GetIconMask ¶
func (m *AdaptiveIconDrawable) GetIconMask() (*jni.Object, error)
GetIconMask calls android.graphics.drawable.AdaptiveIconDrawable.getIconMask.
func (*AdaptiveIconDrawable) GetIntrinsicHeight ¶
func (m *AdaptiveIconDrawable) GetIntrinsicHeight() (int32, error)
GetIntrinsicHeight calls android.graphics.drawable.AdaptiveIconDrawable.getIntrinsicHeight.
func (*AdaptiveIconDrawable) GetIntrinsicWidth ¶
func (m *AdaptiveIconDrawable) GetIntrinsicWidth() (int32, error)
GetIntrinsicWidth calls android.graphics.drawable.AdaptiveIconDrawable.getIntrinsicWidth.
func (*AdaptiveIconDrawable) GetMonochrome ¶
func (m *AdaptiveIconDrawable) GetMonochrome() (*jni.Object, error)
GetMonochrome calls android.graphics.drawable.AdaptiveIconDrawable.getMonochrome.
func (*AdaptiveIconDrawable) GetOpacity ¶
func (m *AdaptiveIconDrawable) GetOpacity() (int32, error)
GetOpacity calls android.graphics.drawable.AdaptiveIconDrawable.getOpacity.
func (*AdaptiveIconDrawable) GetOutline ¶
func (m *AdaptiveIconDrawable) GetOutline(arg0 *jni.Object) error
GetOutline calls android.graphics.drawable.AdaptiveIconDrawable.getOutline.
func (*AdaptiveIconDrawable) GetTransparentRegion ¶
func (m *AdaptiveIconDrawable) GetTransparentRegion() (*jni.Object, error)
GetTransparentRegion calls android.graphics.drawable.AdaptiveIconDrawable.getTransparentRegion.
func (*AdaptiveIconDrawable) HasFocusStateSpecified ¶
func (m *AdaptiveIconDrawable) HasFocusStateSpecified() (bool, error)
HasFocusStateSpecified calls android.graphics.drawable.AdaptiveIconDrawable.hasFocusStateSpecified.
func (*AdaptiveIconDrawable) Inflate ¶
func (m *AdaptiveIconDrawable) Inflate( arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object, ) error
Inflate calls android.graphics.drawable.AdaptiveIconDrawable.inflate.
func (*AdaptiveIconDrawable) InvalidateDrawable ¶
func (m *AdaptiveIconDrawable) InvalidateDrawable(arg0 *jni.Object) error
InvalidateDrawable calls android.graphics.drawable.AdaptiveIconDrawable.invalidateDrawable.
func (*AdaptiveIconDrawable) InvalidateSelf ¶
func (m *AdaptiveIconDrawable) InvalidateSelf() error
InvalidateSelf calls android.graphics.drawable.AdaptiveIconDrawable.invalidateSelf.
func (*AdaptiveIconDrawable) IsAutoMirrored ¶
func (m *AdaptiveIconDrawable) IsAutoMirrored() (bool, error)
IsAutoMirrored calls android.graphics.drawable.AdaptiveIconDrawable.isAutoMirrored.
func (*AdaptiveIconDrawable) IsProjected ¶
func (m *AdaptiveIconDrawable) IsProjected() (bool, error)
IsProjected calls android.graphics.drawable.AdaptiveIconDrawable.isProjected.
func (*AdaptiveIconDrawable) IsStateful ¶
func (m *AdaptiveIconDrawable) IsStateful() (bool, error)
IsStateful calls android.graphics.drawable.AdaptiveIconDrawable.isStateful.
func (*AdaptiveIconDrawable) JumpToCurrentState ¶
func (m *AdaptiveIconDrawable) JumpToCurrentState() error
JumpToCurrentState calls android.graphics.drawable.AdaptiveIconDrawable.jumpToCurrentState.
func (*AdaptiveIconDrawable) Mutate ¶
func (m *AdaptiveIconDrawable) Mutate() (*jni.Object, error)
Mutate calls android.graphics.drawable.AdaptiveIconDrawable.mutate.
func (*AdaptiveIconDrawable) ScheduleDrawable ¶
func (m *AdaptiveIconDrawable) ScheduleDrawable( arg0 *jni.Object, arg1 *jni.Object, arg2 int64, ) error
ScheduleDrawable calls android.graphics.drawable.AdaptiveIconDrawable.scheduleDrawable.
func (*AdaptiveIconDrawable) SetAlpha ¶
func (m *AdaptiveIconDrawable) SetAlpha(arg0 int32) error
SetAlpha calls android.graphics.drawable.AdaptiveIconDrawable.setAlpha.
func (*AdaptiveIconDrawable) SetAutoMirrored ¶
func (m *AdaptiveIconDrawable) SetAutoMirrored(arg0 bool) error
SetAutoMirrored calls android.graphics.drawable.AdaptiveIconDrawable.setAutoMirrored.
func (*AdaptiveIconDrawable) SetColorFilter ¶
func (m *AdaptiveIconDrawable) SetColorFilter(arg0 *jni.Object) error
SetColorFilter calls android.graphics.drawable.AdaptiveIconDrawable.setColorFilter.
func (*AdaptiveIconDrawable) SetDither ¶
func (m *AdaptiveIconDrawable) SetDither(arg0 bool) error
SetDither calls android.graphics.drawable.AdaptiveIconDrawable.setDither.
func (*AdaptiveIconDrawable) SetHotspot ¶
func (m *AdaptiveIconDrawable) SetHotspot(arg0 float32, arg1 float32) error
SetHotspot calls android.graphics.drawable.AdaptiveIconDrawable.setHotspot.
func (*AdaptiveIconDrawable) SetHotspotBounds ¶
func (m *AdaptiveIconDrawable) SetHotspotBounds( arg0 int32, arg1 int32, arg2 int32, arg3 int32, ) error
SetHotspotBounds calls android.graphics.drawable.AdaptiveIconDrawable.setHotspotBounds.
func (*AdaptiveIconDrawable) SetOpacity ¶
func (m *AdaptiveIconDrawable) SetOpacity(arg0 int32) error
SetOpacity calls android.graphics.drawable.AdaptiveIconDrawable.setOpacity.
func (*AdaptiveIconDrawable) SetTintBlendMode ¶
func (m *AdaptiveIconDrawable) SetTintBlendMode(arg0 *jni.Object) error
SetTintBlendMode calls android.graphics.drawable.AdaptiveIconDrawable.setTintBlendMode.
func (*AdaptiveIconDrawable) SetTintList ¶
func (m *AdaptiveIconDrawable) SetTintList(arg0 *jni.Object) error
SetTintList calls android.graphics.drawable.AdaptiveIconDrawable.setTintList.
func (*AdaptiveIconDrawable) SetVisible ¶
func (m *AdaptiveIconDrawable) SetVisible(arg0 bool, arg1 bool) (bool, error)
SetVisible calls android.graphics.drawable.AdaptiveIconDrawable.setVisible.
func (*AdaptiveIconDrawable) ToString ¶ added in v0.0.8
func (m *AdaptiveIconDrawable) ToString() (string, error)
ToString calls android.graphics.drawable.AdaptiveIconDrawable.toString.
func (*AdaptiveIconDrawable) UnscheduleDrawable ¶
UnscheduleDrawable calls android.graphics.drawable.AdaptiveIconDrawable.unscheduleDrawable.
type Animatable ¶
Animatable wraps android.graphics.drawable.Animatable.
func (*Animatable) IsRunning ¶
func (m *Animatable) IsRunning() (bool, error)
IsRunning calls android.graphics.drawable.Animatable.isRunning.
func (*Animatable) Start ¶
func (m *Animatable) Start() error
Start calls android.graphics.drawable.Animatable.start.
func (*Animatable) Stop ¶
func (m *Animatable) Stop() error
Stop calls android.graphics.drawable.Animatable.stop.
func (*Animatable) ToString ¶ added in v0.0.8
func (m *Animatable) ToString() (string, error)
ToString calls android.graphics.drawable.Animatable.toString.
type Animatable2 ¶
Animatable2 wraps android.graphics.drawable.Animatable2.
func (*Animatable2) ClearAnimationCallbacks ¶
func (m *Animatable2) ClearAnimationCallbacks() error
ClearAnimationCallbacks calls android.graphics.drawable.Animatable2.clearAnimationCallbacks.
func (*Animatable2) RegisterAnimationCallback ¶
func (m *Animatable2) RegisterAnimationCallback(arg0 *jni.Object) error
RegisterAnimationCallback calls android.graphics.drawable.Animatable2.registerAnimationCallback.
func (*Animatable2) ToString ¶ added in v0.0.8
func (m *Animatable2) ToString() (string, error)
ToString calls android.graphics.drawable.Animatable2.toString.
func (*Animatable2) UnregisterAnimationCallback ¶
func (m *Animatable2) UnregisterAnimationCallback(arg0 *jni.Object) (bool, error)
UnregisterAnimationCallback calls android.graphics.drawable.Animatable2.unregisterAnimationCallback.
type Animatable2AnimationCallback ¶
Animatable2AnimationCallback wraps android.graphics.drawable.Animatable2$AnimationCallback.
func (*Animatable2AnimationCallback) OnAnimationEnd ¶
func (m *Animatable2AnimationCallback) OnAnimationEnd(arg0 *jni.Object) error
OnAnimationEnd calls android.graphics.drawable.Animatable2$AnimationCallback.onAnimationEnd.
func (*Animatable2AnimationCallback) OnAnimationStart ¶
func (m *Animatable2AnimationCallback) OnAnimationStart(arg0 *jni.Object) error
OnAnimationStart calls android.graphics.drawable.Animatable2$AnimationCallback.onAnimationStart.
func (*Animatable2AnimationCallback) ToString ¶ added in v0.0.8
func (m *Animatable2AnimationCallback) ToString() (string, error)
ToString calls android.graphics.drawable.Animatable2$AnimationCallback.toString.
type AnimatedImageDrawable ¶
AnimatedImageDrawable wraps android.graphics.drawable.AnimatedImageDrawable.
func NewAnimatedImageDrawable ¶
func NewAnimatedImageDrawable(vm *jni.VM) (*AnimatedImageDrawable, error)
NewAnimatedImageDrawable creates a new android.graphics.drawable.AnimatedImageDrawable instance.
func (*AnimatedImageDrawable) ClearAnimationCallbacks ¶
func (m *AnimatedImageDrawable) ClearAnimationCallbacks() error
ClearAnimationCallbacks calls android.graphics.drawable.AnimatedImageDrawable.clearAnimationCallbacks.
func (*AnimatedImageDrawable) Draw ¶
func (m *AnimatedImageDrawable) Draw(arg0 *jni.Object) error
Draw calls android.graphics.drawable.AnimatedImageDrawable.draw.
func (*AnimatedImageDrawable) GetAlpha ¶
func (m *AnimatedImageDrawable) GetAlpha() (int32, error)
GetAlpha calls android.graphics.drawable.AnimatedImageDrawable.getAlpha.
func (*AnimatedImageDrawable) GetColorFilter ¶
func (m *AnimatedImageDrawable) GetColorFilter() (*jni.Object, error)
GetColorFilter calls android.graphics.drawable.AnimatedImageDrawable.getColorFilter.
func (*AnimatedImageDrawable) GetIntrinsicHeight ¶
func (m *AnimatedImageDrawable) GetIntrinsicHeight() (int32, error)
GetIntrinsicHeight calls android.graphics.drawable.AnimatedImageDrawable.getIntrinsicHeight.
func (*AnimatedImageDrawable) GetIntrinsicWidth ¶
func (m *AnimatedImageDrawable) GetIntrinsicWidth() (int32, error)
GetIntrinsicWidth calls android.graphics.drawable.AnimatedImageDrawable.getIntrinsicWidth.
func (*AnimatedImageDrawable) GetOpacity ¶
func (m *AnimatedImageDrawable) GetOpacity() (int32, error)
GetOpacity calls android.graphics.drawable.AnimatedImageDrawable.getOpacity.
func (*AnimatedImageDrawable) GetRepeatCount ¶
func (m *AnimatedImageDrawable) GetRepeatCount() (int32, error)
GetRepeatCount calls android.graphics.drawable.AnimatedImageDrawable.getRepeatCount.
func (*AnimatedImageDrawable) Inflate ¶
func (m *AnimatedImageDrawable) Inflate( arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object, ) error
Inflate calls android.graphics.drawable.AnimatedImageDrawable.inflate.
func (*AnimatedImageDrawable) IsAutoMirrored ¶
func (m *AnimatedImageDrawable) IsAutoMirrored() (bool, error)
IsAutoMirrored calls android.graphics.drawable.AnimatedImageDrawable.isAutoMirrored.
func (*AnimatedImageDrawable) IsFilterBitmap ¶
func (m *AnimatedImageDrawable) IsFilterBitmap() (bool, error)
IsFilterBitmap calls android.graphics.drawable.AnimatedImageDrawable.isFilterBitmap.
func (*AnimatedImageDrawable) IsRunning ¶
func (m *AnimatedImageDrawable) IsRunning() (bool, error)
IsRunning calls android.graphics.drawable.AnimatedImageDrawable.isRunning.
func (*AnimatedImageDrawable) OnLayoutDirectionChanged ¶
func (m *AnimatedImageDrawable) OnLayoutDirectionChanged(arg0 int32) (bool, error)
OnLayoutDirectionChanged calls android.graphics.drawable.AnimatedImageDrawable.onLayoutDirectionChanged.
func (*AnimatedImageDrawable) RegisterAnimationCallback ¶
func (m *AnimatedImageDrawable) RegisterAnimationCallback(arg0 *jni.Object) error
RegisterAnimationCallback calls android.graphics.drawable.AnimatedImageDrawable.registerAnimationCallback.
func (*AnimatedImageDrawable) SetAlpha ¶
func (m *AnimatedImageDrawable) SetAlpha(arg0 int32) error
SetAlpha calls android.graphics.drawable.AnimatedImageDrawable.setAlpha.
func (*AnimatedImageDrawable) SetAutoMirrored ¶
func (m *AnimatedImageDrawable) SetAutoMirrored(arg0 bool) error
SetAutoMirrored calls android.graphics.drawable.AnimatedImageDrawable.setAutoMirrored.
func (*AnimatedImageDrawable) SetColorFilter ¶
func (m *AnimatedImageDrawable) SetColorFilter(arg0 *jni.Object) error
SetColorFilter calls android.graphics.drawable.AnimatedImageDrawable.setColorFilter.
func (*AnimatedImageDrawable) SetFilterBitmap ¶
func (m *AnimatedImageDrawable) SetFilterBitmap(arg0 bool) error
SetFilterBitmap calls android.graphics.drawable.AnimatedImageDrawable.setFilterBitmap.
func (*AnimatedImageDrawable) SetRepeatCount ¶
func (m *AnimatedImageDrawable) SetRepeatCount(arg0 int32) error
SetRepeatCount calls android.graphics.drawable.AnimatedImageDrawable.setRepeatCount.
func (*AnimatedImageDrawable) Start ¶
func (m *AnimatedImageDrawable) Start() error
Start calls android.graphics.drawable.AnimatedImageDrawable.start.
func (*AnimatedImageDrawable) Stop ¶
func (m *AnimatedImageDrawable) Stop() error
Stop calls android.graphics.drawable.AnimatedImageDrawable.stop.
func (*AnimatedImageDrawable) ToString ¶ added in v0.0.8
func (m *AnimatedImageDrawable) ToString() (string, error)
ToString calls android.graphics.drawable.AnimatedImageDrawable.toString.
func (*AnimatedImageDrawable) UnregisterAnimationCallback ¶
func (m *AnimatedImageDrawable) UnregisterAnimationCallback(arg0 *jni.Object) (bool, error)
UnregisterAnimationCallback calls android.graphics.drawable.AnimatedImageDrawable.unregisterAnimationCallback.
type AnimatedStateListDrawable ¶
AnimatedStateListDrawable wraps android.graphics.drawable.AnimatedStateListDrawable.
func NewAnimatedStateListDrawable ¶
func NewAnimatedStateListDrawable(vm *jni.VM) (*AnimatedStateListDrawable, error)
NewAnimatedStateListDrawable creates a new android.graphics.drawable.AnimatedStateListDrawable instance.
func (*AnimatedStateListDrawable) AddState ¶
func (m *AnimatedStateListDrawable) AddState( arg0 *jni.Object, arg1 *jni.Object, arg2 int32, ) error
AddState calls android.graphics.drawable.AnimatedStateListDrawable.addState.
func (*AnimatedStateListDrawable) ApplyTheme ¶
func (m *AnimatedStateListDrawable) ApplyTheme(arg0 *jni.Object) error
ApplyTheme calls android.graphics.drawable.AnimatedStateListDrawable.applyTheme.
func (*AnimatedStateListDrawable) Inflate ¶
func (m *AnimatedStateListDrawable) Inflate( arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object, ) error
Inflate calls android.graphics.drawable.AnimatedStateListDrawable.inflate.
func (*AnimatedStateListDrawable) IsStateful ¶
func (m *AnimatedStateListDrawable) IsStateful() (bool, error)
IsStateful calls android.graphics.drawable.AnimatedStateListDrawable.isStateful.
func (*AnimatedStateListDrawable) JumpToCurrentState ¶
func (m *AnimatedStateListDrawable) JumpToCurrentState() error
JumpToCurrentState calls android.graphics.drawable.AnimatedStateListDrawable.jumpToCurrentState.
func (*AnimatedStateListDrawable) Mutate ¶
func (m *AnimatedStateListDrawable) Mutate() (*jni.Object, error)
Mutate calls android.graphics.drawable.AnimatedStateListDrawable.mutate.
func (*AnimatedStateListDrawable) SetVisible ¶
func (m *AnimatedStateListDrawable) SetVisible(arg0 bool, arg1 bool) (bool, error)
SetVisible calls android.graphics.drawable.AnimatedStateListDrawable.setVisible.
func (*AnimatedStateListDrawable) ToString ¶ added in v0.0.8
func (m *AnimatedStateListDrawable) ToString() (string, error)
ToString calls android.graphics.drawable.AnimatedStateListDrawable.toString.
type AnimatedVectorDrawable ¶
AnimatedVectorDrawable wraps android.graphics.drawable.AnimatedVectorDrawable.
func NewAnimatedVectorDrawable ¶
func NewAnimatedVectorDrawable(vm *jni.VM) (*AnimatedVectorDrawable, error)
NewAnimatedVectorDrawable creates a new android.graphics.drawable.AnimatedVectorDrawable instance.
func (*AnimatedVectorDrawable) ApplyTheme ¶
func (m *AnimatedVectorDrawable) ApplyTheme(arg0 *jni.Object) error
ApplyTheme calls android.graphics.drawable.AnimatedVectorDrawable.applyTheme.
func (*AnimatedVectorDrawable) CanApplyTheme ¶
func (m *AnimatedVectorDrawable) CanApplyTheme() (bool, error)
CanApplyTheme calls android.graphics.drawable.AnimatedVectorDrawable.canApplyTheme.
func (*AnimatedVectorDrawable) ClearAnimationCallbacks ¶
func (m *AnimatedVectorDrawable) ClearAnimationCallbacks() error
ClearAnimationCallbacks calls android.graphics.drawable.AnimatedVectorDrawable.clearAnimationCallbacks.
func (*AnimatedVectorDrawable) Draw ¶
func (m *AnimatedVectorDrawable) Draw(arg0 *jni.Object) error
Draw calls android.graphics.drawable.AnimatedVectorDrawable.draw.
func (*AnimatedVectorDrawable) GetAlpha ¶
func (m *AnimatedVectorDrawable) GetAlpha() (int32, error)
GetAlpha calls android.graphics.drawable.AnimatedVectorDrawable.getAlpha.
func (*AnimatedVectorDrawable) GetChangingConfigurations ¶
func (m *AnimatedVectorDrawable) GetChangingConfigurations() (int32, error)
GetChangingConfigurations calls android.graphics.drawable.AnimatedVectorDrawable.getChangingConfigurations.
func (*AnimatedVectorDrawable) GetColorFilter ¶
func (m *AnimatedVectorDrawable) GetColorFilter() (*jni.Object, error)
GetColorFilter calls android.graphics.drawable.AnimatedVectorDrawable.getColorFilter.
func (*AnimatedVectorDrawable) GetConstantState ¶
func (m *AnimatedVectorDrawable) GetConstantState() (*jni.Object, error)
GetConstantState calls android.graphics.drawable.AnimatedVectorDrawable.getConstantState.
func (*AnimatedVectorDrawable) GetIntrinsicHeight ¶
func (m *AnimatedVectorDrawable) GetIntrinsicHeight() (int32, error)
GetIntrinsicHeight calls android.graphics.drawable.AnimatedVectorDrawable.getIntrinsicHeight.
func (*AnimatedVectorDrawable) GetIntrinsicWidth ¶
func (m *AnimatedVectorDrawable) GetIntrinsicWidth() (int32, error)
GetIntrinsicWidth calls android.graphics.drawable.AnimatedVectorDrawable.getIntrinsicWidth.
func (*AnimatedVectorDrawable) GetOpacity ¶
func (m *AnimatedVectorDrawable) GetOpacity() (int32, error)
GetOpacity calls android.graphics.drawable.AnimatedVectorDrawable.getOpacity.
func (*AnimatedVectorDrawable) GetOpticalInsets ¶
func (m *AnimatedVectorDrawable) GetOpticalInsets() (*jni.Object, error)
GetOpticalInsets calls android.graphics.drawable.AnimatedVectorDrawable.getOpticalInsets.
func (*AnimatedVectorDrawable) GetOutline ¶
func (m *AnimatedVectorDrawable) GetOutline(arg0 *jni.Object) error
GetOutline calls android.graphics.drawable.AnimatedVectorDrawable.getOutline.
func (*AnimatedVectorDrawable) Inflate ¶
func (m *AnimatedVectorDrawable) Inflate( arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object, ) error
Inflate calls android.graphics.drawable.AnimatedVectorDrawable.inflate.
func (*AnimatedVectorDrawable) IsRunning ¶
func (m *AnimatedVectorDrawable) IsRunning() (bool, error)
IsRunning calls android.graphics.drawable.AnimatedVectorDrawable.isRunning.
func (*AnimatedVectorDrawable) IsStateful ¶
func (m *AnimatedVectorDrawable) IsStateful() (bool, error)
IsStateful calls android.graphics.drawable.AnimatedVectorDrawable.isStateful.
func (*AnimatedVectorDrawable) Mutate ¶
func (m *AnimatedVectorDrawable) Mutate() (*jni.Object, error)
Mutate calls android.graphics.drawable.AnimatedVectorDrawable.mutate.
func (*AnimatedVectorDrawable) OnLayoutDirectionChanged ¶
func (m *AnimatedVectorDrawable) OnLayoutDirectionChanged(arg0 int32) (bool, error)
OnLayoutDirectionChanged calls android.graphics.drawable.AnimatedVectorDrawable.onLayoutDirectionChanged.
func (*AnimatedVectorDrawable) RegisterAnimationCallback ¶
func (m *AnimatedVectorDrawable) RegisterAnimationCallback(arg0 *jni.Object) error
RegisterAnimationCallback calls android.graphics.drawable.AnimatedVectorDrawable.registerAnimationCallback.
func (*AnimatedVectorDrawable) Reset ¶
func (m *AnimatedVectorDrawable) Reset() error
Reset calls android.graphics.drawable.AnimatedVectorDrawable.reset.
func (*AnimatedVectorDrawable) SetAlpha ¶
func (m *AnimatedVectorDrawable) SetAlpha(arg0 int32) error
SetAlpha calls android.graphics.drawable.AnimatedVectorDrawable.setAlpha.
func (*AnimatedVectorDrawable) SetColorFilter ¶
func (m *AnimatedVectorDrawable) SetColorFilter(arg0 *jni.Object) error
SetColorFilter calls android.graphics.drawable.AnimatedVectorDrawable.setColorFilter.
func (*AnimatedVectorDrawable) SetHotspot ¶
func (m *AnimatedVectorDrawable) SetHotspot(arg0 float32, arg1 float32) error
SetHotspot calls android.graphics.drawable.AnimatedVectorDrawable.setHotspot.
func (*AnimatedVectorDrawable) SetHotspotBounds ¶
func (m *AnimatedVectorDrawable) SetHotspotBounds( arg0 int32, arg1 int32, arg2 int32, arg3 int32, ) error
SetHotspotBounds calls android.graphics.drawable.AnimatedVectorDrawable.setHotspotBounds.
func (*AnimatedVectorDrawable) SetTintBlendMode ¶
func (m *AnimatedVectorDrawable) SetTintBlendMode(arg0 *jni.Object) error
SetTintBlendMode calls android.graphics.drawable.AnimatedVectorDrawable.setTintBlendMode.
func (*AnimatedVectorDrawable) SetTintList ¶
func (m *AnimatedVectorDrawable) SetTintList(arg0 *jni.Object) error
SetTintList calls android.graphics.drawable.AnimatedVectorDrawable.setTintList.
func (*AnimatedVectorDrawable) SetVisible ¶
func (m *AnimatedVectorDrawable) SetVisible(arg0 bool, arg1 bool) (bool, error)
SetVisible calls android.graphics.drawable.AnimatedVectorDrawable.setVisible.
func (*AnimatedVectorDrawable) Start ¶
func (m *AnimatedVectorDrawable) Start() error
Start calls android.graphics.drawable.AnimatedVectorDrawable.start.
func (*AnimatedVectorDrawable) Stop ¶
func (m *AnimatedVectorDrawable) Stop() error
Stop calls android.graphics.drawable.AnimatedVectorDrawable.stop.
func (*AnimatedVectorDrawable) ToString ¶ added in v0.0.8
func (m *AnimatedVectorDrawable) ToString() (string, error)
ToString calls android.graphics.drawable.AnimatedVectorDrawable.toString.
func (*AnimatedVectorDrawable) UnregisterAnimationCallback ¶
func (m *AnimatedVectorDrawable) UnregisterAnimationCallback(arg0 *jni.Object) (bool, error)
UnregisterAnimationCallback calls android.graphics.drawable.AnimatedVectorDrawable.unregisterAnimationCallback.
type AnimationDrawable ¶
AnimationDrawable wraps android.graphics.drawable.AnimationDrawable.
func NewAnimationDrawable ¶
func NewAnimationDrawable(vm *jni.VM) (*AnimationDrawable, error)
NewAnimationDrawable creates a new android.graphics.drawable.AnimationDrawable instance.
func (*AnimationDrawable) AddFrame ¶
func (m *AnimationDrawable) AddFrame(arg0 *jni.Object, arg1 int32) error
AddFrame calls android.graphics.drawable.AnimationDrawable.addFrame.
func (*AnimationDrawable) GetDuration ¶
func (m *AnimationDrawable) GetDuration(arg0 int32) (int32, error)
GetDuration calls android.graphics.drawable.AnimationDrawable.getDuration.
func (*AnimationDrawable) GetFrame ¶
func (m *AnimationDrawable) GetFrame(arg0 int32) (*jni.Object, error)
GetFrame calls android.graphics.drawable.AnimationDrawable.getFrame.
func (*AnimationDrawable) GetNumberOfFrames ¶
func (m *AnimationDrawable) GetNumberOfFrames() (int32, error)
GetNumberOfFrames calls android.graphics.drawable.AnimationDrawable.getNumberOfFrames.
func (*AnimationDrawable) Inflate ¶
func (m *AnimationDrawable) Inflate( arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object, ) error
Inflate calls android.graphics.drawable.AnimationDrawable.inflate.
func (*AnimationDrawable) IsOneShot ¶
func (m *AnimationDrawable) IsOneShot() (bool, error)
IsOneShot calls android.graphics.drawable.AnimationDrawable.isOneShot.
func (*AnimationDrawable) IsRunning ¶
func (m *AnimationDrawable) IsRunning() (bool, error)
IsRunning calls android.graphics.drawable.AnimationDrawable.isRunning.
func (*AnimationDrawable) Mutate ¶
func (m *AnimationDrawable) Mutate() (*jni.Object, error)
Mutate calls android.graphics.drawable.AnimationDrawable.mutate.
func (*AnimationDrawable) Run ¶
func (m *AnimationDrawable) Run() error
Run calls android.graphics.drawable.AnimationDrawable.run.
func (*AnimationDrawable) SetOneShot ¶
func (m *AnimationDrawable) SetOneShot(arg0 bool) error
SetOneShot calls android.graphics.drawable.AnimationDrawable.setOneShot.
func (*AnimationDrawable) SetVisible ¶
func (m *AnimationDrawable) SetVisible(arg0 bool, arg1 bool) (bool, error)
SetVisible calls android.graphics.drawable.AnimationDrawable.setVisible.
func (*AnimationDrawable) Start ¶
func (m *AnimationDrawable) Start() error
Start calls android.graphics.drawable.AnimationDrawable.start.
func (*AnimationDrawable) Stop ¶
func (m *AnimationDrawable) Stop() error
Stop calls android.graphics.drawable.AnimationDrawable.stop.
func (*AnimationDrawable) ToString ¶ added in v0.0.8
func (m *AnimationDrawable) ToString() (string, error)
ToString calls android.graphics.drawable.AnimationDrawable.toString.
func (*AnimationDrawable) UnscheduleSelf ¶
func (m *AnimationDrawable) UnscheduleSelf(arg0 *jni.Object) error
UnscheduleSelf calls android.graphics.drawable.AnimationDrawable.unscheduleSelf.
type BitmapDrawable ¶
BitmapDrawable wraps android.graphics.drawable.BitmapDrawable.
func NewBitmapDrawable ¶
func NewBitmapDrawable(vm *jni.VM) (*BitmapDrawable, error)
NewBitmapDrawable creates a new android.graphics.drawable.BitmapDrawable instance.
func (*BitmapDrawable) ApplyTheme ¶
func (m *BitmapDrawable) ApplyTheme(arg0 *jni.Object) error
ApplyTheme calls android.graphics.drawable.BitmapDrawable.applyTheme.
func (*BitmapDrawable) CanApplyTheme ¶
func (m *BitmapDrawable) CanApplyTheme() (bool, error)
CanApplyTheme calls android.graphics.drawable.BitmapDrawable.canApplyTheme.
func (*BitmapDrawable) Draw ¶
func (m *BitmapDrawable) Draw(arg0 *jni.Object) error
Draw calls android.graphics.drawable.BitmapDrawable.draw.
func (*BitmapDrawable) GetAlpha ¶
func (m *BitmapDrawable) GetAlpha() (int32, error)
GetAlpha calls android.graphics.drawable.BitmapDrawable.getAlpha.
func (*BitmapDrawable) GetBitmap ¶
func (m *BitmapDrawable) GetBitmap() (*jni.Object, error)
GetBitmap calls android.graphics.drawable.BitmapDrawable.getBitmap.
func (*BitmapDrawable) GetChangingConfigurations ¶
func (m *BitmapDrawable) GetChangingConfigurations() (int32, error)
GetChangingConfigurations calls android.graphics.drawable.BitmapDrawable.getChangingConfigurations.
func (*BitmapDrawable) GetColorFilter ¶
func (m *BitmapDrawable) GetColorFilter() (*jni.Object, error)
GetColorFilter calls android.graphics.drawable.BitmapDrawable.getColorFilter.
func (*BitmapDrawable) GetConstantState ¶
func (m *BitmapDrawable) GetConstantState() (*jni.Object, error)
GetConstantState calls android.graphics.drawable.BitmapDrawable.getConstantState.
func (*BitmapDrawable) GetGravity ¶
func (m *BitmapDrawable) GetGravity() (int32, error)
GetGravity calls android.graphics.drawable.BitmapDrawable.getGravity.
func (*BitmapDrawable) GetIntrinsicHeight ¶
func (m *BitmapDrawable) GetIntrinsicHeight() (int32, error)
GetIntrinsicHeight calls android.graphics.drawable.BitmapDrawable.getIntrinsicHeight.
func (*BitmapDrawable) GetIntrinsicWidth ¶
func (m *BitmapDrawable) GetIntrinsicWidth() (int32, error)
GetIntrinsicWidth calls android.graphics.drawable.BitmapDrawable.getIntrinsicWidth.
func (*BitmapDrawable) GetOpacity ¶
func (m *BitmapDrawable) GetOpacity() (int32, error)
GetOpacity calls android.graphics.drawable.BitmapDrawable.getOpacity.
func (*BitmapDrawable) GetOpticalInsets ¶
func (m *BitmapDrawable) GetOpticalInsets() (*jni.Object, error)
GetOpticalInsets calls android.graphics.drawable.BitmapDrawable.getOpticalInsets.
func (*BitmapDrawable) GetOutline ¶
func (m *BitmapDrawable) GetOutline(arg0 *jni.Object) error
GetOutline calls android.graphics.drawable.BitmapDrawable.getOutline.
func (*BitmapDrawable) GetPaint ¶
func (m *BitmapDrawable) GetPaint() (*jni.Object, error)
GetPaint calls android.graphics.drawable.BitmapDrawable.getPaint.
func (*BitmapDrawable) GetTileModeX ¶
func (m *BitmapDrawable) GetTileModeX() (*jni.Object, error)
GetTileModeX calls android.graphics.drawable.BitmapDrawable.getTileModeX.
func (*BitmapDrawable) GetTileModeY ¶
func (m *BitmapDrawable) GetTileModeY() (*jni.Object, error)
GetTileModeY calls android.graphics.drawable.BitmapDrawable.getTileModeY.
func (*BitmapDrawable) HasAntiAlias ¶
func (m *BitmapDrawable) HasAntiAlias() (bool, error)
HasAntiAlias calls android.graphics.drawable.BitmapDrawable.hasAntiAlias.
func (*BitmapDrawable) HasFocusStateSpecified ¶
func (m *BitmapDrawable) HasFocusStateSpecified() (bool, error)
HasFocusStateSpecified calls android.graphics.drawable.BitmapDrawable.hasFocusStateSpecified.
func (*BitmapDrawable) HasMipMap ¶
func (m *BitmapDrawable) HasMipMap() (bool, error)
HasMipMap calls android.graphics.drawable.BitmapDrawable.hasMipMap.
func (*BitmapDrawable) Inflate ¶
func (m *BitmapDrawable) Inflate( arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object, ) error
Inflate calls android.graphics.drawable.BitmapDrawable.inflate.
func (*BitmapDrawable) IsAutoMirrored ¶
func (m *BitmapDrawable) IsAutoMirrored() (bool, error)
IsAutoMirrored calls android.graphics.drawable.BitmapDrawable.isAutoMirrored.
func (*BitmapDrawable) IsFilterBitmap ¶
func (m *BitmapDrawable) IsFilterBitmap() (bool, error)
IsFilterBitmap calls android.graphics.drawable.BitmapDrawable.isFilterBitmap.
func (*BitmapDrawable) IsStateful ¶
func (m *BitmapDrawable) IsStateful() (bool, error)
IsStateful calls android.graphics.drawable.BitmapDrawable.isStateful.
func (*BitmapDrawable) Mutate ¶
func (m *BitmapDrawable) Mutate() (*jni.Object, error)
Mutate calls android.graphics.drawable.BitmapDrawable.mutate.
func (*BitmapDrawable) SetAlpha ¶
func (m *BitmapDrawable) SetAlpha(arg0 int32) error
SetAlpha calls android.graphics.drawable.BitmapDrawable.setAlpha.
func (*BitmapDrawable) SetAntiAlias ¶
func (m *BitmapDrawable) SetAntiAlias(arg0 bool) error
SetAntiAlias calls android.graphics.drawable.BitmapDrawable.setAntiAlias.
func (*BitmapDrawable) SetAutoMirrored ¶
func (m *BitmapDrawable) SetAutoMirrored(arg0 bool) error
SetAutoMirrored calls android.graphics.drawable.BitmapDrawable.setAutoMirrored.
func (*BitmapDrawable) SetBitmap ¶
func (m *BitmapDrawable) SetBitmap(arg0 *jni.Object) error
SetBitmap calls android.graphics.drawable.BitmapDrawable.setBitmap.
func (*BitmapDrawable) SetColorFilter ¶
func (m *BitmapDrawable) SetColorFilter(arg0 *jni.Object) error
SetColorFilter calls android.graphics.drawable.BitmapDrawable.setColorFilter.
func (*BitmapDrawable) SetDither ¶
func (m *BitmapDrawable) SetDither(arg0 bool) error
SetDither calls android.graphics.drawable.BitmapDrawable.setDither.
func (*BitmapDrawable) SetFilterBitmap ¶
func (m *BitmapDrawable) SetFilterBitmap(arg0 bool) error
SetFilterBitmap calls android.graphics.drawable.BitmapDrawable.setFilterBitmap.
func (*BitmapDrawable) SetGravity ¶
func (m *BitmapDrawable) SetGravity(arg0 int32) error
SetGravity calls android.graphics.drawable.BitmapDrawable.setGravity.
func (*BitmapDrawable) SetMipMap ¶
func (m *BitmapDrawable) SetMipMap(arg0 bool) error
SetMipMap calls android.graphics.drawable.BitmapDrawable.setMipMap.
func (*BitmapDrawable) SetTargetDensity1 ¶
func (m *BitmapDrawable) SetTargetDensity1(arg0 *jni.Object) error
SetTargetDensity1 calls android.graphics.drawable.BitmapDrawable.setTargetDensity.
func (*BitmapDrawable) SetTargetDensity1_1 ¶
func (m *BitmapDrawable) SetTargetDensity1_1(arg0 *jni.Object) error
SetTargetDensity1_1 calls android.graphics.drawable.BitmapDrawable.setTargetDensity.
func (*BitmapDrawable) SetTargetDensity1_2 ¶
func (m *BitmapDrawable) SetTargetDensity1_2(arg0 int32) error
SetTargetDensity1_2 calls android.graphics.drawable.BitmapDrawable.setTargetDensity.
func (*BitmapDrawable) SetTileModeX ¶
func (m *BitmapDrawable) SetTileModeX(arg0 *jni.Object) error
SetTileModeX calls android.graphics.drawable.BitmapDrawable.setTileModeX.
func (*BitmapDrawable) SetTileModeXY ¶
SetTileModeXY calls android.graphics.drawable.BitmapDrawable.setTileModeXY.
func (*BitmapDrawable) SetTileModeY ¶
func (m *BitmapDrawable) SetTileModeY(arg0 *jni.Object) error
SetTileModeY calls android.graphics.drawable.BitmapDrawable.setTileModeY.
func (*BitmapDrawable) SetTintBlendMode ¶
func (m *BitmapDrawable) SetTintBlendMode(arg0 *jni.Object) error
SetTintBlendMode calls android.graphics.drawable.BitmapDrawable.setTintBlendMode.
func (*BitmapDrawable) SetTintList ¶
func (m *BitmapDrawable) SetTintList(arg0 *jni.Object) error
SetTintList calls android.graphics.drawable.BitmapDrawable.setTintList.
func (*BitmapDrawable) ToString ¶ added in v0.0.8
func (m *BitmapDrawable) ToString() (string, error)
ToString calls android.graphics.drawable.BitmapDrawable.toString.
type Callback ¶
Callback wraps android.graphics.drawable.Drawable$Callback.
func (*Callback) InvalidateDrawable ¶
InvalidateDrawable calls android.graphics.drawable.Drawable$Callback.invalidateDrawable.
func (*Callback) ScheduleDrawable ¶
ScheduleDrawable calls android.graphics.drawable.Drawable$Callback.scheduleDrawable.
type ClipDrawable ¶
ClipDrawable wraps android.graphics.drawable.ClipDrawable.
func NewClipDrawable ¶
NewClipDrawable creates a new android.graphics.drawable.ClipDrawable instance.
func (*ClipDrawable) ApplyTheme ¶
func (m *ClipDrawable) ApplyTheme(arg0 *jni.Object) error
ApplyTheme calls android.graphics.drawable.ClipDrawable.applyTheme.
func (*ClipDrawable) Draw ¶
func (m *ClipDrawable) Draw(arg0 *jni.Object) error
Draw calls android.graphics.drawable.ClipDrawable.draw.
func (*ClipDrawable) GetOpacity ¶
func (m *ClipDrawable) GetOpacity() (int32, error)
GetOpacity calls android.graphics.drawable.ClipDrawable.getOpacity.
func (*ClipDrawable) Inflate ¶
func (m *ClipDrawable) Inflate( arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object, ) error
Inflate calls android.graphics.drawable.ClipDrawable.inflate.
func (*ClipDrawable) ToString ¶ added in v0.0.8
func (m *ClipDrawable) ToString() (string, error)
ToString calls android.graphics.drawable.ClipDrawable.toString.
type ColorDrawable ¶
ColorDrawable wraps android.graphics.drawable.ColorDrawable.
func NewColorDrawable ¶
func NewColorDrawable(vm *jni.VM) (*ColorDrawable, error)
NewColorDrawable creates a new android.graphics.drawable.ColorDrawable instance.
func (*ColorDrawable) ApplyTheme ¶
func (m *ColorDrawable) ApplyTheme(arg0 *jni.Object) error
ApplyTheme calls android.graphics.drawable.ColorDrawable.applyTheme.
func (*ColorDrawable) CanApplyTheme ¶
func (m *ColorDrawable) CanApplyTheme() (bool, error)
CanApplyTheme calls android.graphics.drawable.ColorDrawable.canApplyTheme.
func (*ColorDrawable) Draw ¶
func (m *ColorDrawable) Draw(arg0 *jni.Object) error
Draw calls android.graphics.drawable.ColorDrawable.draw.
func (*ColorDrawable) GetAlpha ¶
func (m *ColorDrawable) GetAlpha() (int32, error)
GetAlpha calls android.graphics.drawable.ColorDrawable.getAlpha.
func (*ColorDrawable) GetChangingConfigurations ¶
func (m *ColorDrawable) GetChangingConfigurations() (int32, error)
GetChangingConfigurations calls android.graphics.drawable.ColorDrawable.getChangingConfigurations.
func (*ColorDrawable) GetColor ¶
func (m *ColorDrawable) GetColor() (int32, error)
GetColor calls android.graphics.drawable.ColorDrawable.getColor.
func (*ColorDrawable) GetColorFilter ¶
func (m *ColorDrawable) GetColorFilter() (*jni.Object, error)
GetColorFilter calls android.graphics.drawable.ColorDrawable.getColorFilter.
func (*ColorDrawable) GetConstantState ¶
func (m *ColorDrawable) GetConstantState() (*jni.Object, error)
GetConstantState calls android.graphics.drawable.ColorDrawable.getConstantState.
func (*ColorDrawable) GetOpacity ¶
func (m *ColorDrawable) GetOpacity() (int32, error)
GetOpacity calls android.graphics.drawable.ColorDrawable.getOpacity.
func (*ColorDrawable) GetOutline ¶
func (m *ColorDrawable) GetOutline(arg0 *jni.Object) error
GetOutline calls android.graphics.drawable.ColorDrawable.getOutline.
func (*ColorDrawable) HasFocusStateSpecified ¶
func (m *ColorDrawable) HasFocusStateSpecified() (bool, error)
HasFocusStateSpecified calls android.graphics.drawable.ColorDrawable.hasFocusStateSpecified.
func (*ColorDrawable) Inflate ¶
func (m *ColorDrawable) Inflate( arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object, ) error
Inflate calls android.graphics.drawable.ColorDrawable.inflate.
func (*ColorDrawable) IsStateful ¶
func (m *ColorDrawable) IsStateful() (bool, error)
IsStateful calls android.graphics.drawable.ColorDrawable.isStateful.
func (*ColorDrawable) Mutate ¶
func (m *ColorDrawable) Mutate() (*jni.Object, error)
Mutate calls android.graphics.drawable.ColorDrawable.mutate.
func (*ColorDrawable) SetAlpha ¶
func (m *ColorDrawable) SetAlpha(arg0 int32) error
SetAlpha calls android.graphics.drawable.ColorDrawable.setAlpha.
func (*ColorDrawable) SetColor ¶
func (m *ColorDrawable) SetColor(arg0 int32) error
SetColor calls android.graphics.drawable.ColorDrawable.setColor.
func (*ColorDrawable) SetColorFilter ¶
func (m *ColorDrawable) SetColorFilter(arg0 *jni.Object) error
SetColorFilter calls android.graphics.drawable.ColorDrawable.setColorFilter.
func (*ColorDrawable) SetTintBlendMode ¶
func (m *ColorDrawable) SetTintBlendMode(arg0 *jni.Object) error
SetTintBlendMode calls android.graphics.drawable.ColorDrawable.setTintBlendMode.
func (*ColorDrawable) SetTintList ¶
func (m *ColorDrawable) SetTintList(arg0 *jni.Object) error
SetTintList calls android.graphics.drawable.ColorDrawable.setTintList.
func (*ColorDrawable) ToString ¶ added in v0.0.8
func (m *ColorDrawable) ToString() (string, error)
ToString calls android.graphics.drawable.ColorDrawable.toString.
type ColorStateListDrawable ¶
ColorStateListDrawable wraps android.graphics.drawable.ColorStateListDrawable.
func NewColorStateListDrawable ¶
func NewColorStateListDrawable(vm *jni.VM) (*ColorStateListDrawable, error)
NewColorStateListDrawable creates a new android.graphics.drawable.ColorStateListDrawable instance.
func (*ColorStateListDrawable) ApplyTheme ¶
func (m *ColorStateListDrawable) ApplyTheme(arg0 *jni.Object) error
ApplyTheme calls android.graphics.drawable.ColorStateListDrawable.applyTheme.
func (*ColorStateListDrawable) CanApplyTheme ¶
func (m *ColorStateListDrawable) CanApplyTheme() (bool, error)
CanApplyTheme calls android.graphics.drawable.ColorStateListDrawable.canApplyTheme.
func (*ColorStateListDrawable) ClearAlpha ¶
func (m *ColorStateListDrawable) ClearAlpha() error
ClearAlpha calls android.graphics.drawable.ColorStateListDrawable.clearAlpha.
func (*ColorStateListDrawable) Draw ¶
func (m *ColorStateListDrawable) Draw(arg0 *jni.Object) error
Draw calls android.graphics.drawable.ColorStateListDrawable.draw.
func (*ColorStateListDrawable) GetAlpha ¶
func (m *ColorStateListDrawable) GetAlpha() (int32, error)
GetAlpha calls android.graphics.drawable.ColorStateListDrawable.getAlpha.
func (*ColorStateListDrawable) GetChangingConfigurations ¶
func (m *ColorStateListDrawable) GetChangingConfigurations() (int32, error)
GetChangingConfigurations calls android.graphics.drawable.ColorStateListDrawable.getChangingConfigurations.
func (*ColorStateListDrawable) GetColorFilter ¶
func (m *ColorStateListDrawable) GetColorFilter() (*jni.Object, error)
GetColorFilter calls android.graphics.drawable.ColorStateListDrawable.getColorFilter.
func (*ColorStateListDrawable) GetColorStateList ¶
func (m *ColorStateListDrawable) GetColorStateList() (*jni.Object, error)
GetColorStateList calls android.graphics.drawable.ColorStateListDrawable.getColorStateList.
func (*ColorStateListDrawable) GetConstantState ¶
func (m *ColorStateListDrawable) GetConstantState() (*jni.Object, error)
GetConstantState calls android.graphics.drawable.ColorStateListDrawable.getConstantState.
func (*ColorStateListDrawable) GetCurrent ¶
func (m *ColorStateListDrawable) GetCurrent() (*jni.Object, error)
GetCurrent calls android.graphics.drawable.ColorStateListDrawable.getCurrent.
func (*ColorStateListDrawable) GetOpacity ¶
func (m *ColorStateListDrawable) GetOpacity() (int32, error)
GetOpacity calls android.graphics.drawable.ColorStateListDrawable.getOpacity.
func (*ColorStateListDrawable) HasFocusStateSpecified ¶
func (m *ColorStateListDrawable) HasFocusStateSpecified() (bool, error)
HasFocusStateSpecified calls android.graphics.drawable.ColorStateListDrawable.hasFocusStateSpecified.
func (*ColorStateListDrawable) InvalidateDrawable ¶
func (m *ColorStateListDrawable) InvalidateDrawable(arg0 *jni.Object) error
InvalidateDrawable calls android.graphics.drawable.ColorStateListDrawable.invalidateDrawable.
func (*ColorStateListDrawable) IsStateful ¶
func (m *ColorStateListDrawable) IsStateful() (bool, error)
IsStateful calls android.graphics.drawable.ColorStateListDrawable.isStateful.
func (*ColorStateListDrawable) Mutate ¶
func (m *ColorStateListDrawable) Mutate() (*jni.Object, error)
Mutate calls android.graphics.drawable.ColorStateListDrawable.mutate.
func (*ColorStateListDrawable) ScheduleDrawable ¶
func (m *ColorStateListDrawable) ScheduleDrawable( arg0 *jni.Object, arg1 *jni.Object, arg2 int64, ) error
ScheduleDrawable calls android.graphics.drawable.ColorStateListDrawable.scheduleDrawable.
func (*ColorStateListDrawable) SetAlpha ¶
func (m *ColorStateListDrawable) SetAlpha(arg0 int32) error
SetAlpha calls android.graphics.drawable.ColorStateListDrawable.setAlpha.
func (*ColorStateListDrawable) SetColorFilter ¶
func (m *ColorStateListDrawable) SetColorFilter(arg0 *jni.Object) error
SetColorFilter calls android.graphics.drawable.ColorStateListDrawable.setColorFilter.
func (*ColorStateListDrawable) SetColorStateList ¶
func (m *ColorStateListDrawable) SetColorStateList(arg0 *jni.Object) error
SetColorStateList calls android.graphics.drawable.ColorStateListDrawable.setColorStateList.
func (*ColorStateListDrawable) SetTintBlendMode ¶
func (m *ColorStateListDrawable) SetTintBlendMode(arg0 *jni.Object) error
SetTintBlendMode calls android.graphics.drawable.ColorStateListDrawable.setTintBlendMode.
func (*ColorStateListDrawable) SetTintList ¶
func (m *ColorStateListDrawable) SetTintList(arg0 *jni.Object) error
SetTintList calls android.graphics.drawable.ColorStateListDrawable.setTintList.
func (*ColorStateListDrawable) ToString ¶ added in v0.0.8
func (m *ColorStateListDrawable) ToString() (string, error)
ToString calls android.graphics.drawable.ColorStateListDrawable.toString.
func (*ColorStateListDrawable) UnscheduleDrawable ¶
UnscheduleDrawable calls android.graphics.drawable.ColorStateListDrawable.unscheduleDrawable.
type ConstantState ¶
ConstantState wraps android.graphics.drawable.Drawable$ConstantState.
func (*ConstantState) CanApplyTheme ¶
func (m *ConstantState) CanApplyTheme() (bool, error)
CanApplyTheme calls android.graphics.drawable.Drawable$ConstantState.canApplyTheme.
func (*ConstantState) GetChangingConfigurations ¶
func (m *ConstantState) GetChangingConfigurations() (int32, error)
GetChangingConfigurations calls android.graphics.drawable.Drawable$ConstantState.getChangingConfigurations.
func (*ConstantState) NewDrawable0 ¶
func (m *ConstantState) NewDrawable0() (*jni.Object, error)
NewDrawable0 calls android.graphics.drawable.Drawable$ConstantState.newDrawable.
func (*ConstantState) NewDrawable1_1 ¶
NewDrawable1_1 calls android.graphics.drawable.Drawable$ConstantState.newDrawable.
func (*ConstantState) NewDrawable2_2 ¶
NewDrawable2_2 calls android.graphics.drawable.Drawable$ConstantState.newDrawable.
func (*ConstantState) ToString ¶ added in v0.0.8
func (m *ConstantState) ToString() (string, error)
ToString calls android.graphics.drawable.Drawable$ConstantState.toString.
type Container ¶
Container wraps android.graphics.drawable.DrawableContainer.
func NewContainer ¶
NewContainer creates a new android.graphics.drawable.DrawableContainer instance.
func (*Container) ApplyTheme ¶
ApplyTheme calls android.graphics.drawable.DrawableContainer.applyTheme.
func (*Container) CanApplyTheme ¶
CanApplyTheme calls android.graphics.drawable.DrawableContainer.canApplyTheme.
func (*Container) GetChangingConfigurations ¶
GetChangingConfigurations calls android.graphics.drawable.DrawableContainer.getChangingConfigurations.
func (*Container) GetConstantState ¶
GetConstantState calls android.graphics.drawable.DrawableContainer.getConstantState.
func (*Container) GetCurrent ¶
GetCurrent calls android.graphics.drawable.DrawableContainer.getCurrent.
func (*Container) GetHotspotBounds ¶
GetHotspotBounds calls android.graphics.drawable.DrawableContainer.getHotspotBounds.
func (*Container) GetIntrinsicHeight ¶
GetIntrinsicHeight calls android.graphics.drawable.DrawableContainer.getIntrinsicHeight.
func (*Container) GetIntrinsicWidth ¶
GetIntrinsicWidth calls android.graphics.drawable.DrawableContainer.getIntrinsicWidth.
func (*Container) GetMinimumHeight ¶
GetMinimumHeight calls android.graphics.drawable.DrawableContainer.getMinimumHeight.
func (*Container) GetMinimumWidth ¶
GetMinimumWidth calls android.graphics.drawable.DrawableContainer.getMinimumWidth.
func (*Container) GetOpacity ¶
GetOpacity calls android.graphics.drawable.DrawableContainer.getOpacity.
func (*Container) GetOpticalInsets ¶
GetOpticalInsets calls android.graphics.drawable.DrawableContainer.getOpticalInsets.
func (*Container) GetOutline ¶
GetOutline calls android.graphics.drawable.DrawableContainer.getOutline.
func (*Container) GetPadding ¶
GetPadding calls android.graphics.drawable.DrawableContainer.getPadding.
func (*Container) HasFocusStateSpecified ¶
HasFocusStateSpecified calls android.graphics.drawable.DrawableContainer.hasFocusStateSpecified.
func (*Container) InvalidateDrawable ¶
InvalidateDrawable calls android.graphics.drawable.DrawableContainer.invalidateDrawable.
func (*Container) IsAutoMirrored ¶
IsAutoMirrored calls android.graphics.drawable.DrawableContainer.isAutoMirrored.
func (*Container) IsStateful ¶
IsStateful calls android.graphics.drawable.DrawableContainer.isStateful.
func (*Container) JumpToCurrentState ¶
JumpToCurrentState calls android.graphics.drawable.DrawableContainer.jumpToCurrentState.
func (*Container) OnLayoutDirectionChanged ¶
OnLayoutDirectionChanged calls android.graphics.drawable.DrawableContainer.onLayoutDirectionChanged.
func (*Container) ScheduleDrawable ¶
ScheduleDrawable calls android.graphics.drawable.DrawableContainer.scheduleDrawable.
func (*Container) SelectDrawable ¶
SelectDrawable calls android.graphics.drawable.DrawableContainer.selectDrawable.
func (*Container) SetAutoMirrored ¶
SetAutoMirrored calls android.graphics.drawable.DrawableContainer.setAutoMirrored.
func (*Container) SetColorFilter ¶
SetColorFilter calls android.graphics.drawable.DrawableContainer.setColorFilter.
func (*Container) SetDither ¶
SetDither calls android.graphics.drawable.DrawableContainer.setDither.
func (*Container) SetEnterFadeDuration ¶
SetEnterFadeDuration calls android.graphics.drawable.DrawableContainer.setEnterFadeDuration.
func (*Container) SetExitFadeDuration ¶
SetExitFadeDuration calls android.graphics.drawable.DrawableContainer.setExitFadeDuration.
func (*Container) SetHotspot ¶
SetHotspot calls android.graphics.drawable.DrawableContainer.setHotspot.
func (*Container) SetHotspotBounds ¶
SetHotspotBounds calls android.graphics.drawable.DrawableContainer.setHotspotBounds.
func (*Container) SetTintBlendMode ¶
SetTintBlendMode calls android.graphics.drawable.DrawableContainer.setTintBlendMode.
func (*Container) SetTintList ¶
SetTintList calls android.graphics.drawable.DrawableContainer.setTintList.
func (*Container) SetVisible ¶
SetVisible calls android.graphics.drawable.DrawableContainer.setVisible.
type ContainerDrawableContainerState ¶
ContainerDrawableContainerState wraps android.graphics.drawable.DrawableContainer$DrawableContainerState.
func (*ContainerDrawableContainerState) AddChild ¶
func (m *ContainerDrawableContainerState) AddChild(arg0 *jni.Object) (int32, error)
AddChild calls android.graphics.drawable.DrawableContainer$DrawableContainerState.addChild.
func (*ContainerDrawableContainerState) CanApplyTheme ¶
func (m *ContainerDrawableContainerState) CanApplyTheme() (bool, error)
CanApplyTheme calls android.graphics.drawable.DrawableContainer$DrawableContainerState.canApplyTheme.
func (*ContainerDrawableContainerState) GetChangingConfigurations ¶
func (m *ContainerDrawableContainerState) GetChangingConfigurations() (int32, error)
GetChangingConfigurations calls android.graphics.drawable.DrawableContainer$DrawableContainerState.getChangingConfigurations.
func (*ContainerDrawableContainerState) GetChild ¶
func (m *ContainerDrawableContainerState) GetChild(arg0 int32) (*jni.Object, error)
GetChild calls android.graphics.drawable.DrawableContainer$DrawableContainerState.getChild.
func (*ContainerDrawableContainerState) GetChildCount ¶
func (m *ContainerDrawableContainerState) GetChildCount() (int32, error)
GetChildCount calls android.graphics.drawable.DrawableContainer$DrawableContainerState.getChildCount.
func (*ContainerDrawableContainerState) GetChildren ¶
func (m *ContainerDrawableContainerState) GetChildren() (*jni.Object, error)
GetChildren calls android.graphics.drawable.DrawableContainer$DrawableContainerState.getChildren.
func (*ContainerDrawableContainerState) GetConstantHeight ¶
func (m *ContainerDrawableContainerState) GetConstantHeight() (int32, error)
GetConstantHeight calls android.graphics.drawable.DrawableContainer$DrawableContainerState.getConstantHeight.
func (*ContainerDrawableContainerState) GetConstantMinimumHeight ¶
func (m *ContainerDrawableContainerState) GetConstantMinimumHeight() (int32, error)
GetConstantMinimumHeight calls android.graphics.drawable.DrawableContainer$DrawableContainerState.getConstantMinimumHeight.
func (*ContainerDrawableContainerState) GetConstantMinimumWidth ¶
func (m *ContainerDrawableContainerState) GetConstantMinimumWidth() (int32, error)
GetConstantMinimumWidth calls android.graphics.drawable.DrawableContainer$DrawableContainerState.getConstantMinimumWidth.
func (*ContainerDrawableContainerState) GetConstantPadding ¶
func (m *ContainerDrawableContainerState) GetConstantPadding() (*jni.Object, error)
GetConstantPadding calls android.graphics.drawable.DrawableContainer$DrawableContainerState.getConstantPadding.
func (*ContainerDrawableContainerState) GetConstantWidth ¶
func (m *ContainerDrawableContainerState) GetConstantWidth() (int32, error)
GetConstantWidth calls android.graphics.drawable.DrawableContainer$DrawableContainerState.getConstantWidth.
func (*ContainerDrawableContainerState) GetEnterFadeDuration ¶
func (m *ContainerDrawableContainerState) GetEnterFadeDuration() (int32, error)
GetEnterFadeDuration calls android.graphics.drawable.DrawableContainer$DrawableContainerState.getEnterFadeDuration.
func (*ContainerDrawableContainerState) GetExitFadeDuration ¶
func (m *ContainerDrawableContainerState) GetExitFadeDuration() (int32, error)
GetExitFadeDuration calls android.graphics.drawable.DrawableContainer$DrawableContainerState.getExitFadeDuration.
func (*ContainerDrawableContainerState) GetOpacity ¶
func (m *ContainerDrawableContainerState) GetOpacity() (int32, error)
GetOpacity calls android.graphics.drawable.DrawableContainer$DrawableContainerState.getOpacity.
func (*ContainerDrawableContainerState) GrowArray ¶
func (m *ContainerDrawableContainerState) GrowArray(arg0 int32, arg1 int32) error
GrowArray calls android.graphics.drawable.DrawableContainer$DrawableContainerState.growArray.
func (*ContainerDrawableContainerState) IsConstantSize ¶
func (m *ContainerDrawableContainerState) IsConstantSize() (bool, error)
IsConstantSize calls android.graphics.drawable.DrawableContainer$DrawableContainerState.isConstantSize.
func (*ContainerDrawableContainerState) IsStateful ¶
func (m *ContainerDrawableContainerState) IsStateful() (bool, error)
IsStateful calls android.graphics.drawable.DrawableContainer$DrawableContainerState.isStateful.
func (*ContainerDrawableContainerState) SetConstantSize ¶
func (m *ContainerDrawableContainerState) SetConstantSize(arg0 bool) error
SetConstantSize calls android.graphics.drawable.DrawableContainer$DrawableContainerState.setConstantSize.
func (*ContainerDrawableContainerState) SetEnterFadeDuration ¶
func (m *ContainerDrawableContainerState) SetEnterFadeDuration(arg0 int32) error
SetEnterFadeDuration calls android.graphics.drawable.DrawableContainer$DrawableContainerState.setEnterFadeDuration.
func (*ContainerDrawableContainerState) SetExitFadeDuration ¶
func (m *ContainerDrawableContainerState) SetExitFadeDuration(arg0 int32) error
SetExitFadeDuration calls android.graphics.drawable.DrawableContainer$DrawableContainerState.setExitFadeDuration.
func (*ContainerDrawableContainerState) SetVariablePadding ¶
func (m *ContainerDrawableContainerState) SetVariablePadding(arg0 bool) error
SetVariablePadding calls android.graphics.drawable.DrawableContainer$DrawableContainerState.setVariablePadding.
func (*ContainerDrawableContainerState) ToString ¶ added in v0.0.8
func (m *ContainerDrawableContainerState) ToString() (string, error)
ToString calls android.graphics.drawable.DrawableContainer$DrawableContainerState.toString.
type Drawable ¶
Drawable wraps android.graphics.drawable.Drawable.
func (*Drawable) ApplyTheme ¶
ApplyTheme calls android.graphics.drawable.Drawable.applyTheme.
func (*Drawable) CanApplyTheme ¶
CanApplyTheme calls android.graphics.drawable.Drawable.canApplyTheme.
func (*Drawable) ClearColorFilter ¶
ClearColorFilter calls android.graphics.drawable.Drawable.clearColorFilter.
func (*Drawable) CopyBounds0 ¶
CopyBounds0 calls android.graphics.drawable.Drawable.copyBounds.
func (*Drawable) CopyBounds1_1 ¶
CopyBounds1_1 calls android.graphics.drawable.Drawable.copyBounds.
func (*Drawable) CreateFromPath ¶
CreateFromPath calls android.graphics.drawable.Drawable.createFromPath.
func (*Drawable) CreateFromResourceStream4 ¶
func (m *Drawable) CreateFromResourceStream4( arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 string, ) (*jni.Object, error)
CreateFromResourceStream4 calls android.graphics.drawable.Drawable.createFromResourceStream.
func (*Drawable) CreateFromResourceStream5_1 ¶
func (m *Drawable) CreateFromResourceStream5_1( arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 string, arg4 *jni.Object, ) (*jni.Object, error)
CreateFromResourceStream5_1 calls android.graphics.drawable.Drawable.createFromResourceStream.
func (*Drawable) CreateFromStream ¶
CreateFromStream calls android.graphics.drawable.Drawable.createFromStream.
func (*Drawable) CreateFromXml2 ¶
CreateFromXml2 calls android.graphics.drawable.Drawable.createFromXml.
func (*Drawable) CreateFromXml3_1 ¶
func (m *Drawable) CreateFromXml3_1( arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, ) (*jni.Object, error)
CreateFromXml3_1 calls android.graphics.drawable.Drawable.createFromXml.
func (*Drawable) CreateFromXmlInner3 ¶
func (m *Drawable) CreateFromXmlInner3( arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, ) (*jni.Object, error)
CreateFromXmlInner3 calls android.graphics.drawable.Drawable.createFromXmlInner.
func (*Drawable) CreateFromXmlInner4_1 ¶
func (m *Drawable) CreateFromXmlInner4_1( arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object, ) (*jni.Object, error)
CreateFromXmlInner4_1 calls android.graphics.drawable.Drawable.createFromXmlInner.
func (*Drawable) GetCallback ¶
GetCallback calls android.graphics.drawable.Drawable.getCallback.
func (*Drawable) GetChangingConfigurations ¶
GetChangingConfigurations calls android.graphics.drawable.Drawable.getChangingConfigurations.
func (*Drawable) GetColorFilter ¶
GetColorFilter calls android.graphics.drawable.Drawable.getColorFilter.
func (*Drawable) GetConstantState ¶
GetConstantState calls android.graphics.drawable.Drawable.getConstantState.
func (*Drawable) GetCurrent ¶
GetCurrent calls android.graphics.drawable.Drawable.getCurrent.
func (*Drawable) GetDirtyBounds ¶
GetDirtyBounds calls android.graphics.drawable.Drawable.getDirtyBounds.
func (*Drawable) GetHotspotBounds ¶
GetHotspotBounds calls android.graphics.drawable.Drawable.getHotspotBounds.
func (*Drawable) GetIntrinsicHeight ¶
GetIntrinsicHeight calls android.graphics.drawable.Drawable.getIntrinsicHeight.
func (*Drawable) GetIntrinsicWidth ¶
GetIntrinsicWidth calls android.graphics.drawable.Drawable.getIntrinsicWidth.
func (*Drawable) GetLayoutDirection ¶
GetLayoutDirection calls android.graphics.drawable.Drawable.getLayoutDirection.
func (*Drawable) GetMinimumHeight ¶
GetMinimumHeight calls android.graphics.drawable.Drawable.getMinimumHeight.
func (*Drawable) GetMinimumWidth ¶
GetMinimumWidth calls android.graphics.drawable.Drawable.getMinimumWidth.
func (*Drawable) GetOpacity ¶
GetOpacity calls android.graphics.drawable.Drawable.getOpacity.
func (*Drawable) GetOpticalInsets ¶
GetOpticalInsets calls android.graphics.drawable.Drawable.getOpticalInsets.
func (*Drawable) GetOutline ¶
GetOutline calls android.graphics.drawable.Drawable.getOutline.
func (*Drawable) GetPadding ¶
GetPadding calls android.graphics.drawable.Drawable.getPadding.
func (*Drawable) GetTransparentRegion ¶
GetTransparentRegion calls android.graphics.drawable.Drawable.getTransparentRegion.
func (*Drawable) HasFocusStateSpecified ¶
HasFocusStateSpecified calls android.graphics.drawable.Drawable.hasFocusStateSpecified.
func (*Drawable) Inflate4_1 ¶
func (m *Drawable) Inflate4_1( arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object, ) error
Inflate4_1 calls android.graphics.drawable.Drawable.inflate.
func (*Drawable) InvalidateSelf ¶
InvalidateSelf calls android.graphics.drawable.Drawable.invalidateSelf.
func (*Drawable) IsAutoMirrored ¶
IsAutoMirrored calls android.graphics.drawable.Drawable.isAutoMirrored.
func (*Drawable) IsFilterBitmap ¶
IsFilterBitmap calls android.graphics.drawable.Drawable.isFilterBitmap.
func (*Drawable) IsProjected ¶
IsProjected calls android.graphics.drawable.Drawable.isProjected.
func (*Drawable) IsStateful ¶
IsStateful calls android.graphics.drawable.Drawable.isStateful.
func (*Drawable) JumpToCurrentState ¶
JumpToCurrentState calls android.graphics.drawable.Drawable.jumpToCurrentState.
func (*Drawable) OnLayoutDirectionChanged ¶
OnLayoutDirectionChanged calls android.graphics.drawable.Drawable.onLayoutDirectionChanged.
func (*Drawable) ResolveOpacity ¶
ResolveOpacity calls android.graphics.drawable.Drawable.resolveOpacity.
func (*Drawable) ScheduleSelf ¶
ScheduleSelf calls android.graphics.drawable.Drawable.scheduleSelf.
func (*Drawable) SetAutoMirrored ¶
SetAutoMirrored calls android.graphics.drawable.Drawable.setAutoMirrored.
func (*Drawable) SetBounds1 ¶
SetBounds1 calls android.graphics.drawable.Drawable.setBounds.
func (*Drawable) SetBounds4_1 ¶
SetBounds4_1 calls android.graphics.drawable.Drawable.setBounds.
func (*Drawable) SetCallback ¶
SetCallback calls android.graphics.drawable.Drawable.setCallback.
func (*Drawable) SetChangingConfigurations ¶
SetChangingConfigurations calls android.graphics.drawable.Drawable.setChangingConfigurations.
func (*Drawable) SetColorFilter1 ¶
SetColorFilter1 calls android.graphics.drawable.Drawable.setColorFilter.
func (*Drawable) SetColorFilter2_1 ¶
SetColorFilter2_1 calls android.graphics.drawable.Drawable.setColorFilter.
func (*Drawable) SetFilterBitmap ¶
SetFilterBitmap calls android.graphics.drawable.Drawable.setFilterBitmap.
func (*Drawable) SetHotspot ¶
SetHotspot calls android.graphics.drawable.Drawable.setHotspot.
func (*Drawable) SetHotspotBounds ¶
SetHotspotBounds calls android.graphics.drawable.Drawable.setHotspotBounds.
func (*Drawable) SetLayoutDirection ¶
SetLayoutDirection calls android.graphics.drawable.Drawable.setLayoutDirection.
func (*Drawable) SetTintBlendMode ¶
SetTintBlendMode calls android.graphics.drawable.Drawable.setTintBlendMode.
func (*Drawable) SetTintList ¶
SetTintList calls android.graphics.drawable.Drawable.setTintList.
func (*Drawable) SetTintMode ¶
SetTintMode calls android.graphics.drawable.Drawable.setTintMode.
func (*Drawable) SetVisible ¶
SetVisible calls android.graphics.drawable.Drawable.setVisible.
type GradientDrawable ¶
GradientDrawable wraps android.graphics.drawable.GradientDrawable.
func NewGradientDrawable ¶
func NewGradientDrawable(vm *jni.VM) (*GradientDrawable, error)
NewGradientDrawable creates a new android.graphics.drawable.GradientDrawable instance.
func (*GradientDrawable) ApplyTheme ¶
func (m *GradientDrawable) ApplyTheme(arg0 *jni.Object) error
ApplyTheme calls android.graphics.drawable.GradientDrawable.applyTheme.
func (*GradientDrawable) CanApplyTheme ¶
func (m *GradientDrawable) CanApplyTheme() (bool, error)
CanApplyTheme calls android.graphics.drawable.GradientDrawable.canApplyTheme.
func (*GradientDrawable) Draw ¶
func (m *GradientDrawable) Draw(arg0 *jni.Object) error
Draw calls android.graphics.drawable.GradientDrawable.draw.
func (*GradientDrawable) GetAlpha ¶
func (m *GradientDrawable) GetAlpha() (int32, error)
GetAlpha calls android.graphics.drawable.GradientDrawable.getAlpha.
func (*GradientDrawable) GetChangingConfigurations ¶
func (m *GradientDrawable) GetChangingConfigurations() (int32, error)
GetChangingConfigurations calls android.graphics.drawable.GradientDrawable.getChangingConfigurations.
func (*GradientDrawable) GetColor ¶
func (m *GradientDrawable) GetColor() (*jni.Object, error)
GetColor calls android.graphics.drawable.GradientDrawable.getColor.
func (*GradientDrawable) GetColorFilter ¶
func (m *GradientDrawable) GetColorFilter() (*jni.Object, error)
GetColorFilter calls android.graphics.drawable.GradientDrawable.getColorFilter.
func (*GradientDrawable) GetColors ¶
func (m *GradientDrawable) GetColors() (*jni.Object, error)
GetColors calls android.graphics.drawable.GradientDrawable.getColors.
func (*GradientDrawable) GetConstantState ¶
func (m *GradientDrawable) GetConstantState() (*jni.Object, error)
GetConstantState calls android.graphics.drawable.GradientDrawable.getConstantState.
func (*GradientDrawable) GetCornerRadii ¶
func (m *GradientDrawable) GetCornerRadii() (*jni.Object, error)
GetCornerRadii calls android.graphics.drawable.GradientDrawable.getCornerRadii.
func (*GradientDrawable) GetCornerRadius ¶
func (m *GradientDrawable) GetCornerRadius() (float32, error)
GetCornerRadius calls android.graphics.drawable.GradientDrawable.getCornerRadius.
func (*GradientDrawable) GetGradientCenterX ¶
func (m *GradientDrawable) GetGradientCenterX() (float32, error)
GetGradientCenterX calls android.graphics.drawable.GradientDrawable.getGradientCenterX.
func (*GradientDrawable) GetGradientCenterY ¶
func (m *GradientDrawable) GetGradientCenterY() (float32, error)
GetGradientCenterY calls android.graphics.drawable.GradientDrawable.getGradientCenterY.
func (*GradientDrawable) GetGradientRadius ¶
func (m *GradientDrawable) GetGradientRadius() (float32, error)
GetGradientRadius calls android.graphics.drawable.GradientDrawable.getGradientRadius.
func (*GradientDrawable) GetGradientType ¶
func (m *GradientDrawable) GetGradientType() (int32, error)
GetGradientType calls android.graphics.drawable.GradientDrawable.getGradientType.
func (*GradientDrawable) GetInnerRadius ¶
func (m *GradientDrawable) GetInnerRadius() (int32, error)
GetInnerRadius calls android.graphics.drawable.GradientDrawable.getInnerRadius.
func (*GradientDrawable) GetInnerRadiusRatio ¶
func (m *GradientDrawable) GetInnerRadiusRatio() (float32, error)
GetInnerRadiusRatio calls android.graphics.drawable.GradientDrawable.getInnerRadiusRatio.
func (*GradientDrawable) GetIntrinsicHeight ¶
func (m *GradientDrawable) GetIntrinsicHeight() (int32, error)
GetIntrinsicHeight calls android.graphics.drawable.GradientDrawable.getIntrinsicHeight.
func (*GradientDrawable) GetIntrinsicWidth ¶
func (m *GradientDrawable) GetIntrinsicWidth() (int32, error)
GetIntrinsicWidth calls android.graphics.drawable.GradientDrawable.getIntrinsicWidth.
func (*GradientDrawable) GetOpacity ¶
func (m *GradientDrawable) GetOpacity() (int32, error)
GetOpacity calls android.graphics.drawable.GradientDrawable.getOpacity.
func (*GradientDrawable) GetOpticalInsets ¶
func (m *GradientDrawable) GetOpticalInsets() (*jni.Object, error)
GetOpticalInsets calls android.graphics.drawable.GradientDrawable.getOpticalInsets.
func (*GradientDrawable) GetOrientation ¶
func (m *GradientDrawable) GetOrientation() (*jni.Object, error)
GetOrientation calls android.graphics.drawable.GradientDrawable.getOrientation.
func (*GradientDrawable) GetOutline ¶
func (m *GradientDrawable) GetOutline(arg0 *jni.Object) error
GetOutline calls android.graphics.drawable.GradientDrawable.getOutline.
func (*GradientDrawable) GetPadding ¶
func (m *GradientDrawable) GetPadding(arg0 *jni.Object) (bool, error)
GetPadding calls android.graphics.drawable.GradientDrawable.getPadding.
func (*GradientDrawable) GetShape ¶
func (m *GradientDrawable) GetShape() (int32, error)
GetShape calls android.graphics.drawable.GradientDrawable.getShape.
func (*GradientDrawable) GetThickness ¶
func (m *GradientDrawable) GetThickness() (int32, error)
GetThickness calls android.graphics.drawable.GradientDrawable.getThickness.
func (*GradientDrawable) GetThicknessRatio ¶
func (m *GradientDrawable) GetThicknessRatio() (float32, error)
GetThicknessRatio calls android.graphics.drawable.GradientDrawable.getThicknessRatio.
func (*GradientDrawable) GetUseLevel ¶
func (m *GradientDrawable) GetUseLevel() (bool, error)
GetUseLevel calls android.graphics.drawable.GradientDrawable.getUseLevel.
func (*GradientDrawable) HasFocusStateSpecified ¶
func (m *GradientDrawable) HasFocusStateSpecified() (bool, error)
HasFocusStateSpecified calls android.graphics.drawable.GradientDrawable.hasFocusStateSpecified.
func (*GradientDrawable) Inflate ¶
func (m *GradientDrawable) Inflate( arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object, ) error
Inflate calls android.graphics.drawable.GradientDrawable.inflate.
func (*GradientDrawable) IsStateful ¶
func (m *GradientDrawable) IsStateful() (bool, error)
IsStateful calls android.graphics.drawable.GradientDrawable.isStateful.
func (*GradientDrawable) Mutate ¶
func (m *GradientDrawable) Mutate() (*jni.Object, error)
Mutate calls android.graphics.drawable.GradientDrawable.mutate.
func (*GradientDrawable) SetAlpha ¶
func (m *GradientDrawable) SetAlpha(arg0 int32) error
SetAlpha calls android.graphics.drawable.GradientDrawable.setAlpha.
func (*GradientDrawable) SetColor1 ¶
func (m *GradientDrawable) SetColor1(arg0 *jni.Object) error
SetColor1 calls android.graphics.drawable.GradientDrawable.setColor.
func (*GradientDrawable) SetColor1_1 ¶
func (m *GradientDrawable) SetColor1_1(arg0 int32) error
SetColor1_1 calls android.graphics.drawable.GradientDrawable.setColor.
func (*GradientDrawable) SetColorFilter ¶
func (m *GradientDrawable) SetColorFilter(arg0 *jni.Object) error
SetColorFilter calls android.graphics.drawable.GradientDrawable.setColorFilter.
func (*GradientDrawable) SetColors1 ¶
func (m *GradientDrawable) SetColors1(arg0 *jni.Object) error
SetColors1 calls android.graphics.drawable.GradientDrawable.setColors.
func (*GradientDrawable) SetColors2_1 ¶
SetColors2_1 calls android.graphics.drawable.GradientDrawable.setColors.
func (*GradientDrawable) SetCornerRadii ¶
func (m *GradientDrawable) SetCornerRadii(arg0 *jni.Object) error
SetCornerRadii calls android.graphics.drawable.GradientDrawable.setCornerRadii.
func (*GradientDrawable) SetCornerRadius ¶
func (m *GradientDrawable) SetCornerRadius(arg0 float32) error
SetCornerRadius calls android.graphics.drawable.GradientDrawable.setCornerRadius.
func (*GradientDrawable) SetDither ¶
func (m *GradientDrawable) SetDither(arg0 bool) error
SetDither calls android.graphics.drawable.GradientDrawable.setDither.
func (*GradientDrawable) SetGradientCenter ¶
func (m *GradientDrawable) SetGradientCenter(arg0 float32, arg1 float32) error
SetGradientCenter calls android.graphics.drawable.GradientDrawable.setGradientCenter.
func (*GradientDrawable) SetGradientRadius ¶
func (m *GradientDrawable) SetGradientRadius(arg0 float32) error
SetGradientRadius calls android.graphics.drawable.GradientDrawable.setGradientRadius.
func (*GradientDrawable) SetGradientType ¶
func (m *GradientDrawable) SetGradientType(arg0 int32) error
SetGradientType calls android.graphics.drawable.GradientDrawable.setGradientType.
func (*GradientDrawable) SetInnerRadius ¶
func (m *GradientDrawable) SetInnerRadius(arg0 int32) error
SetInnerRadius calls android.graphics.drawable.GradientDrawable.setInnerRadius.
func (*GradientDrawable) SetInnerRadiusRatio ¶
func (m *GradientDrawable) SetInnerRadiusRatio(arg0 float32) error
SetInnerRadiusRatio calls android.graphics.drawable.GradientDrawable.setInnerRadiusRatio.
func (*GradientDrawable) SetOrientation ¶
func (m *GradientDrawable) SetOrientation(arg0 *jni.Object) error
SetOrientation calls android.graphics.drawable.GradientDrawable.setOrientation.
func (*GradientDrawable) SetPadding ¶
SetPadding calls android.graphics.drawable.GradientDrawable.setPadding.
func (*GradientDrawable) SetShape ¶
func (m *GradientDrawable) SetShape(arg0 int32) error
SetShape calls android.graphics.drawable.GradientDrawable.setShape.
func (*GradientDrawable) SetSize ¶
func (m *GradientDrawable) SetSize(arg0 int32, arg1 int32) error
SetSize calls android.graphics.drawable.GradientDrawable.setSize.
func (*GradientDrawable) SetStroke2 ¶
func (m *GradientDrawable) SetStroke2(arg0 int32, arg1 *jni.Object) error
SetStroke2 calls android.graphics.drawable.GradientDrawable.setStroke.
func (*GradientDrawable) SetStroke2_2 ¶
func (m *GradientDrawable) SetStroke2_2(arg0 int32, arg1 int32) error
SetStroke2_2 calls android.graphics.drawable.GradientDrawable.setStroke.
func (*GradientDrawable) SetStroke4_1 ¶
func (m *GradientDrawable) SetStroke4_1( arg0 int32, arg1 *jni.Object, arg2 float32, arg3 float32, ) error
SetStroke4_1 calls android.graphics.drawable.GradientDrawable.setStroke.
func (*GradientDrawable) SetStroke4_3 ¶
func (m *GradientDrawable) SetStroke4_3( arg0 int32, arg1 int32, arg2 float32, arg3 float32, ) error
SetStroke4_3 calls android.graphics.drawable.GradientDrawable.setStroke.
func (*GradientDrawable) SetThickness ¶
func (m *GradientDrawable) SetThickness(arg0 int32) error
SetThickness calls android.graphics.drawable.GradientDrawable.setThickness.
func (*GradientDrawable) SetThicknessRatio ¶
func (m *GradientDrawable) SetThicknessRatio(arg0 float32) error
SetThicknessRatio calls android.graphics.drawable.GradientDrawable.setThicknessRatio.
func (*GradientDrawable) SetTintBlendMode ¶
func (m *GradientDrawable) SetTintBlendMode(arg0 *jni.Object) error
SetTintBlendMode calls android.graphics.drawable.GradientDrawable.setTintBlendMode.
func (*GradientDrawable) SetTintList ¶
func (m *GradientDrawable) SetTintList(arg0 *jni.Object) error
SetTintList calls android.graphics.drawable.GradientDrawable.setTintList.
func (*GradientDrawable) SetUseLevel ¶
func (m *GradientDrawable) SetUseLevel(arg0 bool) error
SetUseLevel calls android.graphics.drawable.GradientDrawable.setUseLevel.
func (*GradientDrawable) ToString ¶ added in v0.0.8
func (m *GradientDrawable) ToString() (string, error)
ToString calls android.graphics.drawable.GradientDrawable.toString.
type GradientDrawableOrientation ¶
GradientDrawableOrientation wraps android.graphics.drawable.GradientDrawable$Orientation.
func (*GradientDrawableOrientation) ToString ¶ added in v0.0.8
func (m *GradientDrawableOrientation) ToString() (string, error)
ToString calls android.graphics.drawable.GradientDrawable$Orientation.toString.
type Icon ¶
Icon wraps android.graphics.drawable.Icon.
func (*Icon) CreateWithAdaptiveBitmap ¶
CreateWithAdaptiveBitmap calls android.graphics.drawable.Icon.createWithAdaptiveBitmap.
func (*Icon) CreateWithAdaptiveBitmapContentUri1 ¶
CreateWithAdaptiveBitmapContentUri1 calls android.graphics.drawable.Icon.createWithAdaptiveBitmapContentUri.
func (*Icon) CreateWithAdaptiveBitmapContentUri1_1 ¶
CreateWithAdaptiveBitmapContentUri1_1 calls android.graphics.drawable.Icon.createWithAdaptiveBitmapContentUri.
func (*Icon) CreateWithBitmap ¶
CreateWithBitmap calls android.graphics.drawable.Icon.createWithBitmap.
func (*Icon) CreateWithContentUri1 ¶
CreateWithContentUri1 calls android.graphics.drawable.Icon.createWithContentUri.
func (*Icon) CreateWithContentUri1_1 ¶
CreateWithContentUri1_1 calls android.graphics.drawable.Icon.createWithContentUri.
func (*Icon) CreateWithData ¶
CreateWithData calls android.graphics.drawable.Icon.createWithData.
func (*Icon) CreateWithFilePath ¶
CreateWithFilePath calls android.graphics.drawable.Icon.createWithFilePath.
func (*Icon) CreateWithResource2 ¶
CreateWithResource2 calls android.graphics.drawable.Icon.createWithResource.
func (*Icon) CreateWithResource2_1 ¶
CreateWithResource2_1 calls android.graphics.drawable.Icon.createWithResource.
func (*Icon) DescribeContents ¶
DescribeContents calls android.graphics.drawable.Icon.describeContents.
func (*Icon) GetResPackage ¶
GetResPackage calls android.graphics.drawable.Icon.getResPackage.
func (*Icon) LoadDrawable ¶
LoadDrawable calls android.graphics.drawable.Icon.loadDrawable.
func (*Icon) LoadDrawableAsync ¶
LoadDrawableAsync calls android.graphics.drawable.Icon.loadDrawableAsync.
func (*Icon) SetTintBlendMode ¶
SetTintBlendMode calls android.graphics.drawable.Icon.setTintBlendMode.
func (*Icon) SetTintList ¶
SetTintList calls android.graphics.drawable.Icon.setTintList.
func (*Icon) SetTintMode ¶
SetTintMode calls android.graphics.drawable.Icon.setTintMode.
type IconOnDrawableLoadedListener ¶
IconOnDrawableLoadedListener wraps android.graphics.drawable.Icon$OnDrawableLoadedListener.
func (*IconOnDrawableLoadedListener) OnDrawableLoaded ¶
func (m *IconOnDrawableLoadedListener) OnDrawableLoaded(arg0 *jni.Object) error
OnDrawableLoaded calls android.graphics.drawable.Icon$OnDrawableLoadedListener.onDrawableLoaded.
func (*IconOnDrawableLoadedListener) ToString ¶ added in v0.0.8
func (m *IconOnDrawableLoadedListener) ToString() (string, error)
ToString calls android.graphics.drawable.Icon$OnDrawableLoadedListener.toString.
type InsetDrawable ¶
InsetDrawable wraps android.graphics.drawable.InsetDrawable.
func NewInsetDrawable ¶
NewInsetDrawable creates a new android.graphics.drawable.InsetDrawable instance.
func (*InsetDrawable) ApplyTheme ¶
func (m *InsetDrawable) ApplyTheme(arg0 *jni.Object) error
ApplyTheme calls android.graphics.drawable.InsetDrawable.applyTheme.
func (*InsetDrawable) GetIntrinsicHeight ¶
func (m *InsetDrawable) GetIntrinsicHeight() (int32, error)
GetIntrinsicHeight calls android.graphics.drawable.InsetDrawable.getIntrinsicHeight.
func (*InsetDrawable) GetIntrinsicWidth ¶
func (m *InsetDrawable) GetIntrinsicWidth() (int32, error)
GetIntrinsicWidth calls android.graphics.drawable.InsetDrawable.getIntrinsicWidth.
func (*InsetDrawable) GetOpacity ¶
func (m *InsetDrawable) GetOpacity() (int32, error)
GetOpacity calls android.graphics.drawable.InsetDrawable.getOpacity.
func (*InsetDrawable) GetOpticalInsets ¶
func (m *InsetDrawable) GetOpticalInsets() (*jni.Object, error)
GetOpticalInsets calls android.graphics.drawable.InsetDrawable.getOpticalInsets.
func (*InsetDrawable) GetOutline ¶
func (m *InsetDrawable) GetOutline(arg0 *jni.Object) error
GetOutline calls android.graphics.drawable.InsetDrawable.getOutline.
func (*InsetDrawable) GetPadding ¶
func (m *InsetDrawable) GetPadding(arg0 *jni.Object) (bool, error)
GetPadding calls android.graphics.drawable.InsetDrawable.getPadding.
func (*InsetDrawable) Inflate ¶
func (m *InsetDrawable) Inflate( arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object, ) error
Inflate calls android.graphics.drawable.InsetDrawable.inflate.
func (*InsetDrawable) ToString ¶ added in v0.0.8
func (m *InsetDrawable) ToString() (string, error)
ToString calls android.graphics.drawable.InsetDrawable.toString.
type LayerDrawable ¶
LayerDrawable wraps android.graphics.drawable.LayerDrawable.
func NewLayerDrawable ¶
NewLayerDrawable creates a new android.graphics.drawable.LayerDrawable instance.
func (*LayerDrawable) AddLayer ¶
func (m *LayerDrawable) AddLayer(arg0 *jni.Object) (int32, error)
AddLayer calls android.graphics.drawable.LayerDrawable.addLayer.
func (*LayerDrawable) ApplyTheme ¶
func (m *LayerDrawable) ApplyTheme(arg0 *jni.Object) error
ApplyTheme calls android.graphics.drawable.LayerDrawable.applyTheme.
func (*LayerDrawable) CanApplyTheme ¶
func (m *LayerDrawable) CanApplyTheme() (bool, error)
CanApplyTheme calls android.graphics.drawable.LayerDrawable.canApplyTheme.
func (*LayerDrawable) Draw ¶
func (m *LayerDrawable) Draw(arg0 *jni.Object) error
Draw calls android.graphics.drawable.LayerDrawable.draw.
func (*LayerDrawable) FindDrawableByLayerId ¶
func (m *LayerDrawable) FindDrawableByLayerId(arg0 int32) (*jni.Object, error)
FindDrawableByLayerId calls android.graphics.drawable.LayerDrawable.findDrawableByLayerId.
func (*LayerDrawable) FindIndexByLayerId ¶
func (m *LayerDrawable) FindIndexByLayerId(arg0 int32) (int32, error)
FindIndexByLayerId calls android.graphics.drawable.LayerDrawable.findIndexByLayerId.
func (*LayerDrawable) GetAlpha ¶
func (m *LayerDrawable) GetAlpha() (int32, error)
GetAlpha calls android.graphics.drawable.LayerDrawable.getAlpha.
func (*LayerDrawable) GetBottomPadding ¶
func (m *LayerDrawable) GetBottomPadding() (int32, error)
GetBottomPadding calls android.graphics.drawable.LayerDrawable.getBottomPadding.
func (*LayerDrawable) GetChangingConfigurations ¶
func (m *LayerDrawable) GetChangingConfigurations() (int32, error)
GetChangingConfigurations calls android.graphics.drawable.LayerDrawable.getChangingConfigurations.
func (*LayerDrawable) GetConstantState ¶
func (m *LayerDrawable) GetConstantState() (*jni.Object, error)
GetConstantState calls android.graphics.drawable.LayerDrawable.getConstantState.
func (*LayerDrawable) GetDrawable ¶
func (m *LayerDrawable) GetDrawable(arg0 int32) (*jni.Object, error)
GetDrawable calls android.graphics.drawable.LayerDrawable.getDrawable.
func (*LayerDrawable) GetEndPadding ¶
func (m *LayerDrawable) GetEndPadding() (int32, error)
GetEndPadding calls android.graphics.drawable.LayerDrawable.getEndPadding.
func (*LayerDrawable) GetHotspotBounds ¶
func (m *LayerDrawable) GetHotspotBounds(arg0 *jni.Object) error
GetHotspotBounds calls android.graphics.drawable.LayerDrawable.getHotspotBounds.
func (*LayerDrawable) GetId ¶
func (m *LayerDrawable) GetId(arg0 int32) (int32, error)
GetId calls android.graphics.drawable.LayerDrawable.getId.
func (*LayerDrawable) GetIntrinsicHeight ¶
func (m *LayerDrawable) GetIntrinsicHeight() (int32, error)
GetIntrinsicHeight calls android.graphics.drawable.LayerDrawable.getIntrinsicHeight.
func (*LayerDrawable) GetIntrinsicWidth ¶
func (m *LayerDrawable) GetIntrinsicWidth() (int32, error)
GetIntrinsicWidth calls android.graphics.drawable.LayerDrawable.getIntrinsicWidth.
func (*LayerDrawable) GetLayerGravity ¶
func (m *LayerDrawable) GetLayerGravity(arg0 int32) (int32, error)
GetLayerGravity calls android.graphics.drawable.LayerDrawable.getLayerGravity.
func (*LayerDrawable) GetLayerHeight ¶
func (m *LayerDrawable) GetLayerHeight(arg0 int32) (int32, error)
GetLayerHeight calls android.graphics.drawable.LayerDrawable.getLayerHeight.
func (*LayerDrawable) GetLayerInsetBottom ¶
func (m *LayerDrawable) GetLayerInsetBottom(arg0 int32) (int32, error)
GetLayerInsetBottom calls android.graphics.drawable.LayerDrawable.getLayerInsetBottom.
func (*LayerDrawable) GetLayerInsetEnd ¶
func (m *LayerDrawable) GetLayerInsetEnd(arg0 int32) (int32, error)
GetLayerInsetEnd calls android.graphics.drawable.LayerDrawable.getLayerInsetEnd.
func (*LayerDrawable) GetLayerInsetLeft ¶
func (m *LayerDrawable) GetLayerInsetLeft(arg0 int32) (int32, error)
GetLayerInsetLeft calls android.graphics.drawable.LayerDrawable.getLayerInsetLeft.
func (*LayerDrawable) GetLayerInsetRight ¶
func (m *LayerDrawable) GetLayerInsetRight(arg0 int32) (int32, error)
GetLayerInsetRight calls android.graphics.drawable.LayerDrawable.getLayerInsetRight.
func (*LayerDrawable) GetLayerInsetStart ¶
func (m *LayerDrawable) GetLayerInsetStart(arg0 int32) (int32, error)
GetLayerInsetStart calls android.graphics.drawable.LayerDrawable.getLayerInsetStart.
func (*LayerDrawable) GetLayerInsetTop ¶
func (m *LayerDrawable) GetLayerInsetTop(arg0 int32) (int32, error)
GetLayerInsetTop calls android.graphics.drawable.LayerDrawable.getLayerInsetTop.
func (*LayerDrawable) GetLayerWidth ¶
func (m *LayerDrawable) GetLayerWidth(arg0 int32) (int32, error)
GetLayerWidth calls android.graphics.drawable.LayerDrawable.getLayerWidth.
func (*LayerDrawable) GetLeftPadding ¶
func (m *LayerDrawable) GetLeftPadding() (int32, error)
GetLeftPadding calls android.graphics.drawable.LayerDrawable.getLeftPadding.
func (*LayerDrawable) GetNumberOfLayers ¶
func (m *LayerDrawable) GetNumberOfLayers() (int32, error)
GetNumberOfLayers calls android.graphics.drawable.LayerDrawable.getNumberOfLayers.
func (*LayerDrawable) GetOpacity ¶
func (m *LayerDrawable) GetOpacity() (int32, error)
GetOpacity calls android.graphics.drawable.LayerDrawable.getOpacity.
func (*LayerDrawable) GetOutline ¶
func (m *LayerDrawable) GetOutline(arg0 *jni.Object) error
GetOutline calls android.graphics.drawable.LayerDrawable.getOutline.
func (*LayerDrawable) GetPadding ¶
func (m *LayerDrawable) GetPadding(arg0 *jni.Object) (bool, error)
GetPadding calls android.graphics.drawable.LayerDrawable.getPadding.
func (*LayerDrawable) GetPaddingMode ¶
func (m *LayerDrawable) GetPaddingMode() (int32, error)
GetPaddingMode calls android.graphics.drawable.LayerDrawable.getPaddingMode.
func (*LayerDrawable) GetRightPadding ¶
func (m *LayerDrawable) GetRightPadding() (int32, error)
GetRightPadding calls android.graphics.drawable.LayerDrawable.getRightPadding.
func (*LayerDrawable) GetStartPadding ¶
func (m *LayerDrawable) GetStartPadding() (int32, error)
GetStartPadding calls android.graphics.drawable.LayerDrawable.getStartPadding.
func (*LayerDrawable) GetTopPadding ¶
func (m *LayerDrawable) GetTopPadding() (int32, error)
GetTopPadding calls android.graphics.drawable.LayerDrawable.getTopPadding.
func (*LayerDrawable) HasFocusStateSpecified ¶
func (m *LayerDrawable) HasFocusStateSpecified() (bool, error)
HasFocusStateSpecified calls android.graphics.drawable.LayerDrawable.hasFocusStateSpecified.
func (*LayerDrawable) Inflate ¶
func (m *LayerDrawable) Inflate( arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object, ) error
Inflate calls android.graphics.drawable.LayerDrawable.inflate.
func (*LayerDrawable) InvalidateDrawable ¶
func (m *LayerDrawable) InvalidateDrawable(arg0 *jni.Object) error
InvalidateDrawable calls android.graphics.drawable.LayerDrawable.invalidateDrawable.
func (*LayerDrawable) IsAutoMirrored ¶
func (m *LayerDrawable) IsAutoMirrored() (bool, error)
IsAutoMirrored calls android.graphics.drawable.LayerDrawable.isAutoMirrored.
func (*LayerDrawable) IsProjected ¶
func (m *LayerDrawable) IsProjected() (bool, error)
IsProjected calls android.graphics.drawable.LayerDrawable.isProjected.
func (*LayerDrawable) IsStateful ¶
func (m *LayerDrawable) IsStateful() (bool, error)
IsStateful calls android.graphics.drawable.LayerDrawable.isStateful.
func (*LayerDrawable) JumpToCurrentState ¶
func (m *LayerDrawable) JumpToCurrentState() error
JumpToCurrentState calls android.graphics.drawable.LayerDrawable.jumpToCurrentState.
func (*LayerDrawable) Mutate ¶
func (m *LayerDrawable) Mutate() (*jni.Object, error)
Mutate calls android.graphics.drawable.LayerDrawable.mutate.
func (*LayerDrawable) OnLayoutDirectionChanged ¶
func (m *LayerDrawable) OnLayoutDirectionChanged(arg0 int32) (bool, error)
OnLayoutDirectionChanged calls android.graphics.drawable.LayerDrawable.onLayoutDirectionChanged.
func (*LayerDrawable) ScheduleDrawable ¶
ScheduleDrawable calls android.graphics.drawable.LayerDrawable.scheduleDrawable.
func (*LayerDrawable) SetAlpha ¶
func (m *LayerDrawable) SetAlpha(arg0 int32) error
SetAlpha calls android.graphics.drawable.LayerDrawable.setAlpha.
func (*LayerDrawable) SetAutoMirrored ¶
func (m *LayerDrawable) SetAutoMirrored(arg0 bool) error
SetAutoMirrored calls android.graphics.drawable.LayerDrawable.setAutoMirrored.
func (*LayerDrawable) SetColorFilter ¶
func (m *LayerDrawable) SetColorFilter(arg0 *jni.Object) error
SetColorFilter calls android.graphics.drawable.LayerDrawable.setColorFilter.
func (*LayerDrawable) SetDither ¶
func (m *LayerDrawable) SetDither(arg0 bool) error
SetDither calls android.graphics.drawable.LayerDrawable.setDither.
func (*LayerDrawable) SetDrawable ¶
func (m *LayerDrawable) SetDrawable(arg0 int32, arg1 *jni.Object) error
SetDrawable calls android.graphics.drawable.LayerDrawable.setDrawable.
func (*LayerDrawable) SetDrawableByLayerId ¶
SetDrawableByLayerId calls android.graphics.drawable.LayerDrawable.setDrawableByLayerId.
func (*LayerDrawable) SetHotspot ¶
func (m *LayerDrawable) SetHotspot(arg0 float32, arg1 float32) error
SetHotspot calls android.graphics.drawable.LayerDrawable.setHotspot.
func (*LayerDrawable) SetHotspotBounds ¶
SetHotspotBounds calls android.graphics.drawable.LayerDrawable.setHotspotBounds.
func (*LayerDrawable) SetId ¶
func (m *LayerDrawable) SetId(arg0 int32, arg1 int32) error
SetId calls android.graphics.drawable.LayerDrawable.setId.
func (*LayerDrawable) SetLayerGravity ¶
func (m *LayerDrawable) SetLayerGravity(arg0 int32, arg1 int32) error
SetLayerGravity calls android.graphics.drawable.LayerDrawable.setLayerGravity.
func (*LayerDrawable) SetLayerHeight ¶
func (m *LayerDrawable) SetLayerHeight(arg0 int32, arg1 int32) error
SetLayerHeight calls android.graphics.drawable.LayerDrawable.setLayerHeight.
func (*LayerDrawable) SetLayerInset ¶
func (m *LayerDrawable) SetLayerInset( arg0 int32, arg1 int32, arg2 int32, arg3 int32, arg4 int32, ) error
SetLayerInset calls android.graphics.drawable.LayerDrawable.setLayerInset.
func (*LayerDrawable) SetLayerInsetBottom ¶
func (m *LayerDrawable) SetLayerInsetBottom(arg0 int32, arg1 int32) error
SetLayerInsetBottom calls android.graphics.drawable.LayerDrawable.setLayerInsetBottom.
func (*LayerDrawable) SetLayerInsetEnd ¶
func (m *LayerDrawable) SetLayerInsetEnd(arg0 int32, arg1 int32) error
SetLayerInsetEnd calls android.graphics.drawable.LayerDrawable.setLayerInsetEnd.
func (*LayerDrawable) SetLayerInsetLeft ¶
func (m *LayerDrawable) SetLayerInsetLeft(arg0 int32, arg1 int32) error
SetLayerInsetLeft calls android.graphics.drawable.LayerDrawable.setLayerInsetLeft.
func (*LayerDrawable) SetLayerInsetRelative ¶
func (m *LayerDrawable) SetLayerInsetRelative( arg0 int32, arg1 int32, arg2 int32, arg3 int32, arg4 int32, ) error
SetLayerInsetRelative calls android.graphics.drawable.LayerDrawable.setLayerInsetRelative.
func (*LayerDrawable) SetLayerInsetRight ¶
func (m *LayerDrawable) SetLayerInsetRight(arg0 int32, arg1 int32) error
SetLayerInsetRight calls android.graphics.drawable.LayerDrawable.setLayerInsetRight.
func (*LayerDrawable) SetLayerInsetStart ¶
func (m *LayerDrawable) SetLayerInsetStart(arg0 int32, arg1 int32) error
SetLayerInsetStart calls android.graphics.drawable.LayerDrawable.setLayerInsetStart.
func (*LayerDrawable) SetLayerInsetTop ¶
func (m *LayerDrawable) SetLayerInsetTop(arg0 int32, arg1 int32) error
SetLayerInsetTop calls android.graphics.drawable.LayerDrawable.setLayerInsetTop.
func (*LayerDrawable) SetLayerSize ¶
func (m *LayerDrawable) SetLayerSize( arg0 int32, arg1 int32, arg2 int32, ) error
SetLayerSize calls android.graphics.drawable.LayerDrawable.setLayerSize.
func (*LayerDrawable) SetLayerWidth ¶
func (m *LayerDrawable) SetLayerWidth(arg0 int32, arg1 int32) error
SetLayerWidth calls android.graphics.drawable.LayerDrawable.setLayerWidth.
func (*LayerDrawable) SetOpacity ¶
func (m *LayerDrawable) SetOpacity(arg0 int32) error
SetOpacity calls android.graphics.drawable.LayerDrawable.setOpacity.
func (*LayerDrawable) SetPadding ¶
SetPadding calls android.graphics.drawable.LayerDrawable.setPadding.
func (*LayerDrawable) SetPaddingMode ¶
func (m *LayerDrawable) SetPaddingMode(arg0 int32) error
SetPaddingMode calls android.graphics.drawable.LayerDrawable.setPaddingMode.
func (*LayerDrawable) SetPaddingRelative ¶
SetPaddingRelative calls android.graphics.drawable.LayerDrawable.setPaddingRelative.
func (*LayerDrawable) SetTintBlendMode ¶
func (m *LayerDrawable) SetTintBlendMode(arg0 *jni.Object) error
SetTintBlendMode calls android.graphics.drawable.LayerDrawable.setTintBlendMode.
func (*LayerDrawable) SetTintList ¶
func (m *LayerDrawable) SetTintList(arg0 *jni.Object) error
SetTintList calls android.graphics.drawable.LayerDrawable.setTintList.
func (*LayerDrawable) SetVisible ¶
func (m *LayerDrawable) SetVisible(arg0 bool, arg1 bool) (bool, error)
SetVisible calls android.graphics.drawable.LayerDrawable.setVisible.
func (*LayerDrawable) ToString ¶ added in v0.0.8
func (m *LayerDrawable) ToString() (string, error)
ToString calls android.graphics.drawable.LayerDrawable.toString.
func (*LayerDrawable) UnscheduleDrawable ¶
UnscheduleDrawable calls android.graphics.drawable.LayerDrawable.unscheduleDrawable.
type LevelListDrawable ¶
LevelListDrawable wraps android.graphics.drawable.LevelListDrawable.
func NewLevelListDrawable ¶
func NewLevelListDrawable(vm *jni.VM) (*LevelListDrawable, error)
NewLevelListDrawable creates a new android.graphics.drawable.LevelListDrawable instance.
func (*LevelListDrawable) AddLevel ¶
AddLevel calls android.graphics.drawable.LevelListDrawable.addLevel.
func (*LevelListDrawable) Inflate ¶
func (m *LevelListDrawable) Inflate( arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object, ) error
Inflate calls android.graphics.drawable.LevelListDrawable.inflate.
func (*LevelListDrawable) Mutate ¶
func (m *LevelListDrawable) Mutate() (*jni.Object, error)
Mutate calls android.graphics.drawable.LevelListDrawable.mutate.
func (*LevelListDrawable) ToString ¶ added in v0.0.8
func (m *LevelListDrawable) ToString() (string, error)
ToString calls android.graphics.drawable.LevelListDrawable.toString.
type NinePatchDrawable ¶
NinePatchDrawable wraps android.graphics.drawable.NinePatchDrawable.
func NewNinePatchDrawable ¶
func NewNinePatchDrawable(vm *jni.VM, arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object, arg4 string) (*NinePatchDrawable, error)
NewNinePatchDrawable creates a new android.graphics.drawable.NinePatchDrawable instance.
func (*NinePatchDrawable) ApplyTheme ¶
func (m *NinePatchDrawable) ApplyTheme(arg0 *jni.Object) error
ApplyTheme calls android.graphics.drawable.NinePatchDrawable.applyTheme.
func (*NinePatchDrawable) CanApplyTheme ¶
func (m *NinePatchDrawable) CanApplyTheme() (bool, error)
CanApplyTheme calls android.graphics.drawable.NinePatchDrawable.canApplyTheme.
func (*NinePatchDrawable) Draw ¶
func (m *NinePatchDrawable) Draw(arg0 *jni.Object) error
Draw calls android.graphics.drawable.NinePatchDrawable.draw.
func (*NinePatchDrawable) GetAlpha ¶
func (m *NinePatchDrawable) GetAlpha() (int32, error)
GetAlpha calls android.graphics.drawable.NinePatchDrawable.getAlpha.
func (*NinePatchDrawable) GetChangingConfigurations ¶
func (m *NinePatchDrawable) GetChangingConfigurations() (int32, error)
GetChangingConfigurations calls android.graphics.drawable.NinePatchDrawable.getChangingConfigurations.
func (*NinePatchDrawable) GetConstantState ¶
func (m *NinePatchDrawable) GetConstantState() (*jni.Object, error)
GetConstantState calls android.graphics.drawable.NinePatchDrawable.getConstantState.
func (*NinePatchDrawable) GetIntrinsicHeight ¶
func (m *NinePatchDrawable) GetIntrinsicHeight() (int32, error)
GetIntrinsicHeight calls android.graphics.drawable.NinePatchDrawable.getIntrinsicHeight.
func (*NinePatchDrawable) GetIntrinsicWidth ¶
func (m *NinePatchDrawable) GetIntrinsicWidth() (int32, error)
GetIntrinsicWidth calls android.graphics.drawable.NinePatchDrawable.getIntrinsicWidth.
func (*NinePatchDrawable) GetOpacity ¶
func (m *NinePatchDrawable) GetOpacity() (int32, error)
GetOpacity calls android.graphics.drawable.NinePatchDrawable.getOpacity.
func (*NinePatchDrawable) GetOpticalInsets ¶
func (m *NinePatchDrawable) GetOpticalInsets() (*jni.Object, error)
GetOpticalInsets calls android.graphics.drawable.NinePatchDrawable.getOpticalInsets.
func (*NinePatchDrawable) GetOutline ¶
func (m *NinePatchDrawable) GetOutline(arg0 *jni.Object) error
GetOutline calls android.graphics.drawable.NinePatchDrawable.getOutline.
func (*NinePatchDrawable) GetPadding ¶
func (m *NinePatchDrawable) GetPadding(arg0 *jni.Object) (bool, error)
GetPadding calls android.graphics.drawable.NinePatchDrawable.getPadding.
func (*NinePatchDrawable) GetPaint ¶
func (m *NinePatchDrawable) GetPaint() (*jni.Object, error)
GetPaint calls android.graphics.drawable.NinePatchDrawable.getPaint.
func (*NinePatchDrawable) GetTransparentRegion ¶
func (m *NinePatchDrawable) GetTransparentRegion() (*jni.Object, error)
GetTransparentRegion calls android.graphics.drawable.NinePatchDrawable.getTransparentRegion.
func (*NinePatchDrawable) HasFocusStateSpecified ¶
func (m *NinePatchDrawable) HasFocusStateSpecified() (bool, error)
HasFocusStateSpecified calls android.graphics.drawable.NinePatchDrawable.hasFocusStateSpecified.
func (*NinePatchDrawable) Inflate ¶
func (m *NinePatchDrawable) Inflate( arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object, ) error
Inflate calls android.graphics.drawable.NinePatchDrawable.inflate.
func (*NinePatchDrawable) IsAutoMirrored ¶
func (m *NinePatchDrawable) IsAutoMirrored() (bool, error)
IsAutoMirrored calls android.graphics.drawable.NinePatchDrawable.isAutoMirrored.
func (*NinePatchDrawable) IsFilterBitmap ¶
func (m *NinePatchDrawable) IsFilterBitmap() (bool, error)
IsFilterBitmap calls android.graphics.drawable.NinePatchDrawable.isFilterBitmap.
func (*NinePatchDrawable) IsStateful ¶
func (m *NinePatchDrawable) IsStateful() (bool, error)
IsStateful calls android.graphics.drawable.NinePatchDrawable.isStateful.
func (*NinePatchDrawable) Mutate ¶
func (m *NinePatchDrawable) Mutate() (*jni.Object, error)
Mutate calls android.graphics.drawable.NinePatchDrawable.mutate.
func (*NinePatchDrawable) SetAlpha ¶
func (m *NinePatchDrawable) SetAlpha(arg0 int32) error
SetAlpha calls android.graphics.drawable.NinePatchDrawable.setAlpha.
func (*NinePatchDrawable) SetAutoMirrored ¶
func (m *NinePatchDrawable) SetAutoMirrored(arg0 bool) error
SetAutoMirrored calls android.graphics.drawable.NinePatchDrawable.setAutoMirrored.
func (*NinePatchDrawable) SetColorFilter ¶
func (m *NinePatchDrawable) SetColorFilter(arg0 *jni.Object) error
SetColorFilter calls android.graphics.drawable.NinePatchDrawable.setColorFilter.
func (*NinePatchDrawable) SetDither ¶
func (m *NinePatchDrawable) SetDither(arg0 bool) error
SetDither calls android.graphics.drawable.NinePatchDrawable.setDither.
func (*NinePatchDrawable) SetFilterBitmap ¶
func (m *NinePatchDrawable) SetFilterBitmap(arg0 bool) error
SetFilterBitmap calls android.graphics.drawable.NinePatchDrawable.setFilterBitmap.
func (*NinePatchDrawable) SetTargetDensity1 ¶
func (m *NinePatchDrawable) SetTargetDensity1(arg0 *jni.Object) error
SetTargetDensity1 calls android.graphics.drawable.NinePatchDrawable.setTargetDensity.
func (*NinePatchDrawable) SetTargetDensity1_1 ¶
func (m *NinePatchDrawable) SetTargetDensity1_1(arg0 *jni.Object) error
SetTargetDensity1_1 calls android.graphics.drawable.NinePatchDrawable.setTargetDensity.
func (*NinePatchDrawable) SetTargetDensity1_2 ¶
func (m *NinePatchDrawable) SetTargetDensity1_2(arg0 int32) error
SetTargetDensity1_2 calls android.graphics.drawable.NinePatchDrawable.setTargetDensity.
func (*NinePatchDrawable) SetTintBlendMode ¶
func (m *NinePatchDrawable) SetTintBlendMode(arg0 *jni.Object) error
SetTintBlendMode calls android.graphics.drawable.NinePatchDrawable.setTintBlendMode.
func (*NinePatchDrawable) SetTintList ¶
func (m *NinePatchDrawable) SetTintList(arg0 *jni.Object) error
SetTintList calls android.graphics.drawable.NinePatchDrawable.setTintList.
func (*NinePatchDrawable) ToString ¶ added in v0.0.8
func (m *NinePatchDrawable) ToString() (string, error)
ToString calls android.graphics.drawable.NinePatchDrawable.toString.
type PaintDrawable ¶
PaintDrawable wraps android.graphics.drawable.PaintDrawable.
func NewPaintDrawable ¶
func NewPaintDrawable(vm *jni.VM) (*PaintDrawable, error)
NewPaintDrawable creates a new android.graphics.drawable.PaintDrawable instance.
func (*PaintDrawable) SetCornerRadii ¶
func (m *PaintDrawable) SetCornerRadii(arg0 *jni.Object) error
SetCornerRadii calls android.graphics.drawable.PaintDrawable.setCornerRadii.
func (*PaintDrawable) SetCornerRadius ¶
func (m *PaintDrawable) SetCornerRadius(arg0 float32) error
SetCornerRadius calls android.graphics.drawable.PaintDrawable.setCornerRadius.
func (*PaintDrawable) ToString ¶ added in v0.0.8
func (m *PaintDrawable) ToString() (string, error)
ToString calls android.graphics.drawable.PaintDrawable.toString.
type PictureDrawable ¶
PictureDrawable wraps android.graphics.drawable.PictureDrawable.
func NewPictureDrawable ¶
NewPictureDrawable creates a new android.graphics.drawable.PictureDrawable instance.
func (*PictureDrawable) Draw ¶
func (m *PictureDrawable) Draw(arg0 *jni.Object) error
Draw calls android.graphics.drawable.PictureDrawable.draw.
func (*PictureDrawable) GetIntrinsicHeight ¶
func (m *PictureDrawable) GetIntrinsicHeight() (int32, error)
GetIntrinsicHeight calls android.graphics.drawable.PictureDrawable.getIntrinsicHeight.
func (*PictureDrawable) GetIntrinsicWidth ¶
func (m *PictureDrawable) GetIntrinsicWidth() (int32, error)
GetIntrinsicWidth calls android.graphics.drawable.PictureDrawable.getIntrinsicWidth.
func (*PictureDrawable) GetOpacity ¶
func (m *PictureDrawable) GetOpacity() (int32, error)
GetOpacity calls android.graphics.drawable.PictureDrawable.getOpacity.
func (*PictureDrawable) GetPicture ¶
func (m *PictureDrawable) GetPicture() (*jni.Object, error)
GetPicture calls android.graphics.drawable.PictureDrawable.getPicture.
func (*PictureDrawable) SetAlpha ¶
func (m *PictureDrawable) SetAlpha(arg0 int32) error
SetAlpha calls android.graphics.drawable.PictureDrawable.setAlpha.
func (*PictureDrawable) SetColorFilter ¶
func (m *PictureDrawable) SetColorFilter(arg0 *jni.Object) error
SetColorFilter calls android.graphics.drawable.PictureDrawable.setColorFilter.
func (*PictureDrawable) SetPicture ¶
func (m *PictureDrawable) SetPicture(arg0 *jni.Object) error
SetPicture calls android.graphics.drawable.PictureDrawable.setPicture.
func (*PictureDrawable) ToString ¶ added in v0.0.8
func (m *PictureDrawable) ToString() (string, error)
ToString calls android.graphics.drawable.PictureDrawable.toString.
type RippleDrawable ¶
RippleDrawable wraps android.graphics.drawable.RippleDrawable.
func NewRippleDrawable ¶
func NewRippleDrawable(vm *jni.VM, arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object) (*RippleDrawable, error)
NewRippleDrawable creates a new android.graphics.drawable.RippleDrawable instance.
func (*RippleDrawable) ApplyTheme ¶
func (m *RippleDrawable) ApplyTheme(arg0 *jni.Object) error
ApplyTheme calls android.graphics.drawable.RippleDrawable.applyTheme.
func (*RippleDrawable) CanApplyTheme ¶
func (m *RippleDrawable) CanApplyTheme() (bool, error)
CanApplyTheme calls android.graphics.drawable.RippleDrawable.canApplyTheme.
func (*RippleDrawable) Draw ¶
func (m *RippleDrawable) Draw(arg0 *jni.Object) error
Draw calls android.graphics.drawable.RippleDrawable.draw.
func (*RippleDrawable) GetConstantState ¶
func (m *RippleDrawable) GetConstantState() (*jni.Object, error)
GetConstantState calls android.graphics.drawable.RippleDrawable.getConstantState.
func (*RippleDrawable) GetDirtyBounds ¶
func (m *RippleDrawable) GetDirtyBounds() (*jni.Object, error)
GetDirtyBounds calls android.graphics.drawable.RippleDrawable.getDirtyBounds.
func (*RippleDrawable) GetEffectColor ¶
func (m *RippleDrawable) GetEffectColor() (*jni.Object, error)
GetEffectColor calls android.graphics.drawable.RippleDrawable.getEffectColor.
func (*RippleDrawable) GetHotspotBounds ¶
func (m *RippleDrawable) GetHotspotBounds(arg0 *jni.Object) error
GetHotspotBounds calls android.graphics.drawable.RippleDrawable.getHotspotBounds.
func (*RippleDrawable) GetOpacity ¶
func (m *RippleDrawable) GetOpacity() (int32, error)
GetOpacity calls android.graphics.drawable.RippleDrawable.getOpacity.
func (*RippleDrawable) GetOutline ¶
func (m *RippleDrawable) GetOutline(arg0 *jni.Object) error
GetOutline calls android.graphics.drawable.RippleDrawable.getOutline.
func (*RippleDrawable) GetRadius ¶
func (m *RippleDrawable) GetRadius() (int32, error)
GetRadius calls android.graphics.drawable.RippleDrawable.getRadius.
func (*RippleDrawable) HasFocusStateSpecified ¶
func (m *RippleDrawable) HasFocusStateSpecified() (bool, error)
HasFocusStateSpecified calls android.graphics.drawable.RippleDrawable.hasFocusStateSpecified.
func (*RippleDrawable) Inflate ¶
func (m *RippleDrawable) Inflate( arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object, ) error
Inflate calls android.graphics.drawable.RippleDrawable.inflate.
func (*RippleDrawable) InvalidateSelf ¶
func (m *RippleDrawable) InvalidateSelf() error
InvalidateSelf calls android.graphics.drawable.RippleDrawable.invalidateSelf.
func (*RippleDrawable) IsProjected ¶
func (m *RippleDrawable) IsProjected() (bool, error)
IsProjected calls android.graphics.drawable.RippleDrawable.isProjected.
func (*RippleDrawable) IsStateful ¶
func (m *RippleDrawable) IsStateful() (bool, error)
IsStateful calls android.graphics.drawable.RippleDrawable.isStateful.
func (*RippleDrawable) JumpToCurrentState ¶
func (m *RippleDrawable) JumpToCurrentState() error
JumpToCurrentState calls android.graphics.drawable.RippleDrawable.jumpToCurrentState.
func (*RippleDrawable) Mutate ¶
func (m *RippleDrawable) Mutate() (*jni.Object, error)
Mutate calls android.graphics.drawable.RippleDrawable.mutate.
func (*RippleDrawable) SetColor ¶
func (m *RippleDrawable) SetColor(arg0 *jni.Object) error
SetColor calls android.graphics.drawable.RippleDrawable.setColor.
func (*RippleDrawable) SetDrawableByLayerId ¶
SetDrawableByLayerId calls android.graphics.drawable.RippleDrawable.setDrawableByLayerId.
func (*RippleDrawable) SetEffectColor ¶
func (m *RippleDrawable) SetEffectColor(arg0 *jni.Object) error
SetEffectColor calls android.graphics.drawable.RippleDrawable.setEffectColor.
func (*RippleDrawable) SetHotspot ¶
func (m *RippleDrawable) SetHotspot(arg0 float32, arg1 float32) error
SetHotspot calls android.graphics.drawable.RippleDrawable.setHotspot.
func (*RippleDrawable) SetHotspotBounds ¶
SetHotspotBounds calls android.graphics.drawable.RippleDrawable.setHotspotBounds.
func (*RippleDrawable) SetPaddingMode ¶
func (m *RippleDrawable) SetPaddingMode(arg0 int32) error
SetPaddingMode calls android.graphics.drawable.RippleDrawable.setPaddingMode.
func (*RippleDrawable) SetRadius ¶
func (m *RippleDrawable) SetRadius(arg0 int32) error
SetRadius calls android.graphics.drawable.RippleDrawable.setRadius.
func (*RippleDrawable) SetVisible ¶
func (m *RippleDrawable) SetVisible(arg0 bool, arg1 bool) (bool, error)
SetVisible calls android.graphics.drawable.RippleDrawable.setVisible.
func (*RippleDrawable) ToString ¶ added in v0.0.8
func (m *RippleDrawable) ToString() (string, error)
ToString calls android.graphics.drawable.RippleDrawable.toString.
type RotateDrawable ¶
RotateDrawable wraps android.graphics.drawable.RotateDrawable.
func NewRotateDrawable ¶
func NewRotateDrawable(vm *jni.VM) (*RotateDrawable, error)
NewRotateDrawable creates a new android.graphics.drawable.RotateDrawable instance.
func (*RotateDrawable) ApplyTheme ¶
func (m *RotateDrawable) ApplyTheme(arg0 *jni.Object) error
ApplyTheme calls android.graphics.drawable.RotateDrawable.applyTheme.
func (*RotateDrawable) Draw ¶
func (m *RotateDrawable) Draw(arg0 *jni.Object) error
Draw calls android.graphics.drawable.RotateDrawable.draw.
func (*RotateDrawable) GetFromDegrees ¶
func (m *RotateDrawable) GetFromDegrees() (float32, error)
GetFromDegrees calls android.graphics.drawable.RotateDrawable.getFromDegrees.
func (*RotateDrawable) GetPivotX ¶
func (m *RotateDrawable) GetPivotX() (float32, error)
GetPivotX calls android.graphics.drawable.RotateDrawable.getPivotX.
func (*RotateDrawable) GetPivotY ¶
func (m *RotateDrawable) GetPivotY() (float32, error)
GetPivotY calls android.graphics.drawable.RotateDrawable.getPivotY.
func (*RotateDrawable) GetToDegrees ¶
func (m *RotateDrawable) GetToDegrees() (float32, error)
GetToDegrees calls android.graphics.drawable.RotateDrawable.getToDegrees.
func (*RotateDrawable) Inflate ¶
func (m *RotateDrawable) Inflate( arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object, ) error
Inflate calls android.graphics.drawable.RotateDrawable.inflate.
func (*RotateDrawable) IsPivotXRelative ¶
func (m *RotateDrawable) IsPivotXRelative() (bool, error)
IsPivotXRelative calls android.graphics.drawable.RotateDrawable.isPivotXRelative.
func (*RotateDrawable) IsPivotYRelative ¶
func (m *RotateDrawable) IsPivotYRelative() (bool, error)
IsPivotYRelative calls android.graphics.drawable.RotateDrawable.isPivotYRelative.
func (*RotateDrawable) SetFromDegrees ¶
func (m *RotateDrawable) SetFromDegrees(arg0 float32) error
SetFromDegrees calls android.graphics.drawable.RotateDrawable.setFromDegrees.
func (*RotateDrawable) SetPivotX ¶
func (m *RotateDrawable) SetPivotX(arg0 float32) error
SetPivotX calls android.graphics.drawable.RotateDrawable.setPivotX.
func (*RotateDrawable) SetPivotXRelative ¶
func (m *RotateDrawable) SetPivotXRelative(arg0 bool) error
SetPivotXRelative calls android.graphics.drawable.RotateDrawable.setPivotXRelative.
func (*RotateDrawable) SetPivotY ¶
func (m *RotateDrawable) SetPivotY(arg0 float32) error
SetPivotY calls android.graphics.drawable.RotateDrawable.setPivotY.
func (*RotateDrawable) SetPivotYRelative ¶
func (m *RotateDrawable) SetPivotYRelative(arg0 bool) error
SetPivotYRelative calls android.graphics.drawable.RotateDrawable.setPivotYRelative.
func (*RotateDrawable) SetToDegrees ¶
func (m *RotateDrawable) SetToDegrees(arg0 float32) error
SetToDegrees calls android.graphics.drawable.RotateDrawable.setToDegrees.
func (*RotateDrawable) ToString ¶ added in v0.0.8
func (m *RotateDrawable) ToString() (string, error)
ToString calls android.graphics.drawable.RotateDrawable.toString.
type ScaleDrawable ¶
ScaleDrawable wraps android.graphics.drawable.ScaleDrawable.
func NewScaleDrawable ¶
func NewScaleDrawable(vm *jni.VM, arg0 *jni.Object, arg1 int32, arg2 float32, arg3 float32) (*ScaleDrawable, error)
NewScaleDrawable creates a new android.graphics.drawable.ScaleDrawable instance.
func (*ScaleDrawable) ApplyTheme ¶
func (m *ScaleDrawable) ApplyTheme(arg0 *jni.Object) error
ApplyTheme calls android.graphics.drawable.ScaleDrawable.applyTheme.
func (*ScaleDrawable) Draw ¶
func (m *ScaleDrawable) Draw(arg0 *jni.Object) error
Draw calls android.graphics.drawable.ScaleDrawable.draw.
func (*ScaleDrawable) GetOpacity ¶
func (m *ScaleDrawable) GetOpacity() (int32, error)
GetOpacity calls android.graphics.drawable.ScaleDrawable.getOpacity.
func (*ScaleDrawable) Inflate ¶
func (m *ScaleDrawable) Inflate( arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object, ) error
Inflate calls android.graphics.drawable.ScaleDrawable.inflate.
func (*ScaleDrawable) ToString ¶ added in v0.0.8
func (m *ScaleDrawable) ToString() (string, error)
ToString calls android.graphics.drawable.ScaleDrawable.toString.
type ShapeDrawable ¶
ShapeDrawable wraps android.graphics.drawable.ShapeDrawable.
func NewShapeDrawable ¶
func NewShapeDrawable(vm *jni.VM) (*ShapeDrawable, error)
NewShapeDrawable creates a new android.graphics.drawable.ShapeDrawable instance.
func (*ShapeDrawable) ApplyTheme ¶
func (m *ShapeDrawable) ApplyTheme(arg0 *jni.Object) error
ApplyTheme calls android.graphics.drawable.ShapeDrawable.applyTheme.
func (*ShapeDrawable) Draw ¶
func (m *ShapeDrawable) Draw(arg0 *jni.Object) error
Draw calls android.graphics.drawable.ShapeDrawable.draw.
func (*ShapeDrawable) GetAlpha ¶
func (m *ShapeDrawable) GetAlpha() (int32, error)
GetAlpha calls android.graphics.drawable.ShapeDrawable.getAlpha.
func (*ShapeDrawable) GetChangingConfigurations ¶
func (m *ShapeDrawable) GetChangingConfigurations() (int32, error)
GetChangingConfigurations calls android.graphics.drawable.ShapeDrawable.getChangingConfigurations.
func (*ShapeDrawable) GetConstantState ¶
func (m *ShapeDrawable) GetConstantState() (*jni.Object, error)
GetConstantState calls android.graphics.drawable.ShapeDrawable.getConstantState.
func (*ShapeDrawable) GetIntrinsicHeight ¶
func (m *ShapeDrawable) GetIntrinsicHeight() (int32, error)
GetIntrinsicHeight calls android.graphics.drawable.ShapeDrawable.getIntrinsicHeight.
func (*ShapeDrawable) GetIntrinsicWidth ¶
func (m *ShapeDrawable) GetIntrinsicWidth() (int32, error)
GetIntrinsicWidth calls android.graphics.drawable.ShapeDrawable.getIntrinsicWidth.
func (*ShapeDrawable) GetOpacity ¶
func (m *ShapeDrawable) GetOpacity() (int32, error)
GetOpacity calls android.graphics.drawable.ShapeDrawable.getOpacity.
func (*ShapeDrawable) GetOutline ¶
func (m *ShapeDrawable) GetOutline(arg0 *jni.Object) error
GetOutline calls android.graphics.drawable.ShapeDrawable.getOutline.
func (*ShapeDrawable) GetPadding ¶
func (m *ShapeDrawable) GetPadding(arg0 *jni.Object) (bool, error)
GetPadding calls android.graphics.drawable.ShapeDrawable.getPadding.
func (*ShapeDrawable) GetPaint ¶
func (m *ShapeDrawable) GetPaint() (*jni.Object, error)
GetPaint calls android.graphics.drawable.ShapeDrawable.getPaint.
func (*ShapeDrawable) GetShaderFactory ¶
func (m *ShapeDrawable) GetShaderFactory() (*jni.Object, error)
GetShaderFactory calls android.graphics.drawable.ShapeDrawable.getShaderFactory.
func (*ShapeDrawable) GetShape ¶
func (m *ShapeDrawable) GetShape() (*jni.Object, error)
GetShape calls android.graphics.drawable.ShapeDrawable.getShape.
func (*ShapeDrawable) HasFocusStateSpecified ¶
func (m *ShapeDrawable) HasFocusStateSpecified() (bool, error)
HasFocusStateSpecified calls android.graphics.drawable.ShapeDrawable.hasFocusStateSpecified.
func (*ShapeDrawable) Inflate ¶
func (m *ShapeDrawable) Inflate( arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object, ) error
Inflate calls android.graphics.drawable.ShapeDrawable.inflate.
func (*ShapeDrawable) IsStateful ¶
func (m *ShapeDrawable) IsStateful() (bool, error)
IsStateful calls android.graphics.drawable.ShapeDrawable.isStateful.
func (*ShapeDrawable) Mutate ¶
func (m *ShapeDrawable) Mutate() (*jni.Object, error)
Mutate calls android.graphics.drawable.ShapeDrawable.mutate.
func (*ShapeDrawable) SetAlpha ¶
func (m *ShapeDrawable) SetAlpha(arg0 int32) error
SetAlpha calls android.graphics.drawable.ShapeDrawable.setAlpha.
func (*ShapeDrawable) SetColorFilter ¶
func (m *ShapeDrawable) SetColorFilter(arg0 *jni.Object) error
SetColorFilter calls android.graphics.drawable.ShapeDrawable.setColorFilter.
func (*ShapeDrawable) SetDither ¶
func (m *ShapeDrawable) SetDither(arg0 bool) error
SetDither calls android.graphics.drawable.ShapeDrawable.setDither.
func (*ShapeDrawable) SetIntrinsicHeight ¶
func (m *ShapeDrawable) SetIntrinsicHeight(arg0 int32) error
SetIntrinsicHeight calls android.graphics.drawable.ShapeDrawable.setIntrinsicHeight.
func (*ShapeDrawable) SetIntrinsicWidth ¶
func (m *ShapeDrawable) SetIntrinsicWidth(arg0 int32) error
SetIntrinsicWidth calls android.graphics.drawable.ShapeDrawable.setIntrinsicWidth.
func (*ShapeDrawable) SetPadding1 ¶
func (m *ShapeDrawable) SetPadding1(arg0 *jni.Object) error
SetPadding1 calls android.graphics.drawable.ShapeDrawable.setPadding.
func (*ShapeDrawable) SetPadding4_1 ¶
SetPadding4_1 calls android.graphics.drawable.ShapeDrawable.setPadding.
func (*ShapeDrawable) SetShaderFactory ¶
func (m *ShapeDrawable) SetShaderFactory(arg0 *jni.Object) error
SetShaderFactory calls android.graphics.drawable.ShapeDrawable.setShaderFactory.
func (*ShapeDrawable) SetShape ¶
func (m *ShapeDrawable) SetShape(arg0 *jni.Object) error
SetShape calls android.graphics.drawable.ShapeDrawable.setShape.
func (*ShapeDrawable) SetTintBlendMode ¶
func (m *ShapeDrawable) SetTintBlendMode(arg0 *jni.Object) error
SetTintBlendMode calls android.graphics.drawable.ShapeDrawable.setTintBlendMode.
func (*ShapeDrawable) SetTintList ¶
func (m *ShapeDrawable) SetTintList(arg0 *jni.Object) error
SetTintList calls android.graphics.drawable.ShapeDrawable.setTintList.
func (*ShapeDrawable) ToString ¶ added in v0.0.8
func (m *ShapeDrawable) ToString() (string, error)
ToString calls android.graphics.drawable.ShapeDrawable.toString.
type ShapeDrawableShaderFactory ¶
ShapeDrawableShaderFactory wraps android.graphics.drawable.ShapeDrawable$ShaderFactory.
func (*ShapeDrawableShaderFactory) Resize ¶
Resize calls android.graphics.drawable.ShapeDrawable$ShaderFactory.resize.
func (*ShapeDrawableShaderFactory) ToString ¶ added in v0.0.8
func (m *ShapeDrawableShaderFactory) ToString() (string, error)
ToString calls android.graphics.drawable.ShapeDrawable$ShaderFactory.toString.
type StateListDrawable ¶
StateListDrawable wraps android.graphics.drawable.StateListDrawable.
func NewStateListDrawable ¶
func NewStateListDrawable(vm *jni.VM) (*StateListDrawable, error)
NewStateListDrawable creates a new android.graphics.drawable.StateListDrawable instance.
func (*StateListDrawable) AddState ¶
AddState calls android.graphics.drawable.StateListDrawable.addState.
func (*StateListDrawable) ApplyTheme ¶
func (m *StateListDrawable) ApplyTheme(arg0 *jni.Object) error
ApplyTheme calls android.graphics.drawable.StateListDrawable.applyTheme.
func (*StateListDrawable) FindStateDrawableIndex ¶
func (m *StateListDrawable) FindStateDrawableIndex(arg0 *jni.Object) (int32, error)
FindStateDrawableIndex calls android.graphics.drawable.StateListDrawable.findStateDrawableIndex.
func (*StateListDrawable) GetStateCount ¶
func (m *StateListDrawable) GetStateCount() (int32, error)
GetStateCount calls android.graphics.drawable.StateListDrawable.getStateCount.
func (*StateListDrawable) GetStateDrawable ¶
func (m *StateListDrawable) GetStateDrawable(arg0 int32) (*jni.Object, error)
GetStateDrawable calls android.graphics.drawable.StateListDrawable.getStateDrawable.
func (*StateListDrawable) GetStateSet ¶
func (m *StateListDrawable) GetStateSet(arg0 int32) (*jni.Object, error)
GetStateSet calls android.graphics.drawable.StateListDrawable.getStateSet.
func (*StateListDrawable) HasFocusStateSpecified ¶
func (m *StateListDrawable) HasFocusStateSpecified() (bool, error)
HasFocusStateSpecified calls android.graphics.drawable.StateListDrawable.hasFocusStateSpecified.
func (*StateListDrawable) Inflate ¶
func (m *StateListDrawable) Inflate( arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object, ) error
Inflate calls android.graphics.drawable.StateListDrawable.inflate.
func (*StateListDrawable) IsStateful ¶
func (m *StateListDrawable) IsStateful() (bool, error)
IsStateful calls android.graphics.drawable.StateListDrawable.isStateful.
func (*StateListDrawable) Mutate ¶
func (m *StateListDrawable) Mutate() (*jni.Object, error)
Mutate calls android.graphics.drawable.StateListDrawable.mutate.
func (*StateListDrawable) ToString ¶ added in v0.0.8
func (m *StateListDrawable) ToString() (string, error)
ToString calls android.graphics.drawable.StateListDrawable.toString.
type TransitionDrawable ¶
TransitionDrawable wraps android.graphics.drawable.TransitionDrawable.
func NewTransitionDrawable ¶
NewTransitionDrawable creates a new android.graphics.drawable.TransitionDrawable instance.
func (*TransitionDrawable) Draw ¶
func (m *TransitionDrawable) Draw(arg0 *jni.Object) error
Draw calls android.graphics.drawable.TransitionDrawable.draw.
func (*TransitionDrawable) IsCrossFadeEnabled ¶
func (m *TransitionDrawable) IsCrossFadeEnabled() (bool, error)
IsCrossFadeEnabled calls android.graphics.drawable.TransitionDrawable.isCrossFadeEnabled.
func (*TransitionDrawable) ResetTransition ¶
func (m *TransitionDrawable) ResetTransition() error
ResetTransition calls android.graphics.drawable.TransitionDrawable.resetTransition.
func (*TransitionDrawable) ReverseTransition ¶
func (m *TransitionDrawable) ReverseTransition(arg0 int32) error
ReverseTransition calls android.graphics.drawable.TransitionDrawable.reverseTransition.
func (*TransitionDrawable) SetCrossFadeEnabled ¶
func (m *TransitionDrawable) SetCrossFadeEnabled(arg0 bool) error
SetCrossFadeEnabled calls android.graphics.drawable.TransitionDrawable.setCrossFadeEnabled.
func (*TransitionDrawable) StartTransition ¶
func (m *TransitionDrawable) StartTransition(arg0 int32) error
StartTransition calls android.graphics.drawable.TransitionDrawable.startTransition.
func (*TransitionDrawable) ToString ¶ added in v0.0.8
func (m *TransitionDrawable) ToString() (string, error)
ToString calls android.graphics.drawable.TransitionDrawable.toString.
type VectorDrawable ¶
VectorDrawable wraps android.graphics.drawable.VectorDrawable.
func NewVectorDrawable ¶
func NewVectorDrawable(vm *jni.VM) (*VectorDrawable, error)
NewVectorDrawable creates a new android.graphics.drawable.VectorDrawable instance.
func (*VectorDrawable) ApplyTheme ¶
func (m *VectorDrawable) ApplyTheme(arg0 *jni.Object) error
ApplyTheme calls android.graphics.drawable.VectorDrawable.applyTheme.
func (*VectorDrawable) CanApplyTheme ¶
func (m *VectorDrawable) CanApplyTheme() (bool, error)
CanApplyTheme calls android.graphics.drawable.VectorDrawable.canApplyTheme.
func (*VectorDrawable) Draw ¶
func (m *VectorDrawable) Draw(arg0 *jni.Object) error
Draw calls android.graphics.drawable.VectorDrawable.draw.
func (*VectorDrawable) GetAlpha ¶
func (m *VectorDrawable) GetAlpha() (int32, error)
GetAlpha calls android.graphics.drawable.VectorDrawable.getAlpha.
func (*VectorDrawable) GetChangingConfigurations ¶
func (m *VectorDrawable) GetChangingConfigurations() (int32, error)
GetChangingConfigurations calls android.graphics.drawable.VectorDrawable.getChangingConfigurations.
func (*VectorDrawable) GetColorFilter ¶
func (m *VectorDrawable) GetColorFilter() (*jni.Object, error)
GetColorFilter calls android.graphics.drawable.VectorDrawable.getColorFilter.
func (*VectorDrawable) GetConstantState ¶
func (m *VectorDrawable) GetConstantState() (*jni.Object, error)
GetConstantState calls android.graphics.drawable.VectorDrawable.getConstantState.
func (*VectorDrawable) GetIntrinsicHeight ¶
func (m *VectorDrawable) GetIntrinsicHeight() (int32, error)
GetIntrinsicHeight calls android.graphics.drawable.VectorDrawable.getIntrinsicHeight.
func (*VectorDrawable) GetIntrinsicWidth ¶
func (m *VectorDrawable) GetIntrinsicWidth() (int32, error)
GetIntrinsicWidth calls android.graphics.drawable.VectorDrawable.getIntrinsicWidth.
func (*VectorDrawable) GetOpacity ¶
func (m *VectorDrawable) GetOpacity() (int32, error)
GetOpacity calls android.graphics.drawable.VectorDrawable.getOpacity.
func (*VectorDrawable) GetOpticalInsets ¶
func (m *VectorDrawable) GetOpticalInsets() (*jni.Object, error)
GetOpticalInsets calls android.graphics.drawable.VectorDrawable.getOpticalInsets.
func (*VectorDrawable) HasFocusStateSpecified ¶
func (m *VectorDrawable) HasFocusStateSpecified() (bool, error)
HasFocusStateSpecified calls android.graphics.drawable.VectorDrawable.hasFocusStateSpecified.
func (*VectorDrawable) Inflate ¶
func (m *VectorDrawable) Inflate( arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object, ) error
Inflate calls android.graphics.drawable.VectorDrawable.inflate.
func (*VectorDrawable) IsAutoMirrored ¶
func (m *VectorDrawable) IsAutoMirrored() (bool, error)
IsAutoMirrored calls android.graphics.drawable.VectorDrawable.isAutoMirrored.
func (*VectorDrawable) IsStateful ¶
func (m *VectorDrawable) IsStateful() (bool, error)
IsStateful calls android.graphics.drawable.VectorDrawable.isStateful.
func (*VectorDrawable) Mutate ¶
func (m *VectorDrawable) Mutate() (*jni.Object, error)
Mutate calls android.graphics.drawable.VectorDrawable.mutate.
func (*VectorDrawable) SetAlpha ¶
func (m *VectorDrawable) SetAlpha(arg0 int32) error
SetAlpha calls android.graphics.drawable.VectorDrawable.setAlpha.
func (*VectorDrawable) SetAutoMirrored ¶
func (m *VectorDrawable) SetAutoMirrored(arg0 bool) error
SetAutoMirrored calls android.graphics.drawable.VectorDrawable.setAutoMirrored.
func (*VectorDrawable) SetColorFilter ¶
func (m *VectorDrawable) SetColorFilter(arg0 *jni.Object) error
SetColorFilter calls android.graphics.drawable.VectorDrawable.setColorFilter.
func (*VectorDrawable) SetTintBlendMode ¶
func (m *VectorDrawable) SetTintBlendMode(arg0 *jni.Object) error
SetTintBlendMode calls android.graphics.drawable.VectorDrawable.setTintBlendMode.
func (*VectorDrawable) SetTintList ¶
func (m *VectorDrawable) SetTintList(arg0 *jni.Object) error
SetTintList calls android.graphics.drawable.VectorDrawable.setTintList.
func (*VectorDrawable) ToString ¶ added in v0.0.8
func (m *VectorDrawable) ToString() (string, error)
ToString calls android.graphics.drawable.VectorDrawable.toString.
type Wrapper ¶
Wrapper wraps android.graphics.drawable.DrawableWrapper.
func (*Wrapper) ApplyTheme ¶
ApplyTheme calls android.graphics.drawable.DrawableWrapper.applyTheme.
func (*Wrapper) CanApplyTheme ¶
CanApplyTheme calls android.graphics.drawable.DrawableWrapper.canApplyTheme.
func (*Wrapper) GetChangingConfigurations ¶
GetChangingConfigurations calls android.graphics.drawable.DrawableWrapper.getChangingConfigurations.
func (*Wrapper) GetColorFilter ¶
GetColorFilter calls android.graphics.drawable.DrawableWrapper.getColorFilter.
func (*Wrapper) GetConstantState ¶
GetConstantState calls android.graphics.drawable.DrawableWrapper.getConstantState.
func (*Wrapper) GetDrawable ¶
GetDrawable calls android.graphics.drawable.DrawableWrapper.getDrawable.
func (*Wrapper) GetHotspotBounds ¶
GetHotspotBounds calls android.graphics.drawable.DrawableWrapper.getHotspotBounds.
func (*Wrapper) GetIntrinsicHeight ¶
GetIntrinsicHeight calls android.graphics.drawable.DrawableWrapper.getIntrinsicHeight.
func (*Wrapper) GetIntrinsicWidth ¶
GetIntrinsicWidth calls android.graphics.drawable.DrawableWrapper.getIntrinsicWidth.
func (*Wrapper) GetOpacity ¶
GetOpacity calls android.graphics.drawable.DrawableWrapper.getOpacity.
func (*Wrapper) GetOpticalInsets ¶
GetOpticalInsets calls android.graphics.drawable.DrawableWrapper.getOpticalInsets.
func (*Wrapper) GetOutline ¶
GetOutline calls android.graphics.drawable.DrawableWrapper.getOutline.
func (*Wrapper) GetPadding ¶
GetPadding calls android.graphics.drawable.DrawableWrapper.getPadding.
func (*Wrapper) HasFocusStateSpecified ¶
HasFocusStateSpecified calls android.graphics.drawable.DrawableWrapper.hasFocusStateSpecified.
func (*Wrapper) Inflate ¶
func (m *Wrapper) Inflate( arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 *jni.Object, ) error
Inflate calls android.graphics.drawable.DrawableWrapper.inflate.
func (*Wrapper) InvalidateDrawable ¶
InvalidateDrawable calls android.graphics.drawable.DrawableWrapper.invalidateDrawable.
func (*Wrapper) IsStateful ¶
IsStateful calls android.graphics.drawable.DrawableWrapper.isStateful.
func (*Wrapper) JumpToCurrentState ¶
JumpToCurrentState calls android.graphics.drawable.DrawableWrapper.jumpToCurrentState.
func (*Wrapper) OnLayoutDirectionChanged ¶
OnLayoutDirectionChanged calls android.graphics.drawable.DrawableWrapper.onLayoutDirectionChanged.
func (*Wrapper) ScheduleDrawable ¶
ScheduleDrawable calls android.graphics.drawable.DrawableWrapper.scheduleDrawable.
func (*Wrapper) SetColorFilter ¶
SetColorFilter calls android.graphics.drawable.DrawableWrapper.setColorFilter.
func (*Wrapper) SetDrawable ¶
SetDrawable calls android.graphics.drawable.DrawableWrapper.setDrawable.
func (*Wrapper) SetHotspot ¶
SetHotspot calls android.graphics.drawable.DrawableWrapper.setHotspot.
func (*Wrapper) SetHotspotBounds ¶
SetHotspotBounds calls android.graphics.drawable.DrawableWrapper.setHotspotBounds.
func (*Wrapper) SetTintBlendMode ¶
SetTintBlendMode calls android.graphics.drawable.DrawableWrapper.setTintBlendMode.
func (*Wrapper) SetTintList ¶
SetTintList calls android.graphics.drawable.DrawableWrapper.setTintList.
func (*Wrapper) SetVisible ¶
SetVisible calls android.graphics.drawable.DrawableWrapper.setVisible.
Source Files
¶
- adaptive_icon_drawable.go
- animatable.go
- animatable2.go
- animatable2animation_callback.go
- animated_image_drawable.go
- animated_state_list_drawable.go
- animated_vector_drawable.go
- animation_drawable.go
- bitmap_drawable.go
- callback.go
- clip_drawable.go
- color_drawable.go
- color_state_list_drawable.go
- constant_state.go
- constants.go
- container.go
- container_drawable_container_state.go
- doc.go
- drawable.go
- gradient_drawable.go
- gradient_drawable_orientation.go
- icon.go
- icon_on_drawable_loaded_listener.go
- init.go
- inset_drawable.go
- layer_drawable.go
- level_list_drawable.go
- nine_patch_drawable.go
- paint_drawable.go
- picture_drawable.go
- ripple_drawable.go
- rotate_drawable.go
- scale_drawable.go
- shape_drawable.go
- shape_drawable_shader_factory.go
- state_list_drawable.go
- transition_drawable.go
- vector_drawable.go
- wrapper.go