/frameworks/base/core/tests/coretests/src/android/database/ |
H A D | CursorWindowTest.java | 39 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 D | native_window.cpp | 35 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 D | TransitionHelperApi21.java | 27 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 D | native_window.h | 27 * 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/av/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_mpeg2_get_scale_factors.cpp | 129 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 D | pvmp3_mdct_18.cpp | 41 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 D | pvmp3_get_scale_factors.cpp | 140 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/ |
H A D | CrossProcessCursor.java | 25 * 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 D | CursorToBulkCursorAdaptor.java | 27 * 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 D | CrossProcessCursorWrapper.java | 46 public void fillWindow(int position, CursorWindow window) { argument 49 crossProcessCursor.fillWindow(position, window); 53 DatabaseUtils.cursorFillWindow(mCursor, position, window);
|
H A D | BulkCursorDescriptor.java | 48 public CursorWindow window; field in class:BulkCursorDescriptor 61 if (window != null) { 63 window.writeToParcel(out, flags); 75 window = CursorWindow.CREATOR.createFromParcel(in);
|
/frameworks/base/core/java/android/view/ |
H A D | IWindowSession.aidl | 33 * 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 D | WindowInfo.java | 29 * 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 D | android_database_CursorWindow.cpp | 70 CursorWindow* window; local 71 status_t status = CursorWindow::create(name, cursorWindowSize, &window); 72 if (status || !window) { 78 LOG_WINDOW("nativeInitializeEmpty: window = %p", window); 79 return reinterpret_cast<jlong>(window); 85 CursorWindow* window; local 86 status_t status = CursorWindow::createFromParcel(parcel, &window); 87 if (status || !window) { 92 LOG_WINDOW("nativeInitializeFromBinder: numRows = %d, numColumns = %d, window 98 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local 106 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local 112 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local 124 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local 133 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local 139 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local 145 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local 151 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local 157 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local 172 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local 207 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local 299 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local 338 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local 369 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local 400 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local 418 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local 440 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local 454 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local 468 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); local [all...] |
H A D | android_view_TextureView.cpp | 105 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/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
H A D | SystemBarHelper.java | 69 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...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeWindowSession.java | 84 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 200 onRectangleOnScreenRequested(IBinder window, Rect rectangle) argument 205 getWindowId(IBinder window) argument 211 pokeDrawLock(IBinder window) argument [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteQuery.java | 45 * @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 D | FramebufferNativeWindow.h | 72 static int setSwapInterval(ANativeWindow* window, int interval); 73 static int dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, int* fenceFd); 74 static int queueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd); 75 static int query(const ANativeWindow* window, int what, int* value); 76 static int perform(ANativeWindow* window, int operation, ...); 78 static int dequeueBuffer_DEPRECATED(ANativeWindow* window, ANativeWindowBuffer** buffer); 79 static int queueBuffer_DEPRECATED(ANativeWindow* window, ANativeWindowBuffer* buffer); 80 static int lockBuffer_DEPRECATED(ANativeWindow* window, ANativeWindowBuffer* buffer);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | Session.java | 53 * 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, Rect outsets, Configuration outConfig, Surface outSurface) argument 207 performDeferredDestroy(IWindow window) argument 211 outOfMemory(IWindow window) argument 215 setTransparentRegion(IWindow window, Region region) argument 219 setInsets(IWindow window, int touchableInsets, Rect contentInsets, Rect visibleInsets, Region touchableArea) argument 225 getDisplayFrame(IWindow window, Rect outDisplayFrame) argument 229 finishDrawing(IWindow window) argument 247 performHapticFeedback(IWindow window, int effectId, boolean always) argument 262 prepareDrag(IWindow window, int flags, int width, int height, Surface outSurface) argument 268 performDrag(IWindow window, IBinder dragToken, float touchX, float touchY, float thumbCenterX, float thumbCenterY, ClipData data) argument 351 reportDropResult(IWindow window, boolean consumed) argument 391 dragRecipientEntered(IWindow window) argument 397 dragRecipientExited(IWindow window) argument 403 setWallpaperPosition(IBinder window, float x, float y, float xStep, float yStep) argument 416 wallpaperOffsetsComplete(IBinder window) argument 420 setWallpaperDisplayOffset(IBinder window, int x, int y) argument 432 sendWallpaperCommand(IBinder window, String action, int x, int y, int z, Bundle extras, boolean sync) argument 446 wallpaperCommandComplete(IBinder window, Bundle result) argument 461 getWindowId(IBinder window) argument 466 pokeDrawLock(IBinder window) argument [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/transition/ |
H A D | TransitionHelper.java | 65 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/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/ |
H A D | SystemBarHelperTest.java | 80 final Window window = createWindowWithSystemUiVisibility(0x456); 81 SystemBarHelper.addVisibilityFlag(window, 0x1400); 85 window.getAttributes().systemUiVisibility); 91 final Window window = createWindowWithSystemUiVisibility(0x456); 92 SystemBarHelper.removeVisibilityFlag(window, 0x1400); 96 window.getAttributes().systemUiVisibility); 102 final Window window = createWindowWithSystemUiVisibility(0x456); 103 SystemBarHelper.hideSystemBars(window); 105 assertEquals("DEFAULT_IMMERSIVE_FLAGS should be added to window's systemUiVisibility", 107 window [all...] |
/frameworks/native/opengl/tests/include/ |
H A D | EGLUtils.h | 24 #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/support/v7/appcompat/src/android/support/v7/app/ |
H A D | AppCompatDelegateImplV11.java | 27 AppCompatDelegateImplV11(Context context, Window window, AppCompatCallback callback) { argument 28 super(context, window, callback);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
H A D | BrightnessDialog.java | 39 final Window window = getWindow(); 41 window.setGravity(Gravity.TOP); 42 window.clearFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND); 43 window.requestFeature(Window.FEATURE_NO_TITLE);
|