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
↓ 2 callers
Function
_log_opengl_error
endless-tunnel/app/src/main/cpp/native_engine.cpp:485
↓ 2 callers
Function
_printProgramLog
endless-tunnel/app/src/main/cpp/shader.cpp:52
↓ 2 callers
Function
_printShaderLog
endless-tunnel/app/src/main/cpp/shader.cpp:44
↓ 2 callers
Function
_process_keys
endless-tunnel/app/src/main/cpp/input_util.cpp:108
↓ 2 callers
Method
checkEglError
(String prompt, EGL10 egl)
hello-gl2/app/src/main/java/com/android/gl2jni/GL2JNIView.java:126
↓ 2 callers
Function
createProgram
hello-gl2/app/src/main/cpp/gl_code.cpp:80
↓ 2 callers
Function
createProgram
gles3jni/app/src/main/cpp/gles3jni.cpp:73
↓ 2 callers
Function
createShader
gles3jni/app/src/main/cpp/gles3jni.cpp:43
↓ 2 callers
Method
createStreamingMediaPlayer
(AssetManager assetMgr, String filename)
native-codec/app/src/main/java/com/example/nativecodec/NativeCodec.java:256
↓ 2 callers
Method
createTextureView
()
camera/texture-view/src/main/java/com/sample/textureview/ViewActivity.java:97
↓ 2 callers
Function
fatal
native-activity/app/src/main/cpp/main.cpp:27
↓ 2 callers
Method
fillDeviceList
Fills the specified list control with a set of MidiDevices @param spinner The list control. @param devices The set of MidiDevices.
native-midi/app/src/main/java/com/example/nativemidi/MainActivity.java:280
↓ 2 callers
Method
getAbsProgress
()
camera/basic/src/main/java/com/sample/camera/basic/CameraActivity.java:95
↓ 2 callers
Method
getDeviceInfo
()
native-midi/app/src/main/java/com/example/nativemidi/MainActivity.java:267
↓ 2 callers
Method
init
(boolean translucent, int depth, int stencil)
hello-gl2/app/src/main/java/com/android/gl2jni/GL2JNIView.java:81
↓ 2 callers
Method
initVulkan
hello-vulkan/app/src/main/cpp/hellovk.h:280
↓ 2 callers
Method
isComplete
hello-vulkan/app/src/main/cpp/hellovk.h:63
↓ 2 callers
Method
isSupported
()
camera/basic/src/main/java/com/sample/camera/basic/CameraActivity.java:73
↓ 2 callers
Function
jniThrowRuntimeException
exceptions/app/src/main/cpp/exception_helper.h:47
↓ 2 callers
Method
loadShader
(int shaderType, String source)
native-codec/app/src/main/java/com/example/nativecodec/MyGLSurfaceView.java:234
↓ 2 callers
Method
nextPOT
(int i)
teapots/classic-teapot/src/main/java/com/sample/helper/NDKHelper.java:84
↓ 2 callers
Method
nextPOT
(int i)
teapots/image-decoder/src/main/java/com/sample/helper/NDKHelper.java:84
↓ 2 callers
Method
nextPOT
(int i)
teapots/textured-teapot/src/main/java/com/sample/helper/NDKHelper.java:84
↓ 2 callers
Method
nextPOT
(int i)
teapots/more-teapots/src/main/java/com/sample/helper/NDKHelper.java:84
↓ 2 callers
Method
nextPOT
(int i)
teapots/choreographer-30fps/src/main/java/com/sample/helper/NDKHelper.java:84
↓ 2 callers
Method
notifyCameraPermission
(boolean granted)
camera/basic/src/main/java/com/sample/camera/basic/CameraActivity.java:370
↓ 2 callers
Method
onPause
()
native-codec/app/src/main/java/com/example/nativecodec/MyGLSurfaceView.java:82
↓ 2 callers
Method
onResume
()
native-codec/app/src/main/java/com/example/nativecodec/MyGLSurfaceView.java:85
↓ 2 callers
Method
org_height
camera/texture-view/src/main/cpp/camera_manager.cpp:154
↓ 2 callers
Method
org_height
camera/basic/src/main/cpp/camera_manager.cpp:152
↓ 2 callers
Method
org_width
camera/texture-view/src/main/cpp/camera_manager.cpp:153
↓ 2 callers
Method
org_width
camera/basic/src/main/cpp/camera_manager.cpp:151
↓ 2 callers
Function
populateDebugMessengerCreateInfo
hello-vulkan/app/src/main/cpp/hellovk.h:140
↓ 2 callers
Method
recordAudio
()
native-audio/app/src/main/java/com/example/nativeaudio/NativeAudio.java:316
↓ 2 callers
Method
reset
hello-vulkan/app/src/main/cpp/hellovk.h:385
↓ 2 callers
Method
setChannelMuteUriAudioPlayer
(int chan, boolean mute)
native-audio/app/src/main/java/com/example/nativeaudio/NativeAudio.java:386
↓ 2 callers
Method
setChannelSoloUriAudioPlayer
(int chan, boolean solo)
native-audio/app/src/main/java/com/example/nativeaudio/NativeAudio.java:387
↓ 2 callers
Method
setPlayingAssetAudioPlayer
(boolean isPlaying)
native-audio/app/src/main/java/com/example/nativeaudio/NativeAudio.java:382
↓ 2 callers
Method
setPlayingStreamingMediaPlayer
(boolean isPlaying)
native-codec/app/src/main/java/com/example/nativecodec/NativeCodec.java:257
↓ 2 callers
Method
shutdown
()
native-codec/app/src/main/java/com/example/nativecodec/NativeCodec.java:258
↓ 2 callers
Function
systemnanotime
native-codec/app/src/main/cpp/native-codec-jni.cpp:83
↓ 2 callers
Method
useAsSinkForNative
()
native-codec/app/src/main/java/com/example/nativecodec/NativeCodec.java:272
↓ 2 callers
Method
value
* return absolute value from relative value * value: in percent (50 for 50%) */
camera/texture-view/src/main/cpp/camera_manager.h:55
↓ 1 callers
Function
AcquireASensorManagerInstance
sensor-graph/accelerometer/src/main/cpp/sensorgraph.cpp:47
↓ 1 callers
Method
Activate
* TextureCubemap implementations */
teapots/image-decoder/src/main/cpp/Texture.cpp:196
↓ 1 callers
Method
Activate
* TextureCubemap implementations */
teapots/textured-teapot/src/main/cpp/Texture.cpp:89
↓ 1 callers
Method
AndroidApp
camera/basic/src/main/cpp/camera_engine.cpp:48
↓ 1 callers
Function
AssetReadFile
teapots/textured-teapot/src/main/cpp/AssetUtil.cpp:61
↓ 1 callers
Method
AttachWindow
native-activity/app/src/main/cpp/main.cpp:76
↓ 1 callers
Function
BenchmarkMatrixMultiplication
vectorization/src/main/cpp/benchmark.cpp:72
↓ 1 callers
Function
BenchmarkTable
vectorization/src/main/java/com/android/ndk/samples/vectorization/VectorizationActivity.kt:92
↓ 1 callers
Method
Bind
endless-tunnel/app/src/main/cpp/texture.cpp:38
↓ 1 callers
Method
Bind
teapots/classic-teapot/src/main/cpp/TeapotRenderer.cpp:267
↓ 1 callers
Method
Bind
teapots/image-decoder/src/main/cpp/TeapotRenderer.cpp:276
↓ 1 callers
Method
Bind
teapots/textured-teapot/src/main/cpp/TeapotRenderer.cpp:268
↓ 1 callers
Method
Bind
-------------------------------------------------------------------------------- Bind ----------------------------------------------------------------
teapots/more-teapots/src/main/cpp/MoreTeapotsRenderer.cpp:522
↓ 1 callers
Method
Bind
teapots/choreographer-30fps/src/main/cpp/TeapotRenderer.cpp:267
↓ 1 callers
Function
BlinkFunc
endless-tunnel/app/src/main/cpp/util.cpp:53
↓ 1 callers
Method
Clear
teapots/common/ndk_helper/interpolator.cpp:35
↓ 1 callers
Function
CookEvent
endless-tunnel/app/src/main/cpp/input_util.cpp:261
↓ 1 callers
Function
CookEvent_Joy
endless-tunnel/app/src/main/cpp/input_util.cpp:194
↓ 1 callers
Function
CookEvent_Motion
endless-tunnel/app/src/main/cpp/input_util.cpp:204
↓ 1 callers
Function
CreateCamera
* createCamera() Create application instance and NDK camera object * @param width is the texture view window width * @param height is the texture
camera/texture-view/src/main/cpp/android_main.cpp:53
↓ 1 callers
Method
CreateCameraSession
* Create a capture session with given Java Surface Object * @param surface a {@link Surface} object. */
camera/texture-view/src/main/cpp/camera_engine.cpp:57
↓ 1 callers
Function
CreateDebugUtilsMessengerEXT
hello-vulkan/app/src/main/cpp/hellovk.h:153
↓ 1 callers
Method
CreateSession
camera/texture-view/src/main/cpp/camera_manager.cpp:233
↓ 1 callers
Method
CreateSession
camera/basic/src/main/cpp/camera_manager.cpp:224
↓ 1 callers
Method
DeleteBonus
endless-tunnel/app/src/main/cpp/obstacle.hpp:70
↓ 1 callers
Method
DeleteCamera
camera/basic/src/main/cpp/camera_engine.cpp:103
↓ 1 callers
Method
DeleteImage
* Delete Image * @param image {@link AImage} instance to be deleted */
camera/basic/src/main/cpp/image_reader.cpp:142
↓ 1 callers
Function
DestroyDebugUtilsMessengerEXT
hello-vulkan/app/src/main/cpp/hellovk.h:166
↓ 1 callers
Method
DetachWindow
native-activity/app/src/main/cpp/main.cpp:95
↓ 1 callers
Method
DisablePointLight
endless-tunnel/app/src/main/cpp/our_shader.cpp:91
↓ 1 callers
Function
DiscardPendingException
exceptions/app/src/main/cpp/exception_helper.cpp:114
↓ 1 callers
Method
DisplayImage
* Convert yuv image inside AImage into ANativeWindow_Buffer * ANativeWindow_Buffer format is guaranteed to be * WINDOW_FORMAT_RGBX_8888 *
camera/basic/src/main/cpp/image_reader.cpp:209
↓ 1 callers
Method
DoTick
native-activity/app/src/main/cpp/main.cpp:164
↓ 1 callers
Function
DrawFrame
sensor-graph/accelerometer/src/main/cpp/sensorgraph.cpp:267
↓ 1 callers
Method
DrawFrame
* The main function rendering a frame. In our case, it is yuv to RGBA8888 * converter */
camera/basic/src/main/cpp/camera_engine.cpp:155
↓ 1 callers
Function
DumpProfileDataIfNeeded
orderfile/app/src/main/cpp/orderfile.cpp:17
↓ 1 callers
Method
EnablePointLight
endless-tunnel/app/src/main/cpp/our_shader.cpp:85
↓ 1 callers
Method
Flip
camera/texture-view/src/main/cpp/camera_manager.cpp:149
↓ 1 callers
Method
Flip
camera/basic/src/main/cpp/camera_manager.cpp:147
↓ 1 callers
Method
GameLoop
endless-tunnel/app/src/main/cpp/native_engine.cpp:100
↓ 1 callers
Method
Generate
endless-tunnel/app/src/main/cpp/obstacle_generator.cpp:21
↓ 1 callers
Method
GetActiveSamplerInfo
Return used sampler names and units so application could configure shader's sampler uniform(s). Cubemap just used one sampler at unit 0 with "
teapots/image-decoder/src/main/cpp/Texture.cpp:261
↓ 1 callers
Method
GetActiveSamplerInfo
Return used sampler names and units so application could configure shader's sampler uniform(s). Cubemap just used one sampler at unit 0 with "
teapots/textured-teapot/src/main/cpp/Texture.cpp:102
↓ 1 callers
Method
GetAndroidApp
endless-tunnel/app/src/main/cpp/native_engine.cpp:568
↓ 1 callers
Method
GetBoxSize
endless-tunnel/app/src/main/cpp/obstacle.hpp:40
↓ 1 callers
Function
GetCameraDeviceErrorStr
camera/camera-utils/src/main/cpp/camera_utils.cpp:452
↓ 1 callers
Method
GetDisplay
teapots/common/ndk_helper/GLContext.h:109
↓ 1 callers
Function
GetErrorStr
camera/camera-utils/src/main/cpp/camera_utils.cpp:64
↓ 1 callers
Function
GetExceptionSummary
* Returns a human-readable summary of an exception object. The buffer will * be populated with the "binary" class name and, if present, the * excep
exceptions/app/src/main/cpp/exception_helper.cpp:56
↓ 1 callers
Method
GetExposureRange
* Retrieve Camera Exposure adjustable range. * * @param min Camera minimium exposure time in nanoseconds * @param max Camera maximum exposure tiem
camera/basic/src/main/cpp/camera_manager.cpp:452
↓ 1 callers
Method
GetFile
base/src/main/cpp/logging.cpp:200
↓ 1 callers
Function
GetFileBasename
base/src/main/cpp/logging.cpp:43
↓ 1 callers
Function
GetFormatStr
camera/camera-utils/src/main/cpp/camera_utils.cpp:286
↓ 1 callers
Method
GetGLVersion
teapots/common/ndk_helper/GLContext.h:106
↓ 1 callers
Method
GetJniEnv
endless-tunnel/app/src/main/cpp/native_engine.cpp:122
↓ 1 callers
Method
GetLineNumber
base/src/main/cpp/logging.cpp:202
↓ 1 callers
Method
GetNav
endless-tunnel/app/src/main/cpp/ui_scene.hpp:166
← previous
next →
201–300 of 1,557, ranked by callers