util

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2026 License: CC0-1.0 Imports: 6 Imported by: 0

Documentation

Overview

Package util provides Go bindings for android.util.

Index

Constants

View Source
const (
	BeginArray                = consts.BeginArray
	BeginObject               = consts.BeginObject
	Boolean                   = consts.Boolean
	EndArray                  = consts.EndArray
	EndDocument               = consts.EndDocument
	EndObject                 = consts.EndObject
	Name                      = consts.Name
	Null                      = consts.Null
	Number                    = consts.Number
	String                    = consts.String
	Nothing                   = consts.Nothing
	WildCard                  = consts.WildCard
	Creator                   = consts.Creator
	Iso88591                  = consts.Iso88591
	UsAscii                   = consts.UsAscii
	Utf16                     = consts.Utf16
	Utf8                      = consts.Utf8
	DomainName                = consts.DomainName
	EmailAddress              = consts.EmailAddress
	IpAddress                 = consts.IpAddress
	Phone                     = consts.Phone
	TopLevelDomain            = consts.TopLevelDomain
	WebUrl                    = consts.WebUrl
	Inherit                   = consts.Inherit
	Locale                    = consts.Locale
	Ltr                       = consts.Ltr
	Rtl                       = consts.Rtl
	Epsilon                   = consts.Epsilon
	LowestValue               = consts.LowestValue
	MaxExponent               = consts.MaxExponent
	MaxValue                  = consts.MaxValue
	MinExponent               = consts.MinExponent
	MinNormal                 = consts.MinNormal
	MinValue                  = consts.MinValue
	NegativeInfinity          = consts.NegativeInfinity
	NegativeZero              = consts.NegativeZero
	Nan                       = consts.Nan
	PositiveInfinity          = consts.PositiveInfinity
	PositiveZero              = consts.PositiveZero
	SizeConst                 = consts.SizeConst
	Assert                    = consts.Assert
	Error                     = consts.Error
	Info                      = consts.Info
	Verbose                   = consts.Verbose
	Warn                      = consts.Warn
	Crlf                      = consts.Crlf
	Default                   = consts.Default
	NoClose                   = consts.NoClose
	NoPadding                 = consts.NoPadding
	NoWrap                    = consts.NoWrap
	UrlSafe                   = consts.UrlSafe
	Zero                      = consts.Zero
	ComplexMantissaMask       = consts.ComplexMantissaMask
	ComplexMantissaShift      = consts.ComplexMantissaShift
	ComplexRadix0p23          = consts.ComplexRadix0p23
	ComplexRadix16p7          = consts.ComplexRadix16p7
	ComplexRadix23p0          = consts.ComplexRadix23p0
	ComplexRadix8p15          = consts.ComplexRadix8p15
	ComplexRadixMask          = consts.ComplexRadixMask
	ComplexRadixShift         = consts.ComplexRadixShift
	ComplexUnitDip            = consts.ComplexUnitDip
	ComplexUnitFraction       = consts.ComplexUnitFraction
	ComplexUnitFractionParent = consts.ComplexUnitFractionParent
	ComplexUnitIn             = consts.ComplexUnitIn
	ComplexUnitMask           = consts.ComplexUnitMask
	ComplexUnitMm             = consts.ComplexUnitMm
	ComplexUnitPt             = consts.ComplexUnitPt
	ComplexUnitPx             = consts.ComplexUnitPx
	ComplexUnitShift          = consts.ComplexUnitShift
	ComplexUnitSp             = consts.ComplexUnitSp
	DataNullEmpty             = consts.DataNullEmpty
	DataNullUndefined         = consts.DataNullUndefined
	DensityDefault            = consts.DensityDefault
	DensityNone               = consts.DensityNone
	TypeAttribute             = consts.TypeAttribute
	TypeDimension             = consts.TypeDimension
	TypeFirstColorInt         = consts.TypeFirstColorInt
	TypeFirstInt              = consts.TypeFirstInt
	TypeFloat                 = consts.TypeFloat
	TypeFraction              = consts.TypeFraction
	TypeIntBoolean            = consts.TypeIntBoolean
	TypeIntColorArgb4         = consts.TypeIntColorArgb4
	TypeIntColorArgb8         = consts.TypeIntColorArgb8
	TypeIntColorRgb4          = consts.TypeIntColorRgb4
	TypeIntColorRgb8          = consts.TypeIntColorRgb8
	TypeIntDec                = consts.TypeIntDec
	TypeIntHex                = consts.TypeIntHex
	TypeLastColorInt          = consts.TypeLastColorInt
	TypeLastInt               = consts.TypeLastInt
	TypeNull                  = consts.TypeNull
	TypeReference             = consts.TypeReference
	TypeString                = consts.TypeString
)
View Source
const (
	Debug   = consts.Debug
	Logd    = consts.Logd
	Logv    = consts.Logv
	Profile = consts.Profile
	Release = consts.Release
)
View Source
const (
	GoodIriChar                = consts.GoodIriChar
	TopLevelDomainStr          = consts.TopLevelDomainStr
	TopLevelDomainStrForWebUrl = consts.TopLevelDomainStrForWebUrl
)

Variables

This section is empty.

Functions

func Init

func Init(env *jni.Env) error

Init resolves all JNI class and method references for this package. It is safe to call multiple times (uses sync.Once internally). Exported for E2E testing on Android.

Types

type AndroidException

type AndroidException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

AndroidException wraps android.util.AndroidException.

func NewAndroidException

func NewAndroidException(vm *jni.VM) (*AndroidException, error)

NewAndroidException creates a new android.util.AndroidException instance.

type AndroidRuntimeException

type AndroidRuntimeException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

AndroidRuntimeException wraps android.util.AndroidRuntimeException.

func NewAndroidRuntimeException

func NewAndroidRuntimeException(vm *jni.VM) (*AndroidRuntimeException, error)

NewAndroidRuntimeException creates a new android.util.AndroidRuntimeException instance.

type ArrayMap

type ArrayMap struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

ArrayMap wraps android.util.ArrayMap.

func NewArrayMap

func NewArrayMap(vm *jni.VM) (*ArrayMap, error)

NewArrayMap creates a new android.util.ArrayMap instance.

func (*ArrayMap) Clear

func (m *ArrayMap) Clear() error

Clear calls android.util.ArrayMap.clear.

func (*ArrayMap) ContainsKey

func (m *ArrayMap) ContainsKey(arg0 *jni.Object) (bool, error)

ContainsKey calls android.util.ArrayMap.containsKey.

func (*ArrayMap) ContainsValue

func (m *ArrayMap) ContainsValue(arg0 *jni.Object) (bool, error)

ContainsValue calls android.util.ArrayMap.containsValue.

func (*ArrayMap) EnsureCapacity

func (m *ArrayMap) EnsureCapacity(arg0 int32) error

EnsureCapacity calls android.util.ArrayMap.ensureCapacity.

func (*ArrayMap) Equals

func (m *ArrayMap) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.util.ArrayMap.equals.

func (*ArrayMap) HashCode

func (m *ArrayMap) HashCode() (int32, error)

HashCode calls android.util.ArrayMap.hashCode.

func (*ArrayMap) IndexOfKey

func (m *ArrayMap) IndexOfKey(arg0 *jni.Object) (int32, error)

IndexOfKey calls android.util.ArrayMap.indexOfKey.

func (*ArrayMap) IndexOfValue

func (m *ArrayMap) IndexOfValue(arg0 *jni.Object) (int32, error)

IndexOfValue calls android.util.ArrayMap.indexOfValue.

func (*ArrayMap) IsEmpty

func (m *ArrayMap) IsEmpty() (bool, error)

IsEmpty calls android.util.ArrayMap.isEmpty.

func (*ArrayMap) Size

func (m *ArrayMap) Size() (int32, error)

Size calls android.util.ArrayMap.size.

func (*ArrayMap) ToString

func (m *ArrayMap) ToString() (string, error)

ToString calls android.util.ArrayMap.toString.

type ArraySet

type ArraySet struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

ArraySet wraps android.util.ArraySet.

func NewArraySet

func NewArraySet(vm *jni.VM) (*ArraySet, error)

NewArraySet creates a new android.util.ArraySet instance.

func (*ArraySet) Clear

func (m *ArraySet) Clear() error

Clear calls android.util.ArraySet.clear.

func (*ArraySet) Contains

func (m *ArraySet) Contains(arg0 *jni.Object) (bool, error)

Contains calls android.util.ArraySet.contains.

func (*ArraySet) EnsureCapacity

func (m *ArraySet) EnsureCapacity(arg0 int32) error

EnsureCapacity calls android.util.ArraySet.ensureCapacity.

func (*ArraySet) Equals

func (m *ArraySet) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.util.ArraySet.equals.

func (*ArraySet) HashCode

func (m *ArraySet) HashCode() (int32, error)

HashCode calls android.util.ArraySet.hashCode.

func (*ArraySet) IndexOf

func (m *ArraySet) IndexOf(arg0 *jni.Object) (int32, error)

IndexOf calls android.util.ArraySet.indexOf.

func (*ArraySet) IsEmpty

func (m *ArraySet) IsEmpty() (bool, error)

IsEmpty calls android.util.ArraySet.isEmpty.

func (*ArraySet) Remove

func (m *ArraySet) Remove(arg0 *jni.Object) (bool, error)

Remove calls android.util.ArraySet.remove.

func (*ArraySet) Size

func (m *ArraySet) Size() (int32, error)

Size calls android.util.ArraySet.size.

func (*ArraySet) ToArray

func (m *ArraySet) ToArray() (*jni.Object, error)

ToArray calls android.util.ArraySet.toArray.

func (*ArraySet) ToString

func (m *ArraySet) ToString() (string, error)

ToString calls android.util.ArraySet.toString.

type AtomicFile

type AtomicFile struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

AtomicFile wraps android.util.AtomicFile.

func NewAtomicFile

func NewAtomicFile(vm *jni.VM, arg0 *jni.Object) (*AtomicFile, error)

NewAtomicFile creates a new android.util.AtomicFile instance.

func (*AtomicFile) Delete

func (m *AtomicFile) Delete() error

Delete calls android.util.AtomicFile.delete.

