Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/android/ndk-samples
/ functions
Functions
1,557 in github.com/android/ndk-samples
⨍
Functions
1,557
◇
Types & classes
501
↓ 4 callers
Function
make565
bitmap-plasma/app/src/main/cpp/plasma.cpp:125
↓ 4 callers
Method
makeChanMessageCode
(byte msg, byte chan)
native-midi/app/src/main/java/com/example/nativemidi/MidiSpec.java:43
↓ 4 callers
Function
mod289
endless-tunnel/app/src/main/cpp/glm/detail/_noise.hpp:35
↓ 4 callers
Function
printGLString
hello-gl2/app/src/main/cpp/gl_code.cpp:32
↓ 4 callers
Function
printGlString
gles3jni/app/src/main/cpp/gles3jni.cpp:117
↓ 4 callers
Function
sendJavaMsg
* A helper function to wrap java JniHandler::updateStatus(String msg) * JNI allow us to call this function via an instance even it is * private func
hello-jniCallback/app/src/main/cpp/hello-jnicallback.cpp:139
↓ 4 callers
Method
updateProgress
(int progress)
camera/basic/src/main/java/com/sample/camera/basic/CameraActivity.java:76
↓ 3 callers
Function
Approach
endless-tunnel/app/src/main/cpp/util.hpp:67
↓ 3 callers
Function
AsciiArtToGeom
endless-tunnel/app/src/main/cpp/ascii_to_geom.cpp:21
↓ 3 callers
Method
BeginRender
endless-tunnel/app/src/main/cpp/shader.cpp:154
↓ 3 callers
Method
CallIntMethod
teapots/common/ndk_helper/JNIHelper.cpp:678
↓ 3 callers
Method
Compile
endless-tunnel/app/src/main/cpp/shader.cpp:60
↓ 3 callers
Method
Cross
teapots/common/ndk_helper/vecmath.h:370
↓ 3 callers
Method
DrawFrame
* Just the current frame in the display. */
teapots/classic-teapot/src/main/cpp/TeapotNativeActivity.cpp:167
↓ 3 callers
Method
DrawFrame
* Just the current frame in the display. */
teapots/image-decoder/src/main/cpp/TeapotNativeActivity.cpp:167
↓ 3 callers
Method
DrawFrame
* Just the current frame in the display. */
teapots/textured-teapot/src/main/cpp/TeapotNativeActivity.cpp:167
↓ 3 callers
Method
DrawFrame
* Just the current frame in the display. */
teapots/more-teapots/src/main/cpp/MoreTeapotsNativeActivity.cpp:177
↓ 3 callers
Method
DrawFrame
* Just the current frame in the display. */
teapots/choreographer-30fps/src/main/cpp/ChoreographerNativeActivity.cpp:386
↓ 3 callers
Method
EndRender
endless-tunnel/app/src/main/cpp/shader.cpp:187
↓ 3 callers
Method
Init
teapots/classic-teapot/src/main/cpp/TeapotRenderer.cpp:41
↓ 3 callers
Method
Init
teapots/image-decoder/src/main/cpp/TeapotRenderer.cpp:41
↓ 3 callers
Method
Init
teapots/textured-teapot/src/main/cpp/TeapotRenderer.cpp:41
↓ 3 callers
Method
Init
teapots/choreographer-30fps/src/main/cpp/TeapotRenderer.cpp:41
↓ 3 callers
Method
OnSessionState
* Handles capture session state changes. * Update into internal session state. */
camera/texture-view/src/main/cpp/camera_listeners.cpp:164
↓ 3 callers
Method
OnSessionState
* Handles capture session state changes. * Update into internal session state. */
camera/basic/src/main/cpp/camera_listeners.cpp:164
↓ 3 callers
Method
Render
endless-tunnel/app/src/main/cpp/shader.cpp:168
↓ 3 callers
Function
RenderBackgroundAnimation
endless-tunnel/app/src/main/cpp/anim.cpp:20
↓ 3 callers
Method
RenderRect
endless-tunnel/app/src/main/cpp/shape_renderer.cpp:50
↓ 3 callers
Method
RenderSimpleGeom
Convenience method to render a single copy of a geometry.
endless-tunnel/app/src/main/cpp/shader.hpp:70
↓ 3 callers
Method
ScanMidiDevices
Scans and gathers the list of connected physical devices, then calls onDeviceListChange() to update the UI. This has the side-effect of causing a list
native-midi/app/src/main/java/com/example/nativemidi/MainActivity.java:146
↓ 3 callers
Function
SetMinimumLogSeverity
base/src/main/cpp/logging.cpp:282
↓ 3 callers
Method
SetTexCoordsOffset
endless-tunnel/app/src/main/cpp/vertexbuf.hpp:47
↓ 3 callers
Method
SetTexture
endless-tunnel/app/src/main/cpp/our_shader.cpp:79
↓ 3 callers
Function
_parseInt
endless-tunnel/app/src/main/cpp/sfxman.cpp:169
↓ 3 callers
Function
checkGlError
gles3jni/app/src/main/cpp/gles3jni.cpp:34
↓ 3 callers
Method
column
vectorization/src/main/cpp/matrix.h:75
↓ 3 callers
Function
getMuteSolo
native-audio/app/src/main/cpp/native-audio-jni.cpp:501
↓ 3 callers
Method
getSurfaceTexture
()
native-codec/app/src/main/java/com/example/nativecodec/MyGLSurfaceView.java:346
↓ 3 callers
Function
now_ms
Return current time in milliseconds */
bitmap-plasma/app/src/main/cpp/plasma.cpp:36
↓ 3 callers
Method
setImmersiveSticky
()
camera/basic/src/main/java/com/sample/camera/basic/CameraActivity.java:161
↓ 3 callers
Method
setImmersiveSticky
()
teapots/classic-teapot/src/main/java/com/sample/teapot/TeapotNativeActivity.java:76
↓ 3 callers
Method
setImmersiveSticky
()
teapots/image-decoder/src/main/java/com/sample/imagedecoder/TeapotNativeActivity.java:76
↓ 3 callers
Method
setImmersiveSticky
()
teapots/textured-teapot/src/main/java/com/sample/texturedteapot/TeapotNativeActivity.java:76
↓ 3 callers
Method
setImmersiveSticky
()
teapots/more-teapots/src/main/java/com/sample/moreteapots/MoreTeapotsNativeActivity.java:82
↓ 3 callers
Method
setImmersiveSticky
()
teapots/choreographer-30fps/src/main/java/com/sample/choreographer/ChoreographerNativeActivity.java:114
↓ 3 callers
Method
setPlayingUriAudioPlayer
(boolean isPlaying)
native-audio/app/src/main/java/com/example/nativeaudio/NativeAudio.java:384
↓ 3 callers
Method
setSurface
(Surface surface)
native-codec/app/src/main/java/com/example/nativecodec/NativeCodec.java:259
↓ 2 callers
Function
AppendJString
exceptions/app/src/main/cpp/exception_helper.cpp:41
↓ 2 callers
Function
BenchmarkResult
vectorization/src/main/java/com/android/ndk/samples/vectorization/VectorizationActivity.kt:117
↓ 2 callers
Method
BindBuffer
endless-tunnel/app/src/main/cpp/indexbuf.cpp:32
↓ 2 callers
Method
CheckExtension
teapots/common/ndk_helper/GLContext.cpp:254
↓ 2 callers
Function
DeleteCamera
* deleteCamera(): * releases native application object, which * triggers native camera object be released */
camera/texture-view/src/main/cpp/android_main.cpp:63
↓ 2 callers
Method
Dot
teapots/common/ndk_helper/vecmath.h:185
↓ 2 callers
Function
FindMethod
exceptions/app/src/main/cpp/exception_helper.cpp:33
↓ 2 callers
Method
GetBoxCenter
endless-tunnel/app/src/main/cpp/obstacle.hpp:35
↓ 2 callers
Method
GetColAt
endless-tunnel/app/src/main/cpp/obstacle.hpp:49
↓ 2 callers
Method
GetColorsOffset
endless-tunnel/app/src/main/cpp/vertexbuf.hpp:43
↓ 2 callers
Method
GetCount
endless-tunnel/app/src/main/cpp/indexbuf.hpp:29
↓ 2 callers
Method
GetCurrentTime
Helper functions.
teapots/choreographer-30fps/src/main/cpp/ChoreographerNativeActivity.cpp:312
↓ 2 callers
Method
GetError
base/src/main/cpp/logging.cpp:208
↓ 2 callers
Method
GetNativeWindow
camera/basic/src/main/cpp/image_reader.cpp:101
↓ 2 callers
Method
GetPrimitive
endless-tunnel/app/src/main/cpp/vertexbuf.hpp:50
↓ 2 callers
Method
GetRowAt
endless-tunnel/app/src/main/cpp/obstacle.hpp:44
↓ 2 callers
Method
HasColors
endless-tunnel/app/src/main/cpp/vertexbuf.hpp:42
↓ 2 callers
Method
IsReady
teapots/classic-teapot/src/main/cpp/TeapotNativeActivity.cpp:343
↓ 2 callers
Method
IsReady
teapots/image-decoder/src/main/cpp/TeapotNativeActivity.cpp:343
↓ 2 callers
Method
IsReady
teapots/textured-teapot/src/main/cpp/TeapotNativeActivity.cpp:343
↓ 2 callers
Method
IsReady
teapots/more-teapots/src/main/cpp/MoreTeapotsNativeActivity.cpp:354
↓ 2 callers
Method
IsReady
teapots/choreographer-30fps/src/main/cpp/ChoreographerNativeActivity.cpp:535
↓ 2 callers
Method
KillGraphics
endless-tunnel/app/src/main/cpp/scene_manager.cpp:81
↓ 2 callers
Function
Load2DTextureFromAsset
* Load2DTextureFromAsset(): Load one RGBA 2d texture from asset into * the given GL texture with NDK's ImageDecoder interface. */
teapots/image-decoder/src/main/cpp/Texture.cpp:31
↓ 2 callers
Function
LoadBinaryFileToVector
hello-vulkan/app/src/main/cpp/hellovk.h:78
↓ 2 callers
Function
NDKSamplesTheme
vectorization/src/main/java/com/android/ndk/samples/vectorization/ui/theme/Theme.kt:36
↓ 2 callers
Method
Normalize
teapots/common/ndk_helper/vecmath.h:178
↓ 2 callers
Method
OnCameraParameterChanged
* Process to user's sensitivity and exposure value change * all values are represented in int64_t even exposure is just int32_t * @param code ACAMER
camera/basic/src/main/cpp/camera_engine.cpp:147
↓ 2 callers
Method
OnCameraStatusChanged
* OnCameraStatusChanged() * handles Callback from ACameraManager */
camera/texture-view/src/main/cpp/camera_listeners.cpp:41
↓ 2 callers
Method
OnCameraStatusChanged
* OnCameraStatusChanged() * handles Callback from ACameraManager */
camera/basic/src/main/cpp/camera_listeners.cpp:41
↓ 2 callers
Function
PrintCameraDeviceError
camera/camera-utils/src/main/cpp/camera_utils.cpp:455
↓ 2 callers
Method
ReadFile
--------------------------------------------------------------------------- readFile -----------------------------------------------------------------
teapots/common/ndk_helper/JNIHelper.cpp:132
↓ 2 callers
Method
SetDifficulty
endless-tunnel/app/src/main/cpp/obstacle_generator.hpp:30
↓ 2 callers
Method
SetPresentRotation
camera/basic/src/main/cpp/image_reader.cpp:406
↓ 2 callers
Method
SetSingleButton
endless-tunnel/app/src/main/cpp/dialog_scene.hpp:70
↓ 2 callers
Method
StartChoreographer
Native Chreographer API support.
teapots/choreographer-30fps/src/main/cpp/ChoreographerNativeActivity.cpp:242
↓ 2 callers
Method
StartGraphics
endless-tunnel/app/src/main/cpp/scene_manager.cpp:91
↓ 2 callers
Method
StartPreview
* * @param start is true to start preview, false to stop preview * @return true if preview started, false when error happened */
camera/texture-view/src/main/cpp/camera_engine.cpp:92
↓ 2 callers
Function
StringToUpper
teapots/textured-teapot/src/main/cpp/AssetUtil.cpp:26
↓ 2 callers
Method
TermDisplay
* Tear down the EGL context currently associated with the display. */
teapots/classic-teapot/src/main/cpp/TeapotNativeActivity.cpp:189
↓ 2 callers
Method
TermDisplay
* Tear down the EGL context currently associated with the display. */
teapots/image-decoder/src/main/cpp/TeapotNativeActivity.cpp:189
↓ 2 callers
Method
TermDisplay
* Tear down the EGL context currently associated with the display. */
teapots/textured-teapot/src/main/cpp/TeapotNativeActivity.cpp:189
↓ 2 callers
Method
TermDisplay
* Tear down the EGL context currently associated with the display. */
teapots/more-teapots/src/main/cpp/MoreTeapotsNativeActivity.cpp:200
↓ 2 callers
Method
TermDisplay
* Tear down the EGL context currently associated with the display. */
teapots/choreographer-30fps/src/main/cpp/ChoreographerNativeActivity.cpp:405
↓ 2 callers
Method
ToMatrix
teapots/common/ndk_helper/vecmath.h:885
↓ 2 callers
Method
UnbindBuffer
endless-tunnel/app/src/main/cpp/indexbuf.cpp:34
↓ 2 callers
Method
Update
teapots/classic-teapot/src/main/cpp/TeapotRenderer.cpp:123
↓ 2 callers
Method
Update
teapots/image-decoder/src/main/cpp/TeapotRenderer.cpp:130
↓ 2 callers
Method
Update
teapots/textured-teapot/src/main/cpp/TeapotRenderer.cpp:122
↓ 2 callers
Method
Update
-------------------------------------------------------------------------------- Update --------------------------------------------------------------
teapots/more-teapots/src/main/cpp/MoreTeapotsRenderer.cpp:248
↓ 2 callers
Method
Update
teapots/choreographer-30fps/src/main/cpp/TeapotRenderer.cpp:123
↓ 2 callers
Function
_count_rows_cols
endless-tunnel/app/src/main/cpp/text_renderer.cpp:58
↓ 2 callers
Function
_get_obs_color
endless-tunnel/app/src/main/cpp/play_scene.cpp:416
← previous
next →
101–200 of 1,557, ranked by callers