Home
last modified time | relevance | path

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

12345678910

/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.aidl50 int addToDisplay(IWindow window, in WindowManager.LayoutParams attrs, in addToDisplay()
55 int addToDisplayAsUser(IWindow window, in WindowManager.LayoutParams attrs, in addToDisplayAsUser()
60 int addToDisplayWithoutInputChannel(IWindow window, in WindowManager.LayoutParams attrs, in addToDisplayWithoutInputChannel()
64 void remove(IWindow window); in remove()
91 int relayout(IWindow window, in WindowManager.LayoutParams attrs, in relayout()
110 oneway void relayoutAsync(IWindow window, in WindowManager.LayoutParams attrs, in relayoutAsync()
127 boolean outOfMemory(IWindow window); in outOfMemory()
139 oneway void setInsets(IWindow window, int touchableInsets, in Rect contentInsets, in setInsets()
150 oneway void finishDrawing(IWindow window, in SurfaceControl.Transaction postDrawTransaction, in finishDrawing()
178 IBinder performDrag(IWindow window, int flags, in SurfaceControl surface, int touchSource, in performDrag()
[all …]
DWindowlessWindowManager.java109 void setCompletionCallback(IBinder window, ResizeCompleteCallback callback) { in setCompletionCallback()
116 protected void setTouchRegion(IBinder window, @Nullable Region region) { in setTouchRegion()
141 protected void attachToParentSurface(IWindow window, SurfaceControl.Builder b) { in attachToParentSurface()
149 public int addToDisplay(IWindow window, WindowManager.LayoutParams attrs, in addToDisplay()
199 public int addToDisplayAsUser(IWindow window, WindowManager.LayoutParams attrs, in addToDisplayAsUser()
210 public int addToDisplayWithoutInputChannel(android.view.IWindow window, in addToDisplayWithoutInputChannel()
218 public void remove(android.view.IWindow window) throws RemoteException { in remove()
279 protected SurfaceControl getSurfaceControl(IWindow window) { in getSurfaceControl()
288 public int relayout(IWindow window, WindowManager.LayoutParams inAttrs, in relayout()
355 public void relayoutAsync(IWindow window, WindowManager.LayoutParams inAttrs, in relayoutAsync()
[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.java198 public int addToDisplay(IWindow window, WindowManager.LayoutParams attrs, in addToDisplay()
209 public int addToDisplayAsUser(IWindow window, WindowManager.LayoutParams attrs, in addToDisplayAsUser()
220 public int addToDisplayWithoutInputChannel(IWindow window, WindowManager.LayoutParams attrs, in addToDisplayWithoutInputChannel()
229 public void remove(IWindow window) { in remove()
239 public boolean cancelDraw(IWindow window) { in cancelDraw()
244 public int relayout(IWindow window, WindowManager.LayoutParams attrs, in relayout()
264 public void relayoutAsync(IWindow window, WindowManager.LayoutParams attrs, in relayoutAsync()
274 public boolean outOfMemory(IWindow window) { in outOfMemory()
279 public void setInsets(IWindow window, int touchableInsets, in setInsets()
286 public void clearTouchableRegion(IWindow window) { in clearTouchableRegion()
[all …]
DDragDropController.java93 void sendDragStartedIfNeededLocked(WindowState window) { in sendDragStartedIfNeededLocked()
97 IBinder performDrag(int callerPid, int callerUid, IWindow window, int flags, in performDrag()
213 void reportDropResult(IWindow window, boolean consumed) { in reportDropResult()
303 void dragRecipientEntered(IWindow window) { in dragRecipientEntered()
310 void dragRecipientExited(IWindow window) { in dragRecipientExited()
355 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/
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.java65 void parcelLayoutParams(WindowState window) { in parcelLayoutParams()
92 WindowState window = createWindow(null, TYPE_BASE_APPLICATION, name); in createWindow() local
296 final WindowState window = createWindow("overrideWindow"); in testAnimatingDenylist() local
341 final WindowState window = createWindow("window"); in testAppMaxRefreshRate() local
360 final WindowState window = createWindow("window"); in testAppMinRefreshRate() local
379 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.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.cpp70 TouchedWindow& window = windows[i]; in filterNonAsIsTouchWindows() local
89 const TouchedWindow& window = windows[i]; in getFirstForegroundWindowHandle() local
100 for (const TouchedWindow& window : windows) { in isSlippery() local
115 const TouchedWindow& window = windows[i]; in getWallpaperWindow() 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()
286 bool VulkanSurface::UpdateWindow(ANativeWindow* window, const WindowInfo& windowInfo) { in UpdateWindow()
335 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/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/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/base/packages/SystemUI/screenshot/src/com/android/systemui/testing/screenshot/
DViewScreenshotTestRule.kt74 val window = activity.window in <lambda>() constant
159 val window = window in <lambda>() constant
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/
DDecorContextTest.java74 final PhoneWindow window = new PhoneWindow(defaultDisplayContext); in testDecorContextWithDefaultDisplay() local
89 final PhoneWindow window = new PhoneWindow(defaultDisplayContext); in testDecorContextWithExternalDisplay() local

12345678910