/frameworks/base/core/tests/coretests/src/android/view/ |
D | WindowInfoTest.java | 58 WindowInfo w1 = WindowInfo.obtain(); in testObtain() 62 WindowInfo w2 = WindowInfo.obtain(w1); in testObtain() 72 WindowInfo w1 = WindowInfo.obtain(); in testParceling() 77 WindowInfo w2 = WindowInfo.CREATOR.createFromParcel(parcel); in testParceling() 87 WindowInfo w = WindowInfo.obtain(); in testDefaultValues() 95 WindowInfo w = WindowInfo.obtain(); in testRecycle() 109 WindowInfo w = WindowInfo.obtain(); in testRecycle_fallbackToDefaultValues() 116 private static void assertDefaultValue(WindowInfo windowinfo) { in assertDefaultValue() 138 private boolean areWindowsEqual(WindowInfo w1, WindowInfo w2) { in areWindowsEqual() 152 private void initTestWindowInfo(WindowInfo windowInfo) { in initTestWindowInfo()
|
/frameworks/base/core/java/android/view/ |
D | WindowInfo.java | 38 public class WindowInfo implements Parcelable { class 41 private static final Pools.SynchronizedPool<WindowInfo> sPool = 42 new Pools.SynchronizedPool<WindowInfo>(MAX_POOL_SIZE); 66 private WindowInfo() { in WindowInfo() method in WindowInfo 70 public static WindowInfo obtain() { in obtain() 71 WindowInfo window = sPool.acquire(); in obtain() 73 window = new WindowInfo(); in obtain() 78 public static WindowInfo obtain(WindowInfo other) { in obtain() 79 WindowInfo window = obtain(); in obtain() 223 public static final @android.annotation.NonNull Parcelable.Creator<WindowInfo> CREATOR = [all …]
|
D | WindowInfo.aidl | 19 parcelable WindowInfo;
|
/frameworks/native/services/surfaceflinger/tests/ |
D | WindowInfosListener_test.cpp | 28 using gui::WindowInfo; 31 using WindowInfosPredicate = std::function<bool(const std::vector<WindowInfo>&)>; 53 WindowInfo windowInfo; in TEST_F() 67 auto windowPresent = [&](const std::vector<WindowInfo>& windowInfos) { in TEST_F() 74 auto windowNotPresent = [&](const std::vector<WindowInfo>& windowInfos) { in TEST_F() 83 WindowInfo windowInfo; in TEST_F() 98 auto windowIsPresentAndTouchableRegionEmpty = [&](const std::vector<WindowInfo>& windowInfos) { in TEST_F() 111 [&](const std::vector<WindowInfo>& windowInfos) { in TEST_F()
|
D | Credentials_test.cpp | 343 WindowInfo windowInfo; in TEST_F() 370 auto windowIsPresentAndNotTrusted = [&](const std::vector<WindowInfo>& windowInfos) { in TEST_F() 376 return !foundWindowInfo->inputConfig.test(WindowInfo::InputConfig::TRUSTED_OVERLAY); in TEST_F() 386 auto windowIsPresentAndTrusted = [&](const std::vector<WindowInfo>& windowInfos) { in TEST_F() 392 return foundWindowInfo->inputConfig.test(WindowInfo::InputConfig::TRUSTED_OVERLAY); in TEST_F()
|
/frameworks/native/services/surfaceflinger/tests/utils/ |
D | WindowInfosListenerUtils.h | 28 using gui::WindowInfo; 30 using WindowInfosPredicate = std::function<bool(const std::vector<WindowInfo>&)>; 47 static const WindowInfo* findMatchingWindowInfo(const WindowInfo& targetWindowInfo, in findMatchingWindowInfo() 48 const std::vector<WindowInfo>& windowInfos) { in findMatchingWindowInfo() 49 for (const WindowInfo& windowInfo : windowInfos) { in findMatchingWindowInfo()
|
/frameworks/native/libs/gui/tests/ |
D | WindowInfo_test.cpp | 30 using gui::WindowInfo; 35 TEST(WindowInfo, ParcellingWithoutToken) { in TEST() argument 36 WindowInfo i, i2; in TEST() 46 TEST(WindowInfo, Parcelling) { in TEST() argument 48 WindowInfo i; in TEST() 53 i.layoutParamsFlags = WindowInfo::Flag::SLIPPERY; in TEST() 54 i.layoutParamsType = WindowInfo::Type::INPUT_METHOD; in TEST() 66 i.inputConfig = WindowInfo::InputConfig::NOT_FOCUSABLE; in TEST() 78 WindowInfo i2; in TEST()
|
/frameworks/native/libs/gui/ |
D | WindowInfo.cpp | 64 void WindowInfo::setInputConfig(ftl::Flags<InputConfig> config, bool value) { in setInputConfig() 72 void WindowInfo::addTouchableRegion(const Rect& region) { in addTouchableRegion() 76 bool WindowInfo::supportsSplitTouch() const { in supportsSplitTouch() 80 bool WindowInfo::isSpy() const { in isSpy() 84 bool WindowInfo::interceptsStylus() const { in interceptsStylus() 88 bool WindowInfo::overlaps(const WindowInfo* other) const { in overlaps() 93 bool WindowInfo::operator==(const WindowInfo& info) const { in operator ==() 108 status_t WindowInfo::writeToParcel(android::Parcel* parcel) const { in writeToParcel() 131 static_cast<std::underlying_type_t<WindowInfo::Type>>(layoutParamsType)) ?: in writeToParcel() 161 status_t WindowInfo::readFromParcel(const android::Parcel* parcel) { in readFromParcel() [all …]
|
D | WindowInfosListenerReporter.cpp | 25 using gui::WindowInfo; 37 std::pair<std::vector<gui::WindowInfo>, std::vector<gui::DisplayInfo>>* outInitialInfo) { in addWindowInfosListener() argument
|
D | Android.bp | 108 "android/gui/WindowInfo.aidl", 127 "android/gui/WindowInfo.aidl", 129 "WindowInfo.cpp", 174 "android/gui/WindowInfo.aidl", 184 "android/gui/WindowInfo.aidl",
|
/frameworks/base/core/java/android/window/ |
D | WindowInfosListenerForTest.java | 51 public static class WindowInfo { class in WindowInfosListenerForTest 123 WindowInfo(@NonNull IBinder windowToken, @NonNull String name, int displayId, in WindowInfo() method in WindowInfosListenerForTest.WindowInfo 155 private ArrayMap<Consumer<List<WindowInfo>>, WindowInfosListener> mListeners; 170 @NonNull Consumer<List<WindowInfo>> consumer) { in addWindowInfosListener() 196 public void removeWindowInfosListener(@NonNull Consumer<List<WindowInfo>> consumer) { in removeWindowInfosListener() 204 private static List<WindowInfo> buildWindowInfos( in buildWindowInfos() 206 var windowInfos = new ArrayList<WindowInfo>(windowHandles.length); in buildWindowInfos() 225 windowInfos.add(new WindowInfo(handle.getWindowToken(), handle.name, handle.displayId, in buildWindowInfos()
|
/frameworks/base/libs/hwui/renderthread/ |
D | VulkanSurface.h | 95 struct WindowInfo { struct 112 VulkanSurface(ANativeWindow* window, const WindowInfo& windowInfo, GrDirectContext* grContext); argument 116 WindowInfo* outWindowInfo); 117 static bool UpdateWindow(ANativeWindow* window, const WindowInfo& windowInfo); 130 WindowInfo mWindowInfo;
|
/frameworks/native/libs/gui/include/gui/ |
D | WindowInfo.h | 41 struct WindowInfo : public Parcelable { struct 42 WindowInfo() = default; 265 bool overlaps(const WindowInfo* other) const; argument 267 bool operator==(const WindowInfo& inputChannel) const; 274 std::ostream& operator<<(std::ostream& out, const WindowInfo& window); 286 WindowInfoHandle(const WindowInfo& other); 288 inline const WindowInfo* getInfo() const { return &mInfo; } in getInfo() 289 inline WindowInfo* editInfo() { return &mInfo; } in editInfo() 322 WindowInfo mInfo;
|
D | WindowInfosUpdate.h | 28 WindowInfosUpdate(std::vector<WindowInfo> windowInfos, std::vector<DisplayInfo> displayInfos, in WindowInfosUpdate() 35 std::vector<WindowInfo> windowInfos;
|
D | WindowInfosListenerReporter.h | 37 std::pair<std::vector<gui::WindowInfo>, std::vector<gui::DisplayInfo>>* outInitialInfo); 47 std::vector<gui::WindowInfo> mLastWindowInfos GUARDED_BY(mListenersMutex);
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityWindowManager.java | 48 import android.view.WindowInfo; 213 private final SparseArray<WindowInfo> mWindowInfoById = new SparseArray<>(); 214 private final List<WindowInfo> mCachedWindowInfos = new ArrayList<>(); 302 WindowInfo findWindowInfoByIdLocked(int windowId) { in findWindowInfoByIdLocked() 421 final WindowInfo targetWindow = mWindowInfoById.get(targetWindowId); in getWatchOutsideTouchWindowIdLocked() 425 final WindowInfo window = mWindowInfoById.valueAt(i); in getWatchOutsideTouchWindowIdLocked() 446 IBinder topFocusedWindowToken, @NonNull List<WindowInfo> windows) { in onWindowsForAccessibilityChanged() 509 final List<WindowInfo> windowInfoList = in onAccessibilityWindowsChanged() 516 private List<WindowInfo> createWindowInfoListLocked(@NonNull Point screenSize, in createWindowInfoListLocked() 519 final List<WindowInfo> windows = new ArrayList<>(); in createWindowInfoListLocked() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | AccessibilityWindowManagerTest.java | 56 import android.view.WindowInfo; 126 private final SparseArray<ArrayList<WindowInfo>> mWindowInfos = 240 WindowInfo focusedWindowInfo = in onWindowsChanged_duringTouchInteractAndFocusChange_shouldChangeActiveWindow() 320 final WindowInfo windowInfo = mWindowInfos.get(Display.DEFAULT_DISPLAY).get(i); in onWindowsChanged_shouldReportCorrectLayer() 335 final WindowInfo windowInfo = mWindowInfos.get(Display.DEFAULT_DISPLAY).get(i); in onWindowsChanged_shouldReportCorrectOrder() 342 final WindowInfo windowInfo = mWindowInfos.get(Display.DEFAULT_DISPLAY).get(0); in onWindowsChangedAndForceSend_shouldUpdateWindows() 354 final WindowInfo windowInfo = mWindowInfos.get(Display.DEFAULT_DISPLAY).get(0); in onWindowsChangedNoForceSend_layerChanged_shouldNotUpdateWindows() 371 final WindowInfo windowInfo = WindowInfo.obtain(); in onWindowsChangedNoForceSend_windowChanged_shouldUpdateWindows() 385 final WindowInfo focusedWindowInfo = in onWindowsChangedNoForceSend_focusChanged_shouldUpdateWindows() 387 final WindowInfo windowInfo = mWindowInfos.get(Display.DEFAULT_DISPLAY).get(0); in onWindowsChangedNoForceSend_focusChanged_shouldUpdateWindows() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | LayerSnapshotTest.cpp | 1172 gui::WindowInfo::InputConfig::TRUSTED_OVERLAY)); in TEST_F() 1230 gui::WindowInfo::InputConfig::SENSITIVE_FOR_PRIVACY)); in TEST_F() 1232 gui::WindowInfo::InputConfig::SENSITIVE_FOR_PRIVACY)); in TEST_F() 1234 gui::WindowInfo::InputConfig::SENSITIVE_FOR_PRIVACY)); in TEST_F() 1236 gui::WindowInfo::InputConfig::SENSITIVE_FOR_PRIVACY)); in TEST_F() 1238 gui::WindowInfo::InputConfig::SENSITIVE_FOR_PRIVACY)); in TEST_F() 1243 inputInfo.inputConfig |= gui::WindowInfo::InputConfig::SENSITIVE_FOR_PRIVACY; in TEST_F() 1249 gui::WindowInfo::InputConfig::SENSITIVE_FOR_PRIVACY)); in TEST_F() 1251 gui::WindowInfo::InputConfig::SENSITIVE_FOR_PRIVACY)); in TEST_F() 1253 gui::WindowInfo::InputConfig::SENSITIVE_FOR_PRIVACY)); in TEST_F() [all …]
|
/frameworks/native/libs/gui/android/gui/ |
D | WindowInfo.aidl | 19 parcelable WindowInfo cpp_header "gui/WindowInfo.h" rust_type "gui_aidl_types_rs::WindowInfo";
|
D | WindowInfosUpdate.aidl | 20 import android.gui.WindowInfo;
|
/frameworks/base/core/jni/ |
D | android_window_WindowInfosListener.cpp | 35 using gui::WindowInfo; 67 static jobjectArray fromWindowInfos(JNIEnv* env, const std::vector<WindowInfo>& windowInfos) { in fromWindowInfos() 145 std::pair<std::vector<gui::WindowInfo>, std::vector<gui::DisplayInfo>> initialInfo; in nativeRegister()
|
D | android_hardware_input_InputWindowHandle.h | 44 gui::WindowInfo windowInfo);
|
D | android_hardware_input_InputWindowHandle.cpp | 43 using gui::WindowInfo; 152 const auto flags = ftl::Flags<WindowInfo::Flag>( in updateInfo() 154 const auto type = static_cast<WindowInfo::Type>( in updateInfo() 159 mInfo.inputConfig = static_cast<gui::WindowInfo::InputConfig>( in updateInfo() 257 jobject android_view_InputWindowHandle_fromWindowInfo(JNIEnv* env, gui::WindowInfo windowInfo) { in android_view_InputWindowHandle_fromWindowInfo()
|
/frameworks/native/libs/gui/rust/aidl_types/src/ |
D | lib.rs | 54 stub_unstructured_parcelable!(WindowInfo);
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | TouchState.cpp | 26 using android::gui::WindowInfo; 205 WindowInfo::InputConfig::SLIPPERY)) { in isSlippery() 220 gui::WindowInfo::InputConfig::IS_WALLPAPER)) { in getWallpaperWindow()
|