{"action":"created","comment":{"url":"https://api.github.com/repos/appcelerator/titanium_mobile/pulls/comments/57160586","id":57160586,"diff_hunk":"@@ -81,6 +82,34 @@\n \t@Kroll.constant public static final int WEBVIEW_LOAD_CACHE_ONLY = WebSettings.LOAD_CACHE_ONLY;\n \t@Kroll.constant public static final int WEBVIEW_LOAD_CACHE_ELSE_NETWORK = WebSettings.LOAD_CACHE_ELSE_NETWORK;\n \n+\t@Kroll.constant public static final int GRAVITY_AXIS_CLIP = Gravity.AXIS_CLIP;\n+\t@Kroll.constant public static final int GRAVITY_AXIS_PULL_AFTER = Gravity.AXIS_PULL_AFTER;\n+\t@Kroll.constant public static final int GRAVITY_AXIS_PULL_BEFORE = Gravity.AXIS_PULL_BEFORE;\n+\t@Kroll.constant public static final int GRAVITY_AXIS_SPECIFIED = Gravity.AXIS_SPECIFIED;\n+\t@Kroll.constant public static final int GRAVITY_AXIS_X_SHIFT = Gravity.AXIS_X_SHIFT;\n+\t@Kroll.constant public static final int GRAVITY_AXIS_Y_SHIFT = Gravity.AXIS_Y_SHIFT;\n+\t@Kroll.constant public static final int GRAVITY_BOTTOM = Gravity.BOTTOM;\n+\t@Kroll.constant public static final int GRAVITY_CENTER = Gravity.CENTER;\n+\t@Kroll.constant public static final int GRAVITY_CENTER_HORIZONTAL = Gravity.CENTER_HORIZONTAL;\n+\t@Kroll.constant public static final int GRAVITY_CENTER_VERTICAL = Gravity.CENTER_VERTICAL;\n+\t@Kroll.constant public static final int GRAVITY_CLIP_HORIZONTAL = Gravity.CLIP_HORIZONTAL;\n+\t@Kroll.constant public static final int GRAVITY_CLIP_VERTICAL = Gravity.CLIP_VERTICAL;\n+\t@Kroll.constant public static final int GRAVITY_DISPLAY_CLIP_HORIZONTAL = Gravity.DISPLAY_CLIP_HORIZONTAL;\n+\t@Kroll.constant public static final int GRAVITY_DISPLAY_CLIP_VERTICAL = Gravity.DISPLAY_CLIP_VERTICAL;\n+\t@Kroll.constant public static final int GRAVITY_END = Gravity.END;\n+\t@Kroll.constant public static final int GRAVITY_FILL = Gravity.FILL;\n+\t@Kroll.constant public static final int GRAVITY_FILL_HORIZONTAL = Gravity.FILL_HORIZONTAL;\n+\t@Kroll.constant public static final int GRAVITY_FILL_VERTICAL = Gravity.FILL_VERTICAL;\n+\t@Kroll.constant public static final int GRAVITY_HORIZONTAL_GRAVITY_MASK = Gravity.HORIZONTAL_GRAVITY_MASK;\n+\t@Kroll.constant public static final int GRAVITY_LEFT = Gravity.LEFT;\n+\t@Kroll.constant public static final int GRAVITY_NO_GRAVITY = Gravity.NO_GRAVITY;\n+\t@Kroll.constant public static final int GRAVITY_RELATIVE_HORIZONTAL_GRAVITY_MASK = Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK;\n+\t@Kroll.constant public static final int GRAVITY_RELATIVE_LAYOUT_DIRECTION = Gravity.RELATIVE_LAYOUT_DIRECTION;\n+\t@Kroll.constant public static final int GRAVITY_RIGHT = Gravity.RIGHT;\n+\t@Kroll.constant public static final int GRAVITY_START = Gravity.START;\n+\t@Kroll.constant public static final int GRAVITY_TOP = Gravity.TOP;\n+\t@Kroll.constant public static final int GRAVITY_VERTICAL_GRAVITY_MASK = Gravity.VERTICAL_GRAVITY_MASK;","path":"android/modules/ui/src/java/ti/modules/titanium/ui/android/AndroidModule.java","position":38,"original_position":38,"commit_id":"fbffca997377bc8316ae140d1fe2aee387b21fa7","original_commit_id":"fbffca997377bc8316ae140d1fe2aee387b21fa7","user":{"login":"hansemannn","id":10667698,"avatar_url":"https://avatars.githubusercontent.com/u/10667698?v=3","gravatar_id":"","url":"https://api.github.com/users/hansemannn","html_url":"https://github.com/hansemannn","followers_url":"https://api.github.com/users/hansemannn/followers","following_url":"https://api.github.com/users/hansemannn/following{/other_user}","gists_url":"https://api.github.com/users/hansemannn/gists{/gist_id}","starred_url":"https://api.github.com/users/hansemannn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hansemannn/subscriptions","organizations_url":"https://api.github.com/users/hansemannn/orgs","repos_url":"https://api.github.com/users/hansemannn/repos","events_url":"https://api.github.com/users/hansemannn/events{/privacy}","received_events_url":"https://api.github.com/users/hansemannn/received_events","type":"User","site_admin":false},"body":"If it works with all version, no :blush: . But we need at least to update the Ti.SDK version that supports the new constants from 6.0.0 to 5.4.0 (which you might thought was the Android version). Thank you!!","created_at":"2016-03-23T13:45:47Z","updated_at":"2016-03-23T13:45:47Z","html_url":"https://github.com/appcelerator/titanium_mobile/pull/6435#discussion_r57160586","pull_request_url":"https://api.github.com/repos/appcelerator/titanium_mobile/pulls/6435","_links":{"self":{"href":"https://api.github.com/repos/appcelerator/titanium_mobile/pulls/comments/57160586"},"html":{"href":"https://github.com/appcelerator/titanium_mobile/pull/6435#discussion_r57160586"},"pull_request":{"href":"https://api.github.com/repos/appcelerator/titanium_mobile/pulls/6435"}}},"pull_request":{"url":"https://api.github.com/repos/appcelerator/titanium_mobile/pulls/6435","id":25576979,"html_url":"https://github.com/appcelerator/titanium_mobile/pull/6435","diff_url":"https://github.com/appcelerator/titanium_mobile/pull/6435.diff","patch_url":"https://github.com/appcelerator/titanium_mobile/pull/6435.patch","issue_url":"https://api.github.com/repos/appcelerator/titanium_mobile/issues/6435","number":6435,"state":"open","locked":false,"title":"[TIMOB-18040] - Android: expose gravity constants and add documentation","user":{"login":"manumaticx","id":2563642,"avatar_url":"https://avatars.githubusercontent.com/u/2563642?v=3","gravatar_id":"","url":"https://api.github.com/users/manumaticx","html_url":"https://github.com/manumaticx","followers_url":"https://api.github.com/users/manumaticx/followers","following_url":"https://api.github.com/users/manumaticx/following{/other_user}","gists_url":"https://api.github.com/users/manumaticx/gists{/gist_id}","starred_url":"https://api.github.com/users/manumaticx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manumaticx/subscriptions","organizations_url":"https://api.github.com/users/manumaticx/orgs","repos_url":"https://api.github.com/users/manumaticx/repos","events_url":"https://api.github.com/users/manumaticx/events{/privacy}","received_events_url":"https://api.github.com/users/manumaticx/received_events","type":"User","site_admin":false},"body":"- exposed gravity constants ([TIMOB-18040](https://jira.appcelerator.org/browse/TIMOB-18040))\r\n- documented gravity ([TIDOC-1988](https://jira.appcelerator.org/browse/TIDOC-1988))","created_at":"2014-12-05T15:16:00Z","updated_at":"2016-03-23T13:45:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dac21d63b73741173a31082c6be22df04067470c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/appcelerator/titanium_mobile/pulls/6435/commits","review_comments_url":"https://api.github.com/repos/appcelerator/titanium_mobile/pulls/6435/comments","review_comment_url":"https://api.github.com/repos/appcelerator/titanium_mobile/pulls/comments{/number}","comments_url":"https://api.github.com/repos/appcelerator/titanium_mobile/issues/6435/comments","statuses_url":"https://api.github.com/repos/appcelerator/titanium_mobile/statuses/fbffca997377bc8316ae140d1fe2aee387b21fa7","head":{"label":"manumaticx:TIMOB-18040","ref":"TIMOB-18040","sha":"fbffca997377bc8316ae140d1fe2aee387b21fa7","user":{"login":"manumaticx","id":2563642,"avatar_url":"https://avatars.githubusercontent.com/u/2563642?v=3","gravatar_id":"","url":"https://api.github.com/users/manumaticx","html_url":"https://github.com/manumaticx","followers_url":"https://api.github.com/users/manumaticx/followers","following_url":"https://api.github.com/users/manumaticx/following{/other_user}","gists_url":"https://api.github.com/users/manumaticx/gists{/gist_id}","starred_url":"https://api.github.com/users/manumaticx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manumaticx/subscriptions","organizations_url":"https://api.github.com/users/manumaticx/orgs","repos_url":"https://api.github.com/users/manumaticx/repos","events_url":"https://api.github.com/users/manumaticx/events{/privacy}","received_events_url":"https://api.github.com/users/manumaticx/received_events","type":"User","site_admin":false},"repo":{"id":18875633,"name":"titanium_mobile","full_name":"manumaticx/titanium_mobile","owner":{"login":"manumaticx","id":2563642,"avatar_url":"https://avatars.githubusercontent.com/u/2563642?v=3","gravatar_id":"","url":"https://api.github.com/users/manumaticx","html_url":"https://github.com/manumaticx","followers_url":"https://api.github.com/users/manumaticx/followers","following_url":"https://api.github.com/users/manumaticx/following{/other_user}","gists_url":"https://api.github.com/users/manumaticx/gists{/gist_id}","starred_url":"https://api.github.com/users/manumaticx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manumaticx/subscriptions","organizations_url":"https://api.github.com/users/manumaticx/orgs","repos_url":"https://api.github.com/users/manumaticx/repos","events_url":"https://api.github.com/users/manumaticx/events{/privacy}","received_events_url":"https://api.github.com/users/manumaticx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/manumaticx/titanium_mobile","description":"Appcelerator Titanium Mobile","fork":true,"url":"https://api.github.com/repos/manumaticx/titanium_mobile","forks_url":"https://api.github.com/repos/manumaticx/titanium_mobile/forks","keys_url":"https://api.github.com/repos/manumaticx/titanium_mobile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/manumaticx/titanium_mobile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/manumaticx/titanium_mobile/teams","hooks_url":"https://api.github.com/repos/manumaticx/titanium_mobile/hooks","issue_events_url":"https://api.github.com/repos/manumaticx/titanium_mobile/issues/events{/number}","events_url":"https://api.github.com/repos/manumaticx/titanium_mobile/events","assignees_url":"https://api.github.com/repos/manumaticx/titanium_mobile/assignees{/user}","branches_url":"https://api.github.com/repos/manumaticx/titanium_mobile/branches{/branch}","tags_url":"https://api.github.com/repos/manumaticx/titanium_mobile/tags","blobs_url":"https://api.github.com/repos/manumaticx/titanium_mobile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/manumaticx/titanium_mobile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/manumaticx/titanium_mobile/git/refs{/sha}","trees_url":"https://api.github.com/repos/manumaticx/titanium_mobile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/manumaticx/titanium_mobile/statuses/{sha}","languages_url":"https://api.github.com/repos/manumaticx/titanium_mobile/languages","stargazers_url":"https://api.github.com/repos/manumaticx/titanium_mobile/stargazers","contributors_url":"https://api.github.com/repos/manumaticx/titanium_mobile/contributors","subscribers_url":"https://api.github.com/repos/manumaticx/titanium_mobile/subscribers","subscription_url":"https://api.github.com/repos/manumaticx/titanium_mobile/subscription","commits_url":"https://api.github.com/repos/manumaticx/titanium_mobile/commits{/sha}","git_commits_url":"https://api.github.com/repos/manumaticx/titanium_mobile/git/commits{/sha}","comments_url":"https://api.github.com/repos/manumaticx/titanium_mobile/comments{/number}","issue_comment_url":"https://api.github.com/repos/manumaticx/titanium_mobile/issues/comments{/number}","contents_url":"https://api.github.com/repos/manumaticx/titanium_mobile/contents/{+path}","compare_url":"https://api.github.com/repos/manumaticx/titanium_mobile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/manumaticx/titanium_mobile/merges","archive_url":"https://api.github.com/repos/manumaticx/titanium_mobile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/manumaticx/titanium_mobile/downloads","issues_url":"https://api.github.com/repos/manumaticx/titanium_mobile/issues{/number}","pulls_url":"https://api.github.com/repos/manumaticx/titanium_mobile/pulls{/number}","milestones_url":"https://api.github.com/repos/manumaticx/titanium_mobile/milestones{/number}","notifications_url":"https://api.github.com/repos/manumaticx/titanium_mobile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/manumaticx/titanium_mobile/labels{/name}","releases_url":"https://api.github.com/repos/manumaticx/titanium_mobile/releases{/id}","deployments_url":"https://api.github.com/repos/manumaticx/titanium_mobile/deployments","created_at":"2014-04-17T11:09:54Z","updated_at":"2015-04-15T11:43:30Z","pushed_at":"2016-02-03T10:09:07Z","git_url":"git://github.com/manumaticx/titanium_mobile.git","ssh_url":"git@github.com:manumaticx/titanium_mobile.git","clone_url":"https://github.com/manumaticx/titanium_mobile.git","svn_url":"https://github.com/manumaticx/titanium_mobile","homepage":"http://www.appcelerator.com","size":891070,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"appcelerator:master","ref":"master","sha":"738b82913f59761c0f1718b06bce8962e3bc584b","user":{"login":"appcelerator","id":82188,"avatar_url":"https://avatars.githubusercontent.com/u/82188?v=3","gravatar_id":"","url":"https://api.github.com/users/appcelerator","html_url":"https://github.com/appcelerator","followers_url":"https://api.github.com/users/appcelerator/followers","following_url":"https://api.github.com/users/appcelerator/following{/other_user}","gists_url":"https://api.github.com/users/appcelerator/gists{/gist_id}","starred_url":"https://api.github.com/users/appcelerator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appcelerator/subscriptions","organizations_url":"https://api.github.com/users/appcelerator/orgs","repos_url":"https://api.github.com/users/appcelerator/repos","events_url":"https://api.github.com/users/appcelerator/events{/privacy}","received_events_url":"https://api.github.com/users/appcelerator/received_events","type":"Organization","site_admin":false},"repo":{"id":228094,"name":"titanium_mobile","full_name":"appcelerator/titanium_mobile","owner":{"login":"appcelerator","id":82188,"avatar_url":"https://avatars.githubusercontent.com/u/82188?v=3","gravatar_id":"","url":"https://api.github.com/users/appcelerator","html_url":"https://github.com/appcelerator","followers_url":"https://api.github.com/users/appcelerator/followers","following_url":"https://api.github.com/users/appcelerator/following{/other_user}","gists_url":"https://api.github.com/users/appcelerator/gists{/gist_id}","starred_url":"https://api.github.com/users/appcelerator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appcelerator/subscriptions","organizations_url":"https://api.github.com/users/appcelerator/orgs","repos_url":"https://api.github.com/users/appcelerator/repos","events_url":"https://api.github.com/users/appcelerator/events{/privacy}","received_events_url":"https://api.github.com/users/appcelerator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/appcelerator/titanium_mobile","description":"Appcelerator Titanium Mobile","fork":false,"url":"https://api.github.com/repos/appcelerator/titanium_mobile","forks_url":"https://api.github.com/repos/appcelerator/titanium_mobile/forks","keys_url":"https://api.github.com/repos/appcelerator/titanium_mobile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/appcelerator/titanium_mobile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/appcelerator/titanium_mobile/teams","hooks_url":"https://api.github.com/repos/appcelerator/titanium_mobile/hooks","issue_events_url":"https://api.github.com/repos/appcelerator/titanium_mobile/issues/events{/number}","events_url":"https://api.github.com/repos/appcelerator/titanium_mobile/events","assignees_url":"https://api.github.com/repos/appcelerator/titanium_mobile/assignees{/user}","branches_url":"https://api.github.com/repos/appcelerator/titanium_mobile/branches{/branch}","tags_url":"https://api.github.com/repos/appcelerator/titanium_mobile/tags","blobs_url":"https://api.github.com/repos/appcelerator/titanium_mobile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/appcelerator/titanium_mobile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/appcelerator/titanium_mobile/git/refs{/sha}","trees_url":"https://api.github.com/repos/appcelerator/titanium_mobile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/appcelerator/titanium_mobile/statuses/{sha}","languages_url":"https://api.github.com/repos/appcelerator/titanium_mobile/languages","stargazers_url":"https://api.github.com/repos/appcelerator/titanium_mobile/stargazers","contributors_url":"https://api.github.com/repos/appcelerator/titanium_mobile/contributors","subscribers_url":"https://api.github.com/repos/appcelerator/titanium_mobile/subscribers","subscription_url":"https://api.github.com/repos/appcelerator/titanium_mobile/subscription","commits_url":"https://api.github.com/repos/appcelerator/titanium_mobile/commits{/sha}","git_commits_url":"https://api.github.com/repos/appcelerator/titanium_mobile/git/commits{/sha}","comments_url":"https://api.github.com/repos/appcelerator/titanium_mobile/comments{/number}","issue_comment_url":"https://api.github.com/repos/appcelerator/titanium_mobile/issues/comments{/number}","contents_url":"https://api.github.com/repos/appcelerator/titanium_mobile/contents/{+path}","compare_url":"https://api.github.com/repos/appcelerator/titanium_mobile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/appcelerator/titanium_mobile/merges","archive_url":"https://api.github.com/repos/appcelerator/titanium_mobile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/appcelerator/titanium_mobile/downloads","issues_url":"https://api.github.com/repos/appcelerator/titanium_mobile/issues{/number}","pulls_url":"https://api.github.com/repos/appcelerator/titanium_mobile/pulls{/number}","milestones_url":"https://api.github.com/repos/appcelerator/titanium_mobile/milestones{/number}","notifications_url":"https://api.github.com/repos/appcelerator/titanium_mobile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/appcelerator/titanium_mobile/labels{/name}","releases_url":"https://api.github.com/repos/appcelerator/titanium_mobile/releases{/id}","deployments_url":"https://api.github.com/repos/appcelerator/titanium_mobile/deployments","created_at":"2009-06-15T22:54:37Z","updated_at":"2016-03-22T01:53:39Z","pushed_at":"2016-03-23T09:07:08Z","git_url":"git://github.com/appcelerator/titanium_mobile.git","ssh_url":"git@github.com:appcelerator/titanium_mobile.git","clone_url":"https://github.com/appcelerator/titanium_mobile.git","svn_url":"https://github.com/appcelerator/titanium_mobile","homepage":"http://www.appcelerator.com","size":1095613,"stargazers_count":2058,"watchers_count":2058,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1089,"mirror_url":null,"open_issues_count":25,"forks":1089,"open_issues":25,"watchers":2058,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/appcelerator/titanium_mobile/pulls/6435"},"html":{"href":"https://github.com/appcelerator/titanium_mobile/pull/6435"},"issue":{"href":"https://api.github.com/repos/appcelerator/titanium_mobile/issues/6435"},"comments":{"href":"https://api.github.com/repos/appcelerator/titanium_mobile/issues/6435/comments"},"review_comments":{"href":"https://api.github.com/repos/appcelerator/titanium_mobile/pulls/6435/comments"},"review_comment":{"href":"https://api.github.com/repos/appcelerator/titanium_mobile/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/appcelerator/titanium_mobile/pulls/6435/commits"},"statuses":{"href":"https://api.github.com/repos/appcelerator/titanium_mobile/statuses/fbffca997377bc8316ae140d1fe2aee387b21fa7"}}}}