Searched defs:window (Results 1 - 25 of 98) 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);
/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();
/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/support/v7/appcompat/src/android/support/v7/app/
H A DAppCompatDelegateImplV11.java27 AppCompatDelegateImplV11(Context context, Window window, AppCompatCallback callback) { argument
28 super(context, window, callback);
H A DAppCompatDelegateImplV14.java28 AppCompatDelegateImplV14(Context context, Window window, AppCompatCallback callback) { argument
29 super(context, window, callback);
34 // Override the window callback so that we can intercept onWindowStartingActionMode()
H A DAppCompatDelegateImplV23.java25 AppCompatDelegateImplV23(Context context, Window window, AppCompatCallback callback) { argument
26 super(context, window, callback);
31 // Override the window callback so that we can intercept onWindowStartingActionMode(type)
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/
H A DMidiBtleTimeTracker.java77 // The event cannot be in the future. So move window if we hit that.
83 // Timestamp should not be older than our window time.
105 public void setWindowMillis(int window) { argument
106 this.mWindowMillis = window;
/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/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/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
H A DSystemBarHelper.java69 final Window window = dialog.getWindow();
70 temporarilyDisableDialogFocus(window);
71 addImmersiveFlagsToWindow(window, DIALOG_IMMERSIVE_FLAGS);
72 addImmersiveFlagsToDecorView(window, new Handler(), DIALOG_IMMERSIVE_FLAGS);
84 public static void hideSystemBars(final Window window) { argument
86 addImmersiveFlagsToWindow(window, DEFAULT_IMMERSIVE_FLAGS);
87 addImmersiveFlagsToDecorView(window, new Handler(), DEFAULT_IMMERSIVE_FLAGS);
104 public static void addVisibilityFlag(final Window window, final int flag) { argument
106 WindowManager.LayoutParams attrs = window.getAttributes();
108 window
127 removeVisibilityFlag(final Window window, final int flag) argument
135 setBackButtonVisible(final Window window, final boolean visible) argument
168 addImmersiveFlagsToDecorView(final Window window, final Handler handler, final int vis) argument
187 addImmersiveFlagsToWindow(final Window window, final int vis) argument
202 temporarilyDisableDialogFocus(final Window window) argument
[all...]

Completed in 1221 milliseconds

1234