Home
last modified time | relevance | path

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

1234567

/frameworks/native/libs/nativewindow/
DANativeWindow.cpp30 static int32_t query(ANativeWindow* window, int what) { in query()
36 static bool isDataSpaceValid(ANativeWindow* window, int32_t dataSpace) { in isDataSpaceValid()
61 void ANativeWindow_acquire(ANativeWindow* window) { in ANativeWindow_acquire()
66 void ANativeWindow_release(ANativeWindow* window) { in ANativeWindow_release()
71 int32_t ANativeWindow_getWidth(ANativeWindow* window) { in ANativeWindow_getWidth()
75 int32_t ANativeWindow_getHeight(ANativeWindow* window) { in ANativeWindow_getHeight()
79 int32_t ANativeWindow_getFormat(ANativeWindow* window) { in ANativeWindow_getFormat()
83 int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, in ANativeWindow_setBuffersGeometry()
99 int32_t ANativeWindow_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer, in ANativeWindow_lock()
104 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.aidl43 int addToDisplay(IWindow window, int seq, in WindowManager.LayoutParams attrs, in addToDisplay()
48 … int addToDisplayWithoutInputChannel(IWindow window, int seq, in WindowManager.LayoutParams attrs, in addToDisplayWithoutInputChannel()
52 void remove(IWindow window); in remove()
99 int relayout(IWindow window, int seq, in WindowManager.LayoutParams attrs, in relayout()
121 boolean outOfMemory(IWindow window); in outOfMemory()
129 void setTransparentRegion(IWindow window, in Region region); in setTransparentRegion()
141 void setInsets(IWindow window, int touchableInsets, in Rect contentInsets, in setInsets()
148 void getDisplayFrame(IWindow window, out Rect outDisplayFrame); in getDisplayFrame()
151 void finishDrawing(IWindow window); in finishDrawing()
178 IBinder performDrag(IWindow window, int flags, in SurfaceControl surface, int touchSource, in performDrag()
[all …]
DFrameMetricsObserver.java52 FrameMetricsObserver(@NonNull Window window, @NonNull Looper looper, in FrameMetricsObserver()
72 final Window window = mWindow.get(); in notifyDataAvailable() local
DWindowInfo.java59 WindowInfo window = sPool.acquire(); in obtain() local
67 WindowInfo window = obtain(); in obtain() local
/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.java154 public int addToDisplay(IWindow window, int seq, WindowManager.LayoutParams attrs, in addToDisplay()
165 …public int addToDisplayWithoutInputChannel(IWindow window, int seq, WindowManager.LayoutParams att… in addToDisplayWithoutInputChannel()
175 public void remove(IWindow window) { in remove()
185 public int relayout(IWindow window, int seq, WindowManager.LayoutParams attrs, in relayout()
206 public boolean outOfMemory(IWindow window) { in outOfMemory()
211 public void setTransparentRegion(IWindow window, Region region) { in setTransparentRegion()
216 public void setInsets(IWindow window, int touchableInsets, in setInsets()
223 public void getDisplayFrame(IWindow window, Rect outDisplayFrame) { in getDisplayFrame()
228 public void finishDrawing(IWindow window) { in finishDrawing()
262 public IBinder performDrag(IWindow window, int flags, SurfaceControl surface, int touchSource, in performDrag()
[all …]
DDragDropController.java86 void sendDragStartedIfNeededLocked(WindowState window) { in sendDragStartedIfNeededLocked()
90 IBinder performDrag(SurfaceSession session, int callerPid, int callerUid, IWindow window, in performDrag()
198 void reportDropResult(IWindow window, boolean consumed) { in reportDropResult()
290 void dragRecipientEntered(IWindow window) { in dragRecipientEntered()
296 void dragRecipientExited(IWindow window) { in dragRecipientExited()
/frameworks/native/libs/nativewindow/include/system/
Dwindow.h561 static inline int native_window_set_usage(struct ANativeWindow* window, uint64_t usage) { in native_window_set_usage()
598 struct ANativeWindow* window, in native_window_set_crop()
609 struct ANativeWindow* window, in native_window_set_buffer_count()
629 struct ANativeWindow* window, in native_window_set_buffers_geometry()
650 struct ANativeWindow* window, in native_window_set_buffers_dimensions()
675 struct ANativeWindow* window, in native_window_set_buffers_user_dimensions()
689 struct ANativeWindow* window, in native_window_set_buffers_format()
708 struct ANativeWindow* window, in native_window_set_buffers_data_space()
726 struct ANativeWindow* window, in native_window_set_buffers_smpte2086_metadata()
744 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/libs/hwui/renderthread/
DReliableSurface.cpp231 Surface* ReliableSurface::getWrapped(const ANativeWindow* window) { in getWrapped()
235 int ReliableSurface::hook_setSwapInterval(ANativeWindow* window, int interval) { in hook_setSwapInterval()
239 int ReliableSurface::hook_dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, in hook_dequeueBuffer()
244 int ReliableSurface::hook_cancelBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, in hook_cancelBuffer()
249 int ReliableSurface::hook_queueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, in hook_queueBuffer()
254 int ReliableSurface::hook_dequeueBuffer_DEPRECATED(ANativeWindow* window, in hook_dequeueBuffer_DEPRECATED()
273 int ReliableSurface::hook_cancelBuffer_DEPRECATED(ANativeWindow* window, in hook_cancelBuffer_DEPRECATED()
278 int ReliableSurface::hook_lockBuffer_DEPRECATED(ANativeWindow* window, in hook_lockBuffer_DEPRECATED()
284 int ReliableSurface::hook_queueBuffer_DEPRECATED(ANativeWindow* window, in hook_queueBuffer_DEPRECATED()
289 int ReliableSurface::hook_query(const ANativeWindow* window, int what, int* value) { in hook_query()
[all …]
DVulkanSurface.cpp108 static bool ResetNativeWindow(ANativeWindow* window) { in ResetNativeWindow()
163 VulkanSurface* VulkanSurface::Create(ANativeWindow* window, ColorMode colorMode, in Create()
310 bool VulkanSurface::UpdateWindow(ANativeWindow* window, const WindowInfo& windowInfo) { in UpdateWindow()
383 VulkanSurface::VulkanSurface(ANativeWindow* window, const WindowInfo& windowInfo, in VulkanSurface()
/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.cpp105 static int32_t native_window_lock(ANativeWindow* window, ANativeWindow_Buffer* outBuffer, in native_window_lock()
110 static int32_t native_window_unlockAndPost(ANativeWindow* window) { in native_window_unlockAndPost()
118 sp<ANativeWindow> window = new Surface(producer, true); in android_view_TextureView_createNativeWindow() local
130 sp<ANativeWindow> window(nativeWindow); in android_view_TextureView_destroyNativeWindow() local
155 sp<ANativeWindow> window((ANativeWindow*) nativeWindow); in android_view_TextureView_lockCanvas() local
190 sp<ANativeWindow> window((ANativeWindow*) nativeWindow); in android_view_TextureView_unlockCanvasAndPost() local
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotCacheTest.java53 final WindowState window = createWindow(null, FIRST_APPLICATION_WINDOW, "window"); in testAppRemoved() local
64 final WindowState window = createWindow(null, FIRST_APPLICATION_WINDOW, "window"); in testAppDied() local
75 final WindowState window = createWindow(null, FIRST_APPLICATION_WINDOW, "window"); in testTaskRemoved() local
86 final WindowState window = createWindow(null, FIRST_APPLICATION_WINDOW, "window"); in testReduced_notCached() local
103 final WindowState window = createWindow(null, FIRST_APPLICATION_WINDOW, "window"); in testRestoreFromDisk() 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/base/core/java/android/view/accessibility/
DAccessibilityCache.java95 final AccessibilityWindowInfo window = windows.get(i); in setWindows() local
102 public void addWindow(AccessibilityWindowInfo window) { in addWindow()
246 AccessibilityWindowInfo window = mWindowCache.valueAt(i); in getWindows() local
247 sortedWindows.put(window.getLayer(), window); in getWindows() local
255 AccessibilityWindowInfo window = sortedWindows.valueAt(i); in getWindows() local
268 AccessibilityWindowInfo window = mWindowCache.get(windowId); in getWindow() local
450 AccessibilityWindowInfo window = mWindowCache.valueAt(i); in checkIntegrity() local
/frameworks/native/services/inputflinger/dispatcher/
DTouchState.cpp116 TouchedWindow& window = windows[i]; in filterNonAsIsTouchWindows() local
135 const TouchedWindow& window = windows[i]; in getFirstForegroundWindowHandle() local
146 for (const TouchedWindow& window : windows) { in isSlippery() local
/frameworks/native/services/surfaceflinger/EventLog/
DEventLog.cpp34 void EventLog::doLogFrameDurations(const String8& window, in doLogFrameDurations()
46 void EventLog::logFrameDurations(const String8& window, in logFrameDurations()
/frameworks/native/vulkan/libvulkan/
Dswapchain.cpp207 android::sp<ANativeWindow> window; member
238 ANativeWindow* window = surface.window.get(); in Swapchain() local
245 ANativeWindow* window = surface.window.get(); in get_refresh_duration() local
285 ANativeWindow* window, in ReleaseSwapchainImage()
594 const ANativeWindow* window = surface->window.get(); in GetPhysicalDeviceSurfaceSupportKHR() local
635 ANativeWindow* window = SurfaceFromHandle(surface)->window.get(); in GetPhysicalDeviceSurfaceCapabilitiesKHR() local
872 ANativeWindow* window = SurfaceFromHandle(surface)->window.get(); in GetPhysicalDeviceSurfacePresentModesKHR() local
971 ANativeWindow* window = SurfaceFromHandle(surface)->window.get(); in GetPhysicalDevicePresentRectanglesKHR() local
1402 ANativeWindow* window = active ? swapchain->surface.window.get() : nullptr; in DestroySwapchainKHR() local
1455 ANativeWindow* window = swapchain.surface.window.get(); in AcquireNextImageKHR() local
[all …]
/frameworks/native/opengl/tools/glgen/stubs/egl/
DeglCreateWindowSurface.cpp15 android::sp<ANativeWindow> window; in android_eglCreateWindowSurface() local
89 android::sp<ANativeWindow> window; in android_eglCreateWindowSurfaceTexture() local
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/
DCollectorThread.java89 … public void onFrameMetricsAvailable(Window window, FrameMetrics frameMetrics, int dropCount) { in onFrameMetricsAvailable()
105 public void attachToWindow(Window window) { in attachToWindow()
/frameworks/base/core/java/android/database/
DCrossProcessCursor.java61 void fillWindow(int position, CursorWindow window); in fillWindow()

1234567