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
↓ 3 callers
Function
sendTouch
(t touch.Type, x, y float32)
app/darwin_desktop.go:146
↓ 3 callers
Function
testGenGo
(t *testing.T, filename string, buf *bytes.Buffer, pkg *types.Package)
bind/bind_test.go:479
↓ 3 callers
Function
testTrig
(t *testing.T, gotFunc func(float32) float32, wantFunc func(float64) float64)
exp/f32/f32_test.go:303
↓ 3 callers
Function
typeName
typeName returns the type name T for expressions on the T, *T, **T (etc.) form.
bind/gen.go:302
↓ 3 callers
Method
unloadDemo
()
example/ivy/android/app/src/main/java/org/golang/ivy/MainActivity.java:265
↓ 3 callers
Function
writeTempPNG
(prefix string, m image.Image)
exp/sprite/portable/affine_test.go:148
↓ 2 callers
Function
AnalyzeFile
AnalyzeFile scans the provided file for references to packages with the given package prefix. The list of unique (package, identifier) pairs is return
internal/importers/ast.go:92
↓ 2 callers
Function
AnalyzePackages
AnalyzePackages scans the provided packages for references to packages with the given package prefix. The list of unique (package, identifier) pairs i
internal/importers/ast.go:105
↓ 2 callers
Method
Arrange
(e Engine, n *Node, t clock.Time)
exp/sprite/sprite.go:37
↓ 2 callers
Method
AttachShader
AttachShader attaches a shader to a program. http://www.khronos.org/opengles/sdk/docs/man3/html/glAttachShader.xhtml
gl/interface.go:31
↓ 2 callers
Method
ClangPrefix
()
cmd/gomobile/env.go:561
↓ 2 callers
Function
Cos
(x float32)
exp/f32/f32.go:36
↓ 2 callers
Function
CreateProgram
CreateProgram creates, compiles, and links a gl.Program.
exp/gl/glutil/glutil.go:17
↓ 2 callers
Method
Cross
(v0, v1 *Vec3)
exp/f32/vec3.go:41
↓ 2 callers
Method
Description
(self gopkg.GoNSDate)
bind/testdata/testpkg/objcpkg/classes.go:26
↓ 2 callers
Method
DrawArrays
DrawArrays renders geometric primitives from the bound data. http://www.khronos.org/opengles/sdk/docs/man3/html/glDrawArrays.xhtml
gl/interface.go:286
↓ 2 callers
Method
F
()
bind/testdata/testpkg/testpkg.go:217
↓ 2 callers
Method
GenC
()
bind/genclasses.go:271
↓ 2 callers
Function
GenGo
GenGo generates a Go stub to support foreign language APIs.
bind/bind.go:37
↓ 2 callers
Method
GenGo
()
bind/genclasses.go:208
↓ 2 callers
Method
GenGo
()
bind/genobjcw.go:315
↓ 2 callers
Method
GenGoH
()
bind/genobjc.go:109
↓ 2 callers
Method
GenH
()
bind/genjava.go:1314
↓ 2 callers
Method
GenH
()
bind/genclasses.go:240
↓ 2 callers
Method
GenM
()
bind/genobjc.go:264
↓ 2 callers
Method
Get
Get returns the underlying object.
bind/seq/ref.go:112
↓ 2 callers
Method
GetShaderi
(s Shader, pname Enum)
gl/gldebug.go:2321
↓ 2 callers
Method
GetShaderi
(s Shader, pname Enum)
gl/gl.go:827
↓ 2 callers
Method
Hello
(message string)
bind/testdata/testpkg/testpkg.go:202
↓ 2 callers
Method
Init
Init initializes the embedded Generator and initializes the Java class information needed to generate structs that extend Java classes and interfaces.
bind/genjava.go:50
↓ 2 callers
Method
Init
Init initializes the ObjC types wrapper generator. Types is the list of types to wrap, genNames the list of generated type names.
bind/genobjcw.go:36
↓ 2 callers
Method
IsSupported
()
internal/binres/binres.go:66
↓ 2 callers
Method
JNICallType
()
internal/importers/java/java.go:552
↓ 2 callers
Function
JavaPkgName
JavaPkgName returns the Java package name for a Go package given a pkg prefix. If the prefix is empty, "go" is used instead.
bind/genjava.go:1004
↓ 2 callers
Method
Len
()
internal/binres/binres_test.go:278
↓ 2 callers
Function
Linear
Linear computes the fraction [0,1] that t lies between [t0,t1].
exp/sprite/clock/tween.go:18
↓ 2 callers
Method
Mul
Mul stores a × b in m.
exp/f32/mat3.go:43
↓ 2 callers
Method
Mul
Mul stores a × b in m.
exp/f32/mat4.go:46
↓ 2 callers
Method
NewImage
NewImage creates an Image of the given size. Both a host-memory *image.RGBA and a GL texture are created.
exp/gl/glutil/glimage.go:104
↓ 2 callers
Function
NewImages
NewImages creates an *Images.
exp/gl/glutil/glimage.go:38
↓ 2 callers
Function
NewImportedI
()
bind/testdata/testpkg/testpkg.go:470
↓ 2 callers
Function
NewWriter
NewWriter returns a new Writer writing an APK file to w. The APK will be signed with key.
cmd/gomobile/writer.go:81
↓ 2 callers
Function
Open
Open opens a named asset. Errors are of type *os.PathError. This must not be called from init when used in android apps.
asset/asset.go:16
↓ 2 callers
Method
Press
(down bool)
example/flappy/game.go:220
↓ 2 callers
Method
RawValueByName
RawValueByName returns the original raw string value of first matching element attribute, or error if not exists. Given <manifest package="VAL" ...> t
internal/binres/binres.go:168
↓ 2 callers
Method
Ref
(_ I)
bind/testdata/benchmark/benchmark.go:29
↓ 2 callers
Method
Register
(n *Node)
exp/sprite/sprite.go:53
↓ 2 callers
Method
Run
(this gopkg.Runnable)
bind/testdata/classes.go:20
↓ 2 callers
Function
SetCurrentContext
SetCurrentContext populates the global Context object with the specified current JavaVM instance (vm) and android.context.Context object (ctx). The an
internal/mobileinit/ctx_android.go:81
↓ 2 callers
Method
Short
()
bind/testdata/keywords.go:44
↓ 2 callers
Method
Slice
(_ []byte)
bind/testdata/benchmark/benchmark.go:34
↓ 2 callers
Function
Sqrt
(x float32)
exp/f32/f32.go:57
↓ 2 callers
Method
Sub
(v0, v1 *Vec3)
exp/f32/vec3.go:23
↓ 2 callers
Method
Upload
(r image.Rectangle, src image.Image)
exp/sprite/sprite.go:43
↓ 2 callers
Method
UseProgram
UseProgram sets the active program. http://www.khronos.org/opengles/sdk/docs/man3/html/glUseProgram.xhtml
gl/interface.go:772
↓ 2 callers
Method
addRef
(sel *ast.SelectorExpr)
internal/importers/ast.go:200
↓ 2 callers
Function
apiResourcesPath
()
internal/binres/sdk.go:57
↓ 2 callers
Method
asFunc
(g *ObjcGen)
bind/genobjc.go:540
↓ 2 callers
Method
asInitSignature
(g *ObjcGen)
bind/genobjc.go:590
↓ 2 callers
Function
buildDefault
()
exp/font/font_linux.go:11
↓ 2 callers
Function
buildEnvInit
()
cmd/gomobile/env.go:115
↓ 2 callers
Function
buildFont
(f C.CTFontRef)
exp/font/font_darwin.go:17
↓ 2 callers
Function
buildMonospace
()
exp/font/font_linux.go:22
↓ 2 callers
Method
cStringPtr
cStringPtr creates a pointer to a C string off the Go heap. ret is a **char.
gl/work.go:165
↓ 2 callers
Method
callIvy
()
example/ivy/android/app/src/main/java/org/golang/ivy/MainActivity.java:241
↓ 2 callers
Function
checkResources
(t *testing.T)
internal/binres/binres_test.go:632
↓ 2 callers
Method
clearCur
()
cmd/gomobile/writer.go:223
↓ 2 callers
Method
configureWebView
(WebView webView)
example/ivy/android/app/src/main/java/org/golang/ivy/MainActivity.java:172
↓ 2 callers
Method
constructorType
constructorType returns the type T for a function of the forms: func NewT...(...) *T func NewT...(...) (*T, error)
bind/gen.go:333
↓ 2 callers
Function
containsDLLs
(dir string)
gl/dll_windows.go:116
↓ 2 callers
Function
cp
(dst, src string)
bind/java/seq_test.go:195
↓ 2 callers
Function
currentColor
(t *testing.T)
app/app_test.go:189
↓ 2 callers
Function
detectTeamID
()
cmd/gomobile/build_apple.go:163
↓ 2 callers
Function
diffOutput
(got string, wantTmpl *template.Template)
cmd/gomobile/init_test.go:121
↓ 2 callers
Function
ensureGoVersion
()
cmd/gomobile/main.go:87
↓ 2 callers
Function
envInit
()
cmd/gomobile/env.go:162
↓ 2 callers
Function
eventKey
export eventKey
app/darwin_desktop.go:168
↓ 2 callers
Function
extractPkgs
(nm string, path string)
cmd/gomobile/build.go:184
↓ 2 callers
Method
fillFuncSigs
(funcs []*FuncSet)
internal/importers/java/java.go:1055
↓ 2 callers
Method
fillJNINames
(funcs []*FuncSet)
internal/importers/java/java.go:315
↓ 2 callers
Method
filterReferences
(classes []*Class, refs *importers.References, funcRefs map[funcRef]struct{})
internal/importers/java/java.go:577
↓ 2 callers
Method
findEmbeddingStructs
findEmbeddingStructs finds all top level declarations embedding a prefixed type. For example: import "Prefix/some/Package" type T struct { Packag
internal/importers/ast.go:133
↓ 2 callers
Function
findLast
(path string)
cmd/gomobile/gendex.go:138
↓ 2 callers
Function
flattenName
Flatten java class names. "java.package.Class$Inner" is converted to "java_package_Class_Inner"
bind/genclasses.go:902
↓ 2 callers
Method
genCFuncDecl
(jniName string, f *java.Func)
bind/genclasses.go:517
↓ 2 callers
Method
genCMethodBody
(cls *java.Class, f *java.Func, virtual bool)
bind/genclasses.go:365
↓ 2 callers
Method
genCRetClear
genCRetClear clears the result value from a JNI call if an exception was raised.
bind/genclasses.go:819
↓ 2 callers
Method
genCToJava
(v string, t *java.Type)
bind/genclasses.go:851
↓ 2 callers
Method
genFromRefnum
(toName, fromName string, t types.Type, o *types.TypeName)
bind/genjava.go:963
↓ 2 callers
Method
genInterfaceInterface
(obj *types.TypeName, summary ifaceSummary, isProtocol bool)
bind/genobjc.go:856
↓ 2 callers
Function
genJavaPackages
(t *testing.T, dir string, cg *ClassGen)
bind/bind_test.go:246
↓ 2 callers
Method
genJavaToC
(v string, t *java.Type)
bind/genclasses.go:833
↓ 2 callers
Method
genObjCToC
(name string, t *objc.Type, mode varMode)
bind/genobjcw.go:454
↓ 2 callers
Function
genPkg
(lang string, p *types.Package, astFiles []*ast.File, allPkg []*types.Package, classes []*java.Class, otypes [
cmd/gobind/gen.go:27
↓ 2 callers
Function
genPkgH
(w io.Writer, pname string)
cmd/gobind/gen.go:173
↓ 2 callers
Method
genProxyImpl
(name string)
bind/genjava.go:227
↓ 2 callers
Method
genRead
(to, from string, t *objc.Type)
bind/genobjcw.go:492
↓ 2 callers
Method
genRefRead
(toName, fromName string, t types.Type)
bind/genobjc.go:726
↓ 2 callers
Method
genRefWrite
(varName string)
bind/genobjc.go:712
↓ 2 callers
Method
genToRefNum
genToRefNum generates Go code for converting a variable to its refnum. Note that the nil-check cannot be lifted into seq.ToRefNum, because a nil struc
bind/gengo.go:143
← previous
next →
301–400 of 2,094, ranked by callers