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
↓ 4 callers
Method
string
(String s)
bind/java/SeqBench.java:147
↓ 4 callers
Function
typePkgFirstElem
(t types.Type)
bind/types.go:150
↓ 4 callers
Method
typeString
(typ types.Type)
bind/gengo.go:459
↓ 4 callers
Method
usage
()
cmd/gomobile/main.go:185
↓ 3 callers
Method
BindTexture
BindTexture binds a texture. http://www.khronos.org/opengles/sdk/docs/man3/html/glBindTexture.xhtml
gl/interface.go:57
↓ 3 callers
Method
BufferData
BufferData creates a new data store for the bound buffer object. http://www.khronos.org/opengles/sdk/docs/man3/html/glBufferData.xhtml
gl/interface.go:92
↓ 3 callers
Method
ClassNames
ClassNames returns the list of names of the generated Java classes and interfaces.
bind/genjava.go:201
↓ 3 callers
Method
CreateBuffer
CreateBuffer creates a buffer object. http://www.khronos.org/opengles/sdk/docs/man3/html/glGenBuffers.xhtml
gl/interface.go:168
↓ 3 callers
Method
Crosses
Crosses reports whether the transition from From to To crosses the stage s: - It returns CrossOn if it does, and the lifecycle change is positive. - I
event/lifecycle/lifecycle.go:68
↓ 3 callers
Method
DeleteBuffer
DeleteBuffer deletes the given buffer object. http://www.khronos.org/opengles/sdk/docs/man3/html/glDeleteBuffers.xhtml
gl/interface.go:210
↓ 3 callers
Method
DeleteProgram
DeleteProgram deletes the given program object. http://www.khronos.org/opengles/sdk/docs/man3/html/glDeleteProgram.xhtml
gl/interface.go:220
↓ 3 callers
Method
DisableVertexAttribArray
DisableVertexAttribArray disables a vertex attribute array. http://www.khronos.org/opengles/sdk/docs/man3/html/glDisableVertexAttribArray.xhtml
gl/interface.go:281
↓ 3 callers
Method
Do
()
bind/testdata/keywords.go:20
↓ 3 callers
Method
EnableVertexAttribArray
EnableVertexAttribArray enables a vertex attribute array. http://www.khronos.org/opengles/sdk/docs/man3/html/glEnableVertexAttribArray.xhtml
gl/interface.go:303
↓ 3 callers
Method
Eq
(n *Mat4, epsilon float32)
exp/f32/mat4.go:33
↓ 3 callers
Method
Err
()
bind/testdata/interfaces.go:37
↓ 3 callers
Method
GenC
()
bind/genjava.go:1434
↓ 3 callers
Method
GenClass
(idx int)
bind/genjava.go:212
↓ 3 callers
Method
GenH
()
bind/genobjc.go:142
↓ 3 callers
Method
GenInterfaces
()
bind/genclasses.go:358
↓ 3 callers
Method
GenJava
()
bind/genjava.go:1568
↓ 3 callers
Method
GenPackage
(idx int)
bind/genclasses.go:164
↓ 3 callers
Method
GetAttribLocation
GetAttribLocation returns the location of an attribute variable. http://www.khronos.org/opengles/sdk/docs/man3/html/glGetAttribLocation.xhtml
gl/interface.go:365
↓ 3 callers
Function
GetListenerfv
GetListenerfv returns the float32 vector value of the listener parameter.
exp/audio/al/al.go:394
↓ 3 callers
Function
Getf
Getf returns the float32 value of the given parameter.
exp/audio/al/al.go:81
↓ 3 callers
Method
Getf
Getf returns the float32 value of the given parameter.
exp/audio/al/al.go:308
↓ 3 callers
Method
Getfv
Getfv returns the float32 vector value of the given parameter.
exp/audio/al/al.go:313
↓ 3 callers
Method
Identity
()
exp/f32/mat3.go:22
↓ 3 callers
Function
Import
Import returns descriptors for a list of references to ObjC protocols and classes. The type information is parsed from the output of clang -cc1 -ast-
internal/importers/objc/objc.go:115
↓ 3 callers
Method
Import
Import returns Java Class descriptors for a list of references. The javap command from the Java SDK is used to dump class information. Its output loo
internal/importers/java/java.go:194
↓ 3 callers
Method
Init
Init initializes the class wrapper generator. Classes is the list of classes to wrap, goClasses is the list of Java classes implemented in Go.
bind/genclasses.go:122
↓ 3 callers
Method
MarshalBinary
()
internal/binres/binres.go:772
↓ 3 callers
Method
Mul
(v0, v1 *Vec3)
exp/f32/vec3.go:35
↓ 3 callers
Function
NewImportedS
()
bind/testdata/testpkg/testpkg.go:474
↓ 3 callers
Method
Normalize
()
exp/f32/vec3.go:15
↓ 3 callers
Method
ObjcType
()
internal/importers/objc/objc.go:862
↓ 3 callers
Function
OpenSDKTable
OpenSDKTable decodes resources.arsc from sdk platform jar.
internal/binres/table.go:95
↓ 3 callers
Function
OpenTable
OpenTable decodes the prepacked resources.arsc for the supported sdk platform.
internal/binres/table.go:108
↓ 3 callers
Method
Packages
Packages return the list of Go packages to be generated.
bind/genclasses.go:160
↓ 3 callers
Method
Rand
()
bind/testdata/interfaces.go:8
↓ 3 callers
Method
Scale
Scale sets m to be a scale followed by p. It is equivalent to m.Mul(p, &Mat4{ {x, 0, 0, 0}, {0, y, 0, 0}, {0, 0, z, 0}, {0, 0, 0, 1}, }).
exp/f32/mat4.go:102
↓ 3 callers
Method
Send
Send sends an event on the events channel. It does not block.
app/app.go:38
↓ 3 callers
Function
SetListenerfv
SetListenerfv sets the float32 vector value of the listener parameter.
exp/audio/al/al.go:404
↓ 3 callers
Method
SetSubTex
(n *Node, x SubTex)
exp/sprite/sprite.go:58
↓ 3 callers
Method
Setf
Setf sets a float32 value for the given parameter.
exp/audio/al/al.go:323
↓ 3 callers
Method
Setfv
Setfv sets a float32 vector value for the given parameter.
exp/audio/al/al.go:328
↓ 3 callers
Function
Sin
(x float32)
exp/f32/f32.go:47
↓ 3 callers
Method
String
()
gl/types_prod.go:87
↓ 3 callers
Method
Super
()
bind/testdata/keywords.go:47
↓ 3 callers
Method
Translate
Translate sets m to be a translation followed by p. It is equivalent to m.Mul(p, &Affine{{1,0,x}, {0,1,y}}).
exp/f32/affine.go:92
↓ 3 callers
Function
UnmarshalXML
UnmarshalXML decodes an AndroidManifest.xml document returning type XML containing decoded resources.
internal/binres/binres.go:208
↓ 3 callers
Method
VertexAttribPointer
VertexAttribPointer uses a bound buffer to define vertex attribute data. Direct use of VertexAttribPointer to load data into OpenGL is not supported
gl/interface.go:833
↓ 3 callers
Function
addBuildFlags
(cmd *command)
cmd/gomobile/build.go:259
↓ 3 callers
Function
affine
affine draws each pixel of dst using bilinear interpolation of the affine-transformed position in src. This is equivalent to: for each (x,y) in dst:
exp/sprite/portable/portable.go:168
↓ 3 callers
Function
alcCloseDevice
(d unsafe.Pointer)
exp/audio/al/alc_android.go:58
↓ 3 callers
Function
appleArchiveFilepath
(name string, t targetInfo)
cmd/gomobile/bind_iosapp.go:378
↓ 3 callers
Function
archClang
(goarch string)
cmd/gomobile/env.go:462
↓ 3 callers
Function
basicParamName
basicParamName replaces incompatible name with a p0-pN name. Missing names, or existing names of the form p[0-9] are incompatible.
bind/gen.go:519
↓ 3 callers
Method
callMethod
(g *ObjcGen)
bind/genobjc.go:602
↓ 3 callers
Function
checkNDKRoot
checkNDKRoot returns nil if the NDK in `ndkRoot` supports the current configured API version and all the specified Android targets.
cmd/gomobile/env.go:304
↓ 3 callers
Method
clear
()
example/ivy/android/app/src/main/java/org/golang/ivy/MainActivity.java:148
↓ 3 callers
Function
commonType
commonType finds the most specific type common to t1 and t2. If t1 and t2 are both Java classes, the most specific ancestor class is returned. Else if
internal/importers/java/java.go:331
↓ 3 callers
Function
compareStrings
(t *testing.T, a, b []string)
internal/binres/binres_test.go:396
↓ 3 callers
Function
copyMobileTree
copyMobileTree returns a packagestest file set for the x/mobile module rooted at root. It is a stricter variant of [packagestest.MustCopyFileTree] tha
cmd/gobind/gobind_test.go:91
↓ 3 callers
Function
doCopyAll
(dst, src string)
cmd/gomobile/init.go:234
↓ 3 callers
Method
e
()
bind/java/SeqTest.java:220
↓ 3 callers
Function
eglGetError
()
app/android.go:455
↓ 3 callers
Method
errorf
(op string, format string, v ...interface{})
asset/asset_android.go:78
↓ 3 callers
Function
escapePlistValue
(value string)
cmd/gomobile/bind_iosapp.go:365
↓ 3 callers
Method
f
()
bind/testdata/interfaces.go:52
↓ 3 callers
Function
fileRefs
(t *testing.T, filename string, pkgPrefix string)
bind/bind_test.go:68
↓ 3 callers
Method
genCFuncBody
(n *objc.Named, f *objc.Func, super bool)
bind/genobjcw.go:89
↓ 3 callers
Method
genFunc
(s *funcSummary, objName string)
bind/genobjc.go:778
↓ 3 callers
Method
genFuncArgs
genFuncArgs generated Java function arguments declaration for the function f. If the supplied overridden java function is supplied, genFuncArgs omits
bind/genjava.go:460
↓ 3 callers
Method
genFuncBody
genFuncBody generated a Go function body for a FuncSet. It resolves overloading dynamically, by inspecting the number of arguments (if the FuncSet con
bind/genclasses.go:618
↓ 3 callers
Method
genFuncBody
(o *types.Func, selectorLHS string)
bind/gengo.go:52
↓ 3 callers
Method
genFuncBody
(n *objc.Named, f *objc.Func, prefix string)
bind/genobjcw.go:381
↓ 3 callers
Method
genFuncSignature
(o *types.Func, objName string)
bind/gengo.go:150
↓ 3 callers
Method
genJNIFunc
(o *types.Func, sName string, jm *java.Func, proxy, isjava bool)
bind/genjava.go:1168
↓ 3 callers
Method
genRefRead
(to, from string, intfName, proxyName string, hasProxy bool)
bind/genclasses.go:775
↓ 3 callers
Method
genRefRead
(to, from string, intfName, proxyName string)
bind/genobjcw.go:513
↓ 3 callers
Method
gobindOpts
()
bind/genobjc.go:256
↓ 3 callers
Method
inc
()
bind/java/Seq.java:143
↓ 3 callers
Method
incRefnum
()
bind/java/Seq.java:118
↓ 3 callers
Method
init
()
bind/java/Seq.java:47
↓ 3 callers
Function
isApplePlatform
(platform string)
cmd/gomobile/env.go:34
↓ 3 callers
Method
isFuncSetSupported
(fs *java.FuncSet)
bind/genclasses.go:60
↓ 3 callers
Function
isNullableType
(t types.Type)
bind/types.go:145
↓ 3 callers
Method
isSupported
(t *java.Type)
bind/genclasses.go:50
↓ 3 callers
Function
lookup
(name string, prot bool, typeMap map[string]*Named)
internal/importers/objc/objc.go:534
↓ 3 callers
Method
objcParamType
(t types.Type)
bind/genobjc.go:1276
↓ 3 callers
Function
parseBuildTarget
parseBuildTarget parses buildTarget into 1 or more platforms and architectures. Returns an error if buildTarget contains invalid input. Example valid
cmd/gomobile/build.go:388
↓ 3 callers
Method
parseJavaType
(desc string)
internal/importers/java/java.go:1120
↓ 3 callers
Method
parseSrcPos
()
internal/importers/objc/objc.go:771
↓ 3 callers
Function
pkgPrefix
pkgPrefix returns a prefix that disambiguates symbol names for binding multiple packages. TODO(elias.naur): Avoid (and test) name clashes from multip
bind/gen.go:119
↓ 3 callers
Function
platformOS
platformOS returns the correct GOOS value for platform.
cmd/gomobile/env.go:60
↓ 3 callers
Method
reset
()
example/flappy/game.go:71
↓ 3 callers
Function
rfc1034Label
rfc1034Label sanitizes the name to be usable in a uniform type identifier. The sanitization is similar to xcode's rfc1034identifier macro that replace
cmd/gomobile/build_apple.go:564
↓ 3 callers
Function
runBind
(cmd *command)
cmd/gomobile/bind.go:73
↓ 3 callers
Function
sendTouch
(t touch.Type, x, y float32)
app/x11.go:98
← previous
next →
201–300 of 2,094, ranked by callers