Searched refs:surfaceInset (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/core/java/android/view/ |
D | InputWindowHandle.java | 110 public int surfaceInset; field in InputWindowHandle 187 surfaceInset = other.surfaceInset; in InputWindowHandle()
|
D | WindowManager.java | 4213 final int surfaceInset = (int) Math.ceil(view.getZ() * 2); in setSurfaceInsets() local 4219 if (surfaceInset == 0) { in setSurfaceInsets() 4224 Math.max(surfaceInset, surfaceInsets.left), in setSurfaceInsets() 4225 Math.max(surfaceInset, surfaceInsets.top), in setSurfaceInsets() 4226 Math.max(surfaceInset, surfaceInsets.right), in setSurfaceInsets() 4227 Math.max(surfaceInset, surfaceInsets.bottom)); in setSurfaceInsets()
|
/frameworks/native/libs/gui/tests/ |
D | WindowInfo_test.cpp | 59 i.surfaceInset = 17; in TEST() 92 ASSERT_EQ(i.surfaceInset, i2.surfaceInset); in TEST()
|
D | EndToEndNativeInputTest.cpp | 503 fgSurface->mInputInfo.surfaceInset = 5; in TEST_F() 519 childSurface->mInputInfo.surfaceInset = 10; in TEST_F() 540 fgSurface->mInputInfo.surfaceInset = 5; in TEST_F() 559 fgSurface->mInputInfo.surfaceInset = INT32_MAX; in TEST_F() 778 surface->mInputInfo.surfaceInset = 5; in TEST_F()
|
/frameworks/native/libs/gui/ |
D | WindowInfo.cpp | 71 info.frameBottom == frameBottom && info.surfaceInset == surfaceInset && in operator ==() 108 parcel->writeInt32(surfaceInset) ?: in writeToParcel() 160 parcel->readInt32(&surfaceInset) ?: in readFromParcel()
|
/frameworks/base/core/jni/ |
D | android_hardware_input_InputWindowHandle.cpp | 64 jfieldID surfaceInset; member 139 mInfo.surfaceInset = env->GetIntField(obj, in updateInfo() 140 gInputWindowHandleClassInfo.surfaceInset); in updateInfo() 283 env->SetIntField(inputWindowHandle, gInputWindowHandleClassInfo.surfaceInset, in android_view_InputWindowHandle_fromWindowInfo() 284 windowInfo.surfaceInset); in android_view_InputWindowHandle_fromWindowInfo() 405 GET_FIELD_ID(gInputWindowHandleClassInfo.surfaceInset, clazz, in register_android_view_InputWindowHandle()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | InputWindowHandleWrapper.java | 243 if (mHandle.surfaceInset == inset) { in setSurfaceInset() 246 mHandle.surfaceInset = inset; in setSurfaceInset()
|
/frameworks/native/libs/gui/include/gui/ |
D | WindowInfo.h | 204 int32_t surfaceInset = 0; member
|
/frameworks/native/services/surfaceflinger/ |
D | LayerProtoHelper.cpp | 191 proto->set_surface_inset(inputInfo.surfaceInset); in writeToProto()
|
D | Layer.cpp | 2256 const auto surfaceInset = static_cast<float>(info.surfaceInset); in fillInputFrameInfo() local 2258 std::max(0.f, std::min(surfaceInset, inputBoundsInLayer.getWidth() / 2.f)); in fillInputFrameInfo() 2260 std::max(0.f, std::min(surfaceInset, inputBoundsInLayer.getHeight() / 2.f)); in fillInputFrameInfo()
|
/frameworks/native/services/surfaceflinger/Tracing/ |
D | TransactionProtoParser.cpp | 205 windowInfoProto->set_surface_inset(inputInfo->surfaceInset); in toProto() 487 inputInfo.surfaceInset = windowInfoProto.surface_inset(); in fromProto()
|