Home
last modified time | relevance | path

Searched refs:ApiHelper (Results 1 – 25 of 62) sorted by relevance

123

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSurfaceTextureScreenNail.java23 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()
DGLRootView.java34 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()
DTileImageViewAdapter.java27 import com.android.gallery3d.common.ApiHelper;
85 @TargetApi(ApiHelper.VERSION_CODES.HONEYCOMB)
88 if (!ApiHelper.HAS_REUSING_BITMAP_IN_BITMAP_REGION_DECODER) { in getTile()
/packages/apps/Camera2/src/com/android/camera/one/config/
DOneCameraFeatureConfigCreator.java26 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/app/
DTrimControllerOverlay.java26 import com.android.gallery3d.common.ApiHelper;
46 if (ApiHelper.HAS_OBJECT_ANIMATION) { in hidePlayButtonIfPlaying()
54 if (ApiHelper.HAS_OBJECT_ANIMATION) { in showPlaying()
DVideoUtils.java29 import com.android.gallery3d.common.ApiHelper;
60 if (ApiHelper.HAS_MEDIA_MUXER) { in startMute()
73 if (ApiHelper.HAS_MEDIA_MUXER) { in startTrim()
DAbstractGalleryActivity.java42 import com.android.gallery3d.common.ApiHelper;
175 if (ApiHelper.HAS_SET_ICON_ATTRIBUTE) { in onStart()
186 @TargetApi(ApiHelper.VERSION_CODES.HONEYCOMB)
DOrientationManager.java28 import com.android.gallery3d.common.ApiHelper;
75 if (ApiHelper.HAS_ORIENTATION_LOCK) { in lockOrientation()
DWallpaper.java30 import com.android.gallery3d.common.ApiHelper;
75 if (Build.VERSION.SDK_INT >= ApiHelper.VERSION_CODES.HONEYCOMB_MR2) { in getDefaultDisplaySize()
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DWidgetClickHandler.java32 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()
DPhotoAppWidgetProvider.java32 import com.android.gallery3d.common.ApiHelper;
56 if (ApiHelper.HAS_REMOTE_VIEWS_SERVICE) { in onUpdate()
79 @TargetApi(ApiHelper.VERSION_CODES.HONEYCOMB)
DWidgetService.java29 import com.android.gallery3d.common.ApiHelper;
32 @TargetApi(ApiHelper.VERSION_CODES.HONEYCOMB)
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/
DPreviewStarter.java23 import com.android.camera.util.ApiHelper;
74 if (ApiHelper.isLorLMr1() && ApiHelper.IS_NEXUS_5) { in startPreview()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DBucketHelper.java14 import com.android.gallery3d.common.ApiHelper;
76 if (ApiHelper.HAS_MEDIA_PROVIDER_FILES_TABLE) { in loadBucketEntries()
184 @TargetApi(ApiHelper.VERSION_CODES.HONEYCOMB)
190 if (ApiHelper.HAS_MEDIA_PROVIDER_FILES_TABLE) { in getBucketName()
DDecodeUtils.java27 import com.android.gallery3d.common.ApiHelper;
55 @TargetApi(ApiHelper.VERSION_CODES.HONEYCOMB)
57 if (ApiHelper.HAS_OPTIONS_IN_MUTABLE) options.inMutable = true; in setOptionsMutable()
/packages/apps/Camera2/src/com/android/camera/one/v2/commands/
DZslPreviewCommand.java27 import com.android.camera.util.ApiHelper;
78 if (ApiHelper.isLorLMr1() && ApiHelper.IS_NEXUS_6) { in run()
/packages/apps/Camera2/src/com/android/camera/one/v1/
DOneCameraCharacteristicsImpl.java27 import com.android.camera.util.ApiHelper;
141 if (ApiHelper.IS_NEXUS_6 && ApiHelper.isLollipop()) { in isExposureCompensationSupported()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DMotionEventHelper.java23 import com.android.gallery3d.common.ApiHelper;
31 if (ApiHelper.HAS_MOTION_EVENT_TRANSFORM) { in transformEvent()
38 @TargetApi(ApiHelper.VERSION_CODES.HONEYCOMB)
DAccessibilityUtils.java25 import com.android.gallery3d.common.ApiHelper;
35 if (ApiHelper.HAS_ANNOUNCE_FOR_ACCESSIBILITY) { in makeAnnouncement()
/packages/apps/Camera2/src/com/android/camera/captureintent/
DCaptureIntentConfig.java19 import com.android.camera.util.ApiHelper;
30 public static final boolean WORKAROUND_PREVIEW_STRETCH_BUG_NEXUS4 = ApiHelper.IS_NEXUS_4;
/packages/apps/Camera2/src/com/android/camera/one/v2/
DOneCameraCharacteristicsImpl.java36 import com.android.camera.util.ApiHelper;
200 if (ApiHelper.IS_NEXUS_6 && ApiHelper.isLollipop()) { in isExposureCompensationSupported()
DZslOneCameraFactory.java66 import com.android.camera.util.ApiHelper;
225 if (isBackCamera && ApiHelper.IS_NEXUS_5) { in createOneCamera()
274 if (isBackCamera && ApiHelper.IS_NEXUS_5) { in createOneCamera()
/packages/apps/Camera2/src/com/android/camera/ui/motion/
DInterpolatorHelper.java24 import com.android.camera.util.ApiHelper;
37 if (ApiHelper.isLOrHigher()) { in getLinearOutSlowInInterpolator()
/packages/apps/Camera2/src/com/android/camera/ui/
DBottomBar.java37 import com.android.camera.util.ApiHelper;
142 if (!ApiHelper.isLOrHigher()) { in setCancelBackgroundColor()
154 if (!ApiHelper.isLOrHigher()) { in setCaptureButtonDown()
380 if (ApiHelper.isLOrHigher()) { in setBackgroundPressedColor()
DModeSelectorItem.java28 import com.android.camera.util.ApiHelper;
75 if (ApiHelper.HAS_ROBOTO_MEDIUM_FONT) { in onFinishInflate()

123