/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...] |
/frameworks/native/services/batteryservice/ |
H A D | IBatteryPropertiesListener.cpp | 32 void batteryPropertiesChanged(struct BatteryProperties props) argument 37 props.writeToParcel(&data);
|
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/ |
H A D | ViewDumpParser.java | 40 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/native/services/surfaceflinger/ |
H A D | GpuService.cpp | 137 auto props = VkJsonGetAllProperties(gpus[i]); local 138 std::string json = VkJsonAllPropertiesToJson(props);
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/ |
H A D | BluetoothMapBmessageParser.java | 97 private ParseException expected(Property... props) { argument 101 for (Property prop : props) {
|
/frameworks/base/libs/hwui/ |
H A D | DamageAccumulator.cpp | 139 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 D | FrameBuilder.cpp | 129 auto& props = node.properties(); local 130 return Rect(props.getLeft(), props.getTop(), 131 props.getRight(), props.getBottom());
|
H A D | RenderNode.cpp | 463 const LayerProperties& props = properties().layerProperties(); local 464 mLayer->setAlpha(props.alpha(), props.xferMode()); 465 mLayer->setColorFilter(props.colorFilter()); 466 mLayer->setBlend(props.needsBlending());
|
/frameworks/base/libs/hwui/tests/common/ |
H A D | TestUtils.h | 158 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/native/vulkan/libvulkan/ |
H A D | layers_extensions.cpp | 213 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...] |
H A D | api.cpp | 1212 const VkExtensionProperties* props = local 1218 std::copy(props, props + *pPropertyCount, pProperties); 1262 const VkExtensionProperties* props = local 1268 std::copy(props, props + *pPropertyCount, pProperties);
|
H A D | driver.cpp | 104 VkExtensionProperties* props) const; 325 VkExtensionProperties* props) const { 328 nullptr, &count, props); 332 &count, props); 415 const VkExtensionProperties& props = filter.exts[i]; local 417 if (strcmp(name, props.extensionName) != 0)
|
/frameworks/av/media/mtp/ |
H A D | MtpDevice.cpp | 289 MtpObjectPropertyList* props = getObjectPropsSupported(format); local 290 if (props) { 291 for (size_t j = 0; j < props->size(); j++) { 292 MtpObjectProperty prop = (*props)[j];
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | BatteryService.java | 311 private void update(BatteryProperties props) { argument 314 mBatteryProps = props; 318 mLastBatteryProps.set(props); 853 @Override public void batteryPropertiesChanged(BatteryProperties props) { argument 856 BatteryService.this.update(props);
|
/frameworks/base/core/jni/ |
H A D | android_view_RenderNode.cpp | 558 const RenderProperties& props = node.properties(); local 559 uirenderer::Rect bounds(props.getWidth(), props.getHeight());
|
H A D | android_opengl_GLES31.cpp | 683 /* void glGetProgramResourceiv ( GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params ) */ 692 GLenum *props = (GLenum *) 0; local 703 _exceptionMessage = "props == null"; 715 props = props_base + propsOffset; 752 (GLenum *)props, 776 /* void glGetProgramResourceiv ( GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params ) */ 787 GLenum *props = (GLenum *) 0; local 793 props = (GLenum *)getPointer(_env, props_buf, (jarray*)&_propsArray, &_propsRemaining, &_propsBufferOffset); 798 if (props == NULL) { 800 props [all...] |
/frameworks/rs/ |
H A D | rsContext.h | 233 } props; member in class:android::renderscript::Context
|
/frameworks/native/cmds/dumpstate/ |
H A D | utils.cpp | 883 static char* props[2000]; variable 887 if (num_props < sizeof(props) / sizeof(props[0])) { 890 props[num_props++] = strdup(buf); 907 qsort(&props, num_props, sizeof(props[0]), compare_prop); 910 fputs(props[i], stdout); 911 free(props[i]);
|
/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
|