Home
last modified time | relevance | path

Searched defs:window (Results 1 – 25 of 182) 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.aidl46 int addToDisplay(IWindow window, int seq, in WindowManager.LayoutParams attrs, in addToDisplay()
51 int addToDisplayAsUser(IWindow window, int seq, in WindowManager.LayoutParams attrs, in addToDisplayAsUser()
56 … int addToDisplayWithoutInputChannel(IWindow window, int seq, in WindowManager.LayoutParams attrs, in addToDisplayWithoutInputChannel()
60 void remove(IWindow window); in remove()
108 int relayout(IWindow window, int seq, in WindowManager.LayoutParams attrs, in relayout()
131 boolean outOfMemory(IWindow window); in outOfMemory()
139 void setTransparentRegion(IWindow window, in Region region); in setTransparentRegion()
151 void setInsets(IWindow window, int touchableInsets, in Rect contentInsets, in setInsets()
158 void getDisplayFrame(IWindow window, out Rect outDisplayFrame); in getDisplayFrame()
168 void finishDrawing(IWindow window, in SurfaceControl.Transaction postDrawTransaction); in finishDrawing()
[all …]
DWindowlessWindowManager.java95 void setCompletionCallback(IBinder window, ResizeCompleteCallback callback) { in setCompletionCallback()
102 protected void setTouchRegion(IBinder window, @Nullable Region region) { in setTouchRegion()
130 public int addToDisplay(IWindow window, int seq, WindowManager.LayoutParams attrs, in addToDisplay()
169 public int addToDisplayAsUser(IWindow window, int seq, WindowManager.LayoutParams attrs, in addToDisplayAsUser()
180 public int addToDisplayWithoutInputChannel(android.view.IWindow window, int seq, in addToDisplayWithoutInputChannel()
188 public void remove(android.view.IWindow window) throws RemoteException { in remove()
236 public int relayout(IWindow window, int seq, WindowManager.LayoutParams inAttrs, in relayout()
292 public boolean outOfMemory(android.view.IWindow window) { in outOfMemory()
297 public void setTransparentRegion(android.view.IWindow window, android.graphics.Region region) { in setTransparentRegion()
301 public void setInsets(android.view.IWindow window, int touchableInsets, in setInsets()
[all …]
/frameworks/base/packages/CarSystemUI/tests/src/com/android/systemui/car/navigationbar/
DCarNavigationBarControllerTest.java131 ViewGroup window = mCarNavigationBar.getTopWindow(); in testGetTopWindow_topDisabled_returnsNull() local
141 ViewGroup window = mCarNavigationBar.getTopWindow(); in testGetTopWindow_topEnabled_returnsWindow() local
167 ViewGroup window = mCarNavigationBar.getBottomWindow(); in testGetBottomWindow_bottomDisabled_returnsNull() local
177 ViewGroup window = mCarNavigationBar.getBottomWindow(); in testGetBottomWindow_bottomEnabled_returnsWindow() local
197 ViewGroup window = mCarNavigationBar.getLeftWindow(); in testGetLeftWindow_leftDisabled_returnsNull() local
206 ViewGroup window = mCarNavigationBar.getLeftWindow(); in testGetLeftWindow_leftEnabled_returnsWindow() local
227 ViewGroup window = mCarNavigationBar.getRightWindow(); in testGetRightWindow_rightDisabled_returnsNull() local
237 ViewGroup window = mCarNavigationBar.getRightWindow(); in testGetRightWindow_rightEnabled_returnsWindow() local
258 ViewGroup window = mCarNavigationBar.getTopWindow(); in testSetTopWindowVisibility_setTrue_isVisible() local
269 ViewGroup window = mCarNavigationBar.getTopWindow(); in testSetTopWindowVisibility_setFalse_isGone() local
[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/base/services/core/java/com/android/server/wm/
DSession.java159 public int addToDisplay(IWindow window, int seq, WindowManager.LayoutParams attrs, in addToDisplay()
171 public int addToDisplayAsUser(IWindow window, int seq, WindowManager.LayoutParams attrs, in addToDisplayAsUser()
182 …public int addToDisplayWithoutInputChannel(IWindow window, int seq, WindowManager.LayoutParams att… in addToDisplayWithoutInputChannel()
192 public void remove(IWindow window) { in remove()
202 public int relayout(IWindow window, int seq, WindowManager.LayoutParams attrs, in relayout()
226 public boolean outOfMemory(IWindow window) { in outOfMemory()
231 public void setTransparentRegion(IWindow window, Region region) { in setTransparentRegion()
236 public void setInsets(IWindow window, int touchableInsets, in setInsets()
243 public void getDisplayFrame(IWindow window, Rect outDisplayFrame) { in getDisplayFrame()
248 public void finishDrawing(IWindow window, in finishDrawing()
[all …]
DDragDropController.java87 void sendDragStartedIfNeededLocked(WindowState window) { in sendDragStartedIfNeededLocked()
91 IBinder performDrag(SurfaceSession session, int callerPid, int callerUid, IWindow window, in performDrag()
199 void reportDropResult(IWindow window, boolean consumed) { in reportDropResult()
291 void dragRecipientEntered(IWindow window) { in dragRecipientEntered()
297 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.java392 WindowState window, float x, float y, float xStep, float yStep) { in setWindowWallpaperPosition()
402 void setWallpaperZoomOut(WindowState window, float zoom) { in setWallpaperZoomOut()
410 void setShouldZoomOutWallpaper(WindowState window, boolean shouldZoom) { in setShouldZoomOutWallpaper()
417 void setWindowWallpaperDisplayOffset(WindowState window, int x, int y) { in setWindowWallpaperDisplayOffset()
426 WindowState window, String action, int x, int y, int z, Bundle extras, boolean sync) { in sendWindowWallpaperCommand()
487 void wallpaperCommandComplete(IBinder window) { in wallpaperCommandComplete()
495 void wallpaperOffsetsComplete(IBinder window) { in wallpaperOffsetsComplete()
/frameworks/native/libs/nativewindow/include/system/
Dwindow.h578 static inline int native_window_set_usage(struct ANativeWindow* window, uint64_t usage) { in native_window_set_usage()
615 struct ANativeWindow* window, in native_window_set_crop()
626 struct ANativeWindow* window, in native_window_set_buffer_count()
646 struct ANativeWindow* window, in native_window_set_buffers_geometry()
667 struct ANativeWindow* window, in native_window_set_buffers_dimensions()
692 struct ANativeWindow* window, in native_window_set_buffers_user_dimensions()
706 struct ANativeWindow* window, in native_window_set_buffers_format()
725 struct ANativeWindow* window, in native_window_set_buffers_data_space()
743 struct ANativeWindow* window, in native_window_set_buffers_smpte2086_metadata()
761 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/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
/frameworks/base/core/jni/
Dandroid_database_CursorWindow.cpp92 CursorWindow* window; in nativeCreate() local
109 CursorWindow* window; in nativeCreateFromParcel() local
125 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); in nativeDispose() local
133 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); in nativeGetName() local
139 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); in nativeWriteToParcel() local
151 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); in nativeClear() local
160 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); in nativeGetNumRows() local
166 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); in nativeSetNumColumns() local
172 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); in nativeAllocRow() local
178 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()
171 int ReliableSurface::hook_dequeueBuffer(ANativeWindow* window, in hook_dequeueBuffer()
198 int ReliableSurface::hook_cancelBuffer(ANativeWindow* window, in hook_cancelBuffer()
212 int ReliableSurface::hook_queueBuffer(ANativeWindow* window, in hook_queueBuffer()
228 int ReliableSurface::hook_perform(ANativeWindow* window, ANativeWindow_performFn perform, in hook_perform()
271 int ReliableSurface::hook_query(const ANativeWindow *window, ANativeWindow_queryFn query, in hook_query()
DVulkanSurface.cpp62 static bool ConnectAndSetWindowDefaults(ANativeWindow* window) { in ConnectAndSetWindowDefaults()
118 VulkanSurface* VulkanSurface::Create(ANativeWindow* window, ColorMode colorMode, in Create()
142 bool VulkanSurface::InitializeWindowInfoStruct(ANativeWindow* window, ColorMode colorMode, in InitializeWindowInfoStruct()
263 bool VulkanSurface::UpdateWindow(ANativeWindow* window, const WindowInfo& windowInfo) { in UpdateWindow()
312 VulkanSurface::VulkanSurface(ANativeWindow* window, const WindowInfo& windowInfo, in VulkanSurface()
/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()
274 final AccessibilityWindowInfo window = windowsOfDisplay.get(windowId); in refreshCachedWindowLocked() local
344 AccessibilityWindowInfo window = windowsOfDisplay.valueAt(j); in getWindowsOnAllDisplays() local
345 sortedWindows.put(window.getLayer(), window); in getWindowsOnAllDisplays() local
355 AccessibilityWindowInfo window = sortedWindows.valueAt(j); in getWindowsOnAllDisplays() local
385 AccessibilityWindowInfo window = windowsOfDisplay.get(windowId); in getWindow() local
596 final AccessibilityWindowInfo window = windowsOfDisplay.valueAt(j); in checkIntegrity() local
/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/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/services/accessibility/java/com/android/server/accessibility/
DAccessibilityWindowManager.java227 final AccessibilityWindowInfo window = mWindows.get(i); in getPictureInPictureWindowLocked() local
245 AccessibilityWindowInfo window = mWindows.get(i); in setActiveWindowLocked() local
268 AccessibilityWindowInfo window = mWindows.get(i); in setAccessibilityFocusedWindowLocked() local
331 final WindowInfo window = mWindowInfoById.valueAt(i); in getWatchOutsideTouchWindowIdLocked() local
550 final AccessibilityWindowInfo window; in updateWindowsLocked() local
588 final AccessibilityWindowInfo window = mWindows.get(i); in updateWindowsLocked() local
596 final AccessibilityWindowInfo window = mWindows.get(i); in updateWindowsLocked() local
624 final AccessibilityWindowInfo window = oldWindows.get(i); in sendEventsForChangedWindowsLocked() local
655 WindowInfo window) { in populateReportedWindowLocked()
765 AccessibilityWindowInfo window = mWindows.get(j); in dumpLocked() local
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/
DDecorContextTest.java69 final PhoneWindow window = new PhoneWindow(defaultDisplayContext); in testDecorContextWithDefaultDisplay() local
80 final PhoneWindow window = new PhoneWindow(defaultDisplayContext); in testDecorContextWithExternalDisplay() local

12345678