{ "id": "159380", "key": "TIMOB-23233", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": "2016-04-07T16:01:27.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-02-28T19:55:17.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": "Alloy.builtins measurement only supports resolution\r\n*xhigh* and *high* but not Ti.Platform.displayCaps.density *xxxhigh*\r\nas used by *Nexus 6P*", "attachment": [], "flagged": false, "summary": "Android: Alloy.builtins measurement not working for xxxhigh", "creator": { "name": "mBahl", "key": "mbahl", "displayName": "Michael Bahl", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mBahl", "key": "mbahl", "displayName": "Michael Bahl", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "382090", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nAlloy.builtins.measurement is a collection of utilities for converting between different display units. Can you provide example of what you are trying to do with it. And what's not working?\r\n\r\nRegards,\r\nSharif", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-04-07T16:13:03.000+0000", "updated": "2016-04-07T16:13:03.000+0000" }, { "id": "382091", "author": { "name": "mBahl", "key": "mbahl", "displayName": "Michael Bahl", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The derived measurement ffile looks like:\r\n\r\n{code:java}\r\nexports.pxToDP = function(val) {\r\n switch (density) {\r\n case \"xhigh\":\r\n return val / 3;\r\n\r\n case \"high\":\r\n return val / 2;\r\n\r\n default:\r\n return val;\r\n }\r\n};\r\n{code}\r\n\r\n\r\nThe cases for density xxhigh and xxxhigh are missing\r\n", "updateAuthor": { "name": "mBahl", "key": "mbahl", "displayName": "Michael Bahl", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-04-07T16:16:11.000+0000", "updated": "2016-04-07T16:19:45.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }