Home
last modified time | relevance | path

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

1234

/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 …]
DRenderNodeDrawableTests.cpp43 [](RenderProperties& props, Canvas& canvas) { in TEST() argument
69 [expectedDrawOrder, z](RenderProperties& props, SkiaRecordingCanvas& canvas) { in drawOrderedNode() argument
71 props.setTranslationZ(z); in drawOrderedNode()
77 std::function<void(RenderProperties& props, SkiaRecordingCanvas& canvas)> setup) { in drawOrderedNode() argument
79 [expectedDrawOrder, setup](RenderProperties& props, SkiaRecordingCanvas& canvas) { in drawOrderedNode() argument
82 setup(props, canvas); in drawOrderedNode()
105 [](RenderProperties& props, SkiaRecordingCanvas& canvas) { in TEST() argument
145 [](RenderProperties& props, SkiaRecordingCanvas& recorder) { in TEST() argument
192 [](RenderProperties& props, SkiaRecordingCanvas& recorder) { in TEST() argument
564 [](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument
[all …]
DFrameBuilderTests.cpp132 [](RenderProperties& props, RecordingCanvas& canvas) { in RENDERTHREAD_OPENGL_PIPELINE_TEST() argument
160 [](RenderProperties& props, RecordingCanvas& canvas) { in RENDERTHREAD_OPENGL_PIPELINE_TEST() argument
188 [](RenderProperties& props, RecordingCanvas& canvas) { in RENDERTHREAD_OPENGL_PIPELINE_TEST() argument
205 [](RenderProperties& props, RecordingCanvas& canvas) { in RENDERTHREAD_OPENGL_PIPELINE_TEST() argument
232 [](RenderProperties& props, RecordingCanvas& canvas) { in RENDERTHREAD_OPENGL_PIPELINE_TEST() argument
269 [](RenderProperties& props, RecordingCanvas& canvas) { in RENDERTHREAD_OPENGL_PIPELINE_TEST() argument
322 [&transparentPaint](RenderProperties& props, RecordingCanvas& canvas) { in RENDERTHREAD_OPENGL_PIPELINE_TEST() argument
329 [&transparentPaint](RenderProperties& props, RecordingCanvas& canvas) { in RENDERTHREAD_OPENGL_PIPELINE_TEST() argument
335 [&transparentPaint](RenderProperties& props, RecordingCanvas& canvas) { in RENDERTHREAD_OPENGL_PIPELINE_TEST() argument
404 [](RenderProperties& props, RecordingCanvas& canvas) { in RENDERTHREAD_OPENGL_PIPELINE_TEST() argument
[all …]
DSkiaPipelineTests.cpp41 [](RenderProperties& props, SkiaRecordingCanvas& redCanvas) { in RENDERTHREAD_SKIA_PIPELINE_TEST() argument
60 [](RenderProperties& props, SkiaRecordingCanvas& bottomHalfGreenCanvas) { in RENDERTHREAD_SKIA_PIPELINE_TEST() argument
85 [](RenderProperties& props, SkiaRecordingCanvas& redCanvas) { in RENDERTHREAD_SKIA_PIPELINE_TEST() argument
106 [](RenderProperties& props, SkiaRecordingCanvas& redCanvas) { in RENDERTHREAD_SKIA_PIPELINE_TEST() argument
117 [](RenderProperties& props, SkiaRecordingCanvas& blueCanvas) { in RENDERTHREAD_SKIA_PIPELINE_TEST() argument
151 [](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_SKIA_PIPELINE_TEST() argument
260 [&transparentPaint](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_SKIA_PIPELINE_TEST() argument
267 [&transparentPaint](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_SKIA_PIPELINE_TEST() argument
273 [&transparentPaint](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_SKIA_PIPELINE_TEST() argument
302 [](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_SKIA_PIPELINE_TEST() argument
[all …]
DRenderNodeTests.cpp43 [](RenderProperties& props, Canvas& canvas) { in TEST() argument
47 [&child](RenderProperties& props, Canvas& canvas) { in TEST() argument
71 [](RenderProperties& props, Canvas& canvas) { in TEST() argument
75 [&child](RenderProperties& props, Canvas& canvas) { in TEST() argument
135 [](RenderProperties& props, Canvas& canvas) { in TEST() argument
139 [&child](RenderProperties& props, Canvas& canvas) { in TEST() argument
143 [&child](RenderProperties& props, Canvas& canvas) { in TEST() argument
255 [&](RenderProperties& props, Canvas& canvas) { in TEST() argument
288 [](RenderProperties& props, Canvas& canvas) { in RENDERTHREAD_TEST() argument
312 [&](RenderProperties& props, Canvas& canvas) { in RENDERTHREAD_TEST() argument
DLeakCheckTests.cpp34 [](RenderProperties& props, Canvas& canvas) { in RENDERTHREAD_OPENGL_PIPELINE_TEST() argument
54 [](RenderProperties& props, Canvas& canvas) { in RENDERTHREAD_OPENGL_PIPELINE_TEST() argument
/frameworks/native/services/batteryservice/
DIBatteryPropertiesListener.cpp32 void batteryPropertiesChanged(struct BatteryProperties props) in batteryPropertiesChanged() argument
37 props.writeToParcel(&data); in batteryPropertiesChanged()
52 struct BatteryProperties props = {}; in onTransact() local
54 props.readFromParcel((Parcel*)&data); in onTransact()
56 batteryPropertiesChanged(props); in onTransact()
/frameworks/base/libs/hwui/tests/common/
DTestUtils.h211 std::function<void(RenderProperties& props, Canvas& canvas)> setup) { in createNode() argument
219 RenderProperties& props = node->mutateStagingProperties(); in createNode() local
220 props.setLeftTopRightBottom(left, top, right, bottom); in createNode()
222 std::unique_ptr<Canvas> canvas(Canvas::create_recording_canvas(props.getWidth(), in createNode()
223 props.getHeight())); in createNode()
224 setup(props, *canvas.get()); in createNode()
233 std::function<void(RenderProperties& props, RecordingCanvasType& canvas)> setup) { in createNode() argument
241 RenderProperties& props = node->mutateStagingProperties(); in createNode() local
242 props.setLeftTopRightBottom(left, top, right, bottom); in createNode()
244 RecordingCanvasType canvas(props.getWidth(), props.getHeight()); in createNode()
[all …]
/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/libs/hwui/tests/common/scenes/
DRoundRectClippingAnimation.cpp39 [&](RenderProperties& props, Canvas& canvas) { in createContent() argument
41 props.mutableOutline().setRoundRect(0, 0, in createContent()
42 props.getWidth(), props.getHeight(), mSize * .25, 1); in createContent()
43 props.mutableOutline().setShouldClip(true); in createContent()
DShadowShaderAnimation.cpp56 [width, height](RenderProperties& props, Canvas& canvas) { in createCard() argument
57 props.setElevation(1000); in createCard()
62 props.mutableOutline().setRoundRect(0, 0, width, height, 0, 0.99f); in createCard()
63 props.mutableOutline().setShouldClip(false); in createCard()
DShadowGridAnimation.cpp56 [width, height](RenderProperties& props, Canvas& 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()
DShadowGrid2Animation.cpp56 [width, height](RenderProperties& props, Canvas& 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.cpp75 [&thumb, width, height](RenderProperties& props, Canvas& canvas) { in createCard() argument
76 props.setElevation(dp(16)); in createCard()
77 props.mutableOutline().setRoundRect(0, 0, width, height, dp(10), 1); in createCard()
78 props.mutableOutline().setShouldClip(true); in createCard()
DClippingAnimation.cpp34 [](RenderProperties& props, Canvas& canvas) { in createContent() argument
56 props.mutateLayerProperties().setType(LayerType::RenderLayer); in createContent()
57 props.setAlpha(0.9f); in createContent()
DHwLayerAnimation.cpp33 [](RenderProperties& props, Canvas& canvas) { in createContent() argument
34 props.mutateLayerProperties().setType(LayerType::RenderLayer); in createContent()
DHwLayerSizeAnimation.cpp34 [](RenderProperties& props, Canvas& canvas) { in createContent() argument
35 props.mutateLayerProperties().setType(LayerType::RenderLayer); in createContent()
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/
DViewDumpParser.java56 Map<Short, Object> props = mViews.get(0); in getFirstView() local
57 Object name = getProperty(props, "__name__"); in getFirstView()
58 Object hash = getProperty(props, "__hash__"); in getFirstView()
67 private Object getProperty(Map<Short, Object> props, String key) { in getProperty() argument
68 return props.get(mIds.get(key)); in getProperty()
/frameworks/native/vulkan/libvulkan/
Dlayers_extensions.cpp214 const VkLayerProperties& props = properties[i]; in EnumerateLayers() local
217 layer.properties = props; in EnumerateLayers()
223 enumerate_instance_extensions(props.layerName, &count, nullptr); in EnumerateLayers()
228 props.layerName, path_.c_str(), result); in EnumerateLayers()
234 props.layerName, &count, layer.instance_extensions.data()); in EnumerateLayers()
239 props.layerName, path_.c_str(), result); in EnumerateLayers()
246 if (memcmp(&props, &dev_props, sizeof(props)) == 0) { in EnumerateLayers()
254 VK_NULL_HANDLE, props.layerName, &count, nullptr); in EnumerateLayers()
259 props.layerName, path_.c_str(), result); in EnumerateLayers()
265 VK_NULL_HANDLE, props.layerName, &count, in EnumerateLayers()
[all …]
/frameworks/data-binding/compilerCommon/
Dbuild.gradle67 def props = new HashMap();
71 props.put("compilerCommon", project.version)
72 props.put("compiler", rootProject.findProject("dataBinding:compiler").version)
73 props.put("baseLibrary", rootProject.findProject("dataBinding:baseLibrary").version)
74 props.put("extensions", dataBindingConfig.extensionsVersion)
78 props.each {
/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/base/libs/hwui/pipeline/skia/
DSkiaPipeline.cpp133 SkSurfaceProps props(0, kUnknown_SkPixelGeometry); in createOrUpdateLayer() local
137 info, 0, &props)); in createOrUpdateLayer()
228 auto& props = node.properties(); in nodeBounds() local
229 return Rect(props.getLeft(), props.getTop(), in nodeBounds()
230 props.getRight(), props.getBottom()); in nodeBounds()
/frameworks/rs/
DrsContext.cpp171 if (props.mLogTimes) { in timerPrint()
237 rsc->props.mLogTimes = getProp("debug.rs.profile") != 0; in threadProc()
238 rsc->props.mLogScripts = getProp("debug.rs.script") != 0; in threadProc()
239 rsc->props.mLogShaders = getProp("debug.rs.shader") != 0; in threadProc()
240 rsc->props.mLogShadersAttr = getProp("debug.rs.shader.attributes") != 0; in threadProc()
241 rsc->props.mLogShadersUniforms = getProp("debug.rs.shader.uniforms") != 0; in threadProc()
242 rsc->props.mLogVisual = getProp("debug.rs.visual") != 0; in threadProc()
243 rsc->props.mLogReduce = getProp("debug.rs.reduce"); in threadProc()
244 rsc->props.mDebugReduceSplitAccum = getProp("debug.rs.reduce-split-accum") != 0; in threadProc()
245 rsc->props.mDebugMaxThreads = getProp("debug.rs.max-threads"); in threadProc()
[all …]
DrsThreadIO.cpp121 if (con->props.mLogTimes) { in playCoreCommands()
142 if (con->props.mLogTimes) { in playCoreCommands()
154 if (con->props.mLogTimes) { in playCoreCommands()
/frameworks/multidex/
Dbuild.gradle40 File props = file("local.properties")
41 props.write "sdk.dir=${fullSdkPath}"
46 File props = file("local.properties")
47 props.write "android.dir=../../"

1234