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
↓ 37 callers
Function
Random
endless-tunnel/app/src/main/cpp/util.cpp:21
↓ 32 callers
Method
data
vectorization/src/main/cpp/matrix.h:47
↓ 22 callers
Method
AttachCurrentThread
* Attach current thread * In Android, the thread doesn't have to be 'Detach' current thread * as application process is only killed and VM does
teapots/common/ndk_helper/JNIHelper.h:295
↓ 21 callers
Method
DetachCurrentThread
teapots/common/ndk_helper/JNIHelper.h:307
↓ 20 callers
Method
CallVoidMethod
teapots/common/ndk_helper/JNIHelper.cpp:576
↓ 20 callers
Method
resize
gles3jni/app/src/main/cpp/gles3jni.cpp:132
↓ 19 callers
Function
Clock
endless-tunnel/app/src/main/cpp/util.cpp:32
↓ 17 callers
Method
loadLibrary
(String soname)
teapots/more-teapots/src/main/java/com/sample/helper/NDKHelper.java:55
↓ 16 callers
Function
CleanUp
endless-tunnel/app/src/main/cpp/util.hpp:24
↓ 15 callers
Method
Detect
teapots/common/ndk_helper/gestureDetector.cpp:42
↓ 15 callers
Method
SetConfiguration
teapots/common/ndk_helper/gestureDetector.cpp:33
↓ 14 callers
Method
CallObjectMethod
teapots/common/ndk_helper/JNIHelper.cpp:551
↓ 14 callers
Method
checkGlError
(String op)
native-codec/app/src/main/java/com/example/nativecodec/MyGLSurfaceView.java:280
↓ 13 callers
Method
GetScreenAspect
Returns screen's aspect ratio
endless-tunnel/app/src/main/cpp/scene_manager.hpp:58
↓ 12 callers
Method
Ptr
teapots/common/ndk_helper/vecmath.h:757
↓ 12 callers
Function
_checkError
endless-tunnel/app/src/main/cpp/sfxman.cpp:32
↓ 12 callers
Function
fixed_sin
bitmap-plasma/app/src/main/cpp/plasma.cpp:111
↓ 11 callers
Function
Clamp
endless-tunnel/app/src/main/cpp/util.hpp:43
↓ 11 callers
Method
RequestNewScene
endless-tunnel/app/src/main/cpp/scene_manager.cpp:35
↓ 11 callers
Method
SetFontScale
endless-tunnel/app/src/main/cpp/text_renderer.cpp:53
↓ 11 callers
Method
value
* return absolute value from relative value * value: in percent (50 for 50%) */
camera/basic/src/main/cpp/camera_manager.h:45
↓ 10 callers
Method
GetANativeWindow
teapots/common/ndk_helper/GLContext.h:100
↓ 10 callers
Method
GetPointer
teapots/common/ndk_helper/gestureDetector.cpp:287
↓ 10 callers
Method
GetPointers
teapots/common/ndk_helper/gestureDetector.cpp:195
↓ 10 callers
Method
GetScreenHeight
teapots/common/ndk_helper/GLContext.h:102
↓ 10 callers
Method
GetScreenWidth
teapots/common/ndk_helper/GLContext.h:101
↓ 10 callers
Function
Init
hello-gl2/app/src/main/cpp/gl_code.cpp:167
↓ 10 callers
Method
Invalidate
teapots/common/ndk_helper/GLContext.cpp:247
↓ 10 callers
Method
SetText
endless-tunnel/app/src/main/cpp/ui_scene.hpp:192
↓ 10 callers
Function
checkGlError
hello-gl2/app/src/main/cpp/gl_code.cpp:37
↓ 9 callers
Method
SetTextColor
endless-tunnel/app/src/main/cpp/ui_scene.hpp:197
↓ 8 callers
Method
SetCenter
endless-tunnel/app/src/main/cpp/tex_quad.hpp:68
↓ 8 callers
Method
SetTransition
endless-tunnel/app/src/main/cpp/ui_scene.hpp:175
↓ 7 callers
Method
GetId
endless-tunnel/app/src/main/cpp/ui_scene.hpp:164
↓ 7 callers
Method
add
unit-test/app/src/main/java/com/example/unittest/MainActivity.kt:25
↓ 7 callers
Method
toString
()
native-midi/app/src/main/java/com/example/nativemidi/MainActivity.java:269
↓ 7 callers
Method
update
sensor-graph/accelerometer/src/main/cpp/sensorgraph.cpp:194
↓ 6 callers
Function
GetTagStr
camera/camera-utils/src/main/cpp/camera_utils.cpp:270
↓ 6 callers
Method
SetColor
endless-tunnel/app/src/main/cpp/text_renderer.hpp:40
↓ 6 callers
Method
SetIsButton
endless-tunnel/app/src/main/cpp/ui_scene.hpp:209
↓ 6 callers
Method
SetSize
endless-tunnel/app/src/main/cpp/ui_scene.hpp:186
↓ 6 callers
Method
TransformPosition
teapots/classic-teapot/src/main/cpp/TeapotNativeActivity.cpp:349
↓ 6 callers
Method
TransformPosition
teapots/image-decoder/src/main/cpp/TeapotNativeActivity.cpp:349
↓ 6 callers
Method
TransformPosition
teapots/textured-teapot/src/main/cpp/TeapotNativeActivity.cpp:349
↓ 6 callers
Method
TransformPosition
teapots/more-teapots/src/main/cpp/MoreTeapotsNativeActivity.cpp:360
↓ 6 callers
Method
TransformPosition
teapots/choreographer-30fps/src/main/cpp/ChoreographerNativeActivity.cpp:541
↓ 6 callers
Function
_report_key_state
endless-tunnel/app/src/main/cpp/input_util.cpp:81
↓ 6 callers
Method
findConfigAttrib
(EGL10 egl, EGLDisplay display, EGLConfig config, int attribute, int defaultValue)
hello-gl2/app/src/main/java/com/android/gl2jni/GL2JNIView.java:212
↓ 6 callers
Method
post
native-codec/app/src/main/cpp/looper.cpp:71
↓ 5 callers
Function
AcquireASensorManagerInstance
teapots/common/ndk_helper/sensorManager.cpp:67
↓ 5 callers
Method
BeginDrag
---------------------------------------------------------- Drag control ----------------------------------------------------------
teapots/common/ndk_helper/tapCamera.cpp:181
↓ 5 callers
Method
BeginPinch
---------------------------------------------------------- Pinch controll ----------------------------------------------------------
teapots/common/ndk_helper/tapCamera.cpp:218
↓ 5 callers
Method
Drag
teapots/common/ndk_helper/tapCamera.cpp:205
↓ 5 callers
Method
EndDrag
teapots/common/ndk_helper/tapCamera.cpp:196
↓ 5 callers
Method
IsClickableButton
endless-tunnel/app/src/main/cpp/ui_scene.hpp:229
↓ 5 callers
Method
Pinch
teapots/common/ndk_helper/tapCamera.cpp:256
↓ 5 callers
Method
PlayTone
endless-tunnel/app/src/main/cpp/sfxman.cpp:221
↓ 5 callers
Method
RenderText
endless-tunnel/app/src/main/cpp/text_renderer.cpp:94
↓ 5 callers
Method
Reset
endless-tunnel/app/src/main/cpp/util.hpp:113
↓ 5 callers
Method
Reset
teapots/common/ndk_helper/tapCamera.cpp:173
↓ 5 callers
Method
Resume
teapots/common/ndk_helper/GLContext.cpp:200
↓ 5 callers
Method
SetColorsOffset
endless-tunnel/app/src/main/cpp/vertexbuf.hpp:44
↓ 5 callers
Method
SetFlip
teapots/common/ndk_helper/tapCamera.h:99
↓ 5 callers
Method
SetPinchTransformFactor
teapots/common/ndk_helper/tapCamera.h:104
↓ 5 callers
Function
SineWave
endless-tunnel/app/src/main/cpp/util.cpp:48
↓ 5 callers
Method
Suspend
teapots/common/ndk_helper/GLContext.cpp:240
↓ 5 callers
Method
Value
teapots/common/ndk_helper/vecmath.h:192
↓ 5 callers
Function
add
unit-test/app/src/main/cpp/adder.cpp:3
↓ 5 callers
Function
palette_from_fixed
bitmap-plasma/app/src/main/cpp/plasma.cpp:154
↓ 5 callers
Method
selectClip
(int which, int count)
native-audio/app/src/main/java/com/example/nativeaudio/NativeAudio.java:393
↓ 5 callers
Method
sendMessages
(byte[] msgBuff)
native-midi/app/src/main/java/com/example/nativemidi/AppMidiManager.java:120
↓ 4 callers
Function
Benchmark
* Benchmarks a given matrix multiply operation. * * The multiply is given here as a callback to try to keep Clang from folding, * unrolling, or inl
vectorization/src/main/cpp/benchmark.cpp:50
↓ 4 callers
Function
GetAppEngine
camera/basic/src/main/cpp/android_main.cpp:25
↓ 4 callers
Method
GetCurrentTime
teapots/common/ndk_helper/perfMonitor.h:51
↓ 4 callers
Method
GetScreenHeight
Returns screen height in pixels
endless-tunnel/app/src/main/cpp/scene_manager.hpp:55
↓ 4 callers
Function
GetSectionCenterY
endless-tunnel/app/src/main/cpp/play_scene.cpp:408
↓ 4 callers
Method
GetSeverity
base/src/main/cpp/logging.cpp:204
↓ 4 callers
Method
GetStride
endless-tunnel/app/src/main/cpp/vertexbuf.hpp:38
↓ 4 callers
Method
Init
-------------------------------------------------------------------------------- Init ----------------------------------------------------------------
teapots/more-teapots/src/main/cpp/MoreTeapotsRenderer.cpp:49
↓ 4 callers
Function
Interpolate
endless-tunnel/app/src/main/cpp/util.hpp:51
↓ 4 callers
Method
RegisterCallback
camera/basic/src/main/cpp/image_reader.cpp:80
↓ 4 callers
Method
SetTintColor
endless-tunnel/app/src/main/cpp/shader.cpp:247
↓ 4 callers
Method
Supported
camera/basic/src/main/cpp/camera_manager.h:50
↓ 4 callers
Method
Swap
teapots/common/ndk_helper/GLContext.cpp:161
↓ 4 callers
Function
YUV2RGB
camera/basic/src/main/cpp/image_reader.cpp:172
↓ 4 callers
Function
_put_vertex
endless-tunnel/app/src/main/cpp/tex_quad.cpp:18
↓ 4 callers
Function
createResampledBuf
* Only support up-sampling */
native-audio/app/src/main/cpp/native-audio-jni.cpp:142
↓ 4 callers
Method
getBitmapHeight
(Bitmap bmp)
teapots/classic-teapot/src/main/java/com/sample/helper/NDKHelper.java:273
↓ 4 callers
Method
getBitmapHeight
(Bitmap bmp)
teapots/image-decoder/src/main/java/com/sample/helper/NDKHelper.java:273
↓ 4 callers
Method
getBitmapHeight
(Bitmap bmp)
teapots/textured-teapot/src/main/java/com/sample/helper/NDKHelper.java:273
↓ 4 callers
Method
getBitmapHeight
(Bitmap bmp)
teapots/more-teapots/src/main/java/com/sample/helper/NDKHelper.java:273
↓ 4 callers
Method
getBitmapHeight
(Bitmap bmp)
teapots/choreographer-30fps/src/main/java/com/sample/helper/NDKHelper.java:273
↓ 4 callers
Method
getBitmapWidth
(Bitmap bmp)
teapots/classic-teapot/src/main/java/com/sample/helper/NDKHelper.java:269
↓ 4 callers
Method
getBitmapWidth
(Bitmap bmp)
teapots/image-decoder/src/main/java/com/sample/helper/NDKHelper.java:269
↓ 4 callers
Method
getBitmapWidth
(Bitmap bmp)
teapots/textured-teapot/src/main/java/com/sample/helper/NDKHelper.java:269
↓ 4 callers
Method
getBitmapWidth
(Bitmap bmp)
teapots/more-teapots/src/main/java/com/sample/helper/NDKHelper.java:269
↓ 4 callers
Method
getBitmapWidth
(Bitmap bmp)
teapots/choreographer-30fps/src/main/java/com/sample/helper/NDKHelper.java:269
↓ 4 callers
Function
getVolume
native-audio/app/src/main/cpp/native-audio-jni.cpp:550
↓ 4 callers
Function
loadShader
hello-gl2/app/src/main/cpp/gl_code.cpp:55
↓ 4 callers
Method
make3ByteMsgBuff
Create a MIDI data stream, containing a set of 3-value messages (potentially using Running Status) each of the specific message-code/channel with asso
native-midi/app/src/main/java/com/example/nativemidi/MidiDataHelper.java:38
next →
1–100 of 1,557, ranked by callers