Home
last modified time | relevance | path

Searched refs:surfaceInset (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/android/view/
DInputWindowHandle.java110 public int surfaceInset; field in InputWindowHandle
187 surfaceInset = other.surfaceInset; in InputWindowHandle()
DWindowManager.java4213 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/
DWindowInfo_test.cpp59 i.surfaceInset = 17; in TEST()
92 ASSERT_EQ(i.surfaceInset, i2.surfaceInset); in TEST()
DEndToEndNativeInputTest.cpp503 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/
DWindowInfo.cpp71 info.frameBottom == frameBottom && info.surfaceInset == surfaceInset && in operator ==()
108 parcel->writeInt32(surfaceInset) ?: in writeToParcel()
160 parcel->readInt32(&surfaceInset) ?: in readFromParcel()
/frameworks/base/core/jni/
Dandroid_hardware_input_InputWindowHandle.cpp64 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/
DInputWindowHandleWrapper.java243 if (mHandle.surfaceInset == inset) { in setSurfaceInset()
246 mHandle.surfaceInset = inset; in setSurfaceInset()
/frameworks/native/libs/gui/include/gui/
DWindowInfo.h204 int32_t surfaceInset = 0; member
/frameworks/native/services/surfaceflinger/
DLayerProtoHelper.cpp191 proto->set_surface_inset(inputInfo.surfaceInset); in writeToProto()
DLayer.cpp2256 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/
DTransactionProtoParser.cpp205 windowInfoProto->set_surface_inset(inputInfo->surfaceInset); in toProto()
487 inputInfo.surfaceInset = windowInfoProto.surface_inset(); in fromProto()