func (*AtomicFile) FailWrite

func (m *AtomicFile) FailWrite(arg0 *jni.Object) error

FailWrite calls android.util.AtomicFile.failWrite.

func (*AtomicFile) FinishWrite

func (m *AtomicFile) FinishWrite(arg0 *jni.Object) error

FinishWrite calls android.util.AtomicFile.finishWrite.

func (*AtomicFile) GetBaseFile

func (m *AtomicFile) GetBaseFile() (*jni.Object, error)

GetBaseFile calls android.util.AtomicFile.getBaseFile.

func (*AtomicFile) GetLastModifiedTime

func (m *AtomicFile) GetLastModifiedTime() (int64, error)

GetLastModifiedTime calls android.util.AtomicFile.getLastModifiedTime.

func (*AtomicFile) OpenRead

func (m *AtomicFile) OpenRead() (*jni.Object, error)

OpenRead calls android.util.AtomicFile.openRead.

func (*AtomicFile) ReadFully

func (m *AtomicFile) ReadFully() (*jni.Object, error)

ReadFully calls android.util.AtomicFile.readFully.

func (*AtomicFile) StartWrite

func (m *AtomicFile) StartWrite() (*jni.Object, error)

StartWrite calls android.util.AtomicFile.startWrite.

func (*AtomicFile) ToString

func (m *AtomicFile) ToString() (string, error)

ToString calls android.util.AtomicFile.toString.

type AttributeSet

type AttributeSet struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

AttributeSet wraps android.util.AttributeSet.

func (*AttributeSet) GetAttributeBooleanValue2

func (m *AttributeSet) GetAttributeBooleanValue2(arg0 int32, arg1 bool) (bool, error)

GetAttributeBooleanValue2 calls android.util.AttributeSet.getAttributeBooleanValue.

func (*AttributeSet) GetAttributeBooleanValue3_1

func (m *AttributeSet) GetAttributeBooleanValue3_1(
	arg0 string,
	arg1 string,
	arg2 bool,
) (bool, error)

GetAttributeBooleanValue3_1 calls android.util.AttributeSet.getAttributeBooleanValue.

func (*AttributeSet) GetAttributeCount

func (m *AttributeSet) GetAttributeCount() (int32, error)

GetAttributeCount calls android.util.AttributeSet.getAttributeCount.

func (*AttributeSet) GetAttributeFloatValue2

func (m *AttributeSet) GetAttributeFloatValue2(arg0 int32, arg1 float32) (float32, error)

GetAttributeFloatValue2 calls android.util.AttributeSet.getAttributeFloatValue.

func (*AttributeSet) GetAttributeFloatValue3_1

func (m *AttributeSet) GetAttributeFloatValue3_1(
	arg0 string,
	arg1 string,
	arg2 float32,
) (float32, error)

GetAttributeFloatValue3_1 calls android.util.AttributeSet.getAttributeFloatValue.

func (*AttributeSet) GetAttributeIntValue2

func (m *AttributeSet) GetAttributeIntValue2(arg0 int32, arg1 int32) (int32, error)

GetAttributeIntValue2 calls android.util.AttributeSet.getAttributeIntValue.

func (*AttributeSet) GetAttributeIntValue3_1

func (m *AttributeSet) GetAttributeIntValue3_1(
	arg0 string,
	arg1 string,
	arg2 int32,
) (int32, error)

GetAttributeIntValue3_1 calls android.util.AttributeSet.getAttributeIntValue.

func (*AttributeSet) GetAttributeListValue3

func (m *AttributeSet) GetAttributeListValue3(
	arg0 int32,
	arg1 *jni.Object,
	arg2 int32,
) (int32, error)

GetAttributeListValue3 calls android.util.AttributeSet.getAttributeListValue.

func (*AttributeSet) GetAttributeListValue4_1

func (m *AttributeSet) GetAttributeListValue4_1(
	arg0 string,
	arg1 string,
	arg2 *jni.Object,
	arg3 int32,
) (int32, error)

GetAttributeListValue4_1 calls android.util.AttributeSet.getAttributeListValue.

func (*AttributeSet) GetAttributeName

func (m *AttributeSet) GetAttributeName(arg0 int32) (string, error)

GetAttributeName calls android.util.AttributeSet.getAttributeName.

func (*AttributeSet) GetAttributeNameResource

func (m *AttributeSet) GetAttributeNameResource(arg0 int32) (int32, error)

GetAttributeNameResource calls android.util.AttributeSet.getAttributeNameResource.

func (*AttributeSet) GetAttributeResourceValue2

func (m *AttributeSet) GetAttributeResourceValue2(arg0 int32, arg1 int32) (int32, error)

GetAttributeResourceValue2 calls android.util.AttributeSet.getAttributeResourceValue.

func (*AttributeSet) GetAttributeResourceValue3_1

func (m *AttributeSet) GetAttributeResourceValue3_1(
	arg0 string,
	arg1 string,
	arg2 int32,
) (int32, error)

GetAttributeResourceValue3_1 calls android.util.AttributeSet.getAttributeResourceValue.

func (*AttributeSet) GetAttributeUnsignedIntValue2

func (m *AttributeSet) GetAttributeUnsignedIntValue2(arg0 int32, arg1 int32) (int32, error)

GetAttributeUnsignedIntValue2 calls android.util.AttributeSet.getAttributeUnsignedIntValue.

func (*AttributeSet) GetAttributeUnsignedIntValue3_1

func (m *AttributeSet) GetAttributeUnsignedIntValue3_1(
	arg0 string,
	arg1 string,
	arg2 int32,
) (int32, error)

GetAttributeUnsignedIntValue3_1 calls android.util.AttributeSet.getAttributeUnsignedIntValue.

func (*AttributeSet) GetAttributeValue1

func (m *AttributeSet) GetAttributeValue1(arg0 int32) (string, error)

GetAttributeValue1 calls android.util.AttributeSet.getAttributeValue.

func (*AttributeSet) GetAttributeValue2_1

func (m *AttributeSet) GetAttributeValue2_1(arg0 string, arg1 string) (string, error)

GetAttributeValue2_1 calls android.util.AttributeSet.getAttributeValue.

func (*AttributeSet) GetClassAttribute

func (m *AttributeSet) GetClassAttribute() (string, error)

GetClassAttribute calls android.util.AttributeSet.getClassAttribute.

func (*AttributeSet) GetIdAttribute

func (m *AttributeSet) GetIdAttribute() (string, error)

GetIdAttribute calls android.util.AttributeSet.getIdAttribute.

func (*AttributeSet) GetIdAttributeResourceValue

func (m *AttributeSet) GetIdAttributeResourceValue(arg0 int32) (int32, error)

GetIdAttributeResourceValue calls android.util.AttributeSet.getIdAttributeResourceValue.

func (*AttributeSet) GetPositionDescription

func (m *AttributeSet) GetPositionDescription() (string, error)

GetPositionDescription calls android.util.AttributeSet.getPositionDescription.

func (*AttributeSet) GetStyleAttribute

func (m *AttributeSet) GetStyleAttribute() (int32, error)

GetStyleAttribute calls android.util.AttributeSet.getStyleAttribute.

type Base64

type Base64 struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

Base64 wraps android.util.Base64.

func (*Base64) Decode2

func (m *Base64) Decode2(arg0 *jni.Object, arg1 int32) (*jni.Object, error)

Decode2 calls android.util.Base64.decode.

func (*Base64) Decode2_2

func (m *Base64) Decode2_2(arg0 string, arg1 int32) (*jni.Object, error)

Decode2_2 calls android.util.Base64.decode.

func (*Base64) Decode4_1

func (m *Base64) Decode4_1(
	arg0 *jni.Object,
	arg1 int32,
	arg2 int32,
	arg3 int32,
) (*jni.Object, error)

Decode4_1 calls android.util.Base64.decode.

func (*Base64) Encode2

func (m *Base64) Encode2(arg0 *jni.Object, arg1 int32) (*jni.Object, error)

Encode2 calls android.util.Base64.encode.

func (*Base64) Encode4_1

func (m *Base64) Encode4_1(
	arg0 *jni.Object,
	arg1 int32,
	arg2 int32,
	arg3 int32,
) (*jni.Object, error)

Encode4_1 calls android.util.Base64.encode.

func (*Base64) EncodeToString2

func (m *Base64) EncodeToString2(arg0 *jni.Object, arg1 int32) (string, error)

EncodeToString2 calls android.util.Base64.encodeToString.

func (*Base64) EncodeToString4_1

func (m *Base64) EncodeToString4_1(
	arg0 *jni.Object,
	arg1 int32,
	arg2 int32,
	arg3 int32,
) (string, error)

EncodeToString4_1 calls android.util.Base64.encodeToString.

type Base64DataException

type Base64DataException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

Base64DataException wraps android.util.Base64DataException.

func NewBase64DataException

func NewBase64DataException(vm *jni.VM, arg0 string) (*Base64DataException, error)

NewBase64DataException creates a new android.util.Base64DataException instance.

type Base64InputStream

type Base64InputStream struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

Base64InputStream wraps android.util.Base64InputStream.

func NewBase64InputStream

func NewBase64InputStream(vm *jni.VM, arg0 *jni.Object, arg1 int32) (*Base64InputStream, error)

NewBase64InputStream creates a new android.util.Base64InputStream instance.

func (*Base64InputStream) Available

func (m *Base64InputStream) Available() (int32, error)

Available calls android.util.Base64InputStream.available.

func (*Base64InputStream) Close

func (m *Base64InputStream) Close() error

Close calls android.util.Base64InputStream.close.

func (*Base64InputStream) Mark

func (m *Base64InputStream) Mark(arg0 int32) error

Mark calls android.util.Base64InputStream.mark.

func (*Base64InputStream) MarkSupported

func (m *Base64InputStream) MarkSupported() (bool, error)

MarkSupported calls android.util.Base64InputStream.markSupported.

func (*Base64InputStream) Read0

func (m *Base64InputStream) Read0() (int32, error)

Read0 calls android.util.Base64InputStream.read.

func (*Base64InputStream) Read3_1

func (m *Base64InputStream) Read3_1(
	arg0 *jni.Object,
	arg1 int32,
	arg2 int32,
) (int32, error)

