/frameworks/native/include/android/ |
H A D | native_window.h | 47 struct ANativeWindow; 49 * {@link ANativeWindow} is opaque type that provides access to a native window. 53 typedef struct ANativeWindow ANativeWindow; typedef in typeref:struct:ANativeWindow 56 * {@link ANativeWindow} is a struct that represents a windows buffer. 82 * Acquire a reference on the given ANativeWindow object. This prevents the object 85 void ANativeWindow_acquire(ANativeWindow* window); 90 void ANativeWindow_release(ANativeWindow* window); 96 int32_t ANativeWindow_getWidth(ANativeWindow* window); 102 int32_t ANativeWindow_getHeight(ANativeWindow* windo [all...] |
H A D | native_window_jni.h | 38 * Return the ANativeWindow associated with a Java Surface object, 40 * on the ANativeWindow that is returned; be sure to use ANativeWindow_release() 43 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface);
|
H A D | native_activity.h | 179 void (*onNativeWindowCreated)(ANativeActivity* activity, ANativeWindow* window); 186 void (*onNativeWindowResized)(ANativeActivity* activity, ANativeWindow* window); 194 void (*onNativeWindowRedrawNeeded)(ANativeActivity* activity, ANativeWindow* window); 204 void (*onNativeWindowDestroyed)(ANativeActivity* activity, ANativeWindow* window);
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | nativewindow.h | 7 extern ANativeWindow *getNativeWindow();
|
H A D | nativewindow.cpp | 43 ANativeWindow *getNativeWindow_() 85 ANativeWindow *getNativeWindow()
|
/frameworks/av/include/media/stagefright/ |
H A D | SurfaceUtils.h | 23 struct ANativeWindow; 33 ANativeWindow *nativeWindow /* nonnull */, 35 status_t pushBlankBuffersToNativeWindow(ANativeWindow *nativeWindow /* nonnull */);
|
/frameworks/base/native/android/ |
H A D | native_window.cpp | 27 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface) { 28 sp<ANativeWindow> win = android_view_Surface_getNativeWindow(env, surface); 35 void ANativeWindow_acquire(ANativeWindow* window) { 39 void ANativeWindow_release(ANativeWindow* window) { 43 static int32_t getWindowProp(ANativeWindow* window, int what) { 49 int32_t ANativeWindow_getWidth(ANativeWindow* window) { 53 int32_t ANativeWindow_getHeight(ANativeWindow* window) { 57 int32_t ANativeWindow_getFormat(ANativeWindow* window) { 61 int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, 77 int32_t ANativeWindow_lock(ANativeWindow* windo [all...] |
/frameworks/av/camera/ndk/impl/ |
H A D | ACaptureRequest.h | 25 ACameraOutputTarget(ANativeWindow* window) : mWindow(window) {}; 40 ANativeWindow* mWindow;
|
H A D | ACameraCaptureSession.h | 27 ACaptureSessionOutput(ANativeWindow* window) : mWindow(window) {}; 42 ANativeWindow* mWindow;
|
/frameworks/native/opengl/include/EGL/ |
H A D | eglplatform.h | 88 struct ANativeWindow; 91 typedef struct ANativeWindow* EGLNativeWindowType;
|
/frameworks/base/include/android_runtime/ |
H A D | android_graphics_SurfaceTexture.h | 29 extern sp<ANativeWindow> android_SurfaceTexture_getNativeWindow(JNIEnv* env, jobject thiz);
|
/frameworks/native/libs/gui/tests/ |
H A D | FillBuffer.h | 35 // using the CPU. This assumes that the ANativeWindow is already configured to 39 void produceOneRGBA8Frame(const sp<ANativeWindow>& anw);
|
H A D | Surface_test.cpp | 70 sp<ANativeWindow> anw(mSurface); 81 sp<ANativeWindow> anw(mSurface); 91 sp<ANativeWindow> anw(mSurface); 136 sp<ANativeWindow> anw(mSurface); 153 sp<ANativeWindow> anw(s); 173 sp<ANativeWindow> anw(s); 190 sp<ANativeWindow> window(surface); 229 sp<ANativeWindow> window(surface); 245 sp<ANativeWindow> window(surface);
|
/frameworks/support/v8/renderscript/jni/ |
H A D | android_rscompat_usage_io_driver.cpp | 15 static bool IoGetBuffer(const Context *rsc, Allocation *alloc, ANativeWindow *nw) { 33 extern "C" void rscAllocationSetSurface(RsContext rscR, RsAllocation allocR, ANativeWindow *nw) { 40 ANativeWindow *old = drv->wndSurface; 85 ANativeWindow *nw = drv->wndSurface; 98 ANativeWindow *nw = drv->wndSurface;
|
H A D | android_rscompat_usage_io.cpp | 14 ANativeWindow* s = NULL;
|
/frameworks/native/include/gui/ |
H A D | Surface.h | 37 * An implementation of ANativeWindow that feeds graphics buffers into a 44 * eglSwapBuffers(), which invokes ANativeWindow callbacks defined by 50 : public ANativeObjectBase<ANativeWindow, Surface, RefBase> 147 // ANativeWindow hooks 148 static int hook_cancelBuffer(ANativeWindow* window, 150 static int hook_dequeueBuffer(ANativeWindow* window, 152 static int hook_perform(ANativeWindow* window, int operation, ...); 153 static int hook_query(const ANativeWindow* window, int what, int* value); 154 static int hook_queueBuffer(ANativeWindow* window, 156 static int hook_setSwapInterval(ANativeWindow* windo [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_TextureView.cpp | 101 static int32_t native_window_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer, 106 static int32_t native_window_unlockAndPost(ANativeWindow* window) { 114 sp<ANativeWindow> window = new Surface(producer, true); 122 ANativeWindow* nativeWindow = (ANativeWindow*) 126 sp<ANativeWindow> window(nativeWindow); 151 sp<ANativeWindow> window((ANativeWindow*) nativeWindow); 185 sp<ANativeWindow> window((ANativeWindow*) nativeWindo [all...] |
H A D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 115 err = static_cast<ANativeWindow*>(surface.get())->query(surface.get(), 148 static status_t produceFrame(const sp<ANativeWindow>& anw, 353 static sp<ANativeWindow> getNativeWindow(JNIEnv* env, jobject surface) { 354 sp<ANativeWindow> anw; 371 static sp<ANativeWindow> getNativeWindowFromTexture(JNIEnv* env, jobject surfaceTexture) { 372 sp<ANativeWindow> anw; 413 sp<ANativeWindow> anw; 430 sp<ANativeWindow> anw; 459 sp<ANativeWindow> anw; 485 sp<ANativeWindow> an [all...] |
/frameworks/av/media/libstagefright/include/ |
H A D | SoftwareRenderer.h | 35 const sp<ANativeWindow> &nativeWindow, int32_t rotation = 0); 52 sp<ANativeWindow> mNativeWindow;
|
/frameworks/av/include/ndk/ |
H A D | NdkImageReader.h | 49 * {@link ANativeWindow}. 102 * Get a {@link ANativeWindow} that can be used to produce {@link AImage} for this image reader. 105 * @param window The output {@link ANativeWindow} will be filled here if the method call succeeds. 106 * The {@link ANativeWindow} is managed by this image reader. Do NOT call 113 media_status_t AImageReader_getWindow(AImageReader* reader, /*out*/ANativeWindow** window); 119 * {@link ANativeWindow}. If so, the actual width of the images can be found using 135 * {@link ANativeWindow}. If so, the actual height of the images can be found using
|
H A D | NdkMediaCodec.h | 90 ANativeWindow* surface, 166 media_status_t AMediaCodec_setOutputSurface(AMediaCodec*, ANativeWindow* surface);
|
/frameworks/wilhelm/src/android/ |
H A D | MediaPlayer_to_android.h | 44 ANativeWindow *nativeWindow);
|
/frameworks/av/services/camera/libcameraservice/device1/ |
H A D | CameraHardwareInterface.h | 127 /** Set the ANativeWindow to which preview frames are sent */ 128 status_t setPreviewWindow(const sp<ANativeWindow>& buf) 603 static ANativeWindow *__to_anw(void *user) 617 ANativeWindow *a = anw(w); 636 ANativeWindow *a = anw(w); 644 ANativeWindow *a = anw(w); 652 ANativeWindow *a = anw(w); 659 ANativeWindow *a = anw(w); 705 ANativeWindow *a = anw(w); 720 ANativeWindow * [all...] |
/frameworks/av/media/ndk/ |
H A D | NdkImageReaderPriv.h | 67 ANativeWindow* getWindow() const { return mWindow.get(); }; 134 sp<ANativeWindow> mWindow;
|
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_object.cpp | 79 ANativeWindow* const window = win.get(); 87 ANativeWindow* const window = win.get();
|