Lines Matching defs:mButton
43 Button mButton;
50 mButton = (Button) findViewById(R.id.button);
51 mButton.setOnClickListener(new View.OnClickListener() {
56 final int oldLeft = mButton.getLeft();
57 final int oldTop = mButton.getTop();
63 mButton.getViewTreeObserver().addOnPreDrawListener(
66 mButton.getViewTreeObserver().removeOnPreDrawListener(this);
69 int left = mButton.getLeft();
70 int top = mButton.getTop();
96 LayoutParams params = (LayoutParams) mButton.getLayoutParams();
108 mButton.setLayoutParams(params);
120 mButton.setTranslationX(newLoc.mX);
121 mButton.setTranslationY(newLoc.mY);