Home
last modified time | relevance | path

Searched refs:mContainer (Results 1 – 6 of 6) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/animation/
DTransition3d.java30 private ViewGroup mContainer; field in Transition3d
61 mContainer = (ViewGroup) findViewById(R.id.container); in onCreate()
77 mContainer.setPersistentDrawingCache(ViewGroup.PERSISTENT_ANIMATION_CACHE); in onCreate()
89 final float centerX = mContainer.getWidth() / 2.0f; in applyRotation()
90 final float centerY = mContainer.getHeight() / 2.0f; in applyRotation()
101 mContainer.startAnimation(rotation); in applyRotation()
130 mContainer.post(new SwapViews(mPosition)); in onAnimationEnd()
149 final float centerX = mContainer.getWidth() / 2.0f; in run()
150 final float centerY = mContainer.getHeight() / 2.0f; in run()
171 mContainer.startAnimation(rotation); in run()
/development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/
DBackgroundPickers.java39 private final ViewGroup mContainer; field in BackgroundPickers
45 this.mContainer = container; in BackgroundPickers()
59 LayoutInflater inflater = LayoutInflater.from(mContainer.getContext()); in generatePickers()
60 Resources res = mContainer.getResources(); in generatePickers()
62 View picker = inflater.inflate(R.layout.background_picker, mContainer, false); in generatePickers()
71 mContainer.addView(picker); in generatePickers()
86 Context context = mContainer.getContext(); in getRes()
110 mContainer.removeAllViews(); in clear()
/development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/
DToonGame.java56 ViewGroup mContainer; field in ToonGame
74 mContainer = (ViewGroup) findViewById(R.id.container); in onCreate()
83 mContainer.setScaleX(1); in onResume()
84 mContainer.setScaleY(1); in onResume()
85 mContainer.setAlpha(1); in onResume()
87 mContainer.getViewTreeObserver().addOnPreDrawListener(mOnPreDrawListener); in onResume()
133 mContainer.getHeight() - mStarter.getTop() - mStarter.getHeight(),
139 mContainer.animate().scaleX(5).scaleY(5).alpha(0).setDuration(LONG_DURATION). in play()
162 mContainer.getViewTreeObserver().removeOnPreDrawListener(this);
163 mContainer.postDelayed(new Runnable() {
[all …]
DPlayerSetupActivity.java56 ViewGroup mContainer; field in PlayerSetupActivity
79 mContainer = (ViewGroup) findViewById(R.id.container); in onCreate()
80 mContainer.getViewTreeObserver().addOnPreDrawListener(mPreDrawListener); in onCreate()
156 mContainer.addView(buttonCopy); in buttonClick()
274 mContainer.getViewTreeObserver().removeOnPreDrawListener(this);
275 mContainer.setScaleX(0);
276 mContainer.setScaleY(0);
277 mContainer.animate().scaleX(1).scaleY(1).setInterpolator(new OvershootInterpolator());
278 mContainer.animate().setDuration(ToonGame.LONG_DURATION).withEndAction(new Runnable() {
325 -mContainer.getWidth()); in slideToNext()
[all …]
/development/samples/devbytes/animation/SquashAndStretch/src/com/example/squashandstretch/
DSquashAndStretch.java47 ViewGroup mContainer = null; field in SquashAndStretch
56 mContainer = (ViewGroup) findViewById(R.id.container); in onCreate()
83 mContainer.getHeight() - view.getHeight()); in onButtonClick()
/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DTreeFragment.java44 private ViewGroup mContainer; field in TreeFragment
101 View taskView = mContainer.getChildAt(i); in openTask()