Searched defs:width (Results 1 - 4 of 4) sorted by relevance
/gdk/samples/PhotoEditor/src/com/android/photoeditor/ |
H A D | Photo.java | 50 return ((photo.width() == width()) && (photo.height() == height())); 53 public int width() { method in class:Photo 71 public void crop(int left, int top, int width, int height) { argument 73 Bitmap cropped = Bitmap.createBitmap(bitmap, left, top, width, height).copy(
|
H A D | BitmapUtils.java | 109 private Bitmap decodeBitmap(Uri uri, int width, int height) { argument 116 int sampleSize = Math.max(bounds.width() / width, bounds.height() / height); 118 Math.max(bounds.width() / height, bounds.height() / width)); 134 float scale = Math.min((float) width / bitmap.getWidth(), 137 (float) width / bitmap.getHeight())); 152 public Bitmap getBitmap(Uri uri, int width, int height) { argument 153 Bitmap bitmap = decodeBitmap(uri, width, height);
|
/gdk/samples/PhotoEditor/src/com/android/photoeditor/animation/ |
H A D | Rotate3DAnimation.java | 73 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument 74 super.initialize(width, height, parentWidth, parentHeight); 80 centerX = width / 2.0f;
|
/gdk/samples/bitmap-plasma-llvm/jni/ |
H A D | plasma.cpp | 195 uint32_t width, uint32_t height, uint32_t stride, double t, uint16_t* palette, void* pixels, Fixed *_angle_sin_tab ) 226 uint16_t* line_end = line + width; 263 for (xx = 0; xx < width; xx++) { 490 native_function(info.width, info.height, info.stride, time_ms, palette, pixels, angle_sin_tab); 501 fill_plasma(info.width, info.height, info.stride, time_ms, palette, pixels, angle_sin_tab); 194 fill_plasma( uint32_t width, uint32_t height, uint32_t stride, double t, uint16_t* palette, void* pixels, Fixed *_angle_sin_tab ) argument
|
Completed in 252 milliseconds