Read3_1 calls android.util.Base64InputStream.read.

func (*Base64InputStream) Reset

func (m *Base64InputStream) Reset() error

Reset calls android.util.Base64InputStream.reset.

func (*Base64InputStream) Skip

func (m *Base64InputStream) Skip(arg0 int64) (int64, error)

Skip calls android.util.Base64InputStream.skip.

type Base64OutputStream

type Base64OutputStream struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

Base64OutputStream wraps android.util.Base64OutputStream.

func NewBase64OutputStream

func NewBase64OutputStream(vm *jni.VM, arg0 *jni.Object, arg1 int32) (*Base64OutputStream, error)

NewBase64OutputStream creates a new android.util.Base64OutputStream instance.

func (*Base64OutputStream) Close

func (m *Base64OutputStream) Close() error

Close calls android.util.Base64OutputStream.close.

func (*Base64OutputStream) Write1_1

func (m *Base64OutputStream) Write1_1(arg0 int32) error

Write1_1 calls android.util.Base64OutputStream.write.

func (*Base64OutputStream) Write3

func (m *Base64OutputStream) Write3(
	arg0 *jni.Object,
	arg1 int32,
	arg2 int32,
) error

Write3 calls android.util.Base64OutputStream.write.

type CloseGuard

type CloseGuard struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

CloseGuard wraps android.util.CloseGuard.

func NewCloseGuard

func NewCloseGuard(vm *jni.VM) (*CloseGuard, error)

NewCloseGuard creates a new android.util.CloseGuard instance.

func (*CloseGuard) Close

func (m *CloseGuard) Close() error

Close calls android.util.CloseGuard.close.

func (*CloseGuard) Open

func (m *CloseGuard) Open(arg0 string) error

Open calls android.util.CloseGuard.open.

func (*CloseGuard) WarnIfOpen

func (m *CloseGuard) WarnIfOpen() error

WarnIfOpen calls android.util.CloseGuard.warnIfOpen.

type DebugUtils

type DebugUtils struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

DebugUtils wraps android.util.DebugUtils.

func (*DebugUtils) IsObjectSelected

func (m *DebugUtils) IsObjectSelected(arg0 *jni.Object) (bool, error)

IsObjectSelected calls android.util.DebugUtils.isObjectSelected.

type Dumpable

type Dumpable struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

Dumpable wraps android.util.Dumpable.

func (*Dumpable) Dump

func (m *Dumpable) Dump(arg0 *jni.Object, arg1 *jni.Object) error

Dump calls android.util.Dumpable.dump.

type DumpableContainer

type DumpableContainer struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

DumpableContainer wraps android.util.DumpableContainer.

func (*DumpableContainer) AddDumpable

func (m *DumpableContainer) AddDumpable(arg0 *jni.Object) (bool, error)

AddDumpable calls android.util.DumpableContainer.addDumpable.

func (*DumpableContainer) RemoveDumpable

func (m *DumpableContainer) RemoveDumpable(arg0 *jni.Object) (bool, error)

RemoveDumpable calls android.util.DumpableContainer.removeDumpable.

type EventLog

type EventLog struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

EventLog wraps android.util.EventLog.

func (*EventLog) GetTagCode

func (m *EventLog) GetTagCode(arg0 string) (int32, error)

GetTagCode calls android.util.EventLog.getTagCode.

func (*EventLog) GetTagName

func (m *EventLog) GetTagName(arg0 int32) (string, error)

GetTagName calls android.util.EventLog.getTagName.

func (*EventLog) WriteEvent2

func (m *EventLog) WriteEvent2(arg0 int32, arg1 float32) (int32, error)

WriteEvent2 calls android.util.EventLog.writeEvent.

func (*EventLog) WriteEvent2_1

func (m *EventLog) WriteEvent2_1(arg0 int32, arg1 int32) (int32, error)

WriteEvent2_1 calls android.util.EventLog.writeEvent.

func (*EventLog) WriteEvent2_2

func (m *EventLog) WriteEvent2_2(arg0 int32, arg1 *jni.Object) (int32, error)

WriteEvent2_2 calls android.util.EventLog.writeEvent.

func (*EventLog) WriteEvent2_3

func (m *EventLog) WriteEvent2_3(arg0 int32, arg1 string) (int32, error)

WriteEvent2_3 calls android.util.EventLog.writeEvent.

func (*EventLog) WriteEvent2_4

func (m *EventLog) WriteEvent2_4(arg0 int32, arg1 int64) (int32, error)

WriteEvent2_4 calls android.util.EventLog.writeEvent.

type EventLogEvent

type EventLogEvent struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

EventLogEvent wraps android.util.EventLog$Event.

func (*EventLogEvent) Equals

func (m *EventLogEvent) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.util.EventLog$Event.equals.

func (*EventLogEvent) GetProcessId

func (m *EventLogEvent) GetProcessId() (int32, error)

GetProcessId calls android.util.EventLog$Event.getProcessId.

func (*EventLogEvent) GetTag

func (m *EventLogEvent) GetTag() (int32, error)

GetTag calls android.util.EventLog$Event.getTag.

func (*EventLogEvent) GetThreadId

func (m *EventLogEvent) GetThreadId() (int32, error)

GetThreadId calls android.util.EventLog$Event.getThreadId.

func (*EventLogEvent) GetTimeNanos

func (m *EventLogEvent) GetTimeNanos() (int64, error)

GetTimeNanos calls android.util.EventLog$Event.getTimeNanos.

func (*EventLogEvent) HashCode

func (m *EventLogEvent) HashCode() (int32, error)

HashCode calls android.util.EventLog$Event.hashCode.

type EventLogTags

type EventLogTags struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

EventLogTags wraps android.util.EventLogTags.

func NewEventLogTags

func NewEventLogTags(vm *jni.VM) (*EventLogTags, error)

NewEventLogTags creates a new android.util.EventLogTags instance.

func (*EventLogTags) Get1

func (m *EventLogTags) Get1(arg0 int32) (*jni.Object, error)

Get1 calls android.util.EventLogTags.get.

func (*EventLogTags) Get1_1

func (m *EventLogTags) Get1_1(arg0 string) (*jni.Object, error)

Get1_1 calls android.util.EventLogTags.get.

type FloatProperty

type FloatProperty struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

FloatProperty wraps android.util.FloatProperty.

func (*FloatProperty) Set

func (m *FloatProperty) Set(arg0 *jni.Object, arg1 *jni.Object) error

Set calls android.util.FloatProperty.set.

type Half

type Half struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

Half wraps android.util.Half.

func NewHalf

func NewHalf(vm *jni.VM, arg0 float64) (*Half, error)

NewHalf creates a new android.util.Half instance.

func (*Half) Abs

func (m *Half) Abs(arg0 int16) (int16, error)

Abs calls android.util.Half.abs.

func (*Half) ByteValue

func (m *Half) ByteValue() (int8, error)

ByteValue calls android.util.Half.byteValue.

func (*Half) Ceil

func (m *Half) Ceil(arg0 int16) (int16, error)

Ceil calls android.util.Half.ceil.

func (*Half) Compare

func (m *Half) Compare(arg0 int16, arg1 int16) (int32, error)

Compare calls android.util.Half.compare.

func (*Half) CompareTo1

func (m *Half) CompareTo1(arg0 *jni.Object) (int32, error)

CompareTo1 calls android.util.Half.compareTo.

func (*Half) CompareTo1_1

func (m *Half) CompareTo1_1(arg0 *jni.Object) (int32, error)

CompareTo1_1 calls android.util.Half.compareTo.

func (*Half) CopySign

func (m *Half) CopySign(arg0 int16, arg1 int16) (int16, error)

CopySign calls android.util.Half.copySign.

func (*Half) DoubleValue

func (m *Half) DoubleValue() (float64, error)

DoubleValue calls android.util.Half.doubleValue.

func (*Half) Equals1

func (m *Half) Equals1(arg0 *jni.Object) (bool, error)

Equals1 calls android.util.Half.equals.

func (*Half) Equals2_1

func (m *Half) Equals2_1(arg0 int16, arg1 int16) (bool, error)

Equals2_1 calls android.util.Half.equals.

func (*Half) FloatValue

func (m *Half) FloatValue() (float32, error)

FloatValue calls android.util.Half.floatValue.

func (*Half) Floor

func (m *Half) Floor(arg0 int16) (int16, error)

Floor calls android.util.Half.floor.

func (*Half) GetExponent

func (m *Half) GetExponent(arg0 int16) (int32, error)

GetExponent calls android.util.Half.getExponent.

func (*Half) GetSign

func (m *Half) GetSign(arg0 int16) (int32, error)

GetSign calls android.util.Half.getSign.

func (*Half) GetSignificand

func (m *Half) GetSignificand(arg0 int16) (int32, error)

GetSignificand calls android.util.Half.getSignificand.

func (*Half) Greater

func (m *Half) Greater(arg0 int16, arg1 int16) (bool, error)

Greater calls android.util.Half.greater.

func (*Half) GreaterEquals

func (m *Half) GreaterEquals(arg0 int16, arg1 int16) (bool, error)

GreaterEquals calls android.util.Half.greaterEquals.

func (*Half) HalfToIntBits

func (m *Half) HalfToIntBits(arg0 int16) (int32, error)

HalfToIntBits calls android.util.Half.halfToIntBits.

func (*Half) HalfToRawIntBits

func (m *Half) HalfToRawIntBits(arg0 int16) (int32, error)

HalfToRawIntBits calls android.util.Half.halfToRawIntBits.

func (*Half) HalfToShortBits

func (m *Half) HalfToShortBits(arg0 int16) (int16, error)

HalfToShortBits calls android.util.Half.halfToShortBits.

func (*Half) HalfValue

func (m *Half) HalfValue() (int16, error)

HalfValue calls android.util.Half.halfValue.

func (*Half) HashCode0

func (m *Half) HashCode0() (int32, error)

HashCode0 calls android.util.Half.hashCode.

func (*Half) HashCode1_1

func (m *Half) HashCode1_1(arg0 int16) (int32, error)

HashCode1_1 calls android.util.Half.hashCode.

