Home
last modified time | relevance | path

Searched defs:window (Results 1 – 25 of 195) sorted by relevance

12345678

/frameworks/native/libs/nativewindow/
DANativeWindow.cpp30 static int32_t query(ANativeWindow* window, int what) { in query()
36 static int64_t query64(ANativeWindow* window, int what) { in query64()
42 static bool isDataSpaceValid(ANativeWindow* window, int32_t dataSpace) { in isDataSpaceValid()
67 void ANativeWindow_acquire(ANativeWindow* window) { in ANativeWindow_acquire()
72 void ANativeWindow_release(ANativeWindow* window) { in ANativeWindow_release()
77 int32_t ANativeWindow_getWidth(ANativeWindow* window) { in ANativeWindow_getWidth()
81 int32_t ANativeWindow_getHeight(ANativeWindow* window) { in ANativeWindow_getHeight()
85 int32_t ANativeWindow_getFormat(ANativeWindow* window) { in ANativeWindow_getFormat()
89 int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, in ANativeWindow_setBuffersGeometry()
105 int32_t ANativeWindow_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer, in ANativeWindow_lock()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/mock/system/window/
DMockNativeWindow.cpp23 int dispatch_setSwapInterval(struct ANativeWindow* window, int interval) { in dispatch_setSwapInterval()
27 int dispatch_dequeueBuffer_DEPRECATED(struct ANativeWindow* window, in dispatch_dequeueBuffer_DEPRECATED()
32 int dispatch_lockBuffer_DEPRECATED(struct ANativeWindow* window, in dispatch_lockBuffer_DEPRECATED()
37 int dispatch_queueBuffer_DEPRECATED(struct ANativeWindow* window, in dispatch_queueBuffer_DEPRECATED()
42 int dispatch_query(const struct ANativeWindow* window, int what, int* value) { in dispatch_query()
46 int dispatch_perform(struct ANativeWindow* window, int operation, ...) { in dispatch_perform()
51 int dispatch_cancelBuffer_DEPRECATED(struct ANativeWindow* window, in dispatch_cancelBuffer_DEPRECATED()
56 int dispatch_dequeueBuffer(struct ANativeWindow* window, struct ANativeWindowBuffer** buffer, in dispatch_dequeueBuffer()
61 int dispatch_queueBuffer(struct ANativeWindow* window, struct ANativeWindowBuffer* buffer, in dispatch_queueBuffer()
66 int dispatch_cancelBuffer(struct ANativeWindow* window, struct ANativeWindowBuffer* buffer, in dispatch_cancelBuffer()
/frameworks/base/core/java/android/view/
DIWindowSession.aidl48 int addToDisplay(IWindow window, in WindowManager.LayoutParams attrs, in addToDisplay()
52 int addToDisplayAsUser(IWindow window, in WindowManager.LayoutParams attrs, in addToDisplayAsUser()
56 int addToDisplayWithoutInputChannel(IWindow window, in WindowManager.LayoutParams attrs, in addToDisplayWithoutInputChannel()
59 void remove(IWindow window); in remove()
103 int relayout(IWindow window, in WindowManager.LayoutParams attrs, in relayout()
123 boolean outOfMemory(IWindow window); in outOfMemory()
135 oneway void setInsets(IWindow window, int touchableInsets, in Rect contentInsets, in setInsets()
146 oneway void finishDrawing(IWindow window, in SurfaceControl.Transaction postDrawTransaction); in finishDrawing()
173 IBinder performDrag(IWindow window, int flags, in SurfaceControl surface, int touchSource, in performDrag()
181 oneway void reportDropResult(IWindow window, boolean consumed); in reportDropResult()
[all …]
DWindowlessWindowManager.java97 void setCompletionCallback(IBinder window, ResizeCompleteCallback callback) { in setCompletionCallback()
104 protected void setTouchRegion(IBinder window, @Nullable Region region) { in setTouchRegion()
129 protected void attachToParentSurface(IWindow window, SurfaceControl.Builder b) { in attachToParentSurface()
137 public int addToDisplay(IWindow window, WindowManager.LayoutParams attrs, in addToDisplay()
183 public int addToDisplayAsUser(IWindow window, WindowManager.LayoutParams attrs, in addToDisplayAsUser()
192 public int addToDisplayWithoutInputChannel(android.view.IWindow window, in addToDisplayWithoutInputChannel()
199 public void remove(android.view.IWindow window) throws RemoteException { in remove()
256 protected SurfaceControl getSurfaceControl(IWindow window) { in getSurfaceControl()
265 public int relayout(IWindow window, WindowManager.LayoutParams inAttrs, in relayout()
325 public boolean outOfMemory(android.view.IWindow window) { in outOfMemory()
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/mock/
DNativeWindow.cpp23 static int forwardSetSwapInterval(ANativeWindow* window, int interval) { in forwardSetSwapInterval()
27 static int forwardDequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, int* fenceFd) { in forwardDequeueBuffer()
31 static int forwardCancelBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd) { in forwardCancelBuffer()
35 static int forwardQueueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd) { in forwardQueueBuffer()
39 static int forwardQuery(const ANativeWindow* window, int what, int* value) { in forwardQuery()
43 static int forwardPerform(ANativeWindow* window, int operation, ...) { in forwardPerform()
89 static int forwardDequeueBufferDeprecated(ANativeWindow* window, ANativeWindowBuffer** buffer) { in forwardDequeueBufferDeprecated()
94 static int forwardCancelBufferDeprecated(ANativeWindow* window, ANativeWindowBuffer* buffer) { in forwardCancelBufferDeprecated()
98 static int forwardLockBufferDeprecated(ANativeWindow* window, ANativeWindowBuffer* buffer) { in forwardLockBufferDeprecated()
102 static int forwardQueueBufferDeprecated(ANativeWindow* window, ANativeWindowBuffer* buffer) { in forwardQueueBufferDeprecated()
/frameworks/base/core/tests/coretests/src/android/database/
DCursorWindowTest.java39 CursorWindow window = new CursorWindow("MyWindow"); in testConstructor_WithName() local
47 CursorWindow window = new CursorWindow(""); in testConstructorWithEmptyName() local
55 CursorWindow window = new CursorWindow(null); in testConstructorWithNullName() local
64 CursorWindow window = new CursorWindow(true /*this argument is ignored*/); in testDeprecatedConstructor() local
72 CursorWindow window = new CursorWindow("MyWindow"); in testValues() local
77 private void doTestValues(CursorWindow window) { in doTestValues()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DSystemBarHelper.java76 final Window window = dialog.getWindow(); in hideSystemBars() local
97 public static void hideSystemBars(final Window window) { in hideSystemBars()
123 public static void showSystemBars(final Window window, final Context context) { in showSystemBars()
151 public static void addVisibilityFlag(final Window window, final int flag) { in addVisibilityFlag()
174 public static void removeVisibilityFlag(final Window window, final int flag) { in removeVisibilityFlag()
193 public static void setBackButtonVisible(final Window window, final boolean visible) { in setBackButtonVisible()
230 private static void addImmersiveFlagsToDecorView(final Window window, final int vis) { in addImmersiveFlagsToDecorView()
242 private static void removeImmersiveFlagsFromDecorView(final Window window, final int vis) { in removeImmersiveFlagsFromDecorView()
253 private static void getDecorView(Window window, OnDecorViewInstalledListener callback) { in getDecorView()
260 private Window window; field in SystemBarHelper.DecorViewFinder
[all …]
/frameworks/native/libs/nativewindow/include/system/
Dwindow.h580 static inline int native_window_set_usage(struct ANativeWindow* window, uint64_t usage) { in native_window_set_usage()
617 struct ANativeWindow* window, in native_window_set_crop()
628 struct ANativeWindow* window, in native_window_set_buffer_count()
648 struct ANativeWindow* window, in native_window_set_buffers_geometry()
669 struct ANativeWindow* window, in native_window_set_buffers_dimensions()
694 struct ANativeWindow* window, in native_window_set_buffers_user_dimensions()
708 struct ANativeWindow* window, in native_window_set_buffers_format()
727 struct ANativeWindow* window, in native_window_set_buffers_data_space()
745 struct ANativeWindow* window, in native_window_set_buffers_smpte2086_metadata()
763 struct ANativeWindow* window, in native_window_set_buffers_cta861_3_metadata()
[all …]
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DSystemBarHelperTest.java89 final Window window = createWindowWithSystemUiVisibility(0x456); in testAddVisibilityFlagWindow() local
101 final Window window = createWindowWithSystemUiVisibility(0x456); in testRemoveVisibilityFlagWindow() local
113 final Window window = createWindowWithSystemUiVisibility(0x456); in testHideSystemBarsWindow() local
132 final Window window = createWindowWithSystemUiVisibility(0x456); in testShowSystemBarsWindow() local
154 final TestWindow window = new TestWindow(InstrumentationRegistry.getContext(), null); in testHideSystemBarsNoInfiniteLoop() local
195 final Window window = createWindowWithSystemUiVisibility(STATUS_BAR_DISABLE_BACK | 0x456); in testSetBackButtonVisibleTrue() local
210 final Window window = createWindowWithSystemUiVisibility(0x456); in testSetBackButtonVisibleFalse() local
231 final Window window = in createWindowWithSystemUiVisibility() local
/frameworks/base/services/core/java/com/android/server/wm/
DSession.java189 public int addToDisplay(IWindow window, WindowManager.LayoutParams attrs, in addToDisplay()
200 public int addToDisplayAsUser(IWindow window, WindowManager.LayoutParams attrs, in addToDisplayAsUser()
209 public int addToDisplayWithoutInputChannel(IWindow window, WindowManager.LayoutParams attrs, in addToDisplayWithoutInputChannel()
217 public void remove(IWindow window) { in remove()
227 public int relayout(IWindow window, WindowManager.LayoutParams attrs, in relayout()
246 public boolean outOfMemory(IWindow window) { in outOfMemory()
251 public void setInsets(IWindow window, int touchableInsets, in setInsets()
258 public void finishDrawing(IWindow window, in finishDrawing()
288 public IBinder performDrag(IWindow window, int flags, SurfaceControl surface, int touchSource, in performDrag()
422 public void reportDropResult(IWindow window, boolean consumed) { in reportDropResult()
[all …]
DDragDropController.java90 void sendDragStartedIfNeededLocked(WindowState window) { in sendDragStartedIfNeededLocked()
94 IBinder performDrag(int callerPid, int callerUid, IWindow window, int flags, in performDrag()
200 void reportDropResult(IWindow window, boolean consumed) { in reportDropResult()
290 void dragRecipientEntered(IWindow window) { in dragRecipientEntered()
296 void dragRecipientExited(IWindow window) { in dragRecipientExited()
DEmbeddedWindowController.java59 void add(IBinder inputToken, EmbeddedWindow window) { in add()
78 private void updateProcessController(EmbeddedWindow window) { in updateProcessController()
119 final EmbeddedWindow window = mWindows.valueAt(i); in onActivityRemoved() local
DWallpaperController.java391 WindowState window, float x, float y, float xStep, float yStep) { in setWindowWallpaperPosition()
401 void setWallpaperZoomOut(WindowState window, float zoom) { in setWallpaperZoomOut()
409 void setShouldZoomOutWallpaper(WindowState window, boolean shouldZoom) { in setShouldZoomOutWallpaper()
416 void setWindowWallpaperDisplayOffset(WindowState window, int x, int y) { in setWindowWallpaperDisplayOffset()
425 WindowState window, String action, int x, int y, int z, Bundle extras, boolean sync) { in sendWindowWallpaperCommand()
486 void wallpaperCommandComplete(IBinder window) { in wallpaperCommandComplete()
494 void wallpaperOffsetsComplete(IBinder window) { in wallpaperOffsetsComplete()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotCacheTest.java66 final WindowState window = createWindow(null, FIRST_APPLICATION_WINDOW, "window"); in testAppRemoved() local
77 final WindowState window = createWindow(null, FIRST_APPLICATION_WINDOW, "window"); in testAppDied() local
88 final WindowState window = createWindow(null, FIRST_APPLICATION_WINDOW, "window"); in testTaskRemoved() local
99 final WindowState window = createWindow(null, FIRST_APPLICATION_WINDOW, "window"); in testReduced_notCached() local
116 final WindowState window = createWindow(null, FIRST_APPLICATION_WINDOW, "window"); in testRestoreFromDisk() local
129 final WindowState window = createWindow(null, FIRST_APPLICATION_WINDOW, "window"); in testClearCache() local
DRefreshRatePolicyTest.java63 void parcelLayoutParams(WindowState window) { in parcelLayoutParams()
90 WindowState window = createWindow(null, TYPE_BASE_APPLICATION, name); in createWindow() local
232 final WindowState window = createWindow("overrideWindow"); in testAnimatingDenylist() local
275 final WindowState window = createWindow("window"); in testAppMaxRefreshRate() local
294 final WindowState window = createWindow("window"); in testAppMinRefreshRate() local
313 final WindowState window = createWindow("window"); in testAppPreferredRefreshRate() local
/frameworks/base/core/jni/
Dandroid_database_CursorWindow.cpp89 CursorWindow* window; in nativeCreate() local
117 CursorWindow* window; in nativeCreateFromParcel() local
133 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); in nativeDispose() local
141 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); in nativeGetName() local
147 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); in nativeWriteToParcel() local
159 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); in nativeClear() local
168 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); in nativeGetNumRows() local
174 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); in nativeSetNumColumns() local
180 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); in nativeAllocRow() local
186 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); in nativeFreeLastRow() local
[all …]
Dandroid_view_TextureView.cpp74 static int32_t native_window_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer, in native_window_lock()
79 static int32_t native_window_unlockAndPost(ANativeWindow* window) { in native_window_unlockAndPost()
87 sp<ANativeWindow> window = new Surface(producer, true); in android_view_TextureView_createNativeWindow() local
99 sp<ANativeWindow> window(nativeWindow); in android_view_TextureView_destroyNativeWindow() local
123 sp<ANativeWindow> window((ANativeWindow*) nativeWindow); in android_view_TextureView_lockCanvas() local
147 sp<ANativeWindow> window((ANativeWindow*) nativeWindow); in android_view_TextureView_unlockCanvasAndPost() local
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/util/
DCarSetupWizardUiUtils.java57 public static void setWindowImmersiveMode(Window window, String immersiveModeValue) { in setWindowImmersiveMode()
98 public static void enableImmersiveMode(Window window) { in enableImmersiveMode()
126 private static void enableImmersiveModeWithStatus(Window window) { in enableImmersiveModeWithStatus()
152 public static void disableImmersiveMode(Window window) { in disableImmersiveMode()
/frameworks/base/libs/hwui/renderthread/
DReliableSurface.cpp33 ReliableSurface::ReliableSurface(ANativeWindow* window) : mWindow(window) { in ReliableSurface()
175 int ReliableSurface::hook_dequeueBuffer(ANativeWindow* window, in hook_dequeueBuffer()
202 int ReliableSurface::hook_cancelBuffer(ANativeWindow* window, in hook_cancelBuffer()
216 int ReliableSurface::hook_queueBuffer(ANativeWindow* window, in hook_queueBuffer()
232 int ReliableSurface::hook_perform(ANativeWindow* window, ANativeWindow_performFn perform, in hook_perform()
275 int ReliableSurface::hook_query(const ANativeWindow *window, ANativeWindow_queryFn query, in hook_query()
DVulkanSurface.cpp63 static bool ConnectAndSetWindowDefaults(ANativeWindow* window) { in ConnectAndSetWindowDefaults()
119 VulkanSurface* VulkanSurface::Create(ANativeWindow* window, ColorMode colorMode, in Create()
143 bool VulkanSurface::InitializeWindowInfoStruct(ANativeWindow* window, ColorMode colorMode, in InitializeWindowInfoStruct()
265 bool VulkanSurface::UpdateWindow(ANativeWindow* window, const WindowInfo& windowInfo) { in UpdateWindow()
314 VulkanSurface::VulkanSurface(ANativeWindow* window, const WindowInfo& windowInfo, in VulkanSurface()
/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/common/
DColorModeControls.kt45 private var window: Window? = null variable in com.android.test.silkfx.common.ColorModeControls
56 val window = window ?: throw IllegalStateException("Failed to attach window") in onFinishInflate() constant
76 val window = window!! in setColorMode() constant
/frameworks/av/camera/ndk/
DNdkCameraDevice.cpp134 ACameraWindowType* window, /*out*/ACaptureSessionOutput** out) { in ACaptureSessionOutput_create()
147 ACameraWindowType* window, /*out*/ACaptureSessionOutput** out) { in ACaptureSessionSharedOutput_create()
160 ACameraWindowType* window, const char* physicalId, in ACaptureSessionPhysicalOutput_create()
174 ACameraWindowType* window) { in ACaptureSessionSharedOutput_add()
199 ACameraWindowType* window) { in ACaptureSessionSharedOutput_remove()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityCache.java132 public void addWindow(AccessibilityWindowInfo window) { in addWindow()
138 addWindowByDisplayLocked(window.getDisplayId(), window); in addWindow() local
142 private void addWindowByDisplayLocked(int displayId, AccessibilityWindowInfo window) { in addWindowByDisplayLocked()
323 AccessibilityWindowInfo window = windowsOfDisplay.valueAt(j); in getWindowsOnAllDisplays() local
324 sortedWindows.put(window.getLayer(), window); in getWindowsOnAllDisplays() local
334 AccessibilityWindowInfo window = sortedWindows.valueAt(j); in getWindowsOnAllDisplays() local
364 AccessibilityWindowInfo window = windowsOfDisplay.get(windowId); in getWindow() local
575 final AccessibilityWindowInfo window = windowsOfDisplay.valueAt(j); in checkIntegrity() local
/frameworks/native/services/inputflinger/dispatcher/
DTouchState.cpp107 TouchedWindow& window = windows[i]; in filterNonAsIsTouchWindows() local
126 const TouchedWindow& window = windows[i]; in getFirstForegroundWindowHandle() local
137 for (const TouchedWindow& window : windows) { in isSlippery() local
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DSplitWindowManager.java77 public void setTouchRegion(IBinder window, Region region) { in setTouchRegion()
82 public SurfaceControl getSurfaceControl(IWindow window) { in getSurfaceControl()
93 protected void attachToParentSurface(IWindow window, SurfaceControl.Builder b) { in attachToParentSurface()

12345678