Lines Matching refs:view
34 import android.view.ContextMenu;
35 import android.view.ContextMenu.ContextMenuInfo;
36 import android.view.LayoutInflater;
37 import android.view.MenuInflater;
38 import android.view.MenuItem;
39 import android.view.View;
40 import android.view.View.MeasureSpec;
41 import android.view.ViewGroup;
79 View mEmpty;
92 public View onCreateView(LayoutInflater inflater, ViewGroup container,
94 View view = inflater.inflate(R.layout.snapshots, container, false);
95 mEmpty = view.findViewById(android.R.id.empty);
96 mGrid = (GridView) view.findViewById(R.id.grid);
99 return view;
113 View item = inflater.inflate(R.layout.snapshot_item, mGrid, false);
147 mGrid.setVisibility(empty ? View.GONE : View.VISIBLE);
148 mEmpty.setVisibility(empty ? View.VISIBLE : View.GONE);
157 public void onCreateContextMenu(ContextMenu menu, View v,
206 public void onItemClick(AdapterView<?> parent, View view, int position,
214 private View mAnimationTarget;
220 ObjectAnimator.ofFloat(null, View.SCALE_X, 0f, 1f),
221 ObjectAnimator.ofFloat(null, View.SCALE_Y, 0f, 1f));
251 public void bindView(View view, Context context, Cursor cursor) {
254 if (mAnimationTarget != view) {
261 view.setScaleX(scale);
262 view.setScaleY(scale);
264 mAnimation.setTarget(view);
265 mAnimationTarget = view;
271 ImageView thumbnail = (ImageView) view.findViewById(R.id.thumb);
280 TextView title = (TextView) view.findViewById(R.id.title);
282 TextView size = (TextView) view.findViewById(R.id.size);
288 TextView date = (TextView) view.findViewById(R.id.date);