{ "id": "149211", "key": "TIMOB-19256", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2015-06-29T02:46:28.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "android" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-02-28T19:55:59.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Expose android webView attributes renderPriority and layerType so that we can gain some performance improvement on the webViews on Android.\r\n\r\nShould be able to do something that translates to this native android code:\r\nwebview.getSettings().setRenderPriority(RenderPriority.HIGH);\r\nwebView.setLayerType(WebView.LAYER_TYPE_SOFTWARE, null);\r\n\r\nKindly refer to this article:\r\nhttp://stackoverflow.com/questions/7422427/android-webview-slow", "attachment": [], "flagged": false, "summary": "Android: Expose setting renderPriority and layerType for Android WebView", "creator": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "subtasks": [], "reporter": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "environment": "Android", "comment": { "comments": [ { "id": "358349", "author": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "body": "Hello,\r\n\r\nCould this be given a higher priority?\r\n\r\nIn essence, the App that I am working on works fine on iOS better than Android, but the main area where Titanium lets Android down is during the use of Table views and WebViews. Table views can be substituted with Scroll/List views, but as for WebViews there are places where it can't really be substituted.", "updateAuthor": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2015-07-27T10:41:25.000+0000", "updated": "2015-07-27T10:41:25.000+0000" }, { "id": "358476", "author": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "body": "renderPriority is deprecated and the layerType LAYER_TYPE_SOFTWARE or HARDWARE_ACCELERATED can be altered by setting borderRadius value.\r\n\r\nno borderRadius or borderRadius === 0 (Default), then the WebView is HARDWARE_ACCELERATED by default\r\n\r\nif borderRadius > 0, then layerType is LAYER_TYPE_SOFTWARE.\r\n\r\nNot ideal, but this Issue can be marked resolved.", "updateAuthor": { "name": "fahad86", "key": "fahad86", "displayName": "Muhammad Ahmed Fahad", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2015-07-29T04:09:46.000+0000", "updated": "2015-07-29T04:10:09.000+0000" }, { "id": "415981", "author": { "name": "creative_jira_user", "key": "uzbbert", "displayName": "Creative", "active": false, "timeZone": "Europe/Amsterdam" }, "body": "Setting borderRadius in order to change the layerType seems like a fix nobody could ever guess. I suggest a higher priority.\r\n\r\nI'm running into errors on various devices, comparable to http://stackoverflow.com/questions/27444387/issue-on-openglrenderer-path-too-large-to-be-rendered-to-a-texture", "updateAuthor": { "name": "creative_jira_user", "key": "uzbbert", "displayName": "Creative", "active": false, "timeZone": "Europe/Amsterdam" }, "created": "2017-03-28T11:14:17.000+0000", "updated": "2017-03-28T11:14:17.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }