Home
last modified time | relevance | path

Searched refs:inputInfo (Results 1 – 19 of 19) sorted by relevance

/frameworks/native/services/surfaceflinger/FrontEnd/
DLayerSnapshot.cpp122 inputInfo.name = state.name; in LayerSnapshot()
123 inputInfo.id = static_cast<int32_t>(uniqueSequence); in LayerSnapshot()
124 inputInfo.ownerUid = gui::Uid{state.ownerUid}; in LayerSnapshot()
125 inputInfo.ownerPid = gui::Pid{state.ownerPid}; in LayerSnapshot()
266 return (inputInfo.token != nullptr || in hasInputInfo()
267 inputInfo.inputConfig.test(gui::WindowInfo::InputConfig::NO_INPUT_CHANNEL)) && in hasInputInfo()
283 << "(" << inputInfo.inputConfig.string() << ")"; in getDebugString()
285 if (inputInfo.replaceTouchableRegionWithCrop) debug << " replaceTouchableRegionWithCrop"; in getDebugString()
286 auto touchableRegion = inputInfo.touchableRegion.getBounds(); in getDebugString()
316 << "(" << obj.inputInfo.inputConfig.string() << ")"; in operator <<()
[all …]
DLayerSnapshotBuilder.cpp140 const float inset = static_cast<float>(snapshot.inputInfo.surfaceInset); in getInputBounds()
198 if (snapshot.inputInfo.inputConfig.test(gui::WindowInfo::InputConfig::NO_INPUT_CHANNEL)) { in handleDropInputMode()
205 snapshot.inputInfo.inputConfig |= gui::WindowInfo::InputConfig::DROP_INPUT; in handleDropInputMode()
217 snapshot.inputInfo.inputConfig |= gui::WindowInfo::InputConfig::DROP_INPUT; in handleDropInputMode()
225 snapshot.inputInfo.inputConfig |= gui::WindowInfo::InputConfig::DROP_INPUT_IF_OBSCURED; in handleDropInputMode()
237 snapshot.inputInfo.inputConfig |= gui::WindowInfo::InputConfig::DROP_INPUT; in handleDropInputMode()
245 snapshot.inputInfo.inputConfig |= gui::WindowInfo::InputConfig::DROP_INPUT_IF_OBSCURED; in handleDropInputMode()
277 snapshot.inputInfo.setInputConfig(gui::WindowInfo::InputConfig::NOT_VISIBLE, !visibleForInput); in updateVisibility()
287 if (snapshot.inputInfo.token != nullptr) { in needsInputInfo()
363 snapshot.inputInfo.touchOcclusionMode = gui::TouchOcclusionMode::BLOCK_UNTRUSTED; in getRootSnapshot()
[all …]
DLayerSnapshot.h81 gui::WindowInfo inputInfo; member
/frameworks/native/services/surfaceflinger/Tracing/
DTransactionProtoParser.cpp194 const gui::WindowInfo* inputInfo = layer.windowInfoHandle->getInfo(); in toProto() local
197 windowInfoProto->set_layout_params_flags(inputInfo->layoutParamsFlags.get()); in toProto()
199 static_cast<int32_t>(inputInfo->layoutParamsType)); in toProto()
200 windowInfoProto->set_input_config(inputInfo->inputConfig.get()); in toProto()
201 LayerProtoHelper::writeToProto(inputInfo->touchableRegion, in toProto()
203 windowInfoProto->set_surface_inset(inputInfo->surfaceInset); in toProto()
205 !inputInfo->inputConfig.test(gui::WindowInfo::InputConfig::NOT_FOCUSABLE)); in toProto()
206 windowInfoProto->set_has_wallpaper(inputInfo->inputConfig.test( in toProto()
208 windowInfoProto->set_global_scale_factor(inputInfo->globalScaleFactor); in toProto()
210 transformProto->set_dsdx(inputInfo->transform.dsdx()); in toProto()
[all …]
/frameworks/native/services/surfaceflinger/
DLayerProtoHelper.cpp181 const WindowInfo& inputInfo, const wp<Layer>& touchableRegionBounds, in writeToProto() argument
183 if (inputInfo.token == nullptr) { in writeToProto()
188 proto->set_layout_params_flags(inputInfo.layoutParamsFlags.get()); in writeToProto()
189 proto->set_input_config(inputInfo.inputConfig.get()); in writeToProto()
194 proto->set_layout_params_type(static_cast<U>(inputInfo.layoutParamsType)); in writeToProto()
196 LayerProtoHelper::writeToProto({inputInfo.frame.left, inputInfo.frame.top, in writeToProto()
197 inputInfo.frame.right, inputInfo.frame.bottom}, in writeToProto()
199 LayerProtoHelper::writeToProto(inputInfo.touchableRegion, in writeToProto()
202 proto->set_surface_inset(inputInfo.surfaceInset); in writeToProto()
204 proto->set_visible(!inputInfo.inputConfig.test(InputConfig::NOT_VISIBLE)); in writeToProto()
[all …]
DLayerProtoHelper.h65 const gui::WindowInfo& inputInfo, const wp<Layer>& touchableRegionBounds,
DLayer.cpp2167 mDrawingState.inputInfo = info; in setInputInfo()
2314 info = state.inputInfo; in writeToProtoCommonState()
2394 info.touchOcclusionMode = p->mDrawingState.inputInfo.touchOcclusionMode; in fillTouchOcclusionMode()
2414 if (mDrawingState.inputInfo.inputConfig.test(WindowInfo::InputConfig::NO_INPUT_CHANNEL)) { in handleDropInputMode()
2468 mDrawingState.inputInfo.name = getName(); in fillInputInfo()
2469 mDrawingState.inputInfo.ownerUid = gui::Uid{mOwnerUid}; in fillInputInfo()
2470 mDrawingState.inputInfo.ownerPid = gui::Pid{mOwnerPid}; in fillInputInfo()
2471 mDrawingState.inputInfo.inputConfig |= WindowInfo::InputConfig::NO_INPUT_CHANNEL; in fillInputInfo()
2472 mDrawingState.inputInfo.displayId = toLogicalDisplayId(getLayerStack()); in fillInputInfo()
2478 WindowInfo info = mDrawingState.inputInfo; in fillInputInfo()
[all …]
DLayer.h134 gui::WindowInfo inputInfo; member
DSurfaceFlinger.cpp4241 outWindowInfos.push_back(snapshot.inputInfo); in buildWindowInfos()
/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerSnapshotTest.cpp377 EXPECT_EQ(getSnapshot({.id = 111})->inputInfo.touchableRegion.bounds(), touchCrop); in TEST_F()
382 EXPECT_EQ(getSnapshot({.id = 111})->inputInfo.touchableRegion.bounds(), modifiedTouchCrop); in TEST_F()
399 EXPECT_EQ(getSnapshot({.id = 3})->inputInfo.touchableRegion.bounds(), rotatedCrop); in TEST_F()
485 EXPECT_TRUE(getSnapshot({.id = 111})->inputInfo.touchableRegion.hasSameRects(touch)); in TEST_F()
488 ->inputInfo.touchableRegion.hasSameRects(touchCroppedByMirrorRoot)); in TEST_F()
1171 EXPECT_TRUE(getSnapshot(1)->inputInfo.inputConfig.test( in TEST_F()
1182 EXPECT_EQ(getSnapshot(1)->inputInfo.alpha, 0.5f); in TEST_F()
1229 EXPECT_TRUE(getSnapshot(11)->inputInfo.inputConfig.test( in TEST_F()
1231 EXPECT_TRUE(getSnapshot(111)->inputInfo.inputConfig.test( in TEST_F()
1233 EXPECT_FALSE(getSnapshot(1)->inputInfo.inputConfig.test( in TEST_F()
[all …]
DLayerHierarchyTest.h289 auto inputInfo = transactions.back().states.front().state.windowInfoHandle->editInfo(); in setTouchableRegion() local
290 inputInfo->touchableRegion = region; in setTouchableRegion()
291 inputInfo->token = sp<BBinder>::make(); in setTouchableRegion()
304 auto inputInfo = transactions.back().states.front().state.windowInfoHandle->editInfo(); in setInputInfo() local
305 if (!inputInfo->token) { in setInputInfo()
306 inputInfo->token = sp<BBinder>::make(); in setInputInfo()
308 configureInput(*inputInfo); in setInputInfo()
323 auto inputInfo = transactions.back().states.front().state.windowInfoHandle->editInfo(); in setTouchableRegionCrop() local
324 inputInfo->touchableRegion = region; in setTouchableRegionCrop()
325 inputInfo->replaceTouchableRegionWithCrop = replaceTouchableRegionWithCrop; in setTouchableRegionCrop()
[all …]
/frameworks/base/media/java/android/media/tv/
DITvInputServiceCallback.aidl27 void addHardwareInput(in int deviceId, in TvInputInfo inputInfo); in addHardwareInput() argument
28 void addHdmiInput(in int id, in TvInputInfo inputInfo); in addHdmiInput() argument
DTvInputService.java2871 private void broadcastAddHardwareInput(int deviceId, TvInputInfo inputInfo) { in broadcastAddHardwareInput() argument
2875 mCallbacks.getBroadcastItem(i).addHardwareInput(deviceId, inputInfo); in broadcastAddHardwareInput()
2883 private void broadcastAddHdmiInput(int id, TvInputInfo inputInfo) { in broadcastAddHdmiInput() argument
2887 mCallbacks.getBroadcastItem(i).addHdmiInput(id, inputInfo); in broadcastAddHdmiInput()
3014 TvInputInfo inputInfo = onHardwareAdded(hardwareInfo); in handleMessage() local
3015 if (inputInfo != null) { in handleMessage()
3016 broadcastAddHardwareInput(hardwareInfo.getDeviceId(), inputInfo); in handleMessage() local
3030 TvInputInfo inputInfo = onHdmiDeviceAdded(deviceInfo); in handleMessage() local
3031 if (inputInfo != null) { in handleMessage()
3032 broadcastAddHdmiInput(deviceInfo.getId(), inputInfo); in handleMessage() local
DTvInputManager.java1565 public void onTvInputInfoUpdated(TvInputInfo inputInfo) { in onTvInputInfoUpdated() argument
1629 public void postTvInputInfoUpdated(final TvInputInfo inputInfo) { in postTvInputInfoUpdated() argument
1633 mCallback.onTvInputInfoUpdated(inputInfo); in postTvInputInfoUpdated()
2106 public void onTvInputInfoUpdated(TvInputInfo inputInfo) { in TvInputManager()
2109 record.postTvInputInfoUpdated(inputInfo); in TvInputManager()
2185 public void updateTvInputInfo(@NonNull TvInputInfo inputInfo) { in updateTvInputInfo() argument
2186 Preconditions.checkNotNull(inputInfo); in updateTvInputInfo()
2188 mService.updateTvInputInfo(inputInfo, mUserId); in updateTvInputInfo()
DITvInputManager.aidl51 void updateTvInputInfo(in TvInputInfo inputInfo, int userId); in updateTvInputInfo() argument
/frameworks/av/media/libstagefright/tests/writer/
DWriterTest.cpp163 void getInputBufferInfo(string inputFileName, string inputInfo, int32_t idx = 0);
209 void WriterTest::getInputBufferInfo(string inputFileName, string inputInfo, int32_t idx) { in getInputBufferInfo() argument
211 eleInfo.open(inputInfo.c_str()); in getInputBufferInfo()
508 string inputInfo = gEnv->getRes(); in TEST_P() local
510 getFileDetails(inputFile, inputInfo, param[idx], isAudio, inpId[idx]); in TEST_P()
518 ASSERT_NO_FATAL_FAILURE(getInputBufferInfo(inputFile, inputInfo, idx)); in TEST_P()
609 string inputInfo = gEnv->getRes(); in TEST_P() local
615 getFileDetails(inputFile, inputInfo, param, isAudio, inpId); in TEST_P()
618 ASSERT_NO_FATAL_FAILURE(getInputBufferInfo(inputFile, inputInfo)); in TEST_P()
670 string inputInfo = gEnv->getRes(); in TEST_P() local
[all …]
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java1079 private void updateTvInputInfoLocked(UserState userState, TvInputInfo inputInfo) { in updateTvInputInfoLocked() argument
1081 Slog.d(TAG, "updateTvInputInfoLocked(inputInfo=" + inputInfo + ")"); in updateTvInputInfoLocked()
1083 String inputId = inputInfo.getId(); in updateTvInputInfoLocked()
1089 boolean currentCecTvInputInfoUpdated = isCurrentCecTvInputInfoUpdate(userState, inputInfo); in updateTvInputInfoLocked()
1090 inputState.info = inputInfo; in updateTvInputInfoLocked()
1091 inputState.uid = getInputUid(inputInfo); in updateTvInputInfoLocked()
1092 ServiceState serviceState = userState.serviceStateMap.get(inputInfo.getComponent()); in updateTvInputInfoLocked()
1094 serviceState.hardwareInputMap.put(inputInfo.getId(), inputInfo); in updateTvInputInfoLocked() local
1095 mTvInputHardwareManager.updateInputInfo(inputInfo); in updateTvInputInfoLocked()
1107 userState.mCallbacks.getBroadcastItem(i).onTvInputInfoUpdated(inputInfo); in updateTvInputInfoLocked()
[all …]
/frameworks/av/services/camera/libcameraservice/api2/
DHeicCompositeStream.cpp803 CodecInputBufferInfo inputInfo = in compilePendingInputLocked() local
805 inputFrame.codecInputBuffers.push_back(inputInfo); in compilePendingInputLocked()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...