Lines Matching refs:Util
298 if ((Util.getDisplayRotation(VideoCamera.this) != mDisplayRotation) in handleMessage()
356 Util.initializeScreenBrightness(getWindow(), getContentResolver()); in onCreate()
363 int intentCameraId = Util.getCameraFacingIntentExtras(this); in onCreate()
388 mCameraDevice = Util.openCamera(VideoCamera.this, mCameraId); in onCreate()
400 Util.enterLightsOutMode(getWindow()); in onCreate()
467 Util.showErrorAndFinish(this, R.string.cannot_connect_camera); in onCreate()
470 Util.showErrorAndFinish(this, R.string.camera_disabled); in onCreate()
552 mOrientation = Util.roundOrientation(orientation, mOrientation); in onOrientationChanged()
556 + Util.getDisplayRotation(VideoCamera.this); in onOrientationChanged()
808 Size optimalSize = Util.getOptimalPreviewSize(this, sizes, in getDesiredPreviewSize()
840 mCameraDevice = Util.openCamera(this, mCameraId); in doOnResume()
845 Util.showErrorAndFinish(this, R.string.cannot_connect_camera); in doOnResume()
848 Util.showErrorAndFinish(this, R.string.camera_disabled); in doOnResume()
922 mDisplayRotation = Util.getDisplayRotation(this); in startPreview()
923 int orientation = Util.getDisplayOrientation(mDisplayRotation, mCameraId); in startPreview()
1103 if (mPreviewing && (Util.getDisplayRotation(this) == mDisplayRotation) in surfaceChanged()
1613 if (Util.isTabletUI()) { in showRecordingUI()
1626 if (Util.isTabletUI()) { in showRecordingUI()
1661 bitmap = Util.rotateAndMirror(bitmap, -mOrientationCompensationAtRecordStart, in showAlert()
1667 Util.fadeOut(mShutterButton); in showAlert()
1668 Util.fadeOut(mIndicatorControlContainer); in showAlert()
1671 Util.fadeIn(findViewById(id)); in showAlert()
1684 Util.fadeOut(findViewById(id)); in hideAlert()
1686 Util.fadeIn(mShutterButton); in hideAlert()
1687 Util.fadeIn(mIndicatorControlContainer); in hideAlert()
1764 if (mThumbnail == null || !Util.isUriValid(mThumbnail.getUri(), mContentResolver)) { in updateThumbnailButton()
1939 Size optimalSize = Util.getOptimalVideoSnapshotPictureSize(supported, in setCameraParameters()
2246 if (!Util.pointInView(e.getX(), e.getY(), popup) in onDown()
2247 && !Util.pointInView(e.getX(), e.getY(), mIndicatorControlContainer)) { in onDown()
2380 Util.setRotationParameter(mParameters, mCameraId, mOrientation); in onTouch()
2382 Util.setGpsParameters(mParameters, loc); in onTouch()
2410 String title = Util.createJpegName(dateTaken); in storeImage()
2426 Util.broadcastNewPicture(this, uri); in storeImage()