/frameworks/base/libs/hwui/tests/unit/ |
H A D | RenderPropertiesTests.cpp | 31 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 D | RenderNodeDrawableTests.cpp | 43 TestUtils::createNode(0, 0, 200, 400, [](RenderProperties& props, Canvas& canvas) { 70 [expectedDrawOrder, z](RenderProperties& props, SkiaRecordingCanvas& canvas) { 72 props.setTranslationZ(z); 79 std::function<void(RenderProperties& props, SkiaRecordingCanvas& canvas)> setup) { 82 [expectedDrawOrder, setup](RenderProperties& props, SkiaRecordingCanvas& canvas) { 85 setup(props, canvas); 107 auto parent = TestUtils::createSkiaNode(0, 0, 100, 100, [](RenderProperties& props, 147 0, 0, 1, 1, [](RenderProperties& props, SkiaRecordingCanvas& recorder) { 193 0, 0, 400, 800, [](RenderProperties& props, SkiaRecordingCanvas& recorder) { 659 auto nodeA = TestUtils::createSkiaNode(0, 0, 100, 100, [](RenderProperties& props, 77 drawOrderedNode( Canvas* canvas, uint8_t expectedDrawOrder, std::function<void(RenderProperties& props, SkiaRecordingCanvas& canvas)> setup) argument [all...] |
H A D | FrameBuilderTests.cpp | 128 0, 0, 100, 200, [](RenderProperties& props, RecordingCanvas& canvas) { 156 0, 0, 100, 200, [](RenderProperties& props, RecordingCanvas& canvas) { 183 0, 0, 200, 200, [](RenderProperties& props, RecordingCanvas& canvas) { 199 auto node = TestUtils::createNode<RecordingCanvas>(0, 0, 200, 200, [](RenderProperties& props, 227 0, 0, 200, 200, [](RenderProperties& props, RecordingCanvas& canvas) { 264 0, 0, 100, 100, [](RenderProperties& props, RecordingCanvas& canvas) { 318 [&transparentPaint](RenderProperties& props, RecordingCanvas& canvas) { 325 0, 0, 800, 600, [&transparentPaint](RenderProperties& props, RecordingCanvas& canvas) { 331 0, 0, 800, 600, [&transparentPaint](RenderProperties& props, RecordingCanvas& canvas) { 398 10, 10, 110, 110, [](RenderProperties& props, RecordingCanva 1548 drawOrderedNode( Canvas* canvas, uint8_t expectedDrawOrder, std::function<void(RenderProperties& props, RecordingCanvas& canvas)> setup) argument [all...] |
/frameworks/base/tools/aapt2/tools/ |
H A D | extract_unicode_properties.py | 38 def extract_unicode_properties(f, props, chars_out): 46 if prop_type_str in props: 49 prop_type = props[prop_type_str] 91 props = {"XID_Start": 1, "XID_Continue": 2} variable 95 extract_unicode_properties(f, props, char_props)
|
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/ |
H A D | ViewDumpParser.java | 56 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/native/vulkan/vkjson/ |
H A D | vkjson_unittest.cc | 84 VkImageFormatProperties props = {}; local 85 json = VkJsonImageFormatPropertiesToJson(props); 92 EXPECT(!memcmp(&props, &props2, sizeof(props)));
|
/frameworks/base/libs/hwui/ |
H A D | DamageAccumulator.cpp | 140 static inline void mapRect(const RenderProperties& props, const SkRect& in, SkRect* out) { argument 142 const SkMatrix* transform = props.getTransformMatrix(); 154 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 D | FrameBuilder.cpp | 125 auto& props = node.properties(); local 126 return Rect(props.getLeft(), props.getTop(), props.getRight(), props.getBottom());
|
/frameworks/base/libs/hwui/tests/common/ |
H A D | TestUtils.h | 209 std::function<void(RenderProperties& props, Canvas& canvas)> setup) { 217 RenderProperties& props = node->mutateStagingProperties(); local 218 props.setLeftTopRightBottom(left, top, right, bottom); 221 Canvas::create_recording_canvas(props.getWidth(), props.getHeight())); 222 setup(props, *canvas.get()); 232 std::function<void(RenderProperties& props, RecordingCanvasType& canvas)> setup) { 240 RenderProperties& props = node->mutateStagingProperties(); local 241 props.setLeftTopRightBottom(left, top, right, bottom); 243 RecordingCanvasType canvas(props 207 createNode( int left, int top, int right, int bottom, std::function<void(RenderProperties& props, Canvas& canvas)> setup) argument 230 createNode( int left, int top, int right, int bottom, std::function<void(RenderProperties& props, RecordingCanvasType& canvas)> setup) argument 259 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 273 RenderProperties& props = node->mutateStagingProperties(); local [all...] |
/frameworks/av/media/mtp/ |
H A D | MtpDevice.cpp | 304 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/libs/hwui/pipeline/skia/ |
H A D | SkiaPipeline.cpp | 179 SkSurfaceProps props(0, kUnknown_SkPixelGeometry); 182 SkBudgeted::kYes, info, 0, &props)); 351 auto& props = node.properties(); local 352 return Rect(props.getLeft(), props.getTop(), props.getRight(), props.getBottom());
|
/frameworks/native/vulkan/libvulkan/ |
H A D | layers_extensions.cpp | 223 const VkLayerProperties& props = properties[i]; local 226 layer.properties = props; 232 enumerate_instance_extensions(props.layerName, &count, nullptr); 237 props.layerName, path_.c_str(), result); 243 props.layerName, &count, layer.instance_extensions.data()); 248 props.layerName, path_.c_str(), result); 255 if (memcmp(&props, &dev_props, sizeof(props)) == 0) { 263 VK_NULL_HANDLE, props.layerName, &count, nullptr); 268 props [all...] |
H A D | driver.cpp | 126 VkExtensionProperties* props) const; 435 VkExtensionProperties* props) const { 438 nullptr, &count, props); 442 &count, props); 584 const VkExtensionProperties& props = filter.exts[i]; local 586 if (strcmp(name, props.extensionName) != 0)
|
H A D | api.cpp | 1237 const VkExtensionProperties* props = local 1243 std::copy(props, props + *pPropertyCount, pProperties); 1287 const VkExtensionProperties* props = local 1293 std::copy(props, props + *pPropertyCount, pProperties);
|
/frameworks/base/core/jni/ |
H A D | android_view_RenderNode.cpp | 477 const RenderProperties& props = node.properties(); local 478 uirenderer::Rect bounds(props.getWidth(), props.getHeight());
|
H A D | android_opengl_GLES31.cpp | 723 /* void glGetProgramResourceiv ( GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params ) */ 732 GLenum *props = (GLenum *) 0; local 743 _exceptionMessage = "props == null"; 755 props = props_base + propsOffset; 792 (GLenum *)props, 816 /* void glGetProgramResourceiv ( GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params ) */ 830 GLenum *props = (GLenum *) 0; local 839 _exceptionMessage = "props == null"; 842 props = (GLenum *)getPointer(_env, props_buf, (jarray*)&_propsArray, &_propsRemaining, &_propsBufferOffset); 853 if (props [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | BatteryService.java | 1098 @Override public void healthInfoChanged(android.hardware.health.V2_0.HealthInfo props) { argument 1099 BatteryService.this.update(props);
|
/frameworks/rs/ |
H A D | rsContext.h | 223 } props; member in class:android::renderscript::Context
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLES31.java | 289 // 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
|