Searched defs:window (Results 1 - 25 of 73) sorted by relevance

123

/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 DBulkCursorDescriptor.java48 public CursorWindow window; field in class:BulkCursorDescriptor
61 if (window != null) {
63 window.writeToParcel(out, flags);
75 window = CursorWindow.CREATOR.createFromParcel(in);
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 DAbstractWindowedCursor.java22 * The cursor owns the cursor window it uses. When the cursor is closed,
23 * its window is also closed. Likewise, when the window used by the cursor is
24 * changed, its old window is closed. This policy of strict ownership ensures
27 * Subclasses are responsible for filling the cursor window with data during
28 * {@link #onMove(int, int)}, allocating a new cursor window if necessary.
29 * During {@link #requery()}, the existing cursor window should be cleared and
32 * If the contents of the cursor change or become invalid, the old window must be closed
38 * The cursor window owned by this cursor.
150 * Sets a new cursor window fo
162 setWindow(CursorWindow window) argument
[all...]
/frameworks/native/services/surfaceflinger/tests/surface/
H A Dsurface.cpp50 ANativeWindow* window = surface.get(); local
52 printf("window=%p\n", window);
54 int err = native_window_set_buffer_count(window, 8);
58 window->dequeueBuffer(window, &buffer);
/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/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();
H A DSQLiteCursor.java54 /** The number of rows that can fit in the cursor window, 0 if unknown */
121 // Make sure the row at newPosition is present in the window
234 public void setWindow(CursorWindow window) { argument
235 super.setWindow(window);
/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/tests/BrowserTestPlugin/jni/
H A DPluginObject.h79 NPWindow* window; member in struct:PluginObject
/frameworks/native/opengl/tests/finish/
H A Dfinish.cpp49 EGLNativeWindowType window = android_createDisplaySurface(); local
55 dpy, configAttribs, window, &config);
61 surface = eglCreateWindowSurface(dpy, config, window, NULL);
/frameworks/native/opengl/tests/textures/
H A Dtextures.cpp45 EGLNativeWindowType window = android_createDisplaySurface(); local
51 dpy, configAttribs, window, &config);
57 surface = eglCreateWindowSurface(dpy, config, window, NULL);
/frameworks/native/opengl/tests/filter/
H A Dfilter.cpp42 EGLNativeWindowType window = 0; local
44 window = android_createDisplaySurface();
51 dpy, s_configAttribs, window, &config);
52 surface = eglCreateWindowSurface(dpy, config, window, NULL);
/frameworks/native/opengl/tests/gl_perf/
H A Dgl2_perf.cpp89 EGLNativeWindowType window = android_createDisplaySurface(); local
90 returnValue = EGLUtils::selectConfigForNativeWindow(dpy, s_configAttribs, window, &myConfig);
98 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL);
/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/native/opengl/tests/linetex/
H A Dlinetex.cpp49 EGLNativeWindowType window = android_createDisplaySurface(); local
55 dpy, configAttribs, window, &config);
61 surface = eglCreateWindowSurface(dpy, config, window, NULL);
/frameworks/native/opengl/libs/EGL/
H A Degl_object.cpp77 ANativeWindow* const window = win.get(); local
78 if (window != NULL) {
79 native_window_set_buffers_format(window, 0);
80 if (native_window_api_disconnect(window, NATIVE_WINDOW_API_EGL)) {
81 ALOGW("EGLNativeWindowType %p disconnect failed", window);
/frameworks/native/opengl/tests/fillrate/
H A Dfillrate.cpp48 EGLNativeWindowType window = android_createDisplaySurface(); local
54 dpy, configAttribs, window, &config);
60 surface = eglCreateWindowSurface(dpy, config, window, NULL);
/frameworks/native/opengl/tests/swapinterval/
H A Dswapinterval.cpp48 EGLNativeWindowType window = android_createDisplaySurface(); local
56 dpy, configAttribs, window, &config);
70 surface = eglCreateWindowSurface(dpy, config, window, NULL);
/frameworks/native/opengl/tools/glgen/stubs/egl/
H A DeglCreateWindowSurface.cpp15 android::sp<ANativeWindow> window; local
37 window = android::android_Surface_getNativeWindow(_env, win);
39 if (window == NULL)
63 (EGLNativeWindowType)window.get(),
92 android::sp<ANativeWindow> window; local
115 window = new android::SurfaceTextureClient(surfaceTexture);
117 if (window == NULL)
141 (EGLNativeWindowType)window.get(),
/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/native/opengl/tests/angeles/
H A Dapp-linux.cpp138 EGLNativeWindowType window = android_createDisplaySurface(); local
144 dpy, configAttribs, window, &config);
150 surface = eglCreateWindowSurface(dpy, config, window, NULL);
/frameworks/av/services/camera/libcameraservice/camera2/
H A DStreamingProcessor.cpp51 status_t StreamingProcessor::setPreviewWindow(sp<ANativeWindow> window) { argument
60 mPreviewWindow = window;

Completed in 237 milliseconds

123