1 | static Rect translateRect(int x, int y, Rect r) { |
2 | ret translateRect(r, x, y); |
3 | } |
4 | |
5 | static Rect translateRect(Rect r, int x, int y) { |
6 | ret r == null ? null : new Rect(r.x+x, r.y+y, r.w, r.h); |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005846 |
Snippet name: | translateRect |
Eternal ID of this version: | #1005846/3 |
Text MD5: | f214fe8eed50c781132b1d3fa0b46e78 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-08-18 02:01:51 |
Source code size: | 199 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 698 / 658 |
Version history: | 2 change(s) |
Referenced in: | [show references] |