func (*Half) IntBitsToHalf

func (m *Half) IntBitsToHalf(arg0 int32) (int16, error)

IntBitsToHalf calls android.util.Half.intBitsToHalf.

func (*Half) IntValue

func (m *Half) IntValue() (int32, error)

IntValue calls android.util.Half.intValue.

func (*Half) IsInfinite

func (m *Half) IsInfinite(arg0 int16) (bool, error)

IsInfinite calls android.util.Half.isInfinite.

func (*Half) IsNaN0

func (m *Half) IsNaN0() (bool, error)

IsNaN0 calls android.util.Half.isNaN.

func (*Half) IsNaN1_1

func (m *Half) IsNaN1_1(arg0 int16) (bool, error)

IsNaN1_1 calls android.util.Half.isNaN.

func (*Half) IsNormalized

func (m *Half) IsNormalized(arg0 int16) (bool, error)

IsNormalized calls android.util.Half.isNormalized.

func (*Half) Less

func (m *Half) Less(arg0 int16, arg1 int16) (bool, error)

Less calls android.util.Half.less.

func (*Half) LessEquals

func (m *Half) LessEquals(arg0 int16, arg1 int16) (bool, error)

LessEquals calls android.util.Half.lessEquals.

func (*Half) LongValue

func (m *Half) LongValue() (int64, error)

LongValue calls android.util.Half.longValue.

func (*Half) Max

func (m *Half) Max(arg0 int16, arg1 int16) (int16, error)

Max calls android.util.Half.max.

func (*Half) Min

func (m *Half) Min(arg0 int16, arg1 int16) (int16, error)

Min calls android.util.Half.min.

func (*Half) ParseHalf

func (m *Half) ParseHalf(arg0 string) (int16, error)

ParseHalf calls android.util.Half.parseHalf.

func (*Half) Round

func (m *Half) Round(arg0 int16) (int16, error)

Round calls android.util.Half.round.

func (*Half) ShortValue

func (m *Half) ShortValue() (int16, error)

ShortValue calls android.util.Half.shortValue.

func (*Half) ToFloat

func (m *Half) ToFloat(arg0 int16) (float32, error)

ToFloat calls android.util.Half.toFloat.

func (*Half) ToHalf

func (m *Half) ToHalf(arg0 float32) (int16, error)

ToHalf calls android.util.Half.toHalf.

func (*Half) ToHexString

func (m *Half) ToHexString(arg0 int16) (string, error)

ToHexString calls android.util.Half.toHexString.

func (*Half) ToString0

func (m *Half) ToString0() (string, error)

ToString0 calls android.util.Half.toString.

func (*Half) ToString1_1

func (m *Half) ToString1_1(arg0 int16) (string, error)

ToString1_1 calls android.util.Half.toString.

func (*Half) Trunc

func (m *Half) Trunc(arg0 int16) (int16, error)

Trunc calls android.util.Half.trunc.

func (*Half) ValueOf1

func (m *Half) ValueOf1(arg0 float32) (*jni.Object, error)

ValueOf1 calls android.util.Half.valueOf.

func (*Half) ValueOf1_1

func (m *Half) ValueOf1_1(arg0 string) (*jni.Object, error)

ValueOf1_1 calls android.util.Half.valueOf.

func (*Half) ValueOf1_2

func (m *Half) ValueOf1_2(arg0 int16) (*jni.Object, error)

ValueOf1_2 calls android.util.Half.valueOf.

type IntProperty

type IntProperty struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

IntProperty wraps android.util.IntProperty.

func (*IntProperty) Set

func (m *IntProperty) Set(arg0 *jni.Object, arg1 *jni.Object) error

Set calls android.util.IntProperty.set.

type JsonReader

type JsonReader struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

JsonReader wraps android.util.JsonReader.

func NewJsonReader

func NewJsonReader(vm *jni.VM, arg0 *jni.Object) (*JsonReader, error)

NewJsonReader creates a new android.util.JsonReader instance.

func (*JsonReader) BeginArray

func (m *JsonReader) BeginArray() error

BeginArray calls android.util.JsonReader.beginArray.

func (*JsonReader) BeginObject

func (m *JsonReader) BeginObject() error

BeginObject calls android.util.JsonReader.beginObject.

func (*JsonReader) Close

func (m *JsonReader) Close() error

Close calls android.util.JsonReader.close.

func (*JsonReader) EndArray

func (m *JsonReader) EndArray() error

EndArray calls android.util.JsonReader.endArray.

func (*JsonReader) EndObject

func (m *JsonReader) EndObject() error

EndObject calls android.util.JsonReader.endObject.

func (*JsonReader) HasNext

func (m *JsonReader) HasNext() (bool, error)

HasNext calls android.util.JsonReader.hasNext.

func (*JsonReader) IsLenient

func (m *JsonReader) IsLenient() (bool, error)

IsLenient calls android.util.JsonReader.isLenient.

func (*JsonReader) NextBoolean

func (m *JsonReader) NextBoolean() (bool, error)

NextBoolean calls android.util.JsonReader.nextBoolean.

func (*JsonReader) NextDouble

func (m *JsonReader) NextDouble() (float64, error)

NextDouble calls android.util.JsonReader.nextDouble.

func (*JsonReader) NextInt

func (m *JsonReader) NextInt() (int32, error)

NextInt calls android.util.JsonReader.nextInt.

func (*JsonReader) NextLong

func (m *JsonReader) NextLong() (int64, error)

NextLong calls android.util.JsonReader.nextLong.

func (*JsonReader) NextName

func (m *JsonReader) NextName() (string, error)

NextName calls android.util.JsonReader.nextName.

func (*JsonReader) NextNull

func (m *JsonReader) NextNull() error

NextNull calls android.util.JsonReader.nextNull.

func (*JsonReader) NextString

func (m *JsonReader) NextString() (string, error)

NextString calls android.util.JsonReader.nextString.

func (*JsonReader) Peek

func (m *JsonReader) Peek() (*jni.Object, error)

Peek calls android.util.JsonReader.peek.

func (*JsonReader) SetLenient

func (m *JsonReader) SetLenient(arg0 bool) error

SetLenient calls android.util.JsonReader.setLenient.

func (*JsonReader) SkipValue

func (m *JsonReader) SkipValue() error

SkipValue calls android.util.JsonReader.skipValue.

func (*JsonReader) ToString

func (m *JsonReader) ToString() (string, error)

ToString calls android.util.JsonReader.toString.

type JsonToken

type JsonToken struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

JsonToken wraps android.util.JsonToken.

func (*JsonToken) ValueOf

func (m *JsonToken) ValueOf(arg0 string) (*jni.Object, error)

ValueOf calls android.util.JsonToken.valueOf.

func (*JsonToken) Values

func (m *JsonToken) Values() (*jni.Object, error)

Values calls android.util.JsonToken.values.

type JsonWriter

type JsonWriter struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

JsonWriter wraps android.util.JsonWriter.

func NewJsonWriter

func NewJsonWriter(vm *jni.VM, arg0 *jni.Object) (*JsonWriter, error)

NewJsonWriter creates a new android.util.JsonWriter instance.

func (*JsonWriter) BeginArray

func (m *JsonWriter) BeginArray() (*jni.Object, error)

BeginArray calls android.util.JsonWriter.beginArray.

func (*JsonWriter) BeginObject

func (m *JsonWriter) BeginObject() (*jni.Object, error)

BeginObject calls android.util.JsonWriter.beginObject.

func (*JsonWriter) Close

func (m *JsonWriter) Close() error

Close calls android.util.JsonWriter.close.

func (*JsonWriter) EndArray

func (m *JsonWriter) EndArray() (*jni.Object, error)

EndArray calls android.util.JsonWriter.endArray.

func (*JsonWriter) EndObject

func (m *JsonWriter) EndObject() (*jni.Object, error)

EndObject calls android.util.JsonWriter.endObject.

func (*JsonWriter) Flush

func (m *JsonWriter) Flush() error

Flush calls android.util.JsonWriter.flush.

func (*JsonWriter) IsLenient

func (m *JsonWriter) IsLenient() (bool, error)

IsLenient calls android.util.JsonWriter.isLenient.

func (*JsonWriter) Name

func (m *JsonWriter) Name(arg0 string) (*jni.Object, error)

Name calls android.util.JsonWriter.name.

func (*JsonWriter) NullValue

func (m *JsonWriter) NullValue() (*jni.Object, error)

NullValue calls android.util.JsonWriter.nullValue.

func (*JsonWriter) SetIndent

func (m *JsonWriter) SetIndent(arg0 string) error

SetIndent calls android.util.JsonWriter.setIndent.

func (*JsonWriter) SetLenient

func (m *JsonWriter) SetLenient(arg0 bool) error

SetLenient calls android.util.JsonWriter.setLenient.

func (*JsonWriter) Value1

func (m *JsonWriter) Value1(arg0 bool) (*jni.Object, error)

Value1 calls android.util.JsonWriter.value.

func (*JsonWriter) Value1_1

func (m *JsonWriter) Value1_1(arg0 float64) (*jni.Object, error)

Value1_1 calls android.util.JsonWriter.value.

func (*JsonWriter) Value1_2

func (m *JsonWriter) Value1_2(arg0 *jni.Object) (*jni.Object, error)

Value1_2 calls android.util.JsonWriter.value.

func (*JsonWriter) Value1_3

func (m *JsonWriter) Value1_3(arg0 string) (*jni.Object, error)

Value1_3 calls android.util.JsonWriter.value.

func (*JsonWriter) Value1_4

func (m *JsonWriter) Value1_4(arg0 int64) (*jni.Object, error)

Value1_4 calls android.util.JsonWriter.value.

type Log

type Log struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

Log wraps android.util.Log.

func (*Log) D2

func (m *Log) D2(arg0 string, arg1 string) (int32, error)

D2 calls android.util.Log.d.

func (*Log) D3_1

func (m *Log) D3_1(
	arg0 string,
	arg1 string,
	arg2 *jni.Object,
) (int32, error)

D3_1 calls android.util.Log.d.

func (*Log) E2

func (m *Log) E2(arg0 string, arg1 string) (int32, error)

