Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAlbumSetPage.java119 private Button mCameraButton; field in AlbumSetPage
362 mCameraButton = new Button(mActivity); in setupCameraButton()
363 mCameraButton.setText(R.string.camera_label); in setupCameraButton()
364mCameraButton.setCompoundDrawablesWithIntrinsicBounds(0, R.drawable.frame_overlay_gallery_camera, … in setupCameraButton()
365 mCameraButton.setOnClickListener(new OnClickListener() { in setupCameraButton()
375 galleryRoot.addView(mCameraButton, lp); in setupCameraButton()
380 if (mCameraButton == null) return; in cleanupCameraButton()
384 galleryRoot.removeView(mCameraButton); in cleanupCameraButton()
385 mCameraButton = null; in cleanupCameraButton()
389 if (mCameraButton == null && !setupCameraButton()) return; in showCameraButton()
[all …]