Lines Matching defs:view
32 import android.view.MotionEvent;
33 import android.view.View;
37 * A view that contains camera setting indicators in two levels. The first-level
153 public void onClick(View view) {
190 ImageView view;
192 view = new RotateImageView(context);
194 view = new TwoStateImageView(context);
196 view.setImageResource(resourceId);
197 view.setOnClickListener(this);
198 addView(view);
199 return view;
344 View view = getChildAt(i);
353 if ((!view.isEnabled() && (mCurrentLevel == 0))
356 view.setVisibility(View.GONE);
359 view.setVisibility(View.VISIBLE);
362 int width = view.getMeasuredWidth();
363 int height = view.getMeasuredHeight();
364 if (view == mZoomControl) {
365 // ZoomControlWheel matches the size of its parent view.
366 view.layout(0, 0, right - left, bottom - top);
368 view.layout(x - width / 2, y - height / 2, x + width / 2,