E2 calls android.util.Log.e.

func (*Log) E3_1

func (m *Log) E3_1(
	arg0 string,
	arg1 string,
	arg2 *jni.Object,
) (int32, error)

E3_1 calls android.util.Log.e.

func (*Log) GetStackTraceString

func (m *Log) GetStackTraceString(arg0 *jni.Object) (string, error)

GetStackTraceString calls android.util.Log.getStackTraceString.

func (*Log) I2

func (m *Log) I2(arg0 string, arg1 string) (int32, error)

I2 calls android.util.Log.i.

func (*Log) I3_1

func (m *Log) I3_1(
	arg0 string,
	arg1 string,
	arg2 *jni.Object,
) (int32, error)

I3_1 calls android.util.Log.i.

func (*Log) IsLoggable

func (m *Log) IsLoggable(arg0 string, arg1 int32) (bool, error)

IsLoggable calls android.util.Log.isLoggable.

func (*Log) Println

func (m *Log) Println(
	arg0 int32,
	arg1 string,
	arg2 string,
) (int32, error)

Println calls android.util.Log.println.

func (*Log) V2

func (m *Log) V2(arg0 string, arg1 string) (int32, error)

V2 calls android.util.Log.v.

func (*Log) V3_1

func (m *Log) V3_1(
	arg0 string,
	arg1 string,
	arg2 *jni.Object,
) (int32, error)

V3_1 calls android.util.Log.v.

func (*Log) W2

func (m *Log) W2(arg0 string, arg1 string) (int32, error)

W2 calls android.util.Log.w.

func (*Log) W2_2

func (m *Log) W2_2(arg0 string, arg1 *jni.Object) (int32, error)

W2_2 calls android.util.Log.w.

func (*Log) W3_1

func (m *Log) W3_1(
	arg0 string,
	arg1 string,
	arg2 *jni.Object,
) (int32, error)

W3_1 calls android.util.Log.w.

func (*Log) Wtf2

func (m *Log) Wtf2(arg0 string, arg1 string) (int32, error)

Wtf2 calls android.util.Log.wtf.

func (*Log) Wtf2_2

func (m *Log) Wtf2_2(arg0 string, arg1 *jni.Object) (int32, error)

Wtf2_2 calls android.util.Log.wtf.

func (*Log) Wtf3_1

func (m *Log) Wtf3_1(
	arg0 string,
	arg1 string,
	arg2 *jni.Object,
) (int32, error)

Wtf3_1 calls android.util.Log.wtf.

type LogPrinter

type LogPrinter struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

LogPrinter wraps android.util.LogPrinter.

func NewLogPrinter

func NewLogPrinter(vm *jni.VM, arg0 int32, arg1 string) (*LogPrinter, error)

NewLogPrinter creates a new android.util.LogPrinter instance.

func (*LogPrinter) Println

func (m *LogPrinter) Println(arg0 string) error

Println calls android.util.LogPrinter.println.

type LongSparseArray

type LongSparseArray struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

LongSparseArray wraps android.util.LongSparseArray.

func NewLongSparseArray

func NewLongSparseArray(vm *jni.VM) (*LongSparseArray, error)

NewLongSparseArray creates a new android.util.LongSparseArray instance.

func (*LongSparseArray) Clear

func (m *LongSparseArray) Clear() error

Clear calls android.util.LongSparseArray.clear.

func (*LongSparseArray) Clone

func (m *LongSparseArray) Clone() (*jni.Object, error)

Clone calls android.util.LongSparseArray.clone.

func (*LongSparseArray) Delete

func (m *LongSparseArray) Delete(arg0 int64) error

Delete calls android.util.LongSparseArray.delete.

func (*LongSparseArray) IndexOfKey

func (m *LongSparseArray) IndexOfKey(arg0 int64) (int32, error)

IndexOfKey calls android.util.LongSparseArray.indexOfKey.

func (*LongSparseArray) KeyAt

func (m *LongSparseArray) KeyAt(arg0 int32) (int64, error)

KeyAt calls android.util.LongSparseArray.keyAt.

func (*LongSparseArray) Remove

func (m *LongSparseArray) Remove(arg0 int64) error

Remove calls android.util.LongSparseArray.remove.

func (*LongSparseArray) RemoveAt

func (m *LongSparseArray) RemoveAt(arg0 int32) error

RemoveAt calls android.util.LongSparseArray.removeAt.

func (*LongSparseArray) Size

func (m *LongSparseArray) Size() (int32, error)

Size calls android.util.LongSparseArray.size.

func (*LongSparseArray) ToString

func (m *LongSparseArray) ToString() (string, error)

ToString calls android.util.LongSparseArray.toString.

type LruCache

type LruCache struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

LruCache wraps android.util.LruCache.

func NewLruCache

func NewLruCache(vm *jni.VM, arg0 int32) (*LruCache, error)

NewLruCache creates a new android.util.LruCache instance.

func (*LruCache) EvictAll

func (m *LruCache) EvictAll() error

EvictAll calls android.util.LruCache.evictAll.

func (*LruCache) Resize

func (m *LruCache) Resize(arg0 int32) error

Resize calls android.util.LruCache.resize.

func (*LruCache) TrimToSize

func (m *LruCache) TrimToSize(arg0 int32) error

TrimToSize calls android.util.LruCache.trimToSize.

type MalformedJsonException

type MalformedJsonException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

MalformedJsonException wraps android.util.MalformedJsonException.

func NewMalformedJsonException

func NewMalformedJsonException(vm *jni.VM, arg0 string) (*MalformedJsonException, error)

NewMalformedJsonException creates a new android.util.MalformedJsonException instance.

type MonthDisplayHelper

type MonthDisplayHelper struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

MonthDisplayHelper wraps android.util.MonthDisplayHelper.

func NewMonthDisplayHelper

func NewMonthDisplayHelper(vm *jni.VM, arg0 int32, arg1 int32) (*MonthDisplayHelper, error)

NewMonthDisplayHelper creates a new android.util.MonthDisplayHelper instance.

func (*MonthDisplayHelper) GetColumnOf

func (m *MonthDisplayHelper) GetColumnOf(arg0 int32) (int32, error)

GetColumnOf calls android.util.MonthDisplayHelper.getColumnOf.

func (*MonthDisplayHelper) GetDayAt

func (m *MonthDisplayHelper) GetDayAt(arg0 int32, arg1 int32) (int32, error)

GetDayAt calls android.util.MonthDisplayHelper.getDayAt.

func (*MonthDisplayHelper) GetDigitsForRow

func (m *MonthDisplayHelper) GetDigitsForRow(arg0 int32) (*jni.Object, error)

GetDigitsForRow calls android.util.MonthDisplayHelper.getDigitsForRow.

func (*MonthDisplayHelper) GetFirstDayOfMonth

func (m *MonthDisplayHelper) GetFirstDayOfMonth() (int32, error)

GetFirstDayOfMonth calls android.util.MonthDisplayHelper.getFirstDayOfMonth.

func (*MonthDisplayHelper) GetMonth

func (m *MonthDisplayHelper) GetMonth() (int32, error)

GetMonth calls android.util.MonthDisplayHelper.getMonth.

func (*MonthDisplayHelper) GetNumberOfDaysInMonth

func (m *MonthDisplayHelper) GetNumberOfDaysInMonth() (int32, error)

GetNumberOfDaysInMonth calls android.util.MonthDisplayHelper.getNumberOfDaysInMonth.

func (*MonthDisplayHelper) GetOffset

func (m *MonthDisplayHelper) GetOffset() (int32, error)

GetOffset calls android.util.MonthDisplayHelper.getOffset.

func (*MonthDisplayHelper) GetRowOf

func (m *MonthDisplayHelper) GetRowOf(arg0 int32) (int32, error)

GetRowOf calls android.util.MonthDisplayHelper.getRowOf.

func (*MonthDisplayHelper) GetWeekStartDay

func (m *MonthDisplayHelper) GetWeekStartDay() (int32, error)

GetWeekStartDay calls android.util.MonthDisplayHelper.getWeekStartDay.

func (*MonthDisplayHelper) GetYear

func (m *MonthDisplayHelper) GetYear() (int32, error)

GetYear calls android.util.MonthDisplayHelper.getYear.

func (*MonthDisplayHelper) IsWithinCurrentMonth

func (m *MonthDisplayHelper) IsWithinCurrentMonth(arg0 int32, arg1 int32) (bool, error)

IsWithinCurrentMonth calls android.util.MonthDisplayHelper.isWithinCurrentMonth.

func (*MonthDisplayHelper) NextMonth

func (m *MonthDisplayHelper) NextMonth() error

NextMonth calls android.util.MonthDisplayHelper.nextMonth.

func (*MonthDisplayHelper) PreviousMonth

func (m *MonthDisplayHelper) PreviousMonth() error

PreviousMonth calls android.util.MonthDisplayHelper.previousMonth.

type MutableBoolean

type MutableBoolean struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

MutableBoolean wraps android.util.MutableBoolean.

func NewMutableBoolean

func NewMutableBoolean(vm *jni.VM, arg0 bool) (*MutableBoolean, error)

NewMutableBoolean creates a new android.util.MutableBoolean instance.

type MutableByte

type MutableByte struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

MutableByte wraps android.util.MutableByte.

func NewMutableByte

func NewMutableByte(vm *jni.VM, arg0 int8) (*MutableByte, error)

NewMutableByte creates a new android.util.MutableByte instance.

type MutableChar

type MutableChar struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

MutableChar wraps android.util.MutableChar.

func NewMutableChar

func NewMutableChar(vm *jni.VM, arg0 uint16) (*MutableChar, error)

NewMutableChar creates a new android.util.MutableChar instance.

type MutableDouble

type MutableDouble struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

MutableDouble wraps android.util.MutableDouble.

func NewMutableDouble

func NewMutableDouble(vm *jni.VM, arg0 float64) (*MutableDouble, error)

NewMutableDouble creates a new android.util.MutableDouble instance.

type MutableFloat

type MutableFloat struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

MutableFloat wraps android.util.MutableFloat.

func NewMutableFloat

func NewMutableFloat(vm *jni.VM, arg0 float32) (*MutableFloat, error)

