(View view)
| 2331 | } |
| 2332 | |
| 2333 | private static String _getViewName(View view) { |
| 2334 | if (view == null) |
| 2335 | return "<null>"; |
| 2336 | int id = view.getId(); |
| 2337 | if (id == View.NO_ID) |
| 2338 | return ""; |
| 2339 | try { |
| 2340 | return view.getContext().getResources().getResourceEntryName(id); |
| 2341 | } catch (Throwable ex) { |
| 2342 | return new ThrowableWrapper(ex).toSafeString(); |
| 2343 | } |
| 2344 | } |
| 2345 | |
| 2346 | static int getBytesPerPixel(Bitmap.Config config) { |
| 2347 | switch (config) { |
no test coverage detected