Searched refs:props (Results 1 - 25 of 59) sorted by relevance

123

/frameworks/base/libs/hwui/tests/unit/
H A DRenderPropertiesTests.cpp31 RenderProperties props; local
34 props.setLeftTopRightBottom(0, 0, 100, 100);
35 ASSERT_TRUE(props.fitsOnLayer());
36 props.setLeftTopRightBottom(100, 2000, 300, 4000);
37 ASSERT_TRUE(props.fitsOnLayer());
38 props.setLeftTopRightBottom(-10, -10, 510, 512);
39 ASSERT_TRUE(props.fitsOnLayer());
42 props.setLeftTopRightBottom(0, 0, maxTextureSize + 1, maxTextureSize + 1);
43 ASSERT_FALSE(props.fitsOnLayer());
46 props
[all...]
H A DRenderNodeTests.cpp29 [](RenderProperties& props, TestCanvas& canvas) {
33 [&child](RenderProperties& props, TestCanvas& canvas) {
71 [&](RenderProperties& props, TestCanvas& canvas) {
H A DLeakCheckTests.cpp34 [](RenderProperties& props, RecordingCanvas& canvas) {
54 [](RenderProperties& props, RecordingCanvas& canvas) {
H A DFrameBuilderTests.cpp131 [](RenderProperties& props, RecordingCanvas& canvas) {
159 [](RenderProperties& props, RecordingCanvas& canvas) {
175 [](RenderProperties& props, RecordingCanvas& canvas) {
202 [](RenderProperties& props, RecordingCanvas& canvas) {
238 [](RenderProperties& props, RecordingCanvas& canvas) {
291 [&transparentPaint](RenderProperties& props, RecordingCanvas& canvas) {
298 [&transparentPaint](RenderProperties& props, RecordingCanvas& canvas) {
304 [&transparentPaint](RenderProperties& props, RecordingCanvas& canvas) {
350 [](RenderProperties& props, RecordingCanvas& canvas) {
375 [](RenderProperties& props, RecordingCanva
[all...]
/frameworks/base/core/java/android/os/
H A DIBatteryPropertiesListener.aidl26 void batteryPropertiesChanged(in BatteryProperties props);
/frameworks/data-binding/compilerCommon/
H A 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/native/services/batteryservice/
H A DIBatteryPropertiesListener.cpp32 void batteryPropertiesChanged(struct BatteryProperties props) argument
37 props.writeToParcel(&data);
/frameworks/base/libs/hwui/tests/common/scenes/
H A DShadowGrid2Animation.cpp56 [width, height](RenderProperties& props, TestCanvas& canvas) {
57 props.setElevation(dp(16));
58 props.mutableOutline().setRoundRect(0, 0, width, height, dp(6), 1);
59 props.mutableOutline().setShouldClip(true);
H A DShadowGridAnimation.cpp56 [width, height](RenderProperties& props, TestCanvas& canvas) {
57 props.setElevation(dp(16));
58 props.mutableOutline().setRoundRect(0, 0, width, height, dp(6), 1);
59 props.mutableOutline().setShouldClip(true);
H A DHwLayerAnimation.cpp33 [](RenderProperties& props, TestCanvas& canvas) {
34 props.mutateLayerProperties().setType(LayerType::RenderLayer);
H A DClippingAnimation.cpp34 [](RenderProperties& props, TestCanvas& canvas) {
56 props.mutateLayerProperties().setType(LayerType::RenderLayer);
57 props.setAlpha(0.9f);
H A DRecentsAnimation.cpp74 [&thumb, width, height](RenderProperties& props, TestCanvas& canvas) {
75 props.setElevation(dp(16));
76 props.mutableOutline().setRoundRect(0, 0, width, height, dp(10), 1);
77 props.mutableOutline().setShouldClip(true);
H A DOvalAnimation.cpp34 [](RenderProperties& props, TestCanvas& canvas) {
H A DPartialDamageAnimation.cpp47 [color](RenderProperties& props, TestCanvas& canvas) {
H A DRectGridAnimation.cpp37 [](RenderProperties& props, TestCanvas& canvas) {
/frameworks/native/include/batteryservice/
H A DIBatteryPropertiesListener.h38 virtual void batteryPropertiesChanged(struct BatteryProperties props) = 0;
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/
H A DViewDumpParser.java40 Map<Short, Object> props = mViews.get(0);
41 Object name = getProperty(props, "__name__");
42 Object hash = getProperty(props, "__hash__");
51 private Object getProperty(Map<Short, Object> props, String key) { argument
52 return props.get(mIds.get(key));
/frameworks/base/libs/hwui/
H A DDamageAccumulator.cpp139 static inline void mapRect(const RenderProperties& props, const SkRect& in, SkRect* out) { argument
141 const SkMatrix* transform = props.getTransformMatrix();
153 temp.offset(props.getLeft(), props.getTop());
197 const RenderProperties& props = frame->renderNode->properties(); local
198 if (props.getAlpha() <= 0) {
203 if (props.getClipDamageToBounds() && !frame->pendingDirty.isEmpty()) {
204 if (!frame->pendingDirty.intersect(0, 0, props.getWidth(), props.getHeight())) {
210 mapRect(props, fram
[all...]
/frameworks/native/vulkan/libvulkan/
H A Dlayers_extensions.cpp213 const VkLayerProperties& props = properties[i]; local
216 layer.properties = props;
222 enumerate_instance_extensions(props.layerName, &count, nullptr);
227 props.layerName, path_.c_str(), result);
233 props.layerName, &count, layer.instance_extensions.data());
238 props.layerName, path_.c_str(), result);
245 if (memcmp(&props, &dev_props, sizeof(props)) == 0) {
253 VK_NULL_HANDLE, props.layerName, &count, nullptr);
258 props
[all...]
/frameworks/base/libs/hwui/tests/common/
H A DTestUtils.h158 std::function<void(RenderProperties& props, TestCanvas& canvas)> setup) {
166 RenderProperties& props = node->mutateStagingProperties(); local
167 props.setLeftTopRightBottom(left, top, right, bottom);
169 TestCanvas canvas(props.getWidth(), props.getHeight());
170 setup(props, canvas);
157 createNode(int left, int top, int right, int bottom, std::function<void(RenderProperties& props, TestCanvas& canvas)> setup) argument
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DICalendar.java139 ArrayList<Property> props = mPropsMap.get(name);
140 if (props == null) {
141 props = new ArrayList<Property>();
142 mPropsMap.put(name, props);
144 props.add(prop);
172 List<Property> props = mPropsMap.get(name);
173 if (props == null || props.size() == 0) {
176 return props.get(0);
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/
H A DDataBindingBuilder.java84 Properties props = new Properties();
87 props.load(stream);
88 mVersions = new Versions(props);
/frameworks/rs/
H A DrsThreadIO.cpp122 if (con->props.mLogTimes) {
143 if (con->props.mLogTimes) {
155 if (con->props.mLogTimes) {
/frameworks/base/libs/hwui/tests/macrobench/
H A DTestSceneRunner.cpp79 [&scene, width, height](RenderProperties& props, TestCanvas& canvas) {
80 props.setClipToBounds(false);
/frameworks/rs/driver/
H A DrsdProgram.cpp73 if (rsc->props.mLogShaders) {
107 if (rsc->props.mLogShaders) {

Completed in 1386 milliseconds

123