MCPcopy Create free account

hub / github.com/gioui/gio / functions

Functions3,179 in github.com/gioui/gio

↓ 15 callersMethodEditorReplace
(r key.Range, text string)
app/window.go:454
↓ 15 callersMethodLen
Len is the length of the editor contents, in runes.
widget/editor.go:801
↓ 15 callersMethodMoveLineEnd
MoveLineEnd moves the caret to the end of the current line, ensuring that the resulting cursor position is on a grapheme cluster boundary.
widget/text.go:682
↓ 15 callersMethodSetEditorSelection
(r key.Range)
app/window.go:460
↓ 15 callersMethodUpdate
Update the widget state and report whether Value was changed.
widget/bool.go:17
↓ 15 callersFunctiondlopen
(lib string)
internal/vk/vulkan.go:2128
↓ 15 callersFunctionmapErr
(err error)
gpu/internal/vulkan/vulkan.go:1155
↓ 14 callersMethodConstrain
Constrain a size so each dimension is in the range [min;max].
layout/layout.go:89
↓ 14 callersMethodContain
Contain reports whether m contains all modifiers in m2.
io/key/key.go:229
↓ 14 callersMethodFocused
Focused reports the focused key, or false if no key is focused.
widget/enum.go:112
↓ 14 callersMethodInvalidate
Invalidate requests a FrameEvent.
app/os.go:184
↓ 14 callersMethodLayout
Layout a List of len items, where each item is implicitly defined by the callback w. Layout can handle very large lists because it only calls w to fil
layout/list.go:117
↓ 14 callersMethodMoveFocus
MoveFocus attempts to move the focus in the direction of dir.
io/input/key.go:163
↓ 14 callersFunctionNewAffine2D
NewAffine2D creates a new Affine2D transform from the matrix elements in row major order. The rows are: [sx, hx, ox], [hy, sy, oy], [0, 0, 1].
f32/affine.go:26
↓ 14 callersFunctionRigid
Rigid returns a Flex child with a maximal constraint of the remaining space.
layout/flex.go:60
↓ 14 callersMethodUnlock
()
app/os.go:175
↓ 14 callersMethodchangeState
(e event.Event, state inputState, evts []taggedEvent)
io/input/router.go:571
↓ 13 callersMethodDecode
(data []byte)
internal/ops/ops.go:158
↓ 13 callersMethodMoveLines
MaxLines moves the cursor the specified number of lines vertically, ensuring that the resulting position is aligned to a grapheme cluster.
widget/text.go:215
↓ 13 callersMethodSelection
Selection returns the start and end of the selection, as rune offsets. start can be > end.
widget/editor.go:1072
↓ 13 callersMethodbindFramebuffer
(f *gl.Functions, target gl.Enum, fbo gl.Framebuffer)
gpu/internal/opengl/opengl.go:514
↓ 13 callersMethodget
(row, col int)
internal/fling/extrapolation.go:245
↓ 13 callersMethodprocessEvent
(e event.Event)
app/os_js.go:600
↓ 12 callersFunctionDestroyInstance
(inst Instance)
internal/vk/vulkan.go:884
↓ 12 callersMethodElems
Elems returns the matrix elements of the transform in row-major order. The rows are: [sx, hx, ox], [hy, sy, oy], [0, 0, 1].
f32/affine.go:120
↓ 12 callersFunctionFill
Fill paints an infinitely large plane with the provided color. It is intended to be used with a clip.Op already in place to limit the painted area. Us
op/paint/paint.go:164
↓ 12 callersMethodInsert
(s string)
widget/editor.go:863
↓ 12 callersMethodInvert
Invert the transformation. Note that if the matrix is close to singular numerical errors may become large or infinity.
f32/affine.go:93
↓ 12 callersFunctionLabel
(th *Theme, size unit.Sp, txt string)
widget/material/label.go:113
↓ 12 callersMethodLock
()
app/os.go:174
↓ 12 callersMethodModifiers
()
app/internal/xkb/xkb_unix.go:137
↓ 12 callersMethodRunesIndex
RunesIndex converts the given index in utf16 characters to an index in runes.
app/ime.go:98
↓ 12 callersMethodSetCaret
SetCaret moves the caret to start, and sets the selection end to end. start and end are in runes, and represent offsets into the editor text.
widget/editor.go:1079
↓ 12 callersMethodTexParameteri
(target, pname Enum, param int)
internal/gl/gl_js.go:667
↓ 12 callersMethodcurrentArea
()
io/input/pointer.go:214
↓ 12 callersFunctionviewFor
(h C.uintptr_t)
app/os_ios.go:151
↓ 11 callersMethodDiv
Div returns the vector p/s.
f32/f32.go:50
↓ 11 callersMethodEmpty
Empty reports whether r represents the empty area.
internal/f32/f32.go:122
↓ 11 callersMethodEndRenderPass
()
gpu/internal/driver/driver.go:38
↓ 11 callersMethodGetBinding
(pname Enum)
internal/gl/gl_js.go:496
↓ 11 callersMethodProgression
Progression returns the way that the text flows relative to the origin.
io/system/locale.go:33
↓ 11 callersMethodStop
Stop any remaining fling movement.
gesture/gesture.go:260
↓ 11 callersMethodWakeupTime
WakeupTime returns the most recent time for doing another frame, as determined from the last call to Frame.
io/input/router.go:882
↓ 11 callersMethodbindBuffer
(f *gl.Functions, target gl.Enum, buf gl.Buffer)
gpu/internal/opengl/opengl.go:558
↓ 11 callersMethodimeSelectionStart
(long handle)
app/GioView.java:575
↓ 11 callersMethodinitialize
initialize must be called at the beginning of any exported method that manipulates text state. It ensures that the underlying text is safe to access.
widget/selectable.go:87
↓ 11 callersMethodprocessEvent
(e event.Event)
app/os_android.go:678
↓ 11 callersFunctionregister
(ttf []byte)
font/gofont/gofont.go:77
↓ 10 callersFunctionFPt
FPt converts an point to a f32.Point.
layout/layout.go:82
↓ 10 callersMethodGetInteger
(pname Enum)
internal/gl/gl_js.go:512
↓ 10 callersMethodLen
Len is the length of the editor contents, in runes.
widget/text.go:409
↓ 10 callersMethodMoveWord
MoveWord moves the caret to the next word in the specified direction. Positive is forward, negative is backward. Absolute values greater than one will
widget/text.go:699
↓ 10 callersFunctionMulAlpha
MulAlpha applies the alpha to the color.
internal/f32color/rgba.go:140
↓ 10 callersMethodPrintf
(format string, args ...any)
text/gotext.go:238
↓ 10 callersMethodTransform
(t f32.Affine2D)
internal/stroke/stroke.go:299
↓ 10 callersMethodValid
Valid will return true when the ViewEvent does contains valid handles. If a window receives an invalid ViewEvent, it should deinitialize any state ref
app/app.go:79
↓ 10 callersMethodapply
(m unit.Metric, options []Option)
app/os.go:62
↓ 10 callersFunctionassertContents
(t *testing.T, e *Editor, contents string, selectionStart, selectionEnd int)
widget/editor_test.go:81
↓ 10 callersMethodcurrentCmdBuf
()
gpu/internal/vulkan/vulkan.go:1004
↓ 10 callersFunctionglErr
(f *gl.Functions)
gpu/internal/opengl/opengl.go:775
↓ 10 callersMethodimeSelectionEnd
(long handle)
app/GioView.java:576
↓ 10 callersFunctionjavaVM
()
app/os_android.go:453
↓ 10 callersMethodlastState
()
io/input/router.go:525
↓ 10 callersMethodloadCursor
(name pointer.Cursor)
app/os_wayland.go:431
↓ 10 callersFunctiontestShaper
(faces ...giofont.Face)
text/gotext_test.go:33
↓ 9 callersMethodDp
Dp converts v to pixels.
layout/context.go:40
↓ 9 callersMethodLayout
Layout lays out the editor using the provided textMaterial as the paint material for the text glyphs+caret and the selectMaterial as the paint materia
widget/editor.go:653
↓ 9 callersMethodLayout
(gtx layout.Context)
widget/material/button.go:112
↓ 9 callersMethodLayout
Layout the list and its scrollbar.
widget/material/list.go:263
↓ 9 callersMethodShear
Shear the transformation by the given angle (in radians) around the given origin.
f32/affine.go:71
↓ 9 callersFunctionaddPointerHandler
addPointerHandler adds a pointer.InputOp for the tag in a rectangular area.
io/input/pointer_test.go:1210
↓ 9 callersFunctioncheckFlag
(t *testing.T, shouldHave bool, flag Flags, actual Glyph, glyphCursor int)
text/shaper_test.go:426
↓ 9 callersMethodensureCmdBuf
()
gpu/internal/vulkan/vulkan.go:1012
↓ 9 callersFunctionexception
exception returns an error corresponding to the pending exception, or nil if no exception is pending. The pending exception is cleared.
app/os_android.go:1282
↓ 9 callersMethodexpand
(pt f32.Point)
op/clip/clip.go:227
↓ 9 callersFunctionfromFixed
fromFixed converts a Wayland wl_fixed_t 23.8 number to float32.
app/os_wayland.go:1939
↓ 9 callersMethodimeToRunes
(long handle, int chars)
app/GioView.java:583
↓ 9 callersFunctionlayoutWidget
(ctx layout.Context, width, height int)
layout/example_test.go:151
↓ 9 callersFunctionnsstringToString
nsstringToString converts a NSString to a Go string.
app/os_darwin.go:100
↓ 9 callersFunctionparamVal
(v js.Value)
internal/gl/gl_js.go:731
↓ 9 callersFunctionrunInJVM
(jvm *C.JavaVM, f func(env *C.JNIEnv))
app/os_android.go:915
↓ 9 callersMethodstate
()
io/input/router.go:518
↓ 8 callersMethodBeginRenderPass
(t Texture, desc LoadDesc)
gpu/internal/driver/driver.go:37
↓ 8 callersMethodClicked
Clicked calls Update and reports whether a click was registered.
widget/button.go:52
↓ 8 callersMethodHovered
Hovered reports whether pointer is over the element.
widget/bool.go:27
↓ 8 callersMethodMove
Move moves the pen by the amount specified by delta.
op/clip/clip.go:170
↓ 8 callersMethodMoveCaret
MoveCaret moves the caret (aka selection start) and the selection end relative to their current positions. Positive distances moves forward, negative
widget/editor.go:998
↓ 8 callersFunctionNewWindow
NewWindow creates a new headless window.
gpu/headless/headless.go:61
↓ 8 callersMethodProcessEvent
(e event.Event)
app/os_wayland.go:1404
↓ 8 callersMethodReset
()
io/input/router.go:429
↓ 8 callersMethodSelection
Selection returns the start and end of the selection, as rune offsets. start can be > end.
widget/text.go:768
↓ 8 callersFunctionStacked
Stacked returns a Stack child that is laid out with no minimum constraints and the maximum constraints passed to Stack.Layout.
layout/stack.go:27
↓ 8 callersMethodappend
(ps StrokeQuads)
internal/stroke/stroke.go:274
↓ 8 callersMethodequal
(o2 Object)
internal/gl/types_js.go:24
↓ 8 callersMethodgetSnippet
()
app/GioView.java:781
↓ 8 callersFunctionnonZero
(v float32)
unit/unit.go:73
↓ 8 callersMethodruneOffset
runeOffset returns the byte offset into e.rr of the r'th rune. r must be a valid rune index, usually returned by closestPosition.
widget/text.go:558
↓ 8 callersFunctionscale
(sx, sy float32)
gpu/internal/rendertest/util_test.go:304
↓ 8 callersMethodset
(row, col int, v float32)
internal/fling/extrapolation.go:235
↓ 8 callersMethodvalid
()
internal/gl/types_js.go:20
← previousnext →101–200 of 3,179, ranked by callers