/frameworks/native/include/android/ |
H A D | native_window.h | 35 struct ANativeWindow; 36 typedef struct ANativeWindow ANativeWindow; typedef in typeref:struct:ANativeWindow 60 * Acquire a reference on the given ANativeWindow object. This prevents the object 63 void ANativeWindow_acquire(ANativeWindow* window); 68 void ANativeWindow_release(ANativeWindow* window); 74 int32_t ANativeWindow_getWidth(ANativeWindow* window); 80 int32_t ANativeWindow_getHeight(ANativeWindow* window); 86 int32_t ANativeWindow_getFormat(ANativeWindow* window); 102 int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* windo [all...] |
H A D | native_window_jni.h | 29 * Return the ANativeWindow associated with a Java Surface object, 31 * on the ANativeWindow that is returned; be sure to use ANativeWindow_release() 34 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface);
|
H A D | native_activity.h | 168 void (*onNativeWindowCreated)(ANativeActivity* activity, ANativeWindow* window); 175 void (*onNativeWindowResized)(ANativeActivity* activity, ANativeWindow* window); 183 void (*onNativeWindowRedrawNeeded)(ANativeActivity* activity, ANativeWindow* window); 193 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/native/include/ui/ |
H A D | FramebufferNativeWindow.h | 47 ANativeWindow, 68 static int setSwapInterval(ANativeWindow* window, int interval); 69 static int dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, int* fenceFd); 70 static int queueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd); 71 static int query(const ANativeWindow* window, int what, int* value); 72 static int perform(ANativeWindow* window, int operation, ...); 74 static int dequeueBuffer_DEPRECATED(ANativeWindow* window, ANativeWindowBuffer** buffer); 75 static int queueBuffer_DEPRECATED(ANativeWindow* window, ANativeWindowBuffer* buffer); 76 static int lockBuffer_DEPRECATED(ANativeWindow* window, ANativeWindowBuffer* buffer);
|
/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/native/include/gui/ |
H A D | SurfaceTextureClient.h | 38 : public ANativeObjectBase<ANativeWindow, SurfaceTextureClient, RefBase> 63 // ANativeWindow hooks 64 static int hook_cancelBuffer(ANativeWindow* window, 66 static int hook_dequeueBuffer(ANativeWindow* window, 68 static int hook_perform(ANativeWindow* window, int operation, ...); 69 static int hook_query(const ANativeWindow* window, int what, int* value); 70 static int hook_queueBuffer(ANativeWindow* window, 72 static int hook_setSwapInterval(ANativeWindow* window, int interval); 74 static int hook_cancelBuffer_DEPRECATED(ANativeWindow* window, 76 static int hook_dequeueBuffer_DEPRECATED(ANativeWindow* windo [all...] |
/frameworks/native/libs/ui/ |
H A D | FramebufferNativeWindow.cpp | 67 * In fact this is an implementation of ANativeWindow on top of 141 const_cast<uint32_t&>(ANativeWindow::flags) = fbDev->flags; 142 const_cast<float&>(ANativeWindow::xdpi) = fbDev->xdpi; 143 const_cast<float&>(ANativeWindow::ydpi) = fbDev->ydpi; 144 const_cast<int&>(ANativeWindow::minSwapInterval) = 146 const_cast<int&>(ANativeWindow::maxSwapInterval) = 152 ANativeWindow::setSwapInterval = setSwapInterval; 153 ANativeWindow::dequeueBuffer = dequeueBuffer; 154 ANativeWindow::queueBuffer = queueBuffer; 155 ANativeWindow [all...] |
/frameworks/av/include/media/stagefright/ |
H A D | NativeWindowWrapper.h | 25 // SurfaceTextureClient derives from ANativeWindow which derives from multiple 34 sp<ANativeWindow> getNativeWindow() const {
|
/frameworks/base/include/android_runtime/ |
H A D | android_graphics_SurfaceTexture.h | 28 extern sp<ANativeWindow> android_SurfaceTexture_getNativeWindow(
|
H A D | android_view_Surface.h | 29 /* Gets the underlying ANativeWindow for a Surface. */ 30 extern sp<ANativeWindow> android_view_Surface_getNativeWindow(
|
/frameworks/av/media/libstagefright/include/ |
H A D | SoftwareRenderer.h | 32 const sp<ANativeWindow> &nativeWindow, const sp<MetaData> &meta); 47 sp<ANativeWindow> mNativeWindow;
|
/frameworks/native/opengl/include/EGL/ |
H A D | eglplatform.h | 83 struct ANativeWindow; 86 typedef struct ANativeWindow* EGLNativeWindowType;
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | NativeWindowRenderer.h | 30 // an ANativeWindow. It can apply "rendering mode" and color effects to 41 // the getTargetWindow() function to get the corresponding ANativeWindow 43 // ANativeWindow to OMXCodec::Create() so the codec can decode directly 54 NativeWindowRenderer(sp<ANativeWindow> nativeWindow, int width, int height); 76 void queueInternalBuffer(ANativeWindow* anw, MediaBuffer* buffer); 77 void queueExternalBuffer(ANativeWindow* anw, MediaBuffer* buffer, 86 sp<ANativeWindow> mNativeWindow; 149 // Returns the ANativeWindow corresponds to the SurfaceTexture. 150 ANativeWindow* getTargetWindow();
|
H A D | PreviewRenderer.cpp | 52 ANativeWindow* anw = mSurface.get(); 133 if ((err = mSurface->ANativeWindow::queueBuffer(mSurface.get(), mBuf, -1)) != 0) {
|
/frameworks/base/core/jni/ |
H A D | android_view_TextureView.cpp | 92 static int32_t native_window_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer, 97 static int32_t native_window_unlockAndPost(ANativeWindow* window) { 105 sp<ANativeWindow> window = new SurfaceTextureClient(surfaceTexture); 113 ANativeWindow* nativeWindow = (ANativeWindow*) 117 sp<ANativeWindow> window(nativeWindow); 142 sp<ANativeWindow> window((ANativeWindow*) nativeWindow); 181 sp<ANativeWindow> window((ANativeWindow*) nativeWindo [all...] |
/frameworks/av/services/camera/libcameraservice/camera2/ |
H A D | StreamingProcessor.h | 44 status_t setPreviewWindow(sp<ANativeWindow> window); 96 sp<ANativeWindow> mPreviewWindow; 103 sp<ANativeWindow> mRecordingWindow;
|
H A D | CallbackProcessor.h | 67 sp<ANativeWindow> mCallbackWindow;
|
/frameworks/native/libs/gui/tests/ |
H A D | Surface_test.cpp | 60 sp<ANativeWindow> anw(mSurface); 71 sp<ANativeWindow> anw(mSurface); 81 sp<ANativeWindow> anw(mSurface); 127 sp<ANativeWindow> anw(mSurface);
|
/frameworks/wilhelm/src/android/ |
H A D | MediaPlayer_to_android.h | 44 ANativeWindow *nativeWindow);
|
/frameworks/native/libs/gui/ |
H A D | SurfaceTextureClient.cpp | 63 // Initialize the ANativeWindow function pointers. 64 ANativeWindow::setSwapInterval = hook_setSwapInterval; 65 ANativeWindow::dequeueBuffer = hook_dequeueBuffer; 66 ANativeWindow::cancelBuffer = hook_cancelBuffer; 67 ANativeWindow::queueBuffer = hook_queueBuffer; 68 ANativeWindow::query = hook_query; 69 ANativeWindow::perform = hook_perform; 71 ANativeWindow::dequeueBuffer_DEPRECATED = hook_dequeueBuffer_DEPRECATED; 72 ANativeWindow::cancelBuffer_DEPRECATED = hook_cancelBuffer_DEPRECATED; 73 ANativeWindow [all...] |
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraHardwareInterface.h | 110 /** Set the ANativeWindow to which preview frames are sent */ 111 status_t setPreviewWindow(const sp<ANativeWindow>& buf) 558 static ANativeWindow *__to_anw(void *user) 570 ANativeWindow *a = anw(w); 589 ANativeWindow *a = anw(w); 596 ANativeWindow *a = anw(w); 604 ANativeWindow *a = anw(w); 611 ANativeWindow *a = anw(w); 618 ANativeWindow *a = anw(w); 626 ANativeWindow * [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | DisplayDevice.h | 35 struct ANativeWindow; 73 const sp<ANativeWindow>& nativeWindow, 161 // ANativeWindow this display is rendering into 162 sp<ANativeWindow> mNativeWindow;
|
/frameworks/rs/driver/ |
H A D | rsdGL.h | 69 ANativeWindow *wndSurface; 70 ANativeWindow *currentWndSurface;
|