/packages/apps/Camera/src/com/android/camera/ |
D | VideoModule.java | 78 import com.android.gallery3d.common.ApiHelper; 362 if (!ApiHelper.HAS_SURFACE_TEXTURE) { // API level < 11 in initializeSurfaceView() 368 } else if (!ApiHelper.HAS_SURFACE_TEXTURE_RECORDING) { // API level < 16 in initializeSurfaceView() 541 @TargetApi(ApiHelper.VERSION_CODES.HONEYCOMB) 543 if (ApiHelper.HAS_FINE_RESOLUTION_QUALITY_LEVELS) { in getLowVideoQuality() 648 if (!mPaused && ApiHelper.HAS_SURFACE_TEXTURE_RECORDING) { in onStopVideoRecording() 735 if (ApiHelper.HAS_TIME_LAPSE_RECORDING) { in readVideoPreferences() 755 @TargetApi(ApiHelper.VERSION_CODES.HONEYCOMB) 758 if (ApiHelper.HAS_GET_SUPPORTED_VIDEO_SIZE) { in getDesiredPreviewSize() 863 if (ApiHelper.HAS_SURFACE_TEXTURE) { in setDisplayOrientation() [all …]
|
D | CameraManager.java | 40 import com.android.gallery3d.common.ApiHelper; 99 @TargetApi(ApiHelper.VERSION_CODES.ICE_CREAM_SANDWICH) 104 @TargetApi(ApiHelper.VERSION_CODES.ICE_CREAM_SANDWICH) 109 @TargetApi(ApiHelper.VERSION_CODES.ICE_CREAM_SANDWICH) 114 @TargetApi(ApiHelper.VERSION_CODES.HONEYCOMB) 123 @TargetApi(ApiHelper.VERSION_CODES.JELLY_BEAN_MR1) 268 @TargetApi(ApiHelper.VERSION_CODES.JELLY_BEAN) 328 @TargetApi(ApiHelper.VERSION_CODES.HONEYCOMB) 377 @TargetApi(ApiHelper.VERSION_CODES.JELLY_BEAN) 432 @TargetApi(ApiHelper.VERSION_CODES.ICE_CREAM_SANDWICH)
|
D | PhotoModule.java | 75 import com.android.gallery3d.common.ApiHelper; 264 ApiHelper.HAS_AUTO_FOCUS_MOVE_CALLBACK 428 if (!ApiHelper.HAS_SURFACE_TEXTURE) { in handleMessage() 748 @TargetApi(ApiHelper.VERSION_CODES.ICE_CREAM_SANDWICH) 751 if (!ApiHelper.HAS_FACE_DETECTION) return; in startFaceDetection() 772 @TargetApi(ApiHelper.VERSION_CODES.ICE_CREAM_SANDWICH) 775 if (!ApiHelper.HAS_FACE_DETECTION) return; in stopFaceDetection() 962 if (ApiHelper.HAS_SURFACE_TEXTURE && !mIsImageCaptureIntent in onPictureTaken() 969 if (ApiHelper.CAN_START_PREVIEW_IN_JPEG_CALLBACK) { in onPictureTaken() 1037 @TargetApi(ApiHelper.VERSION_CODES.JELLY_BEAN) [all …]
|
D | CameraSettings.java | 32 import com.android.gallery3d.common.ApiHelper; 93 @TargetApi(ApiHelper.VERSION_CODES.HONEYCOMB) 96 if (ApiHelper.HAS_FINE_RESOLUTION_QUALITY_LEVELS) { in getDefaultVideoQuality() 214 if (ApiHelper.HAS_TIME_LAPSE_RECORDING) { in initPreference() 221 if (ApiHelper.HAS_EFFECTS_RECORDING) { in initPreference() 228 if (cameraHdr != null && (!ApiHelper.HAS_CAMERA_HDR in initPreference() 531 if (ApiHelper.HAS_FINE_RESOLUTION_QUALITY_LEVELS) { in getSupportedVideoQuality() 548 @TargetApi(ApiHelper.VERSION_CODES.HONEYCOMB)
|
D | Util.java | 54 import com.android.gallery3d.common.ApiHelper; 110 @TargetApi(ApiHelper.VERSION_CODES.ICE_CREAM_SANDWICH) 112 if (ApiHelper.HAS_CAMERA_METERING_AREA) { in isMeteringAreaSupported() 118 @TargetApi(ApiHelper.VERSION_CODES.ICE_CREAM_SANDWICH) 120 if (ApiHelper.HAS_CAMERA_FOCUS_AREA) { in isFocusAreaSupported() 297 @TargetApi(ApiHelper.VERSION_CODES.ICE_CREAM_SANDWICH) 300 if (ApiHelper.HAS_GET_CAMERA_DISABLED) { in throwIfCameraDisabled() 428 if (Build.VERSION.SDK_INT >= ApiHelper.VERSION_CODES.HONEYCOMB_MR2) { in getDefaultDisplaySize()
|
D | SoundClips.java | 26 import com.android.gallery3d.common.ApiHelper; 43 if (ApiHelper.HAS_MEDIA_ACTION_SOUND) { in getPlayer() 54 @TargetApi(ApiHelper.VERSION_CODES.JELLY_BEAN) 123 int audioType = ApiHelper.getIntFieldIfExists(AudioManager.class, in SoundPoolPlayer()
|
D | ActivityBase.java | 46 import com.android.gallery3d.common.ApiHelper; 181 if (ApiHelper.HAS_ACTION_BAR) { in onCreate() 485 if (ApiHelper.HAS_SURFACE_TEXTURE) { in onLayoutChange() 559 if (ApiHelper.HAS_SURFACE_TEXTURE) { in attachScreenNail() 619 return !ApiHelper.HAS_SURFACE_TEXTURE; in isStaticCamera()
|
D | MosaicPreviewRenderer.java | 28 import com.android.gallery3d.common.ApiHelper; 37 @TargetApi(ApiHelper.VERSION_CODES.HONEYCOMB) // uses SurfaceTexture 173 @TargetApi(ApiHelper.VERSION_CODES.ICE_CREAM_SANDWICH) 175 if (ApiHelper.HAS_RELEASE_SURFACE_TEXTURE) { in releaseSurfaceTexture()
|
D | PreviewFrameLayout.java | 28 import com.android.gallery3d.common.ApiHelper; 56 if (ApiHelper.HAS_FACE_DETECTION) { in onFinishInflate() 89 if (!ApiHelper.HAS_SURFACE_TEXTURE) { in onMeasure()
|
/packages/apps/Camera/src/com/android/camera/ui/ |
D | RotateLayout.java | 30 import com.android.gallery3d.common.ApiHelper; 51 @TargetApi(ApiHelper.VERSION_CODES.HONEYCOMB) 55 if (ApiHelper.HAS_VIEW_TRANSFORM_PROPERTIES) { in onFinishInflate() 80 if (!ApiHelper.HAS_VIEW_TRANSFORM_PROPERTIES) { in dispatchTouchEvent() 105 if (ApiHelper.HAS_VIEW_TRANSFORM_PROPERTIES) { in dispatchDraw() 131 @TargetApi(ApiHelper.VERSION_CODES.HONEYCOMB) 151 if (ApiHelper.HAS_VIEW_TRANSFORM_PROPERTIES) { in onMeasure() 194 if (!ApiHelper.HAS_VIEW_TRANSFORM_PROPERTIES && mOrientation != 0) { in invalidateChildInParent()
|
D | Switch.java | 46 import com.android.gallery3d.common.ApiHelper; 189 @TargetApi(ApiHelper.VERSION_CODES.ICE_CREAM_SANDWICH) 473 @TargetApi(ApiHelper.VERSION_CODES.HONEYCOMB) 481 @TargetApi(ApiHelper.VERSION_CODES.ICE_CREAM_SANDWICH) 488 @TargetApi(ApiHelper.VERSION_CODES.ICE_CREAM_SANDWICH)
|
D | CameraSwitcher.java | 36 import com.android.gallery3d.common.ApiHelper; 226 if (!ApiHelper.HAS_VIEW_PROPERTY_ANIMATOR) { in popupAnimationSetup() 238 if (!ApiHelper.HAS_VIEW_PROPERTY_ANIMATOR) { in animateHidePopup() 265 if (!ApiHelper.HAS_VIEW_PROPERTY_ANIMATOR) { in animateShowPopup()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | SurfaceTextureScreenNail.java | 23 import com.android.gallery3d.common.ApiHelper; 27 @TargetApi(ApiHelper.VERSION_CODES.HONEYCOMB) 56 @TargetApi(ApiHelper.VERSION_CODES.ICE_CREAM_SANDWICH_MR1) 58 if (ApiHelper.HAS_SET_DEFALT_BUFFER_SIZE) { in setDefaultBufferSize() 63 @TargetApi(ApiHelper.VERSION_CODES.ICE_CREAM_SANDWICH) 66 if (ApiHelper.HAS_RELEASE_SURFACE_TEXTURE) { in releaseSurfaceTexture()
|
D | GLRootView.java | 34 import com.android.gallery3d.common.ApiHelper; 122 setEGLContextClientVersion(ApiHelper.HAS_GLES20_REQUIRED ? 2 : 1); in GLRootView() 123 if (ApiHelper.USE_888_PIXEL_FORMAT) { in GLRootView() 129 if (ApiHelper.USE_888_PIXEL_FORMAT) { in GLRootView() 192 if (ApiHelper.HAS_POST_ON_ANIMATION) { in requestRender() 293 mCanvas = ApiHelper.HAS_GLES20_REQUIRED ? new GLES20Canvas() : new GLES11Canvas(gl); in onSurfaceCreated() 582 if (!ApiHelper.HAS_SET_SYSTEM_UI_VISIBILITY) return; in setLightsOutMode() 587 if (ApiHelper.HAS_VIEW_SYSTEM_UI_FLAG_LAYOUT_STABLE) { in setLightsOutMode()
|
/packages/apps/Camera2/src/com/android/camera/one/config/ |
D | OneCameraFeatureConfigCreator.java | 26 import com.android.camera.util.ApiHelper; 91 if (ApiHelper.IS_NEXUS_5) { in buildCaptureModuleDetector() 95 if (ApiHelper.IS_NEXUS_6) { in buildCaptureModuleDetector() 96 if (ApiHelper.isLMr1OrHigher()) { in buildCaptureModuleDetector()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | BucketHelper.java | 14 import com.android.gallery3d.common.ApiHelper; 90 if (ApiHelper.HAS_MEDIA_PROVIDER_FILES_TABLE) { in loadBucketEntries() 200 @TargetApi(ApiHelper.VERSION_CODES.HONEYCOMB) 206 if (ApiHelper.HAS_MEDIA_PROVIDER_FILES_TABLE) { in getBucketName()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | TrimControllerOverlay.java | 26 import com.android.gallery3d.common.ApiHelper; 46 if (ApiHelper.HAS_OBJECT_ANIMATION) { in hidePlayButtonIfPlaying() 54 if (ApiHelper.HAS_OBJECT_ANIMATION) { in showPlaying()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/ |
D | PreviewStarter.java | 23 import com.android.camera.util.ApiHelper; 73 if (ApiHelper.isLorLMr1() && ApiHelper.IS_NEXUS_5) { in startPreview()
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
D | WidgetClickHandler.java | 32 import com.android.gallery3d.common.ApiHelper; 51 @TargetApi(ApiHelper.VERSION_CODES.HONEYCOMB) 55 boolean tediousBack = Build.VERSION.SDK_INT >= ApiHelper.VERSION_CODES.JELLY_BEAN; in onCreate()
|
D | PhotoAppWidgetProvider.java | 32 import com.android.gallery3d.common.ApiHelper; 56 if (ApiHelper.HAS_REMOTE_VIEWS_SERVICE) { in onUpdate() 79 @TargetApi(ApiHelper.VERSION_CODES.HONEYCOMB)
|
/packages/apps/Camera2/src/com/android/camera/one/v2/commands/ |
D | ZslPreviewCommand.java | 27 import com.android.camera.util.ApiHelper; 78 if (ApiHelper.isLorLMr1() && ApiHelper.IS_NEXUS_6) { in run()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | MotionEventHelper.java | 23 import com.android.gallery3d.common.ApiHelper; 31 if (ApiHelper.HAS_MOTION_EVENT_TRANSFORM) { in transformEvent() 38 @TargetApi(ApiHelper.VERSION_CODES.HONEYCOMB)
|
/packages/apps/Camera2/src/com/android/camera/one/v1/ |
D | OneCameraCharacteristicsImpl.java | 27 import com.android.camera.util.ApiHelper; 141 if (ApiHelper.IS_NEXUS_6 && ApiHelper.isLollipop()) { in isExposureCompensationSupported()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | BottomBar.java | 37 import com.android.camera.util.ApiHelper; 142 if (!ApiHelper.isLOrHigher()) { in setCancelBackgroundColor() 154 if (!ApiHelper.isLOrHigher()) { in setCaptureButtonDown() 380 if (ApiHelper.isLOrHigher()) { in setBackgroundPressedColor()
|
/packages/apps/Camera2/src/com/android/camera/app/ |
D | CameraAppUI.java | 62 import com.android.camera.util.ApiHelper; 926 if (ApiHelper.HAS_DISPLAY_LISTENER) { in initDisplayListener() 1444 if (ApiHelper.isLorLMr1() && ApiHelper.IS_NEXUS_6) { in onPreviewStarted() 2276 ApiHelper.IS_NEXUS_4 || ApiHelper.IS_NEXUS_5 || ApiHelper.IS_NEXUS_6;
|