Searched refs:window (Results 1 - 25 of 151) sorted by relevance

1234567

/frameworks/base/core/tests/coretests/src/android/database/
H A DCursorWindowTest.java39 CursorWindow window = new CursorWindow("MyWindow");
40 assertEquals("MyWindow", window.getName());
41 assertEquals(0, window.getStartPosition());
42 window.close();
47 CursorWindow window = new CursorWindow("");
48 assertEquals("<unnamed>", window.getName());
49 assertEquals(0, window.getStartPosition());
50 window.close();
55 CursorWindow window = new CursorWindow(null);
56 assertEquals("<unnamed>", window
77 doTestValues(CursorWindow window) argument
[all...]
/frameworks/base/native/android/
H A Dnative_window.cpp35 void ANativeWindow_acquire(ANativeWindow* window) { argument
36 window->incStrong((void*)ANativeWindow_acquire);
39 void ANativeWindow_release(ANativeWindow* window) { argument
40 window->decStrong((void*)ANativeWindow_acquire);
43 static int32_t getWindowProp(ANativeWindow* window, int what) { argument
45 int res = window->query(window, what, &value);
49 int32_t ANativeWindow_getWidth(ANativeWindow* window) { argument
50 return getWindowProp(window, NATIVE_WINDOW_WIDTH);
53 int32_t ANativeWindow_getHeight(ANativeWindow* window) { argument
57 ANativeWindow_getFormat(ANativeWindow* window) argument
61 ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, int32_t height, int32_t format) argument
77 ANativeWindow_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer, ARect* inOutDirtyBounds) argument
82 ANativeWindow_unlockAndPost(ANativeWindow* window) argument
[all...]
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/
H A DTransitionHelperApi21.java27 public static Object getSharedElementEnterTransition(Window window) { argument
28 return window.getSharedElementEnterTransition();
31 public static Object getSharedElementReturnTransition(Window window) { argument
32 return window.getSharedElementReturnTransition();
35 public static Object getSharedElementExitTransition(Window window) { argument
36 return window.getSharedElementExitTransition();
39 public static Object getSharedElementReenterTransition(Window window) { argument
40 return window.getSharedElementReenterTransition();
43 public static Object getEnterTransition(Window window) { argument
44 return window
47 getReturnTransition(Window window) argument
51 getExitTransition(Window window) argument
55 getReenterTransition(Window window) argument
[all...]
/frameworks/native/include/android/
H A Dnative_window.h27 * Pixel formats that a window can use.
63 void ANativeWindow_acquire(ANativeWindow* window);
68 void ANativeWindow_release(ANativeWindow* window);
71 * Return the current width in pixels of the window surface. Returns a
74 int32_t ANativeWindow_getWidth(ANativeWindow* window);
77 * Return the current height in pixels of the window surface. Returns a
80 int32_t ANativeWindow_getHeight(ANativeWindow* window);
83 * Return the current pixel format of the window surface. Returns a
86 int32_t ANativeWindow_getFormat(ANativeWindow* window);
89 * Change the format and size of the window buffer
[all...]
/frameworks/base/core/java/android/database/
H A DCrossProcessCursor.java25 * the cursor can provide a pre-filled window to use via {@link #getWindow} thereby
26 * obviating the need to copy the data to yet another cursor window.
30 * Returns a pre-filled window that contains the data within this cursor.
32 * In particular, the window contains the row indicated by {@link Cursor#getPosition}.
33 * The window's contents are automatically scrolled whenever the current
34 * row moved outside the range covered by the window.
37 * @return The pre-filled window, or null if none.
42 * Copies cursor data into the window.
44 * Clears the window and fills it with data beginning at the requested
46 * or the window run
61 fillWindow(int position, CursorWindow window) argument
[all...]
H A DCursorToBulkCursorAdaptor.java27 * then it is assumed to own the window. Otherwise, the adaptor provides a
28 * window to be filled and ensures it gets closed as needed during deactivation
49 * The cursor window that was filled by the cross process cursor in the
51 * This field is only ever non-null when the window has actually be filled.
146 d.window = mCursor.getWindow();
147 if (d.window != null) {
148 // Acquire a reference to the window because its reference count will be
150 d.window.acquireReference();
166 CursorWindow window = mCursor.getWindow();
167 if (window !
[all...]
H A DCrossProcessCursorWrapper.java46 public void fillWindow(int position, CursorWindow window) { argument
49 crossProcessCursor.fillWindow(position, window);
53 DatabaseUtils.cursorFillWindow(mCursor, position, window);
H A DBulkCursorDescriptor.java48 public CursorWindow window; field in class:BulkCursorDescriptor
61 if (window != null) {
63 window.writeToParcel(out, flags);
75 window = CursorWindow.CREATOR.createFromParcel(in);
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_mpeg2_get_scale_factors.cpp129 int32 window; local
156 for (window = 0; window < 3; window++)
158 scalefac->s[window][sfb] = scalefac_buffer[k];
178 for (window = 0; window < 3; window++)
180 scalefac->s[window][sfb] = scalefac_buffer[k];
H A Dpvmp3_mdct_18.cpp41 const int32 *window sine window used in the mdct, three types are allowed
132 void pvmp3_mdct_18(int32 vec[], int32 *history, const int32 *window) argument
198 vec[ i] = fxp_mac32_Q32(tmp, (vec[i+10]), window[ i]);
208 vec[ 6] = fxp_mac32_Q32(tmp, vec[16] << 1, window[ i]);
215 vec[ 7] = fxp_mac32_Q32(tmp, tmp4 << 1, window[ 7]);
217 vec[ 8] = fxp_mac32_Q32(tmp1, vec[17] << 1, window[ 8]);
222 vec[ 9] = fxp_mac32_Q32(tmp, vec[17] << 1, window[ 9]);
224 vec[17] = fxp_mac32_Q32(tmp1, vec[10] << 1, window[17]);
226 vec[16] = fxp_mac32_Q32(tmp2, vec[11] << 1, window[1
[all...]
H A Dpvmp3_get_scale_factors.cpp140 int32 window; local
154 for (window = 0; window < 3; window++)
156 scalefac->s[window][sfb] = getNbits(pMainData, slen[0][gr_info->scalefac_compress]);
161 for (window = 0; window < 3; window++)
163 scalefac->s[window][sfb] = getNbits(pMainData, slen[1][gr_info->scalefac_compress]);
173 for (window
[all...]
/frameworks/base/core/java/android/view/
H A DIWindowSession.aidl33 * System private per-application interface to the window manager.
38 int add(IWindow window, int seq, in WindowManager.LayoutParams attrs,
41 int addToDisplay(IWindow window, int seq, in WindowManager.LayoutParams attrs,
44 int addWithoutInputChannel(IWindow window, int seq, in WindowManager.LayoutParams attrs,
46 int addToDisplayWithoutInputChannel(IWindow window, int seq, in WindowManager.LayoutParams attrs,
49 void remove(IWindow window);
52 * Change the parameters of a window. You supply the
53 * new parameters, it returns the new frame of the window on screen (the
54 * position should be ignored) and surface of the window. The surface
55 * will be invalid if the window i
[all...]
H A DWindowInfo.java29 * This class represents information about a window from the
30 * window manager to another part of the system.
53 WindowInfo window = sPool.acquire();
54 if (window == null) {
55 window = new WindowInfo();
57 return window;
61 WindowInfo window = obtain();
62 window.type = other.type;
63 window.layer = other.layer;
64 window
[all...]
/frameworks/base/core/jni/
H A Dandroid_database_CursorWindow.cpp68 CursorWindow* window; local
69 status_t status = CursorWindow::create(name, cursorWindowSize, &window);
70 if (status || !window) {
76 LOG_WINDOW("nativeInitializeEmpty: window = %p", window);
77 return reinterpret_cast<jlong>(window);
83 CursorWindow* window; local
84 status_t status = CursorWindow::createFromParcel(parcel, &window);
85 if (status || !window) {
90 LOG_WINDOW("nativeInitializeFromBinder: numRows = %d, numColumns = %d, window
96 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
104 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
110 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
122 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
131 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
137 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
143 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
149 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
155 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
170 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
205 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
297 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
336 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
367 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
398 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
416 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
438 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
452 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
466 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local
[all...]
H A Dandroid_view_TextureView.cpp105 static int32_t native_window_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer, argument
107 return window->perform(window, NATIVE_WINDOW_LOCK, outBuffer, inOutDirtyBounds);
110 static int32_t native_window_unlockAndPost(ANativeWindow* window) { argument
111 return window->perform(window, NATIVE_WINDOW_UNLOCK_AND_POST);
118 sp<ANativeWindow> window = new Surface(producer, true); local
120 window->incStrong((void*)android_view_TextureView_createNativeWindow);
121 SET_LONG(textureView, gTextureViewClassInfo.nativeWindow, jlong(window.get()));
130 sp<ANativeWindow> window(nativeWindo
[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/base/core/java/android/database/sqlite/
H A DSQLiteQuery.java45 * @param window The window to fill into
46 * @param startPos The start position for filling the window.
47 * @param requiredPos The position of a row that MUST be in the window.
50 * return regardless of whether they fit in the window.
57 int fillWindow(CursorWindow window, int startPos, int requiredPos, boolean countAllRows) { argument
60 window.acquireReference();
63 window, startPos, requiredPos, countAllRows, getConnectionFlags(),
73 window.releaseReference();
/frameworks/native/include/ui/
H A DFramebufferNativeWindow.h70 static int setSwapInterval(ANativeWindow* window, int interval);
71 static int dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, int* fenceFd);
72 static int queueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd);
73 static int query(const ANativeWindow* window, int what, int* value);
74 static int perform(ANativeWindow* window, int operation, ...);
76 static int dequeueBuffer_DEPRECATED(ANativeWindow* window, ANativeWindowBuffer** buffer);
77 static int queueBuffer_DEPRECATED(ANativeWindow* window, ANativeWindowBuffer* buffer);
78 static int lockBuffer_DEPRECATED(ANativeWindow* window, ANativeWindowBuffer* buffer);
/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/support/v17/leanback/src/android/support/v17/leanback/transition/
H A DTransitionHelper.java65 public Object getSharedElementEnterTransition(Window window); argument
67 public Object getSharedElementReturnTransition(Window window); argument
69 public Object getSharedElementExitTransition(Window window); argument
71 public Object getSharedElementReenterTransition(Window window); argument
73 public Object getEnterTransition(Window window); argument
75 public Object getReturnTransition(Window window); argument
77 public Object getExitTransition(Window window); argument
79 public Object getReenterTransition(Window window); argument
145 public Object getSharedElementEnterTransition(Window window) { argument
150 public Object getSharedElementReturnTransition(Window window) { argument
155 getSharedElementExitTransition(Window window) argument
160 getSharedElementReenterTransition(Window window) argument
165 getEnterTransition(Window window) argument
170 getReturnTransition(Window window) argument
175 getExitTransition(Window window) argument
180 getReenterTransition(Window window) argument
317 getSharedElementEnterTransition(Window window) argument
322 getSharedElementReturnTransition(Window window) argument
327 getSharedElementExitTransition(Window window) argument
332 getSharedElementReenterTransition(Window window) argument
337 getEnterTransition(Window window) argument
342 getReturnTransition(Window window) argument
347 getExitTransition(Window window) argument
352 getReenterTransition(Window window) argument
491 getSharedElementEnterTransition(Window window) argument
496 getSharedElementReturnTransition(Window window) argument
501 getSharedElementExitTransition(Window window) argument
506 getSharedElementReenterTransition(Window window) argument
511 getEnterTransition(Window window) argument
516 getReturnTransition(Window window) argument
521 getExitTransition(Window window) argument
526 getReenterTransition(Window window) argument
559 getSharedElementEnterTransition(Window window) argument
563 getSharedElementReturnTransition(Window window) argument
567 getSharedElementExitTransition(Window window) argument
571 getSharedElementReenterTransition(Window window) argument
575 getEnterTransition(Window window) argument
579 getReturnTransition(Window window) argument
583 getExitTransition(Window window) argument
587 getReenterTransition(Window window) argument
[all...]
/frameworks/native/opengl/tests/include/
H A DEGLUtils.h24 #include <system/window.h>
48 EGLNativeWindowType window,
124 EGLNativeWindowType window,
130 if (!window)
133 if ((err = window->query(window, NATIVE_WINDOW_FORMAT, &format)) < 0) {
121 selectConfigForNativeWindow( EGLDisplay dpy, EGLint const* attrs, EGLNativeWindowType window, EGLConfig* outConfig) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
H A DBrightnessDialog.java42 final Window window = getWindow();
44 window.setGravity(Gravity.TOP);
45 window.clearFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND);
46 window.requestFeature(Window.FEATURE_NO_TITLE);
/frameworks/native/include/gui/
H A DSurface.h113 static int hook_cancelBuffer(ANativeWindow* window,
115 static int hook_dequeueBuffer(ANativeWindow* window,
117 static int hook_perform(ANativeWindow* window, int operation, ...);
118 static int hook_query(const ANativeWindow* window, int what, int* value);
119 static int hook_queueBuffer(ANativeWindow* window,
121 static int hook_setSwapInterval(ANativeWindow* window, int interval);
123 static int hook_cancelBuffer_DEPRECATED(ANativeWindow* window,
125 static int hook_dequeueBuffer_DEPRECATED(ANativeWindow* window,
127 static int hook_lockBuffer_DEPRECATED(ANativeWindow* window,
129 static int hook_queueBuffer_DEPRECATED(ANativeWindow* window,
[all...]
/frameworks/native/opengl/libs/EGL/
H A Degl_object.cpp75 ANativeWindow* const window = win.get(); local
76 if (window != NULL) {
77 native_window_set_buffers_format(window, 0);
78 if (native_window_api_disconnect(window, NATIVE_WINDOW_API_EGL)) {
79 ALOGW("EGLNativeWindowType %p disconnect failed", window);
/frameworks/base/media/mca/filterfw/jni/
H A Djni_gl_environment.cpp29 #include <system/window.h>
42 NativeWindowHandle(ANativeWindow* window) : window_(window) { argument
142 ANativeWindow* window = ANativeWindow_fromSurface(env, surface); local
143 if (!window) {
144 ALOGE("GLEnvironment: Error creating window!");
148 NativeWindowHandle* winHandle = new NativeWindowHandle(window);
175 window,
179 ALOGE("GLEnvironment: Error creating window surface!");
204 ANativeWindow* window local
295 sp<ANativeWindow> window = surfaceTC; local
[all...]

Completed in 563 milliseconds

1234567