Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/golang/mobile
/ functions
Functions
2,094 in github.com/golang/mobile
⨍
Functions
2,094
◇
Types & classes
327
↓ 1,192 callers
Method
Printf
(format string, args ...interface{})
bind/printer.go:53
↓ 370 callers
Method
c
()
gl/types_prod.go:67
↓ 200 callers
Method
Type
()
internal/importers/java/java.go:476
↓ 183 callers
Method
enqueue
(c call)
gl/work.go:98
↓ 157 callers
Method
errDrain
()
gl/gldebug.go:20
↓ 128 callers
Method
enqueueDebug
(c call)
gl/gldebug.go:35
↓ 80 callers
Method
Len
()
internal/binres/binres.go:925
↓ 73 callers
Method
Indent
()
bind/printer.go:59
↓ 73 callers
Method
Outdent
()
bind/printer.go:63
↓ 58 callers
Method
New
()
bind/testdata/keywords.go:38
↓ 48 callers
Method
errorf
(format string, args ...interface{})
bind/gen.go:362
↓ 45 callers
Function
fn
(fname string)
exp/audio/al/al_android.go:304
↓ 43 callers
Method
String
()
bind/testdata/testpkg/testpkg.go:70
↓ 39 callers
Function
isErrorType
(t types.Type)
bind/types.go:106
↓ 33 callers
Method
Run
It seems to be much faster to call a native function from Java when there is already a native call earlier in the stack. Run runs a named benchmark fr
bind/testdata/benchmark/benchmark.go:19
↓ 31 callers
Method
Close
Close finishes writing the APK. This includes writing the manifest and signing the archive, and writing the ZIP central directory. It does not close
cmd/gomobile/writer.go:139
↓ 26 callers
Method
cgoType
cgoType returns the name of a Cgo type suitable for converting a value of the given type.
bind/gen.go:368
↓ 26 callers
Method
scanWord
()
internal/importers/objc/objc.go:837
↓ 25 callers
Method
isSigSupported
isSigSupported reports whether the generators can handle a given function signature.
bind/gen.go:462
↓ 23 callers
Method
Close
()
asset/asset_android.go:106
↓ 21 callers
Function
JNIMangle
Mangle a name according to http://docs.oracle.com/javase/6/docs/technotes/guides/jni/spec/design.html#wp16696 TODO: Support unicode characters
internal/importers/java/java.go:455
↓ 20 callers
Method
put
(int key, Ref obj)
bind/java/Seq.java:326
↓ 19 callers
Method
Bounds
()
exp/sprite/sprite.go:41
↓ 19 callers
Method
Create
Create adds a file to the APK archive using the provided name. The name must be a relative path. The file's contents must be written to the returned
cmd/gomobile/writer.go:100
↓ 19 callers
Method
Resolve
Resolve returns the string entry of PoolRef in pl.
internal/binres/pool.go:21
↓ 19 callers
Method
javaTypeName
javaTypeName returns the class name of a given Go type name. If the type name clashes with the package class name, an underscore is appended.
bind/genjava.go:378
↓ 19 callers
Method
objcType
(typ types.Type)
bind/genobjc.go:1288
↓ 18 callers
Method
Path
(ndkRoot, toolName string)
cmd/gomobile/env.go:568
↓ 18 callers
Method
Write
(p []byte)
cmd/gomobile/writer.go:259
↓ 18 callers
Method
errorf
(format string, args ...interface{})
bind/genobjc.go:1249
↓ 18 callers
Method
isSupported
isSupported reports whether the generators can handle the type.
bind/gen.go:480
↓ 16 callers
Function
errorf
(format string, args ...interface{})
cmd/gobind/main.go:164
↓ 15 callers
Method
Error
(triggerError bool)
bind/testdata/testpkg/testpkg.go:324
↓ 15 callers
Method
UnmarshalBinary
(bin []byte)
internal/binres/table.go:513
↓ 15 callers
Method
ref
ref returns the PoolRef of s, inserting s if it doesn't exist.
internal/binres/pool.go:61
↓ 15 callers
Function
runGoBenchmark
(name string, f func())
bind/testdata/benchmark/benchmark.go:68
↓ 14 callers
Function
glBoolean
(b bool)
gl/fn.go:205
↓ 14 callers
Method
paramName
(params *types.Tuple, pos int)
bind/genjava.go:800
↓ 13 callers
Method
Eq
(n *Mat3, epsilon float32)
exp/f32/mat3.go:30
↓ 13 callers
Method
Recv
(cmd string, a ...interface{})
app/internal/apptest/apptest.go:50
↓ 13 callers
Method
jniType
jniType returns a string that can be used as a JNI type.
bind/genjava.go:608
↓ 12 callers
Method
Doc
()
bind/gen.go:315
↓ 12 callers
Method
MarshalBinary
()
internal/binres/table.go:581
↓ 12 callers
Function
goString
(buf []byte)
gl/fn.go:196
↓ 12 callers
Method
isFuncSupported
(f *java.Func)
bind/genclasses.go:69
↓ 12 callers
Function
run
(t *testing.T, cmdName string, arg ...string)
app/app_test.go:230
↓ 12 callers
Function
runCmd
(cmd *exec.Cmd)
cmd/gomobile/init.go:315
↓ 12 callers
Method
sendLifecycle
(to lifecycle.Stage)
app/app.go:75
↓ 12 callers
Method
string
()
bind/java/SeqTest.java:251
↓ 12 callers
Method
validPkg
(pkg *types.Package)
bind/gen.go:451
↓ 12 callers
Function
writer
(fname string)
cmd/gobind/gen.go:307
↓ 11 callers
Method
Write
(b []byte)
bind/printer.go:28
↓ 11 callers
Function
goEnv
(name string)
cmd/gomobile/init.go:304
↓ 11 callers
Function
isBytesSlice
(t *types.Slice)
bind/types.go:175
↓ 11 callers
Method
javadoc
(doc string)
bind/genjava.go:385
↓ 11 callers
Function
ndkRoot
ndkRoot returns the root path of an installed NDK that supports all the specified Android targets. For details of NDK locations, see https://github.co
cmd/gomobile/env.go:391
↓ 11 callers
Method
pkgName
pkgName returns the package name and adds the package to the list of imports.
bind/gengo.go:552
↓ 11 callers
Method
size
size returns the byte size unmarshalled after a call to UnmarshalBinary, or otherwise zero.
internal/binres/binres.go:107
↓ 10 callers
Function
AndroidHome
AndroidHome returns the absolute path of the selected Android SDK, if one can be found.
internal/sdkpath/sdkpath.go:21
↓ 10 callers
Method
className
()
bind/genjava.go:1015
↓ 10 callers
Method
funcSummary
(obj *types.TypeName, f *types.Func)
bind/genobjc.go:433
↓ 10 callers
Method
get
(int key)
bind/java/Seq.java:308
↓ 10 callers
Method
isFuncSupported
(f *objc.Func)
bind/genobjcw.go:619
↓ 10 callers
Method
javaPkgName
(pkg *types.Package)
bind/genjava.go:997
↓ 10 callers
Method
javaType
javaType returns a string that can be used as a Java type.
bind/genjava.go:687
↓ 10 callers
Method
objcdoc
(doc string)
bind/genobjc.go:1130
↓ 9 callers
Method
Draw
Draw draws the per second framerate in the bottom-left of the screen.
exp/app/debug/fps.go:39
↓ 9 callers
Method
Release
()
exp/sprite/sprite.go:65
↓ 9 callers
Function
makeIfaceSummary
(iface *types.Interface)
bind/types.go:20
↓ 9 callers
Function
printcmd
(format string, args ...interface{})
cmd/gomobile/build.go:218
↓ 9 callers
Function
xcodeAvailable
()
cmd/gomobile/env.go:630
↓ 8 callers
Method
Mul
Mul sets m to be p × q.
exp/f32/affine.go:44
↓ 8 callers
Method
RefByName
RefByName returns the PoolRef of s, or error if not exists.
internal/binres/pool.go:72
↓ 8 callers
Method
Rotate
Rotate sets m to a rotation in radians around a specified axis, followed by p. It is equivalent to m.Mul(p, affineRotation).
exp/f32/mat4.go:151
↓ 8 callers
Function
copyFile
(dst, src string)
cmd/gobind/gen.go:332
↓ 8 callers
Method
jniPkgName
()
bind/genjava.go:794
↓ 8 callers
Function
mkdir
(dir string)
cmd/gomobile/init.go:211
↓ 8 callers
Function
objcGetterName
objcGetterName returns the Objective-C property/getter selector for a Go field, variable or method named name. The pipeline (lowerFirst + objcNameRepl
bind/genobjc.go:1407
↓ 8 callers
Function
processErr
(err error)
cmd/gobind/gen.go:293
↓ 7 callers
Function
AndroidAPIPath
AndroidAPIPath returns an android SDK platform directory within the configured SDK. If there are multiple platforms that satisfy the minimum version r
internal/sdkpath/sdkpath.go:51
↓ 7 callers
Method
CType
()
internal/importers/java/java.go:534
↓ 7 callers
Method
ClearColor
ClearColor specifies the RGBA values used to clear color buffers. http://www.khronos.org/opengles/sdk/docs/man3/html/glClearColor.xhtml
gl/interface.go:121
↓ 7 callers
Function
JavaClassName
JavaClassName returns the name of the Java class that contains Go package level identifiers.
bind/genjava.go:1021
↓ 7 callers
Method
Member
(n string)
bind/gen.go:322
↓ 7 callers
Method
Send
(cmd string, args ...interface{})
app/internal/apptest/apptest.go:35
↓ 7 callers
Method
Send
(event interface{})
exp/sensor/sensor.go:80
↓ 7 callers
Method
cString
cString creates C string off the Go heap. ret is a *char.
gl/work.go:158
↓ 7 callers
Method
cType
(t *objc.Type)
bind/genobjcw.go:668
↓ 7 callers
Method
genWrite
(varName string, t types.Type, mode varMode)
bind/genobjc.go:683
↓ 7 callers
Function
goClsName
(n string)
bind/genclasses.go:869
↓ 7 callers
Method
namePrefixOf
(pkg *types.Package)
bind/genobjc.go:101
↓ 7 callers
Method
returnsVal
()
bind/genobjc.go:625
↓ 7 callers
Method
runGC
()
bind/java/SeqTest.java:394
↓ 6 callers
Method
BindBuffer
BindBuffer binds a buffer. http://www.khronos.org/opengles/sdk/docs/man3/html/glBindBuffer.xhtml
gl/interface.go:42
↓ 6 callers
Method
DoWork
DoWork performs any pending OpenGL calls.
gl/interface.go:888
↓ 6 callers
Method
Geti
Geti returns the int32 value of the given parameter.
exp/audio/al/al.go:303
↓ 6 callers
Method
MarshalBinary
()
internal/binres/node.go:121
↓ 6 callers
Method
UnmarshalBinary
(buf []byte)
internal/binres/node.go:92
↓ 6 callers
Function
copyFile
(dst, src string)
cmd/gomobile/bind.go:182
↓ 6 callers
Method
genCFuncDecl
(prefix, name string, f *objc.Func)
bind/genobjcw.go:279
next →
1–100 of 2,094, ranked by callers