Searched defs:window (Results 51 - 75 of 91) sorted by relevance

1234

/frameworks/av/media/libstagefright/tests/
H A DSurfaceMediaSource_test.cpp106 sp<ANativeWindow> window = mSurfaceControl->getSurface(); local
108 window.get(), NULL);
114 sp<ANativeWindow> window = stc; local
117 window.get(), NULL);
819 // created with the native window handle
/frameworks/av/media/ndk/
H A DNdkMediaCodec.cpp201 ANativeWindow* window,
208 if (window != NULL) {
209 surface = (Surface*) window;
198 AMediaCodec_configure( AMediaCodec *mData, const AMediaFormat* format, ANativeWindow* window, AMediaCrypto *crypto, uint32_t flags) argument
/frameworks/av/services/camera/libcameraservice/api1/
H A DCameraClient.cpp221 static void disconnectWindow(const sp<ANativeWindow>& window) { argument
222 if (window != 0) {
223 status_t result = native_window_api_disconnect(window.get(),
278 const sp<ANativeWindow>& window) {
288 if (window != 0) {
289 result = native_window_api_connect(window.get(), NATIVE_WINDOW_API_CAMERA);
299 if (window != 0) {
300 native_window_set_scaling_mode(window.get(),
302 native_window_set_buffers_transform(window.get(), mOrientation);
303 result = mHardware->setPreviewWindow(window);
277 setPreviewWindow(const sp<IBinder>& binder, const sp<ANativeWindow>& window) argument
329 sp<ANativeWindow> window; local
[all...]
H A DCamera2Client.cpp532 sp<ANativeWindow> window; local
538 window = new Surface(bufferProducer, /*controlledByApp*/ true);
540 return setPreviewWindowL(binder, window);
544 sp<ANativeWindow> window) {
549 ALOGV("%s: Camera %d: New window is same as old window",
585 res = mStreamingProcessor->setPreviewWindow(window);
587 ALOGE("%s: Unable to set new preview window: %s (%d)",
637 // Disable any existing preview callback window when enabling
669 sp<ANativeWindow> window;
543 setPreviewWindowL(const sp<IBinder>& binder, sp<ANativeWindow> window) argument
[all...]
/frameworks/base/core/java/android/database/
H A DAbstractCursor.java107 * window with the contents of the cursor, otherwise null.
109 * @return The pre-filled window that backs this cursor, or null if none.
228 public void fillWindow(int position, CursorWindow window) { argument
229 DatabaseUtils.cursorFillWindow(this, position, window);
H A DCursorWindow.java37 * receives a read-only view of the cursor window. Typically the cursor window
88 * Creates a new empty cursor window and gives it a name.
94 * @param name The name of the cursor window, or null if none.
100 /** The cursor window size. resource xml file specifies the value in kB.
108 throw new CursorWindowAllocationException("Cursor window allocation of " +
116 * Creates a new empty cursor window.
122 * @param localWindow True if this window will be used in this process only,
137 throw new CursorWindowAllocationException("Cursor window could not be "
168 * Gets the name of this cursor window, neve
722 recordNewWindow(int pid, long window) argument
731 recordClosingOfWindow(long window) argument
[all...]
H A DDatabaseUtils.java253 * Fills the specified cursor window by iterating over the contents of the cursor.
254 * The window is filled until the cursor is exhausted or the window runs out
259 * @param cursor The cursor that contains the data to put in the window.
260 * @param position The start position for filling the window.
261 * @param window The window to fill.
265 int position, final CursorWindow window) {
271 window.clear();
272 window
264 cursorFillWindow(final Cursor cursor, int position, final CursorWindow window) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DCommandQueue.java97 public void setWindowState(int window, int state); argument
216 public void setWindowState(int window, int state) { argument
219 mHandler.obtainMessage(MSG_SET_WINDOW_STATE, window, state, null).sendToTarget();
/frameworks/base/services/core/java/com/android/server/statusbar/
H A DStatusBarManagerService.java88 * Construct the service, add the status bar view to the window manager
309 * Hide or show the on-screen Menu key. Only call this from the window manager, typically in
310 * response to a window with {@link android.view.WindowManager.LayoutParams#needsMenuKey} set
366 // also allows calls from window manager which is in this process.
449 public void setWindowState(int window, int state) { argument
452 mBar.setWindowState(window, state);
/frameworks/base/services/core/java/com/android/server/wm/
H A DSession.java53 * Session object per process that is interacting with the window manager.
157 public int add(IWindow window, int seq, WindowManager.LayoutParams attrs, argument
160 return addToDisplay(window, seq, attrs, viewVisibility, Display.DEFAULT_DISPLAY,
165 public int addToDisplay(IWindow window, int seq, WindowManager.LayoutParams attrs, argument
168 return mService.addWindow(this, window, seq, attrs, viewVisibility, displayId,
173 public int addWithoutInputChannel(IWindow window, int seq, WindowManager.LayoutParams attrs, argument
175 return addToDisplayWithoutInputChannel(window, seq, attrs, viewVisibility,
180 public int addToDisplayWithoutInputChannel(IWindow window, int seq, WindowManager.LayoutParams attrs, argument
182 return mService.addWindow(this, window, seq, attrs, viewVisibility, displayId,
186 public void remove(IWindow window) { argument
190 relayout(IWindow window, int seq, WindowManager.LayoutParams attrs, int requestedWidth, int requestedHeight, int viewFlags, int flags, Rect outFrame, Rect outOverscanInsets, Rect outContentInsets, Rect outVisibleInsets, Rect outStableInsets, Configuration outConfig, Surface outSurface) argument
206 performDeferredDestroy(IWindow window) argument
210 outOfMemory(IWindow window) argument
214 setTransparentRegion(IWindow window, Region region) argument
218 setInsets(IWindow window, int touchableInsets, Rect contentInsets, Rect visibleInsets, Region touchableArea) argument
224 getDisplayFrame(IWindow window, Rect outDisplayFrame) argument
228 finishDrawing(IWindow window) argument
246 performHapticFeedback(IWindow window, int effectId, boolean always) argument
261 prepareDrag(IWindow window, int flags, int width, int height, Surface outSurface) argument
267 performDrag(IWindow window, IBinder dragToken, float touchX, float touchY, float thumbCenterX, float thumbCenterY, ClipData data) argument
350 reportDropResult(IWindow window, boolean consumed) argument
390 dragRecipientEntered(IWindow window) argument
396 dragRecipientExited(IWindow window) argument
402 setWallpaperPosition(IBinder window, float x, float y, float xStep, float yStep) argument
415 wallpaperOffsetsComplete(IBinder window) argument
419 setWallpaperDisplayOffset(IBinder window, int x, int y) argument
431 sendWallpaperCommand(IBinder window, String action, int x, int y, int z, Bundle extras, boolean sync) argument
445 wallpaperCommandComplete(IBinder window, Bundle result) argument
449 setUniverseTransform(IBinder window, float alpha, float offx, float offy, float dsdx, float dtdx, float dsdy, float dtdy) argument
474 getWindowId(IBinder window) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeWindowSession.java84 public boolean performHapticFeedback(IWindow window, int effectId, boolean always) { argument
98 public void performDeferredDestroy(IWindow window) { argument
103 public boolean outOfMemory(IWindow window) throws RemoteException { argument
108 public void getDisplayFrame(IWindow window, Rect outDisplayFrame) { argument
128 public void setInsets(IWindow window, int touchable, Rect contentInsets, argument
134 public IBinder prepareDrag(IWindow window, int flags, argument
142 public boolean performDrag(IWindow window, IBinder dragToken, argument
151 public void reportDropResult(IWindow window, boolean consumed) throws RemoteException { argument
156 public void dragRecipientEntered(IWindow window) throws RemoteException { argument
161 public void dragRecipientExited(IWindow window) throw argument
166 setWallpaperPosition(IBinder window, float x, float y, float xStep, float yStep) argument
172 wallpaperOffsetsComplete(IBinder window) argument
182 sendWallpaperCommand(IBinder window, String action, int x, int y, int z, Bundle extras, boolean sync) argument
189 wallpaperCommandComplete(IBinder window, Bundle result) argument
194 setUniverseTransform(IBinder window, float alpha, float offx, float offy, float dsdx, float dtdx, float dsdy, float dtdy) argument
206 onRectangleOnScreenRequested(IBinder window, Rect rectangle) argument
211 getWindowId(IBinder window) argument
[all...]
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.cpp80 ANativeWindow* const window = mNativeWindow.get(); local
92 surface = eglCreateWindowSurface(display, config, window, NULL);
101 // window's swap interval in eglMakeCurrent, so they'll override the
104 window->setSwapInterval(window, 0);
413 ANativeWindow* const window = mNativeWindow.get(); local
414 mSurface = eglCreateWindowSurface(mDisplay, mConfig, window, NULL);
/frameworks/webview/chromium/tests/prebuilts/
H A Dandroid-janktesthelper.jar ... errorText com.android.uiautomator.core.UiObject window } com/android/uiautomator/janktesthelper/UiWatchers$2.class UiWatchers ...
/frameworks/av/camera/tests/
H A DProCameraTests.cpp413 sp<ANativeWindow> window = mSurfaceControl->getSurface(); local
438 sp<ANativeWindow> window = mDepthSurfaceControl->getSurface(); local
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dtns.c70 static Word16 CalcTnsFilter(const Word16* signal, const Word32 window[], Word16 numOfLines,
631 * input: signal spectrum, acf window, no. of spectral lines,
634 *(half) window size must be larger than tnsOrder !!*
638 const Word32 window[],
648 UNUSED(window);
637 CalcTnsFilter(const Word16 *signal, const Word32 window[], Word16 numOfLines, Word16 tnsOrder, Word32 parcor[]) argument
/frameworks/base/core/java/android/app/
H A DActivityTransitionCoordinator.java46 * is created by ActivityOptions#createEnterActivityTransition by Activity when the window is
66 * - If the window allows overlapping transitions, the views transition is started by setting
74 * - If the window doesn't allow overlapping enter transitions, the enter transition is started
77 * - The window is made opaque
102 * - If the window allows overlapping transitions, the views transition is started by setting
111 * - If the window doesn't allow overlapping enter transitions, the enter transition is started
212 public ActivityTransitionCoordinator(Window window, argument
216 mWindow = window;
/frameworks/base/core/java/android/view/
H A DThreadedRenderer.java498 private static native boolean nInitialize(long nativeProxy, Surface window); argument
499 private static native void nUpdateSurface(long nativeProxy, Surface window); argument
500 private static native boolean nPauseSurface(long nativeProxy, Surface window); argument
/frameworks/base/core/java/com/android/internal/app/
H A DAlertController.java178 public AlertController(Context context, DialogInterface di, Window window) { argument
181 mWindow = window;
232 /* We use a custom title so never request a window title */
440 // TODO: Get the padding as a function of the window size.
/frameworks/base/core/jni/
H A Dandroid_app_NativeActivity.cpp32 #include <system/window.h>
493 static int32_t getWindowProp(ANativeWindow* window, int what) { argument
495 int res = window->query(window, what, &value);
H A Dandroid_database_SQLiteConnection.cpp574 static CopyRowResult copyRow(JNIEnv* env, CursorWindow* window, argument
577 status_t status = window->allocRow();
584 // Pack the row into the window.
596 status = window->putString(addedRows, i, text, sizeIncludingNull);
608 status = window->putLong(addedRows, i, value);
619 status = window->putDouble(addedRows, i, value);
631 status = window->putBlob(addedRows, i, blob, size);
642 status = window->putNull(addedRows, i);
653 ALOGE("Unknown column type when filling database window");
654 throw_sqlite3_exception(env, "Unknown column type when filling window");
672 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
[all...]
H A Dandroid_opengl_EGL14.cpp542 android::sp<ANativeWindow> window; local
564 window = android::android_view_Surface_getNativeWindow(_env, win);
566 if (window == NULL)
590 (EGLNativeWindowType)window.get(),
619 android::sp<ANativeWindow> window; local
646 window = new android::Surface(producer, true);
648 if (window == NULL)
672 (EGLNativeWindowType)window.get(),
H A Dandroid_view_ThreadedRenderer.cpp31 #include <system/window.h>
259 sp<ANativeWindow> window = android_view_Surface_getNativeWindow(env, jsurface); local
260 return proxy->initialize(window);
266 sp<ANativeWindow> window; local
268 window = android_view_Surface_getNativeWindow(env, jsurface);
270 proxy->updateSurface(window);
276 sp<ANativeWindow> window; local
278 window = android_view_Surface_getNativeWindow(env, jsurface);
280 return proxy->pauseSurface(window);
H A Dcom_google_android_gles_jni_EGLImpl.cpp325 sp<ANativeWindow> window; local
333 window = android_view_Surface_getNativeWindow(_env, native_window);
334 if (window == NULL)
338 EGLSurface sur = eglCreateWindowSurface(dpy, cnf, window.get(), base);
352 sp<ANativeWindow> window; local
361 window = new Surface(producer, true);
362 if (window == NULL)
366 EGLSurface sur = eglCreateWindowSurface(dpy, cnf, window.get(), base);
/frameworks/native/libs/gui/
H A DSurface.cpp103 int Surface::hook_setSwapInterval(ANativeWindow* window, int interval) { argument
104 Surface* c = getSelf(window);
108 int Surface::hook_dequeueBuffer(ANativeWindow* window, argument
110 Surface* c = getSelf(window);
114 int Surface::hook_cancelBuffer(ANativeWindow* window, argument
116 Surface* c = getSelf(window);
120 int Surface::hook_queueBuffer(ANativeWindow* window, argument
122 Surface* c = getSelf(window);
126 int Surface::hook_dequeueBuffer_DEPRECATED(ANativeWindow* window, argument
128 Surface* c = getSelf(window);
144 hook_cancelBuffer_DEPRECATED(ANativeWindow* window, ANativeWindowBuffer* buffer) argument
150 hook_lockBuffer_DEPRECATED(ANativeWindow* window, ANativeWindowBuffer* buffer) argument
156 hook_queueBuffer_DEPRECATED(ANativeWindow* window, ANativeWindowBuffer* buffer) argument
162 hook_query(const ANativeWindow* window, int what, int* value) argument
168 hook_perform(ANativeWindow* window, int operation, ...) argument
[all...]
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp25 #include <system/window.h>
401 NativeWindowType window,
411 int result = native_window_api_connect(window, NATIVE_WINDOW_API_EGL);
415 window, result);
419 // Set the native window's buffers format to match what this config requests.
422 // modify the EGLconfig's format before setting the native window's
446 ALOGE("sRGB window surfaces not supported");
487 ALOGE("sRGB window surfaces not supported");
495 int err = native_window_set_buffers_format(window, format);
497 ALOGE("error setting native window pixe
400 eglCreateWindowSurface( EGLDisplay dpy, EGLConfig config, NativeWindowType window, const EGLint *attrib_list) argument
[all...]

Completed in 671 milliseconds

1234