NewMutableFloat creates a new android.util.MutableFloat instance.

type MutableInt

type MutableInt struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

MutableInt wraps android.util.MutableInt.

func NewMutableInt

func NewMutableInt(vm *jni.VM, arg0 int32) (*MutableInt, error)

NewMutableInt creates a new android.util.MutableInt instance.

type MutableLong

type MutableLong struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

MutableLong wraps android.util.MutableLong.

func NewMutableLong

func NewMutableLong(vm *jni.VM, arg0 int64) (*MutableLong, error)

NewMutableLong creates a new android.util.MutableLong instance.

type MutableShort

type MutableShort struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

MutableShort wraps android.util.MutableShort.

func NewMutableShort

func NewMutableShort(vm *jni.VM, arg0 int16) (*MutableShort, error)

NewMutableShort creates a new android.util.MutableShort instance.

type NoSuchPropertyException

type NoSuchPropertyException struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

NoSuchPropertyException wraps android.util.NoSuchPropertyException.

func NewNoSuchPropertyException

func NewNoSuchPropertyException(vm *jni.VM, arg0 string) (*NoSuchPropertyException, error)

NewNoSuchPropertyException creates a new android.util.NoSuchPropertyException instance.

type Pair

type Pair struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

Pair wraps android.util.Pair.

func NewPair

func NewPair(vm *jni.VM, arg0 *jni.Object, arg1 *jni.Object) (*Pair, error)

NewPair creates a new android.util.Pair instance.

func (*Pair) Equals

func (m *Pair) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.util.Pair.equals.

func (*Pair) HashCode

func (m *Pair) HashCode() (int32, error)

HashCode calls android.util.Pair.hashCode.

func (*Pair) ToString

func (m *Pair) ToString() (string, error)

ToString calls android.util.Pair.toString.

type Patterns

type Patterns struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

Patterns wraps android.util.Patterns.

func (*Patterns) ConcatGroups

func (m *Patterns) ConcatGroups(arg0 *jni.Object) (string, error)

ConcatGroups calls android.util.Patterns.concatGroups.

func (*Patterns) DigitsAndPlusOnly

func (m *Patterns) DigitsAndPlusOnly(arg0 *jni.Object) (string, error)

DigitsAndPlusOnly calls android.util.Patterns.digitsAndPlusOnly.

type PrintStreamPrinter

type PrintStreamPrinter struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

PrintStreamPrinter wraps android.util.PrintStreamPrinter.

func NewPrintStreamPrinter

func NewPrintStreamPrinter(vm *jni.VM, arg0 *jni.Object) (*PrintStreamPrinter, error)

NewPrintStreamPrinter creates a new android.util.PrintStreamPrinter instance.

func (*PrintStreamPrinter) Println

func (m *PrintStreamPrinter) Println(arg0 string) error

Println calls android.util.PrintStreamPrinter.println.

type PrintWriterPrinter

type PrintWriterPrinter struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

PrintWriterPrinter wraps android.util.PrintWriterPrinter.

func NewPrintWriterPrinter

func NewPrintWriterPrinter(vm *jni.VM, arg0 *jni.Object) (*PrintWriterPrinter, error)

NewPrintWriterPrinter creates a new android.util.PrintWriterPrinter instance.

func (*PrintWriterPrinter) Println

func (m *PrintWriterPrinter) Println(arg0 string) error

Println calls android.util.PrintWriterPrinter.println.

type Printer

type Printer struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

Printer wraps android.util.Printer.

func (*Printer) Println

func (m *Printer) Println(arg0 string) error

Println calls android.util.Printer.println.

type Property

type Property struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

Property wraps android.util.Property.

func (*Property) GetName

func (m *Property) GetName() (string, error)

GetName calls android.util.Property.getName.

func (*Property) IsReadOnly

func (m *Property) IsReadOnly() (bool, error)

IsReadOnly calls android.util.Property.isReadOnly.

type Range

type Range struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

Range wraps android.util.Range.

func NewRange

func NewRange(vm *jni.VM, arg0 *jni.Object, arg1 *jni.Object) (*Range, error)

NewRange creates a new android.util.Range instance.

func (*Range) Equals

func (m *Range) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.util.Range.equals.

func (*Range) HashCode

func (m *Range) HashCode() (int32, error)

HashCode calls android.util.Range.hashCode.

func (*Range) ToString

func (m *Range) ToString() (string, error)

ToString calls android.util.Range.toString.

type Rational

type Rational struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

Rational wraps android.util.Rational.

func NewRational

func NewRational(vm *jni.VM, arg0 int32, arg1 int32) (*Rational, error)

NewRational creates a new android.util.Rational instance.

func (*Rational) CompareTo1

func (m *Rational) CompareTo1(arg0 *jni.Object) (int32, error)

CompareTo1 calls android.util.Rational.compareTo.

func (*Rational) CompareTo1_1

func (m *Rational) CompareTo1_1(arg0 *jni.Object) (int32, error)

CompareTo1_1 calls android.util.Rational.compareTo.

func (*Rational) DoubleValue

func (m *Rational) DoubleValue() (float64, error)

DoubleValue calls android.util.Rational.doubleValue.

func (*Rational) Equals

func (m *Rational) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.util.Rational.equals.

func (*Rational) FloatValue

func (m *Rational) FloatValue() (float32, error)

FloatValue calls android.util.Rational.floatValue.

func (*Rational) GetDenominator

func (m *Rational) GetDenominator() (int32, error)

GetDenominator calls android.util.Rational.getDenominator.

func (*Rational) GetNumerator

func (m *Rational) GetNumerator() (int32, error)

GetNumerator calls android.util.Rational.getNumerator.

func (*Rational) HashCode

func (m *Rational) HashCode() (int32, error)

HashCode calls android.util.Rational.hashCode.

func (*Rational) IntValue

func (m *Rational) IntValue() (int32, error)

IntValue calls android.util.Rational.intValue.

func (*Rational) IsFinite

func (m *Rational) IsFinite() (bool, error)

IsFinite calls android.util.Rational.isFinite.

func (*Rational) IsInfinite

func (m *Rational) IsInfinite() (bool, error)

IsInfinite calls android.util.Rational.isInfinite.

func (*Rational) IsNaN

func (m *Rational) IsNaN() (bool, error)

IsNaN calls android.util.Rational.isNaN.

func (*Rational) IsZero

func (m *Rational) IsZero() (bool, error)

IsZero calls android.util.Rational.isZero.

func (*Rational) LongValue

func (m *Rational) LongValue() (int64, error)

LongValue calls android.util.Rational.longValue.

func (*Rational) ParseRational

func (m *Rational) ParseRational(arg0 string) (*jni.Object, error)

ParseRational calls android.util.Rational.parseRational.

func (*Rational) ShortValue

func (m *Rational) ShortValue() (int16, error)

ShortValue calls android.util.Rational.shortValue.

func (*Rational) ToString

func (m *Rational) ToString() (string, error)

ToString calls android.util.Rational.toString.

type Size

type Size struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

Size wraps android.util.Size.

func NewSize

func NewSize(vm *jni.VM, arg0 int32, arg1 int32) (*Size, error)

NewSize creates a new android.util.Size instance.

func (*Size) Equals

func (m *Size) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.util.Size.equals.

func (*Size) GetHeight

func (m *Size) GetHeight() (int32, error)

GetHeight calls android.util.Size.getHeight.

func (*Size) GetWidth

func (m *Size) GetWidth() (int32, error)

GetWidth calls android.util.Size.getWidth.

func (*Size) HashCode

func (m *Size) HashCode() (int32, error)

HashCode calls android.util.Size.hashCode.

func (*Size) ParseSize

func (m *Size) ParseSize(arg0 string) (*jni.Object, error)

ParseSize calls android.util.Size.parseSize.

func (*Size) ToString

func (m *Size) ToString() (string, error)

ToString calls android.util.Size.toString.

type SizeF

type SizeF struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SizeF wraps android.util.SizeF.

func NewSizeF

func NewSizeF(vm *jni.VM, arg0 float32, arg1 float32) (*SizeF, error)

NewSizeF creates a new android.util.SizeF instance.

func (*SizeF) DescribeContents

func (m *SizeF) DescribeContents() (int32, error)

DescribeContents calls android.util.SizeF.describeContents.

func (*SizeF) Equals

func (m *SizeF) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.util.SizeF.equals.

func (*SizeF) GetHeight

func (m *SizeF) GetHeight() (float32, error)

GetHeight calls android.util.SizeF.getHeight.

func (*SizeF) GetWidth

func (m *SizeF) GetWidth() (float32, error)

GetWidth calls android.util.SizeF.getWidth.

func (*SizeF) HashCode

func (m *SizeF) HashCode() (int32, error)

HashCode calls android.util.SizeF.hashCode.

func (*SizeF) ParseSizeF

func (m *SizeF) ParseSizeF(arg0 string) (*jni.Object, error)

ParseSizeF calls android.util.SizeF.parseSizeF.

func (*SizeF) ToString

func (m *SizeF) ToString() (string, error)

ToString calls android.util.SizeF.toString.

func (*SizeF) WriteToParcel

func (m *SizeF) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.util.SizeF.writeToParcel.

type SparseArray

type SparseArray struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SparseArray wraps android.util.SparseArray.

func NewSparseArray

func NewSparseArray(vm *jni.VM) (*SparseArray, error)

NewSparseArray creates a new android.util.SparseArray instance.

func (*SparseArray) Clear

func (m *SparseArray) Clear() error

Clear calls android.util.SparseArray.clear.

func (*SparseArray) Clone

func (m *SparseArray) Clone() (*jni.Object, error)

Clone calls android.util.SparseArray.clone.

func (*SparseArray) Contains

func (m *SparseArray) Contains(arg0 int32) (bool, error)

Contains calls android.util.SparseArray.contains.

func (*SparseArray) ContentHashCode

func (m *SparseArray) ContentHashCode() (int32, error)

ContentHashCode calls android.util.SparseArray.contentHashCode.

func (*SparseArray) Delete

func (m *SparseArray) Delete(arg0 int32) error

Delete calls android.util.SparseArray.delete.

