Home
last modified time | relevance | path

Searched refs:props (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/base/libs/hwui/tests/unit/
DRenderPropertiesTests.cpp31 RenderProperties props; in TEST() local
34 props.setLeftTopRightBottom(0, 0, 100, 100); in TEST()
35 ASSERT_TRUE(props.fitsOnLayer()); in TEST()
36 props.setLeftTopRightBottom(100, 2000, 300, 4000); in TEST()
37 ASSERT_TRUE(props.fitsOnLayer()); in TEST()
38 props.setLeftTopRightBottom(-10, -10, 510, 512); in TEST()
39 ASSERT_TRUE(props.fitsOnLayer()); in TEST()
42 props.setLeftTopRightBottom(0, 0, maxTextureSize + 1, maxTextureSize + 1); in TEST()
43 ASSERT_FALSE(props.fitsOnLayer()); in TEST()
46 props.setLeftTopRightBottom(0, 0, 100, 0); in TEST()
[all …]
DFrameBuilderTests.cpp131 [](RenderProperties& props, RecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument
159 [](RenderProperties& props, RecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument
175 [](RenderProperties& props, RecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument
202 [](RenderProperties& props, RecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument
238 [](RenderProperties& props, RecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument
291 [&transparentPaint](RenderProperties& props, RecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument
298 [&transparentPaint](RenderProperties& props, RecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument
304 [&transparentPaint](RenderProperties& props, RecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument
350 [](RenderProperties& props, RecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument
375 [](RenderProperties& props, RecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument
[all …]
DRenderNodeTests.cpp29 [](RenderProperties& props, TestCanvas& canvas) { in TEST() argument
33 [&child](RenderProperties& props, TestCanvas& canvas) { in TEST() argument
71 [&](RenderProperties& props, TestCanvas& canvas) { in TEST() argument
DLeakCheckTests.cpp34 [](RenderProperties& props, RecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument
54 [](RenderProperties& props, RecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument
DBakedOpDispatcherTests.cpp163 [](RenderProperties& props, TestCanvas& canvas) { in RENDERTHREAD_TEST() argument
200 [](RenderProperties& props, TestCanvas& canvas) { in validateLayerDraw() argument
201 props.mutateLayerProperties().setType(LayerType::RenderLayer); in validateLayerDraw()
204 props.mutateLayerProperties().setXferMode(SkXfermode::Mode::kSrc_Mode); in validateLayerDraw()
/frameworks/base/libs/hwui/
DDamageAccumulator.cpp139 static inline void mapRect(const RenderProperties& props, const SkRect& in, SkRect* out) { in mapRect() argument
141 const SkMatrix* transform = props.getTransformMatrix(); in mapRect()
153 temp.offset(props.getLeft(), props.getTop()); in mapRect()
197 const RenderProperties& props = frame->renderNode->properties(); in applyRenderNodeTransform() local
198 if (props.getAlpha() <= 0) { in applyRenderNodeTransform()
203 if (props.getClipDamageToBounds() && !frame->pendingDirty.isEmpty()) { in applyRenderNodeTransform()
204 if (!frame->pendingDirty.intersect(0, 0, props.getWidth(), props.getHeight())) { in applyRenderNodeTransform()
210 mapRect(props, frame->pendingDirty, &mHead->pendingDirty); in applyRenderNodeTransform()
213 if (props.getProjectBackwards() && !frame->pendingDirty.isEmpty()) { in applyRenderNodeTransform()
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/
DViewDumpParser.java40 Map<Short, Object> props = mViews.get(0); in getFirstView() local
41 Object name = getProperty(props, "__name__"); in getFirstView()
42 Object hash = getProperty(props, "__hash__"); in getFirstView()
51 private Object getProperty(Map<Short, Object> props, String key) { in getProperty() argument
52 return props.get(mIds.get(key)); in getProperty()
/frameworks/native/vulkan/libvulkan/
Dlayers_extensions.cpp213 const VkLayerProperties& props = properties[i]; in EnumerateLayers() local
216 layer.properties = props; in EnumerateLayers()
222 enumerate_instance_extensions(props.layerName, &count, nullptr); in EnumerateLayers()
227 props.layerName, path_.c_str(), result); in EnumerateLayers()
233 props.layerName, &count, layer.instance_extensions.data()); in EnumerateLayers()
238 props.layerName, path_.c_str(), result); in EnumerateLayers()
245 if (memcmp(&props, &dev_props, sizeof(props)) == 0) { in EnumerateLayers()
253 VK_NULL_HANDLE, props.layerName, &count, nullptr); in EnumerateLayers()
258 props.layerName, path_.c_str(), result); in EnumerateLayers()
264 VK_NULL_HANDLE, props.layerName, &count, in EnumerateLayers()
[all …]
/frameworks/base/libs/hwui/tests/common/scenes/
DShadowGrid2Animation.cpp56 [width, height](RenderProperties& props, TestCanvas& canvas) { in createCard() argument
57 props.setElevation(dp(16)); in createCard()
58 props.mutableOutline().setRoundRect(0, 0, width, height, dp(6), 1); in createCard()
59 props.mutableOutline().setShouldClip(true); in createCard()
DShadowGridAnimation.cpp56 [width, height](RenderProperties& props, TestCanvas& canvas) { in createCard() argument
57 props.setElevation(dp(16)); in createCard()
58 props.mutableOutline().setRoundRect(0, 0, width, height, dp(6), 1); in createCard()
59 props.mutableOutline().setShouldClip(true); in createCard()
DRecentsAnimation.cpp74 [&thumb, width, height](RenderProperties& props, TestCanvas& canvas) { in createCard() argument
75 props.setElevation(dp(16)); in createCard()
76 props.mutableOutline().setRoundRect(0, 0, width, height, dp(10), 1); in createCard()
77 props.mutableOutline().setShouldClip(true); in createCard()
DClippingAnimation.cpp34 [](RenderProperties& props, TestCanvas& canvas) { in createContent() argument
56 props.mutateLayerProperties().setType(LayerType::RenderLayer); in createContent()
57 props.setAlpha(0.9f); in createContent()
DHwLayerAnimation.cpp33 [](RenderProperties& props, TestCanvas& canvas) { in createContent() argument
34 props.mutateLayerProperties().setType(LayerType::RenderLayer); in createContent()
/frameworks/data-binding/compilerCommon/
Dbuild.gradle61 def props = new HashMap();
65 props.put("compilerCommon", project.version)
66 props.put("compiler", rootProject.findProject("dataBinding:compiler").version)
67 props.put("baseLibrary", rootProject.findProject("dataBinding:baseLibrary").version)
68 props.put("extensions", dataBindingConfig.extensionsVersion)
72 props.each {
/frameworks/base/libs/hwui/tests/common/
DTestUtils.h158 std::function<void(RenderProperties& props, TestCanvas& canvas)> setup) { in createNode() argument
166 RenderProperties& props = node->mutateStagingProperties(); in createNode() local
167 props.setLeftTopRightBottom(left, top, right, bottom); in createNode()
169 TestCanvas canvas(props.getWidth(), props.getHeight()); in createNode()
170 setup(props, canvas); in createNode()
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DICalendar.java139 ArrayList<Property> props = mPropsMap.get(name); in addProperty() local
140 if (props == null) { in addProperty()
141 props = new ArrayList<Property>(); in addProperty()
142 mPropsMap.put(name, props); in addProperty()
144 props.add(prop); in addProperty()
172 List<Property> props = mPropsMap.get(name); in getFirstProperty() local
173 if (props == null || props.size() == 0) { in getFirstProperty()
176 return props.get(0); in getFirstProperty()
/frameworks/native/services/batteryservice/
DIBatteryPropertiesListener.cpp32 void batteryPropertiesChanged(struct BatteryProperties props) in batteryPropertiesChanged() argument
37 props.writeToParcel(&data); in batteryPropertiesChanged()
/frameworks/rs/
DrsContext.cpp188 if (props.mLogTimes) { in timerPrint()
256 rsc->props.mLogTimes = getProp("debug.rs.profile") != 0; in threadProc()
257 rsc->props.mLogScripts = getProp("debug.rs.script") != 0; in threadProc()
258 rsc->props.mLogShaders = getProp("debug.rs.shader") != 0; in threadProc()
259 rsc->props.mLogShadersAttr = getProp("debug.rs.shader.attributes") != 0; in threadProc()
260 rsc->props.mLogShadersUniforms = getProp("debug.rs.shader.uniforms") != 0; in threadProc()
261 rsc->props.mLogVisual = getProp("debug.rs.visual") != 0; in threadProc()
262 rsc->props.mLogReduce = getProp("debug.rs.reduce"); in threadProc()
263 rsc->props.mDebugReduceSplitAccum = getProp("debug.rs.reduce-split-accum") != 0; in threadProc()
264 rsc->props.mDebugMaxThreads = getProp("debug.rs.max-threads"); in threadProc()
[all …]
DrsThreadIO.cpp122 if (con->props.mLogTimes) { in playCoreCommands()
143 if (con->props.mLogTimes) { in playCoreCommands()
155 if (con->props.mLogTimes) { in playCoreCommands()
DrsScriptC.cpp164 if (rsc->props.mLogScripts) { in run()
170 if (rsc->props.mLogScripts) { in run()
220 if (rsc->props.mLogScripts) { in runForEach()
256 if (rsc->props.mLogScripts) { in runReduce()
274 if (rsc->props.mLogScripts) { in Invoke()
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/
DDataBindingBuilder.java84 Properties props = new Properties(); in getVersions() local
87 props.load(stream); in getVersions()
88 mVersions = new Versions(props); in getVersions()
/frameworks/base/libs/hwui/tests/macrobench/
DTestSceneRunner.cpp79 [&scene, width, height](RenderProperties& props, TestCanvas& canvas) { in run() argument
80 props.setClipToBounds(false); in run()
/frameworks/rs/driver/
DrsdProgram.cpp73 if (rsc->props.mLogShaders) { in rsdProgramVertexDestroy()
107 if (rsc->props.mLogShaders) { in rsdProgramFragmentDestroy()
/frameworks/base/core/java/android/os/
DIBatteryPropertiesListener.aidl26 void batteryPropertiesChanged(in BatteryProperties props); in batteryPropertiesChanged() argument
/frameworks/native/include/batteryservice/
DIBatteryPropertiesListener.h38 virtual void batteryPropertiesChanged(struct BatteryProperties props) = 0;

123