Searched defs:view (Results 1 - 3 of 3) sorted by relevance

/gdk/samples/PhotoEditor/src/com/android/photoeditor/
H A DRectUtils.java21 import android.view.View;
67 * Post translates the matrix to center the given bounds inside the view.
69 public static void postCenterMatrix(RectF contentBounds, View view, Matrix matrix) { argument
70 matrix.postTranslate((view.getWidth() - contentBounds.width()) / 2,
71 (view.getHeight() - contentBounds.height()) / 2);
76 * display inside the view.
78 public static float getDisplayScale(RectF contentBounds, View view) { argument
83 float scale = Math.min(view.getWidth() / contentBounds.width(),
84 view.getHeight() / contentBounds.height());
H A DToolbarIdleHandler.java21 import android.view.View;
22 import android.view.ViewGroup;
23 import android.view.animation.Animation;
24 import android.view.animation.AnimationUtils;
57 for (View view : childViews) {
58 makeIdle(view);
70 View view = toolbar.getChildAt(i);
71 String tag = (String) view.getTag();
73 childViews.add(view);
76 // Alpha animations don't work well on scroll-view; appl
91 makeAwake(View view) argument
97 makeIdle(View view) argument
[all...]
/gdk/samples/bitmap-plasma-llvm/src/com/example/plasma/llvm/
H A DPlasma.java21 import android.view.View;
22 import android.view.Menu;
23 import android.view.MenuItem;
24 import android.view.MenuInflater;
44 view = new PlasmaView(this);
45 setContentView(view);
59 view.switchMode();
67 private PlasmaView view; field in class:Plasma

Completed in 142 milliseconds