func (*SparseArray) IndexOfKey

func (m *SparseArray) IndexOfKey(arg0 int32) (int32, error)

IndexOfKey calls android.util.SparseArray.indexOfKey.

func (*SparseArray) KeyAt

func (m *SparseArray) KeyAt(arg0 int32) (int32, error)

KeyAt calls android.util.SparseArray.keyAt.

func (*SparseArray) Remove

func (m *SparseArray) Remove(arg0 int32) error

Remove calls android.util.SparseArray.remove.

func (*SparseArray) RemoveAt

func (m *SparseArray) RemoveAt(arg0 int32) error

RemoveAt calls android.util.SparseArray.removeAt.

func (*SparseArray) RemoveAtRange

func (m *SparseArray) RemoveAtRange(arg0 int32, arg1 int32) error

RemoveAtRange calls android.util.SparseArray.removeAtRange.

func (*SparseArray) Size

func (m *SparseArray) Size() (int32, error)

Size calls android.util.SparseArray.size.

func (*SparseArray) ToString

func (m *SparseArray) ToString() (string, error)

ToString calls android.util.SparseArray.toString.

type SparseBooleanArray

type SparseBooleanArray struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SparseBooleanArray wraps android.util.SparseBooleanArray.

func NewSparseBooleanArray

func NewSparseBooleanArray(vm *jni.VM) (*SparseBooleanArray, error)

NewSparseBooleanArray creates a new android.util.SparseBooleanArray instance.

func (*SparseBooleanArray) Append

func (m *SparseBooleanArray) Append(arg0 int32, arg1 bool) error

Append calls android.util.SparseBooleanArray.append.

func (*SparseBooleanArray) Clear

func (m *SparseBooleanArray) Clear() error

Clear calls android.util.SparseBooleanArray.clear.

func (*SparseBooleanArray) Clone0

func (m *SparseBooleanArray) Clone0() (*jni.Object, error)

Clone0 calls android.util.SparseBooleanArray.clone.

func (*SparseBooleanArray) Clone0_1

func (m *SparseBooleanArray) Clone0_1() (*jni.Object, error)

Clone0_1 calls android.util.SparseBooleanArray.clone.

func (*SparseBooleanArray) Delete

func (m *SparseBooleanArray) Delete(arg0 int32) error

Delete calls android.util.SparseBooleanArray.delete.

func (*SparseBooleanArray) Equals

func (m *SparseBooleanArray) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.util.SparseBooleanArray.equals.

func (*SparseBooleanArray) Get1

func (m *SparseBooleanArray) Get1(arg0 int32) (bool, error)

Get1 calls android.util.SparseBooleanArray.get.

func (*SparseBooleanArray) Get2_1

func (m *SparseBooleanArray) Get2_1(arg0 int32, arg1 bool) (bool, error)

Get2_1 calls android.util.SparseBooleanArray.get.

func (*SparseBooleanArray) HashCode

func (m *SparseBooleanArray) HashCode() (int32, error)

HashCode calls android.util.SparseBooleanArray.hashCode.

func (*SparseBooleanArray) IndexOfKey

func (m *SparseBooleanArray) IndexOfKey(arg0 int32) (int32, error)

IndexOfKey calls android.util.SparseBooleanArray.indexOfKey.

func (*SparseBooleanArray) IndexOfValue

func (m *SparseBooleanArray) IndexOfValue(arg0 bool) (int32, error)

IndexOfValue calls android.util.SparseBooleanArray.indexOfValue.

func (*SparseBooleanArray) KeyAt

func (m *SparseBooleanArray) KeyAt(arg0 int32) (int32, error)

KeyAt calls android.util.SparseBooleanArray.keyAt.

func (*SparseBooleanArray) Put

func (m *SparseBooleanArray) Put(arg0 int32, arg1 bool) error

Put calls android.util.SparseBooleanArray.put.

func (*SparseBooleanArray) RemoveAt

func (m *SparseBooleanArray) RemoveAt(arg0 int32) error

RemoveAt calls android.util.SparseBooleanArray.removeAt.

func (*SparseBooleanArray) SetValueAt

func (m *SparseBooleanArray) SetValueAt(arg0 int32, arg1 bool) error

SetValueAt calls android.util.SparseBooleanArray.setValueAt.

func (*SparseBooleanArray) Size

func (m *SparseBooleanArray) Size() (int32, error)

Size calls android.util.SparseBooleanArray.size.

func (*SparseBooleanArray) ToString

func (m *SparseBooleanArray) ToString() (string, error)

ToString calls android.util.SparseBooleanArray.toString.

func (*SparseBooleanArray) ValueAt

func (m *SparseBooleanArray) ValueAt(arg0 int32) (bool, error)

ValueAt calls android.util.SparseBooleanArray.valueAt.

type SparseIntArray

type SparseIntArray struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SparseIntArray wraps android.util.SparseIntArray.

func NewSparseIntArray

func NewSparseIntArray(vm *jni.VM) (*SparseIntArray, error)

NewSparseIntArray creates a new android.util.SparseIntArray instance.

func (*SparseIntArray) Append

func (m *SparseIntArray) Append(arg0 int32, arg1 int32) error

Append calls android.util.SparseIntArray.append.

func (*SparseIntArray) Clear

func (m *SparseIntArray) Clear() error

Clear calls android.util.SparseIntArray.clear.

func (*SparseIntArray) Clone0

func (m *SparseIntArray) Clone0() (*jni.Object, error)

Clone0 calls android.util.SparseIntArray.clone.

func (*SparseIntArray) Clone0_1

func (m *SparseIntArray) Clone0_1() (*jni.Object, error)

Clone0_1 calls android.util.SparseIntArray.clone.

func (*SparseIntArray) Delete

func (m *SparseIntArray) Delete(arg0 int32) error

Delete calls android.util.SparseIntArray.delete.

func (*SparseIntArray) Get1

func (m *SparseIntArray) Get1(arg0 int32) (int32, error)

Get1 calls android.util.SparseIntArray.get.

func (*SparseIntArray) Get2_1

func (m *SparseIntArray) Get2_1(arg0 int32, arg1 int32) (int32, error)

Get2_1 calls android.util.SparseIntArray.get.

func (*SparseIntArray) IndexOfKey

func (m *SparseIntArray) IndexOfKey(arg0 int32) (int32, error)

IndexOfKey calls android.util.SparseIntArray.indexOfKey.

func (*SparseIntArray) IndexOfValue

func (m *SparseIntArray) IndexOfValue(arg0 int32) (int32, error)

IndexOfValue calls android.util.SparseIntArray.indexOfValue.

func (*SparseIntArray) KeyAt

func (m *SparseIntArray) KeyAt(arg0 int32) (int32, error)

KeyAt calls android.util.SparseIntArray.keyAt.

func (*SparseIntArray) Put

func (m *SparseIntArray) Put(arg0 int32, arg1 int32) error

Put calls android.util.SparseIntArray.put.

func (*SparseIntArray) RemoveAt

func (m *SparseIntArray) RemoveAt(arg0 int32) error

RemoveAt calls android.util.SparseIntArray.removeAt.

func (*SparseIntArray) SetValueAt

func (m *SparseIntArray) SetValueAt(arg0 int32, arg1 int32) error

SetValueAt calls android.util.SparseIntArray.setValueAt.

func (*SparseIntArray) Size

func (m *SparseIntArray) Size() (int32, error)

Size calls android.util.SparseIntArray.size.

func (*SparseIntArray) ToString

func (m *SparseIntArray) ToString() (string, error)

ToString calls android.util.SparseIntArray.toString.

func (*SparseIntArray) ValueAt

func (m *SparseIntArray) ValueAt(arg0 int32) (int32, error)

ValueAt calls android.util.SparseIntArray.valueAt.

type SparseLongArray

type SparseLongArray struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SparseLongArray wraps android.util.SparseLongArray.

func NewSparseLongArray

func NewSparseLongArray(vm *jni.VM) (*SparseLongArray, error)

NewSparseLongArray creates a new android.util.SparseLongArray instance.

func (*SparseLongArray) Append

func (m *SparseLongArray) Append(arg0 int32, arg1 int64) error

Append calls android.util.SparseLongArray.append.

func (*SparseLongArray) Clear

func (m *SparseLongArray) Clear() error

Clear calls android.util.SparseLongArray.clear.

func (*SparseLongArray) Clone0

func (m *SparseLongArray) Clone0() (*jni.Object, error)

Clone0 calls android.util.SparseLongArray.clone.

func (*SparseLongArray) Clone0_1

func (m *SparseLongArray) Clone0_1() (*jni.Object, error)

Clone0_1 calls android.util.SparseLongArray.clone.

func (*SparseLongArray) Delete

func (m *SparseLongArray) Delete(arg0 int32) error

Delete calls android.util.SparseLongArray.delete.

func (*SparseLongArray) Get1

func (m *SparseLongArray) Get1(arg0 int32) (int64, error)

Get1 calls android.util.SparseLongArray.get.

func (*SparseLongArray) Get2_1

func (m *SparseLongArray) Get2_1(arg0 int32, arg1 int64) (int64, error)

Get2_1 calls android.util.SparseLongArray.get.

func (*SparseLongArray) IndexOfKey

func (m *SparseLongArray) IndexOfKey(arg0 int32) (int32, error)

IndexOfKey calls android.util.SparseLongArray.indexOfKey.

func (*SparseLongArray) IndexOfValue

func (m *SparseLongArray) IndexOfValue(arg0 int64) (int32, error)

IndexOfValue calls android.util.SparseLongArray.indexOfValue.

func (*SparseLongArray) KeyAt

func (m *SparseLongArray) KeyAt(arg0 int32) (int32, error)

KeyAt calls android.util.SparseLongArray.keyAt.

func (*SparseLongArray) Put

func (m *SparseLongArray) Put(arg0 int32, arg1 int64) error

Put calls android.util.SparseLongArray.put.

func (*SparseLongArray) RemoveAt

func (m *SparseLongArray) RemoveAt(arg0 int32) error

RemoveAt calls android.util.SparseLongArray.removeAt.

func (*SparseLongArray) Size

func (m *SparseLongArray) Size() (int32, error)

