Searched defs:props (Results 1 - 19 of 19) sorted by relevance

/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 DRenderNodeDrawableTests.cpp43 [](RenderProperties& props, Canvas& canvas) {
69 [expectedDrawOrder, z](RenderProperties& props, SkiaRecordingCanvas& canvas) {
71 props.setTranslationZ(z);
77 std::function<void(RenderProperties& props, SkiaRecordingCanvas& canvas)> setup) {
79 [expectedDrawOrder, setup](RenderProperties& props, SkiaRecordingCanvas& canvas) {
82 setup(props, canvas);
105 [](RenderProperties& props, SkiaRecordingCanvas& canvas) {
145 [](RenderProperties& props, SkiaRecordingCanvas& recorder) {
192 [](RenderProperties& props, SkiaRecordingCanvas& recorder) {
564 [](RenderProperties& props, SkiaRecordingCanva
76 drawOrderedNode(Canvas* canvas, uint8_t expectedDrawOrder, std::function<void(RenderProperties& props, SkiaRecordingCanvas& canvas)> setup) argument
[all...]
H A DFrameBuilderTests.cpp132 [](RenderProperties& props, RecordingCanvas& canvas) {
160 [](RenderProperties& props, RecordingCanvas& canvas) {
188 [](RenderProperties& props, RecordingCanvas& canvas) {
205 [](RenderProperties& props, RecordingCanvas& canvas) {
232 [](RenderProperties& props, RecordingCanvas& canvas) {
269 [](RenderProperties& props, RecordingCanvas& canvas) {
322 [&transparentPaint](RenderProperties& props, RecordingCanvas& canvas) {
329 [&transparentPaint](RenderProperties& props, RecordingCanvas& canvas) {
335 [&transparentPaint](RenderProperties& props, RecordingCanvas& canvas) {
404 [](RenderProperties& props, RecordingCanva
1564 drawOrderedNode(Canvas* canvas, uint8_t expectedDrawOrder, std::function<void(RenderProperties& props, RecordingCanvas& canvas)> setup) argument
[all...]
/frameworks/native/services/batteryservice/
H A DIBatteryPropertiesListener.cpp32 void batteryPropertiesChanged(struct BatteryProperties props) argument
37 props.writeToParcel(&data);
52 struct BatteryProperties props = {}; local
54 props.readFromParcel((Parcel*)&data);
56 batteryPropertiesChanged(props);
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/
H A DViewDumpParser.java56 Map<Short, Object> props = mViews.get(0);
57 Object name = getProperty(props, "__name__");
58 Object hash = getProperty(props, "__hash__");
67 private Object getProperty(Map<Short, Object> props, String key) { argument
68 return props.get(mIds.get(key));
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMapBmessageParser.java97 private ParseException expected(Property... props) { argument
101 for (Property prop : props) {
/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...]
H A DFrameBuilder.cpp130 auto& props = node.properties(); local
131 return Rect(props.getLeft(), props.getTop(),
132 props.getRight(), props.getBottom());
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaPipeline.cpp133 SkSurfaceProps props(0, kUnknown_SkPixelGeometry);
137 info, 0, &props));
228 auto& props = node.properties(); local
229 return Rect(props.getLeft(), props.getTop(),
230 props.getRight(), props.getBottom());
/frameworks/base/libs/hwui/tests/common/
H A DTestUtils.h211 std::function<void(RenderProperties& props, Canvas& canvas)> setup) {
219 RenderProperties& props = node->mutateStagingProperties(); local
220 props.setLeftTopRightBottom(left, top, right, bottom);
222 std::unique_ptr<Canvas> canvas(Canvas::create_recording_canvas(props.getWidth(),
223 props.getHeight()));
224 setup(props, *canvas.get());
233 std::function<void(RenderProperties& props, RecordingCanvasType& canvas)> setup) {
241 RenderProperties& props = node->mutateStagingProperties(); local
242 props.setLeftTopRightBottom(left, top, right, bottom);
244 RecordingCanvasType canvas(props
210 createNode(int left, int top, int right, int bottom, std::function<void(RenderProperties& props, Canvas& canvas)> setup) argument
232 createNode(int left, int top, int right, int bottom, std::function<void(RenderProperties& props, RecordingCanvasType& canvas)> setup) argument
260 createSkiaNode(int left, int top, int right, int bottom, std::function<void(RenderProperties& props, skiapipeline::SkiaRecordingCanvas& canvas)> setup, const char* name = nullptr, skiapipeline::SkiaDisplayList* displayList = nullptr) argument
272 RenderProperties& props = node->mutateStagingProperties(); local
[all...]
/frameworks/native/vulkan/libvulkan/
H A Dlayers_extensions.cpp214 const VkLayerProperties& props = properties[i]; local
217 layer.properties = props;
223 enumerate_instance_extensions(props.layerName, &count, nullptr);
228 props.layerName, path_.c_str(), result);
234 props.layerName, &count, layer.instance_extensions.data());
239 props.layerName, path_.c_str(), result);
246 if (memcmp(&props, &dev_props, sizeof(props)) == 0) {
254 VK_NULL_HANDLE, props.layerName, &count, nullptr);
259 props
[all...]
H A Dapi.cpp1216 const VkExtensionProperties* props = local
1222 std::copy(props, props + *pPropertyCount, pProperties);
1266 const VkExtensionProperties* props = local
1272 std::copy(props, props + *pPropertyCount, pProperties);
H A Ddriver.cpp118 VkExtensionProperties* props) const;
419 VkExtensionProperties* props) const {
422 nullptr, &count, props);
426 &count, props);
521 const VkExtensionProperties& props = filter.exts[i]; local
523 if (strcmp(name, props.extensionName) != 0)
/frameworks/av/media/mtp/
H A DMtpDevice.cpp304 MtpObjectPropertyList* props = getObjectPropsSupported(format); local
305 if (props) {
306 for (size_t j = 0; j < props->size(); j++) {
307 MtpObjectProperty prop = (*props)[j];
/frameworks/base/services/core/java/com/android/server/
H A DBatteryService.java321 private void update(BatteryProperties props) { argument
324 mBatteryProps = props;
328 mLastBatteryProps.set(props);
937 @Override public void batteryPropertiesChanged(BatteryProperties props) { argument
940 BatteryService.this.update(props);
/frameworks/base/core/jni/
H A Dandroid_view_RenderNode.cpp452 const RenderProperties& props = node.properties(); local
453 uirenderer::Rect bounds(props.getWidth(), props.getHeight());
H A Dandroid_opengl_GLES31.cpp724 /* void glGetProgramResourceiv ( GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params ) */
733 GLenum *props = (GLenum *) 0; local
744 _exceptionMessage = "props == null";
756 props = props_base + propsOffset;
793 (GLenum *)props,
817 /* void glGetProgramResourceiv ( GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params ) */
831 GLenum *props = (GLenum *) 0; local
840 _exceptionMessage = "props == null";
843 props = (GLenum *)getPointer(_env, props_buf, (jarray*)&_propsArray, &_propsRemaining, &_propsBufferOffset);
854 if (props
[all...]
/frameworks/rs/
H A DrsContext.h223 } props; member in class:android::renderscript::Context
/frameworks/base/opengl/java/android/opengl/
H A DGLES31.java289 // C function void glGetProgramResourceiv ( GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params )
296 int[] props,
305 // C function void glGetProgramResourceiv ( GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params )
312 java.nio.IntBuffer props,
291 glGetProgramResourceiv( int program, int programInterface, int index, int propCount, int[] props, int propsOffset, int bufSize, int[] length, int lengthOffset, int[] params, int paramsOffset ) argument
307 glGetProgramResourceiv( int program, int programInterface, int index, int propCount, java.nio.IntBuffer props, int bufSize, java.nio.IntBuffer length, java.nio.IntBuffer params ) argument

Completed in 417 milliseconds