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
↓ 1 callers
Method
GetNextImage
* GetNextImage() * Retrieve the next image in ImageReader's bufferQueue, NOT the last image so * no image is skipped. Recommended for batch/backgr
camera/basic/src/main/cpp/image_reader.cpp:115
↓ 1 callers
Method
GetPositionsOffset
endless-tunnel/app/src/main/cpp/vertexbuf.hpp:40
↓ 1 callers
Method
GetSavedNativeWinFormat
* Retrieve saved native window format * @return format of native window */
camera/basic/src/main/cpp/android_main.cpp:149
↓ 1 callers
Method
GetSavedNativeWinHeight
* Retrieve saved native window height. * @return height of native window */
camera/basic/src/main/cpp/android_main.cpp:141
↓ 1 callers
Method
GetSavedNativeWinWidth
* Retrieve saved native window width. * @return width of native window */
camera/basic/src/main/cpp/android_main.cpp:133
↓ 1 callers
Method
GetScreenWidth
Returns screen width in pixels
endless-tunnel/app/src/main/cpp/scene_manager.hpp:52
↓ 1 callers
Function
GetSectionEndY
endless-tunnel/app/src/main/cpp/play_scene.cpp:412
↓ 1 callers
Method
GetSensitivityRange
* Retrieve Camera sensitivity range. * * @param min Camera minimium sensitivity * @param max Camera maximum sensitivity * * @return true min and
camera/basic/src/main/cpp/camera_manager.cpp:473
↓ 1 callers
Method
GetSensorOrientation
* GetSensorOrientation() * Retrieve current sensor orientation regarding to the phone device * orientation * SensorOrientation is NOT setta
camera/texture-view/src/main/cpp/camera_manager.cpp:376
↓ 1 callers
Method
GetSensorOrientation
* GetSensorOrientation() * Retrieve current sensor orientation regarding to the phone device * orientation * SensorOrientation is NOT setta
camera/basic/src/main/cpp/camera_manager.cpp:354
↓ 1 callers
Method
GetSurface
teapots/common/ndk_helper/GLContext.h:110
↓ 1 callers
Method
GetSurfaceObject
* @return cached {@link Surface} object */
camera/texture-view/src/main/cpp/camera_engine.cpp:65
↓ 1 callers
Method
GetTag
base/src/main/cpp/logging.cpp:206
↓ 1 callers
Method
GetTexCoordsOffset
endless-tunnel/app/src/main/cpp/vertexbuf.hpp:48
↓ 1 callers
Method
GetTexType
teapots/image-decoder/src/main/cpp/Texture.cpp:205
↓ 1 callers
Method
HandleCommand
endless-tunnel/app/src/main/cpp/native_engine.cpp:136
↓ 1 callers
Method
HandleInput
endless-tunnel/app/src/main/cpp/native_engine.cpp:266
↓ 1 callers
Function
HandleInputEvents
* Process user touch and key events. GameActivity double buffers those events, * applications can process at any time. All of the buffered events hav
hello-vulkan/app/src/main/cpp/vk_main.cpp:105
↓ 1 callers
Method
HasBonus
endless-tunnel/app/src/main/cpp/obstacle.hpp:72
↓ 1 callers
Method
HasGraphics
Returns whether or not we have graphics (i.e. OpenGL context etc)
endless-tunnel/app/src/main/cpp/scene_manager.hpp:61
↓ 1 callers
Method
HasTexCoords
endless-tunnel/app/src/main/cpp/vertexbuf.hpp:46
↓ 1 callers
Method
ImageCallback
camera/basic/src/main/cpp/image_reader.cpp:86
↓ 1 callers
Method
InitDisplay
* Initialize an EGL context for the current display. */
teapots/classic-teapot/src/main/cpp/TeapotNativeActivity.cpp:121
↓ 1 callers
Method
InitDisplay
* Initialize an EGL context for the current display. */
teapots/image-decoder/src/main/cpp/TeapotNativeActivity.cpp:121
↓ 1 callers
Method
InitDisplay
* Initialize an EGL context for the current display. */
teapots/textured-teapot/src/main/cpp/TeapotNativeActivity.cpp:121
↓ 1 callers
Method
InitDisplay
* Initialize an EGL context for the current display. */
teapots/more-teapots/src/main/cpp/MoreTeapotsNativeActivity.cpp:131
↓ 1 callers
Method
InitDisplay
* Initialize an EGL context for the current display. */
teapots/choreographer-30fps/src/main/cpp/ChoreographerNativeActivity.cpp:342
↓ 1 callers
Method
InitFromRawRGB
endless-tunnel/app/src/main/cpp/texture.cpp:20
↓ 1 callers
Method
InitSensors
------------------------------------------------------------------------- Sensor handlers ------------------------------------------------------------
teapots/classic-teapot/src/main/cpp/TeapotNativeActivity.cpp:296
↓ 1 callers
Method
InitSensors
------------------------------------------------------------------------- Sensor handlers ------------------------------------------------------------
teapots/image-decoder/src/main/cpp/TeapotNativeActivity.cpp:296
↓ 1 callers
Method
InitSensors
------------------------------------------------------------------------- Sensor handlers ------------------------------------------------------------
teapots/textured-teapot/src/main/cpp/TeapotNativeActivity.cpp:296
↓ 1 callers
Method
InitSensors
------------------------------------------------------------------------- Sensor handlers ------------------------------------------------------------
teapots/more-teapots/src/main/cpp/MoreTeapotsNativeActivity.cpp:307
↓ 1 callers
Method
IsButton
endless-tunnel/app/src/main/cpp/ui_scene.hpp:165
↓ 1 callers
Method
IsPortrait
camera/texture-view/src/main/cpp/camera_manager.cpp:150
↓ 1 callers
Method
IsPortrait
camera/basic/src/main/cpp/camera_manager.cpp:148
↓ 1 callers
Method
IsSameRatio
camera/texture-view/src/main/cpp/camera_manager.cpp:136
↓ 1 callers
Method
IsSameRatio
camera/basic/src/main/cpp/camera_manager.cpp:134
↓ 1 callers
Function
LogIdTolog_id_t
base/src/main/cpp/logging.cpp:53
↓ 1 callers
Function
LogSeverityToPriority
base/src/main/cpp/logging.cpp:69
↓ 1 callers
Method
MatchCaptureSizeRequest
* Find a compatible camera modes: * 1) the same aspect ration as the native display window, which should be a * rotated version of the phys
camera/texture-view/src/main/cpp/camera_manager.cpp:168
↓ 1 callers
Method
MatchCaptureSizeRequest
* Find a compatible camera modes: * 1) the same aspect ration as the native display window, which should be a * rotated version of the phys
camera/basic/src/main/cpp/camera_manager.cpp:166
↓ 1 callers
Function
MultiplyWithAutoVectorization
vectorization/src/main/cpp/auto_vectorization.h:38
↓ 1 callers
Function
MultiplyWithClangVectors
vectorization/src/main/cpp/clang_vector.h:38
↓ 1 callers
Function
MultiplyWithOpenMP
vectorization/src/main/cpp/omp_simd.h:38
↓ 1 callers
Method
OnAppConfigChange
* Handle APP_CMD_CONFIG_CHANGED */
camera/basic/src/main/cpp/android_main.cpp:118
↓ 1 callers
Method
OnAppInitWindow
* Handle Android System APP_CMD_INIT_WINDOW message * Request camera persmission from Java side * Create camera object if camera has been grante
camera/basic/src/main/cpp/android_main.cpp:88
↓ 1 callers
Method
OnAppTermWindow
* Handle APP_CMD_TEMR_WINDOW */
camera/basic/src/main/cpp/android_main.cpp:110
↓ 1 callers
Method
OnBackKeyPressed
endless-tunnel/app/src/main/cpp/scene_manager.cpp:136
↓ 1 callers
Method
OnBackKeyPressed
endless-tunnel/app/src/main/cpp/scene.cpp:29
↓ 1 callers
Method
OnDeviceError
* Handles Camera's deviceErrorChanges message, no action; * mainly debugging purpose * * */
camera/texture-view/src/main/cpp/camera_listeners.cpp:108
↓ 1 callers
Method
OnDeviceError
* Handles Camera's deviceErrorChanges message, no action; * mainly debugging purpose * * */
camera/basic/src/main/cpp/camera_listeners.cpp:108
↓ 1 callers
Method
OnDeviceState
* Handle Camera DeviceStateChanges msg, notify device is disconnected * simply close the camera */
camera/texture-view/src/main/cpp/camera_listeners.cpp:94
↓ 1 callers
Method
OnDeviceState
* Handle Camera DeviceStateChanges msg, notify device is disconnected * simply close the camera */
camera/basic/src/main/cpp/camera_listeners.cpp:94
↓ 1 callers
Method
OnExposureChanged
(long exposure)
camera/basic/src/main/java/com/sample/camera/basic/CameraActivity.java:372
↓ 1 callers
Method
OnInstall
endless-tunnel/app/src/main/cpp/scene.cpp:21
↓ 1 callers
Method
OnJoy
endless-tunnel/app/src/main/cpp/scene.cpp:32
↓ 1 callers
Method
OnKeyDown
endless-tunnel/app/src/main/cpp/scene.cpp:30
↓ 1 callers
Method
OnKeyUp
endless-tunnel/app/src/main/cpp/scene.cpp:31
↓ 1 callers
Method
OnKillGraphics
endless-tunnel/app/src/main/cpp/scene.cpp:25
↓ 1 callers
Method
OnPause
endless-tunnel/app/src/main/cpp/scene.cpp:34
↓ 1 callers
Method
OnPhotoTaken
camera/basic/src/main/cpp/camera_ui.cpp:95
↓ 1 callers
Method
OnPointerDown
endless-tunnel/app/src/main/cpp/scene.cpp:26
↓ 1 callers
Method
OnPointerMove
endless-tunnel/app/src/main/cpp/scene.cpp:28
↓ 1 callers
Method
OnPointerUp
endless-tunnel/app/src/main/cpp/scene.cpp:27
↓ 1 callers
Method
OnResume
endless-tunnel/app/src/main/cpp/scene.cpp:35
↓ 1 callers
Method
OnScreenResized
endless-tunnel/app/src/main/cpp/scene.cpp:33
↓ 1 callers
Method
OnSensitivityChanged
(long sensitivity)
camera/basic/src/main/java/com/sample/camera/basic/CameraActivity.java:373
↓ 1 callers
Method
OnStartGraphics
endless-tunnel/app/src/main/cpp/scene.cpp:24
↓ 1 callers
Method
OnUninstall
endless-tunnel/app/src/main/cpp/scene.cpp:23
↓ 1 callers
Method
Pause
Pauses ticking the application. When paused, sensor and input events will still be processed, but the update and render parts of the loop will not ru
native-activity/app/src/main/cpp/main.cpp:129
↓ 1 callers
Method
PointBelongs
endless-tunnel/app/src/main/cpp/ui_scene.hpp:223
↓ 1 callers
Function
PrintLensFacing
camera/camera-utils/src/main/cpp/camera_utils.cpp:298
↓ 1 callers
Function
PrintStreamConfigurations
* Stream_Configuration is in format of: * format, width, height, input? * ACAMERA_TYPE_INT32 type */
camera/camera-utils/src/main/cpp/camera_utils.cpp:310
↓ 1 callers
Function
PrintTagVal
camera/camera-utils/src/main/cpp/camera_utils.cpp:326
↓ 1 callers
Method
ProcessSensors
teapots/classic-teapot/src/main/cpp/TeapotNativeActivity.cpp:304
↓ 1 callers
Method
ProcessSensors
teapots/image-decoder/src/main/cpp/TeapotNativeActivity.cpp:304
↓ 1 callers
Method
ProcessSensors
teapots/textured-teapot/src/main/cpp/TeapotNativeActivity.cpp:304
↓ 1 callers
Method
ProcessSensors
teapots/more-teapots/src/main/cpp/MoreTeapotsNativeActivity.cpp:315
↓ 1 callers
Method
PutRandomBonus
endless-tunnel/app/src/main/cpp/obstacle.cpp:21
↓ 1 callers
Method
ReadDelta
endless-tunnel/app/src/main/cpp/util.hpp:107
↓ 1 callers
Method
Render
endless-tunnel/app/src/main/cpp/ui_scene.cpp:313
↓ 1 callers
Method
Render
teapots/classic-teapot/src/main/cpp/TeapotRenderer.cpp:141
↓ 1 callers
Method
Render
teapots/image-decoder/src/main/cpp/TeapotRenderer.cpp:148
↓ 1 callers
Method
Render
teapots/textured-teapot/src/main/cpp/TeapotRenderer.cpp:140
↓ 1 callers
Method
Render
-------------------------------------------------------------------------------- Render --------------------------------------------------------------
teapots/more-teapots/src/main/cpp/MoreTeapotsRenderer.cpp:267
↓ 1 callers
Method
Render
teapots/choreographer-30fps/src/main/cpp/TeapotRenderer.cpp:141
↓ 1 callers
Method
RequestCamera
()
camera/texture-view/src/main/java/com/sample/textureview/ViewActivity.java:190
↓ 1 callers
Method
RequestCamera
()
camera/basic/src/main/java/com/sample/camera/basic/CameraActivity.java:186
↓ 1 callers
Method
ResetColor
endless-tunnel/app/src/main/cpp/text_renderer.hpp:46
↓ 1 callers
Method
ResetMatrix
endless-tunnel/app/src/main/cpp/text_renderer.hpp:48
↓ 1 callers
Method
Resume
Resumes ticking the application.
native-activity/app/src/main/cpp/main.cpp:108
↓ 1 callers
Method
ResumeSensors
teapots/classic-teapot/src/main/cpp/TeapotNativeActivity.cpp:315
↓ 1 callers
Method
ResumeSensors
teapots/image-decoder/src/main/cpp/TeapotNativeActivity.cpp:315
↓ 1 callers
Method
ResumeSensors
teapots/textured-teapot/src/main/cpp/TeapotNativeActivity.cpp:315
↓ 1 callers
Method
ResumeSensors
teapots/more-teapots/src/main/cpp/MoreTeapotsNativeActivity.cpp:326
↓ 1 callers
Method
RetrieveClass
--------------------------------------------------------------------------- Misc implementations -----------------------------------------------------
teapots/common/ndk_helper/JNIHelper.cpp:500
↓ 1 callers
Method
RunOnUiThreadHandler
(long pointer)
teapots/classic-teapot/src/main/java/com/sample/helper/NDKHelper.java:358
↓ 1 callers
Method
RunOnUiThreadHandler
(long pointer)
teapots/image-decoder/src/main/java/com/sample/helper/NDKHelper.java:358
↓ 1 callers
Method
RunOnUiThreadHandler
(long pointer)
teapots/textured-teapot/src/main/java/com/sample/helper/NDKHelper.java:358
↓ 1 callers
Method
RunOnUiThreadHandler
(long pointer)
teapots/more-teapots/src/main/java/com/sample/helper/NDKHelper.java:358
← previous
next →
301–400 of 1,557, ranked by callers