Size calls android.util.SparseLongArray.size.

func (*SparseLongArray) ToString

func (m *SparseLongArray) ToString() (string, error)

ToString calls android.util.SparseLongArray.toString.

func (*SparseLongArray) ValueAt

func (m *SparseLongArray) ValueAt(arg0 int32) (int64, error)

ValueAt calls android.util.SparseLongArray.valueAt.

type StateSet

type StateSet struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

StateSet wraps android.util.StateSet.

func (*StateSet) Dump

func (m *StateSet) Dump(arg0 *jni.Object) (string, error)

Dump calls android.util.StateSet.dump.

func (*StateSet) IsWildCard

func (m *StateSet) IsWildCard(arg0 *jni.Object) (bool, error)

IsWildCard calls android.util.StateSet.isWildCard.

func (*StateSet) StateSetMatches2

func (m *StateSet) StateSetMatches2(arg0 *jni.Object, arg1 int32) (bool, error)

StateSetMatches2 calls android.util.StateSet.stateSetMatches.

func (*StateSet) StateSetMatches2_1

func (m *StateSet) StateSetMatches2_1(arg0 *jni.Object, arg1 *jni.Object) (bool, error)

StateSetMatches2_1 calls android.util.StateSet.stateSetMatches.

func (*StateSet) TrimStateSet

func (m *StateSet) TrimStateSet(arg0 *jni.Object, arg1 int32) (*jni.Object, error)

TrimStateSet calls android.util.StateSet.trimStateSet.

type StatsLog

type StatsLog struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

StatsLog wraps android.util.StatsLog.

func (*StatsLog) LogBinaryPushStateChanged

func (m *StatsLog) LogBinaryPushStateChanged(
	arg0 string,
	arg1 int64,
	arg2 int32,
	arg3 int32,
	arg4 *jni.Object,
) (bool, error)

LogBinaryPushStateChanged calls android.util.StatsLog.logBinaryPushStateChanged.

func (*StatsLog) LogEvent

func (m *StatsLog) LogEvent(arg0 int32) (bool, error)

LogEvent calls android.util.StatsLog.logEvent.

func (*StatsLog) LogStart

func (m *StatsLog) LogStart(arg0 int32) (bool, error)

LogStart calls android.util.StatsLog.logStart.

func (*StatsLog) LogStop

func (m *StatsLog) LogStop(arg0 int32) (bool, error)

LogStop calls android.util.StatsLog.logStop.

type StringBuilderPrinter

type StringBuilderPrinter struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

StringBuilderPrinter wraps android.util.StringBuilderPrinter.

func NewStringBuilderPrinter

func NewStringBuilderPrinter(vm *jni.VM, arg0 *jni.Object) (*StringBuilderPrinter, error)

NewStringBuilderPrinter creates a new android.util.StringBuilderPrinter instance.

func (*StringBuilderPrinter) Println

func (m *StringBuilderPrinter) Println(arg0 string) error

Println calls android.util.StringBuilderPrinter.println.

type TimeUtils

type TimeUtils struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

TimeUtils wraps android.util.TimeUtils.

func (*TimeUtils) GetTimeZone

func (m *TimeUtils) GetTimeZone(
	arg0 int32,
	arg1 bool,
	arg2 int64,
	arg3 string,
) (*jni.Object, error)

GetTimeZone calls android.util.TimeUtils.getTimeZone.

func (*TimeUtils) GetTimeZoneDatabaseVersion

func (m *TimeUtils) GetTimeZoneDatabaseVersion() (string, error)

GetTimeZoneDatabaseVersion calls android.util.TimeUtils.getTimeZoneDatabaseVersion.

func (*TimeUtils) IsTimeBetween

func (m *TimeUtils) IsTimeBetween(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
) (bool, error)

IsTimeBetween calls android.util.TimeUtils.isTimeBetween.

type TimingLogger

type TimingLogger struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

TimingLogger wraps android.util.TimingLogger.

func NewTimingLogger

func NewTimingLogger(vm *jni.VM, arg0 string, arg1 string) (*TimingLogger, error)

NewTimingLogger creates a new android.util.TimingLogger instance.

func (*TimingLogger) AddSplit

func (m *TimingLogger) AddSplit(arg0 string) error

AddSplit calls android.util.TimingLogger.addSplit.

func (*TimingLogger) DumpToLog

func (m *TimingLogger) DumpToLog() error

DumpToLog calls android.util.TimingLogger.dumpToLog.

func (*TimingLogger) Reset0

func (m *TimingLogger) Reset0() error

Reset0 calls android.util.TimingLogger.reset.

func (*TimingLogger) Reset2_1

func (m *TimingLogger) Reset2_1(arg0 string, arg1 string) error

Reset2_1 calls android.util.TimingLogger.reset.

type TypedValue

type TypedValue struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

TypedValue wraps android.util.TypedValue.

func NewTypedValue

func NewTypedValue(vm *jni.VM) (*TypedValue, error)

NewTypedValue creates a new android.util.TypedValue instance.

func (*TypedValue) ApplyDimension

func (m *TypedValue) ApplyDimension(
	arg0 int32,
	arg1 float32,
	arg2 *jni.Object,
) (float32, error)

ApplyDimension calls android.util.TypedValue.applyDimension.

func (*TypedValue) CoerceToString0

func (m *TypedValue) CoerceToString0() (*jni.Object, error)

CoerceToString0 calls android.util.TypedValue.coerceToString.

func (*TypedValue) CoerceToString2_1

func (m *TypedValue) CoerceToString2_1(arg0 int32, arg1 int32) (string, error)

CoerceToString2_1 calls android.util.TypedValue.coerceToString.

func (*TypedValue) ComplexToDimension

func (m *TypedValue) ComplexToDimension(arg0 int32, arg1 *jni.Object) (float32, error)

ComplexToDimension calls android.util.TypedValue.complexToDimension.

func (*TypedValue) ComplexToDimensionPixelOffset

func (m *TypedValue) ComplexToDimensionPixelOffset(arg0 int32, arg1 *jni.Object) (int32, error)

ComplexToDimensionPixelOffset calls android.util.TypedValue.complexToDimensionPixelOffset.

func (*TypedValue) ComplexToDimensionPixelSize

func (m *TypedValue) ComplexToDimensionPixelSize(arg0 int32, arg1 *jni.Object) (int32, error)

ComplexToDimensionPixelSize calls android.util.TypedValue.complexToDimensionPixelSize.

func (*TypedValue) ComplexToFloat

func (m *TypedValue) ComplexToFloat(arg0 int32) (float32, error)

ComplexToFloat calls android.util.TypedValue.complexToFloat.

func (*TypedValue) ComplexToFraction

func (m *TypedValue) ComplexToFraction(
	arg0 int32,
	arg1 float32,
	arg2 float32,
) (float32, error)

ComplexToFraction calls android.util.TypedValue.complexToFraction.

func (*TypedValue) ConvertDimensionToPixels

func (m *TypedValue) ConvertDimensionToPixels(
	arg0 int32,
	arg1 float32,
	arg2 *jni.Object,
) (float32, error)

ConvertDimensionToPixels calls android.util.TypedValue.convertDimensionToPixels.

func (*TypedValue) ConvertPixelsToDimension

func (m *TypedValue) ConvertPixelsToDimension(
	arg0 int32,
	arg1 float32,
	arg2 *jni.Object,
) (float32, error)

ConvertPixelsToDimension calls android.util.TypedValue.convertPixelsToDimension.

func (*TypedValue) DeriveDimension

func (m *TypedValue) DeriveDimension(
	arg0 int32,
	arg1 float32,
	arg2 *jni.Object,
) (float32, error)

DeriveDimension calls android.util.TypedValue.deriveDimension.

func (*TypedValue) GetComplexUnit

func (m *TypedValue) GetComplexUnit() (int32, error)

GetComplexUnit calls android.util.TypedValue.getComplexUnit.

func (*TypedValue) GetDimension

func (m *TypedValue) GetDimension(arg0 *jni.Object) (float32, error)

GetDimension calls android.util.TypedValue.getDimension.

func (*TypedValue) GetFloat

func (m *TypedValue) GetFloat() (float32, error)

GetFloat calls android.util.TypedValue.getFloat.

func (*TypedValue) GetFraction

func (m *TypedValue) GetFraction(arg0 float32, arg1 float32) (float32, error)

GetFraction calls android.util.TypedValue.getFraction.

func (*TypedValue) IsColorType

func (m *TypedValue) IsColorType() (bool, error)

IsColorType calls android.util.TypedValue.isColorType.

func (*TypedValue) SetTo

func (m *TypedValue) SetTo(arg0 *jni.Object) error

SetTo calls android.util.TypedValue.setTo.

func (*TypedValue) ToString

func (m *TypedValue) ToString() (string, error)

ToString calls android.util.TypedValue.toString.

type Xml

type Xml struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

Xml wraps android.util.Xml.

func (*Xml) AsAttributeSet

func (m *Xml) AsAttributeSet(arg0 *jni.Object) (*jni.Object, error)

AsAttributeSet calls android.util.Xml.asAttributeSet.

func (*Xml) FindEncodingByName

func (m *Xml) FindEncodingByName(arg0 string) (*jni.Object, error)

FindEncodingByName calls android.util.Xml.findEncodingByName.

func (*Xml) NewPullParser

func (m *Xml) NewPullParser() (*jni.Object, error)

NewPullParser calls android.util.Xml.newPullParser.

func (*Xml) NewSerializer

func (m *Xml) NewSerializer() (*jni.Object, error)

NewSerializer calls android.util.Xml.newSerializer.

type XmlEncoding

type XmlEncoding struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

XmlEncoding wraps android.util.Xml$Encoding.

func (*XmlEncoding) ValueOf

func (m *XmlEncoding) ValueOf(arg0 string) (*jni.Object, error)

ValueOf calls android.util.Xml$Encoding.valueOf.

func (*XmlEncoding) Values

func (m *XmlEncoding) Values() (*jni.Object, error)

Values calls android.util.Xml$Encoding.values.

Directories

Path Synopsis
Package proto provides Go bindings for android.util.proto.
Package proto provides Go bindings for android.util.proto.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL