ImageSource function ( String arg0 ) { if ( arg0 == null ) { throw new NullPointerException ( "srini_string" ) ; } if ( ! arg0 . contains ( "srini_string" ) ) { if ( arg0 . startsWith ( "srini_string" ) ) { arg0 = arg0 . substring ( 1 ) ; } arg0 = FILE_SCHEME + arg0 ; } return new ImageSource ( Uri . parse ( arg0 ) ) ; }
create an instance from a uri . if the uri does not start with a scheme , it 's assumed to be the uri of a file . concode_field_sep int sHeight concode_elem_sep String ASSET_SCHEME concode_elem_sep Integer resource concode_elem_sep String FILE_SCHEME concode_elem_sep Bitmap bitmap concode_elem_sep boolean tile concode_elem_sep int sWidth concode_elem_sep Uri uri concode_elem_sep Rect sRegion concode_field_sep boolean getTile concode_elem_sep Integer getResource concode_elem_sep void setInvariants concode_elem_sep ImageSource resource concode_elem_sep int getSWidth concode_elem_sep ImageSource tiling concode_elem_sep ImageSource tilingEnabled concode_elem_sep ImageSource uri concode_elem_sep ImageSource uri concode_elem_sep int getSHeight concode_elem_sep ImageSource tilingDisabled concode_elem_sep Bitmap getBitmap concode_elem_sep ImageSource bitmap concode_elem_sep Rect getSRegion concode_elem_sep ImageSource asset concode_elem_sep ImageSource region concode_elem_sep Uri getUri concode_elem_sep ImageSource dimensions