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

1234

/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/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
155 // Close the cursor window if the query failed and therefore will
157 // the cursor window if the client does not correctly handle exceptions
243 public void setWindow(CursorWindow window) { argument
244 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/native/opengl/tests/finish/
H A Dfinish.cpp50 EGLNativeWindowType window = windowSurface.getSurface(); local
56 dpy, configAttribs, window, &config);
62 surface = eglCreateWindowSurface(dpy, config, window, NULL);
/frameworks/native/opengl/tests/textures/
H A Dtextures.cpp46 EGLNativeWindowType window = windowSurface.getSurface(); local
52 dpy, configAttribs, window, &config);
58 surface = eglCreateWindowSurface(dpy, config, window, NULL);
/frameworks/native/opengl/tests/filter/
H A Dfilter.cpp42 EGLNativeWindowType window = 0; local
46 window = windowSurface->getSurface();
53 dpy, s_configAttribs, window, &config);
54 surface = eglCreateWindowSurface(dpy, config, window, NULL);
/frameworks/native/opengl/tests/gl_perf/
H A Dgl2_perf.cpp90 EGLNativeWindowType window = windowSurface.getSurface(); local
91 returnValue = EGLUtils::selectConfigForNativeWindow(dpy, s_configAttribs, window, &myConfig);
99 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.cpp48 EGLNativeWindowType window = windowSurface.getSurface(); local
54 dpy, configAttribs, window, &config);
60 surface = eglCreateWindowSurface(dpy, config, window, NULL);
/frameworks/native/services/surfaceflinger/EventLog/
H A DEventLog.cpp34 void EventLog::doLogFrameDurations(const String8& window, argument
38 buffer.writeString8(window);
46 void EventLog::logFrameDurations(const String8& window, argument
48 EventLog::getInstance().doLogFrameDurations(window, durations,
/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/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/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/native/opengl/tests/fillrate/
H A Dfillrate.cpp49 EGLNativeWindowType window = windowSurface.getSurface(); local
55 dpy, configAttribs, window, &config);
61 surface = eglCreateWindowSurface(dpy, config, window, NULL);
/frameworks/native/opengl/tests/swapinterval/
H A Dswapinterval.cpp49 EGLNativeWindowType window = windowSurface.getSurface(); local
57 dpy, configAttribs, window, &config);
71 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_view_Surface_getNativeWindow(_env, win);
39 if (window == NULL)
63 (EGLNativeWindowType)window.get(),
92 android::sp<ANativeWindow> window; local
119 window = new android::Surface(producer, true);
121 if (window == NULL)
145 (EGLNativeWindowType)window.get(),
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityCache.java55 public void addWindow(AccessibilityWindowInfo window) { argument
58 Log.i(LOG_TAG, "Caching window: " + window.getId());
60 final int windowId = window.getId();
65 mWindowCache.put(windowId, AccessibilityWindowInfo.obtain(window));
162 * window and the accessibility id of the node.
164 * @param windowId The id of the window hosting the node.
196 AccessibilityWindowInfo window = mWindowCache.valueAt(i);
197 sortedWindows.put(window.getLayer(), window);
[all...]
/frameworks/native/opengl/tests/angeles/
H A Dapp-linux.cpp138 EGLNativeWindowType window = windowSurface.getSurface(); local
144 dpy, configAttribs, window, &config);
150 surface = eglCreateWindowSurface(dpy, config, window, NULL);

Completed in 2337 milliseconds

1234