Lines Matching refs:Util
305 if (Util.getDisplayRotation(Camera.this) != mDisplayRotation) { in handleMessage()
390 Util.initializeScreenBrightness(getWindow(), getContentResolver()); in initializeFirstTime()
424 if ((mThumbnail == null || !Util.isUriValid(mThumbnail.getUri(), mContentResolver)) in updateThumbnailButton()
563 if (!Util.pointInView(e.getX(), e.getY(), popup) in onDown()
564 && !Util.pointInView(e.getX(), e.getY(), mIndicatorControlContainer) in onDown()
565 && !Util.pointInView(e.getX(), e.getY(), mPreviewFrame)) { in onDown()
993 String title = Util.createJpegName(dateTaken); in storeImage()
1020 Util.broadcastNewPicture(Camera.this, uri); in storeImage()
1050 Util.setRotationParameter(mParameters, mCameraId, mOrientation); in capture()
1052 Util.setGpsParameters(mParameters, loc); in capture()
1080 Util.closeSilently(f); in saveDataToFile()
1105 int intentCameraId = Util.getCameraFacingIntentExtras(this); in getPreferredCameraId()
1114 mCameraDevice = Util.openCamera(Camera.this, mCameraId);
1166 Util.enterLightsOutMode(getWindow()); in onCreate()
1181 Util.showErrorAndFinish(this, R.string.cannot_connect_camera); in onCreate()
1184 Util.showErrorAndFinish(this, R.string.camera_disabled); in onCreate()
1311 mOrientation = Util.roundOrientation(orientation, mOrientation); in onOrientationChanged()
1315 + Util.getDisplayRotation(Camera.this); in onOrientationChanged()
1407 Util.closeSilently(outputStream); in doAttach()
1411 Bitmap bitmap = Util.makeBitmap(data, 50 * 1024); in doAttach()
1412 bitmap = Util.rotate(bitmap, orientation); in doAttach()
1437 Util.closeSilently(tempStream); in doAttach()
1555 mCameraDevice = Util.openCamera(this, mCameraId); in doOnResume()
1561 Util.showErrorAndFinish(this, R.string.cannot_connect_camera); in doOnResume()
1564 Util.showErrorAndFinish(this, R.string.camera_disabled); in doOnResume()
1789 if (Util.getDisplayRotation(this) != mDisplayRotation) { in surfaceChanged()
1841 mDisplayRotation = Util.getDisplayRotation(this); in setDisplayOrientation()
1842 mDisplayOrientation = Util.getDisplayOrientation(mDisplayRotation, mCameraId); in setDisplayOrientation()
1977 Size optimalSize = Util.getOptimalPreviewSize(this, in updateCameraParametersPreference()
2133 Util.fadeOut(mIndicatorControlContainer); in showPostCaptureAlert()
2134 Util.fadeOut(mShutterButton); in showPostCaptureAlert()
2138 Util.fadeIn(findViewById(id)); in showPostCaptureAlert()
2147 Util.fadeOut(findViewById(id)); in hidePostCaptureAlert()
2150 Util.fadeIn(mShutterButton); in hidePostCaptureAlert()
2151 Util.fadeIn(mIndicatorControlContainer); in hidePostCaptureAlert()