Home
last modified time | relevance | path

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

12345678910

/frameworks/native/libs/nativewindow/
DANativeWindow.cpp70 static int32_t query(ANativeWindow* window, int what) { in query()
76 static int64_t query64(ANativeWindow* window, int what) { in query64()
86 void ANativeWindow_acquire(ANativeWindow* window) { in ANativeWindow_acquire()
91 void ANativeWindow_release(ANativeWindow* window) { in ANativeWindow_release()
96 int32_t ANativeWindow_getWidth(ANativeWindow* window) { in ANativeWindow_getWidth()
100 int32_t ANativeWindow_getHeight(ANativeWindow* window) { in ANativeWindow_getHeight()
104 int32_t ANativeWindow_getFormat(ANativeWindow* window) { in ANativeWindow_getFormat()
108 int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, in ANativeWindow_setBuffersGeometry()
124 int32_t ANativeWindow_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer, in ANativeWindow_lock()
129 int32_t ANativeWindow_unlockAndPost(ANativeWindow* window) { in ANativeWindow_unlockAndPost()
[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.aidl49 int addToDisplay(IWindow window, in WindowManager.LayoutParams attrs, in addToDisplay()
54 int addToDisplayAsUser(IWindow window, in WindowManager.LayoutParams attrs, in addToDisplayAsUser()
59 int addToDisplayWithoutInputChannel(IWindow window, in WindowManager.LayoutParams attrs, in addToDisplayWithoutInputChannel()
63 void remove(IWindow window); in remove()
90 int relayout(IWindow window, in WindowManager.LayoutParams attrs, in relayout()
109 oneway void relayoutAsync(IWindow window, in WindowManager.LayoutParams attrs, in relayoutAsync()
116 boolean outOfMemory(IWindow window); in outOfMemory()
128 oneway void setInsets(IWindow window, int touchableInsets, in Rect contentInsets, in setInsets()
139 oneway void finishDrawing(IWindow window, in SurfaceControl.Transaction postDrawTransaction, in finishDrawing()
168 IBinder performDrag(IWindow window, int flags, in SurfaceControl surface, int touchSource, in performDrag()
[all …]
DWindowlessWindowManager.java112 IBinder getFocusGrantToken(IBinder window) { in getFocusGrantToken()
133 void setCompletionCallback(IBinder window, ResizeCompleteCallback callback) { in setCompletionCallback()
140 protected void setTouchRegion(IBinder window, @Nullable Region region) { in setTouchRegion()
165 protected SurfaceControl getParentSurface(IWindow window, WindowManager.LayoutParams attrs) { in getParentSurface()
180 public int addToDisplay(IWindow window, WindowManager.LayoutParams attrs, in addToDisplay()
260 public int addToDisplayAsUser(IWindow window, WindowManager.LayoutParams attrs, in addToDisplayAsUser()
271 public int addToDisplayWithoutInputChannel(android.view.IWindow window, in addToDisplayWithoutInputChannel()
279 public void remove(android.view.IWindow window) throws RemoteException { in remove()
341 protected SurfaceControl getSurfaceControl(IWindow window) { in getSurfaceControl()
350 public int relayout(IWindow window, WindowManager.LayoutParams inAttrs, in relayout()
[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/base/services/core/java/com/android/server/wm/
DSession.java203 public int addToDisplay(IWindow window, WindowManager.LayoutParams attrs, in addToDisplay()
214 public int addToDisplayAsUser(IWindow window, WindowManager.LayoutParams attrs, in addToDisplayAsUser()
225 public int addToDisplayWithoutInputChannel(IWindow window, WindowManager.LayoutParams attrs, in addToDisplayWithoutInputChannel()
235 public void remove(IWindow window) { in remove()
240 public boolean cancelDraw(IWindow window) { in cancelDraw()
245 public int relayout(IWindow window, WindowManager.LayoutParams attrs, in relayout()
265 public void relayoutAsync(IWindow window, WindowManager.LayoutParams attrs, in relayoutAsync()
275 public boolean outOfMemory(IWindow window) { in outOfMemory()
280 public void setInsets(IWindow window, int touchableInsets, in setInsets()
287 public void clearTouchableRegion(IWindow window) { in clearTouchableRegion()
[all …]
DDragDropController.java95 void sendDragStartedIfNeededLocked(WindowState window) { in sendDragStartedIfNeededLocked()
99 IBinder performDrag(int callerPid, int callerUid, IWindow window, int flags, in performDrag()
236 void reportDropResult(IWindow window, boolean consumed) { in reportDropResult()
326 void dragRecipientEntered(IWindow window) { in dragRecipientEntered()
333 void dragRecipientExited(IWindow window) { in dragRecipientExited()
378 boolean dropForAccessibility(IWindow window, float x, float y) { in dropForAccessibility()
/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/tests/wmtests/src/com/android/server/wm/
DRefreshRatePolicyTest.java83 void parcelLayoutParams(WindowState window) { in parcelLayoutParams()
110 WindowState window = createWindow(null, TYPE_BASE_APPLICATION, name); in createWindow() local
335 final WindowState window = createWindow("overrideWindow"); in testAnimatingDenylist() local
383 final WindowState window = createWindow("window"); in testAppMaxRefreshRate() local
404 final WindowState window = createWindow("window"); in testAppMinRefreshRate() local
425 final WindowState window = createWindow("window"); in testAppPreferredRefreshRate() local
437 final WindowState window = createWindow("window"); in testSwitchingTypeForExactVote() local
464 final WindowState window = createWindow("window"); in testSwitchingTypeForPreferredVote() local
493 final WindowState window = createWindow("window"); in testSwitchingTypeForDenylist() local
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
/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.java60 public static void setWindowImmersiveMode(Window window, String immersiveModeValue) { in setWindowImmersiveMode()
101 public static void enableImmersiveMode(Window window) { in enableImmersiveMode()
129 private static void enableImmersiveModeWithStatus(Window window) { in enableImmersiveModeWithStatus()
155 public static void disableImmersiveMode(Window window) { in disableImmersiveMode()
/frameworks/native/services/inputflinger/dispatcher/
DTouchState.cpp44 return std::any_of(windows.begin(), windows.end(), [&](const TouchedWindow& window) { in hasTouchingPointers()
140 TouchedWindow& window = windows[i]; in filterNonAsIsTouchWindows() local
199 const TouchedWindow& window = windows[i]; in getFirstForegroundWindowHandle() local
210 for (const TouchedWindow& window : windows) { in isSlippery() local
225 const TouchedWindow& window = windows[i]; in getWallpaperWindow() local
243 [](const TouchedWindow& window) { return window.hasTouchingPointers(); }); in isDown()
248 [](const TouchedWindow& window) { return window.hasHoveringPointers(); }); in hasHoveringPointers()
254 for (const TouchedWindow& window : windows) { in getWindowsWithHoveringPointer() local
/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.cpp78 static bool ConnectAndSetWindowDefaults(ANativeWindow* window) { in ConnectAndSetWindowDefaults()
134 VulkanSurface* VulkanSurface::Create(ANativeWindow* window, ColorMode colorMode, in Create()
158 bool VulkanSurface::InitializeWindowInfoStruct(ANativeWindow* window, ColorMode colorMode, in InitializeWindowInfoStruct()
293 bool VulkanSurface::UpdateWindow(ANativeWindow* window, const WindowInfo& windowInfo) { in UpdateWindow()
342 VulkanSurface::VulkanSurface(ANativeWindow* window, const WindowInfo& windowInfo, in VulkanSurface()
/frameworks/av/camera/ndk/
DNdkCameraDevice.cpp127 ACameraWindowType* window, /*out*/ACaptureSessionOutput** out) { in ACaptureSessionOutput_create()
140 ACameraWindowType* window, /*out*/ACaptureSessionOutput** out) { in ACaptureSessionSharedOutput_create()
153 ACameraWindowType* window, const char* physicalId, in ACaptureSessionPhysicalOutput_create()
167 ACameraWindowType* window) { in ACaptureSessionSharedOutput_add()
193 ACameraWindowType* window) { in ACaptureSessionSharedOutput_remove()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/splitscreen/benchmark/
DSwitchAppByDoubleTapDividerBenchmark.kt58 it.wmState.visibleWindows.firstOrNull { window -> in <lambda>() method
63 it.wmState.visibleWindows.firstOrNull { window -> in <lambda>() method
90 it.layerState.visibleLayers.firstOrNull { window -> in <lambda>() method
95 it.layerState.visibleLayers.firstOrNull { window -> in <lambda>() method
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityCache.java172 public void addWindow(AccessibilityWindowInfo window) { in addWindow()
184 addWindowByDisplayLocked(window.getDisplayId(), window); in addWindow() local
188 private void addWindowByDisplayLocked(int displayId, AccessibilityWindowInfo window) { in addWindowByDisplayLocked()
412 AccessibilityWindowInfo window = windowsOfDisplay.valueAt(j); in getWindowsOnAllDisplays() local
413 sortedWindows.put(window.getLayer(), window); in getWindowsOnAllDisplays() local
423 AccessibilityWindowInfo window = sortedWindows.valueAt(j); in getWindowsOnAllDisplays() local
459 AccessibilityWindowInfo window = windowsOfDisplay.get(windowId); in getWindow() local
782 final AccessibilityWindowInfo window = windowsOfDisplay.valueAt(j); in checkIntegrity() local
/frameworks/libs/net/common/device/com/android/net/module/util/structs/
DTcpHeader.java61 public final int window; field in TcpHeader
68 final short dataOffsetAndControlBits, final int window, final short checksum, in TcpHeader()
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp296 const sp<WindowInfoHandle>& window) { in assertNotifyWindowUnresponsiveWasCalled()
678 void setFocusedWindow(const sp<WindowInfoHandle>& window) { in setFocusedWindow()
1646 sp<FakeWindowHandle> window = in TEST_F() local
1659 sp<FakeWindowHandle> window = sp<FakeWindowHandle>::make(application, mDispatcher, in TEST_F() local
1673 sp<FakeWindowHandle> window = sp<FakeWindowHandle>::make(application, mDispatcher, in TEST_F() local
1693 sp<FakeWindowHandle> window = sp<FakeWindowHandle>::make(application, mDispatcher, in TEST_F() local
1712 sp<FakeWindowHandle> window = sp<FakeWindowHandle>::make(application, mDispatcher, in TEST_F() local
1793 sp<FakeWindowHandle> window = in TEST_F() local
2095 sp<FakeWindowHandle> window = in TEST_F() local
2279 sp<FakeWindowHandle> window = in TEST_F() local
[all …]
/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/common/
DColorModeControls.kt37 private var window: Window? = null in <lambda>() variable in com.android.test.silkfx.common.ColorModeControls
42 val window = window ?: throw IllegalStateException("Failed to attach window") in <lambda>() constant

12345678910