OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ApiHelper
(Results
1 - 25
of
80
) sorted by null
1
2
3
4
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/utils/
ApiHelper.java
25
* Users should get use {@link
ApiHelper
#get()} to retrieve a singleton
30
public class
ApiHelper
{
32
private static
ApiHelper
sApiHelper = null;
34
/** Creates a new
ApiHelper
adapted to the current runtime API level. */
35
public static
ApiHelper
get() {
40
sApiHelper = new
ApiHelper
();
47
protected
ApiHelper
() {
ApiHelper_11.java
26
class ApiHelper_11 extends
ApiHelper
{
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
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) {
63
@TargetApi(
ApiHelper
.VERSION_CODES.ICE_CREAM_SANDWICH)
66
if (
ApiHelper
.HAS_RELEASE_SURFACE_TEXTURE) {
TileImageViewAdapter.java
27
import com.android.gallery3d.common.
ApiHelper
;
85
@TargetApi(
ApiHelper
.VERSION_CODES.HONEYCOMB)
88
if (!
ApiHelper
.HAS_REUSING_BITMAP_IN_BITMAP_REGION_DECODER) {
GLRootView.java
34
import com.android.gallery3d.common.
ApiHelper
;
122
setEGLContextClientVersion(
ApiHelper
.HAS_GLES20_REQUIRED ? 2 : 1);
123
if (
ApiHelper
.USE_888_PIXEL_FORMAT) {
129
if (
ApiHelper
.USE_888_PIXEL_FORMAT) {
192
if (
ApiHelper
.HAS_POST_ON_ANIMATION) {
293
mCanvas =
ApiHelper
.HAS_GLES20_REQUIRED ? new GLES20Canvas() : new GLES11Canvas(gl);
579
if (!
ApiHelper
.HAS_SET_SYSTEM_UI_VISIBILITY) return;
584
if (
ApiHelper
.HAS_VIEW_SYSTEM_UI_FLAG_LAYOUT_STABLE) {
/packages/apps/Camera/src/com/android/camera/ui/
RotateLayout.java
30
import com.android.gallery3d.common.
ApiHelper
;
51
@TargetApi(
ApiHelper
.VERSION_CODES.HONEYCOMB)
55
if (
ApiHelper
.HAS_VIEW_TRANSFORM_PROPERTIES) {
80
if (!
ApiHelper
.HAS_VIEW_TRANSFORM_PROPERTIES) {
105
if (
ApiHelper
.HAS_VIEW_TRANSFORM_PROPERTIES) {
131
@TargetApi(
ApiHelper
.VERSION_CODES.HONEYCOMB)
151
if (
ApiHelper
.HAS_VIEW_TRANSFORM_PROPERTIES) {
194
if (!
ApiHelper
.HAS_VIEW_TRANSFORM_PROPERTIES && mOrientation != 0) {
PreviewSurfaceView.java
25
import com.android.gallery3d.common.
ApiHelper
;
CameraSwitcher.java
36
import com.android.gallery3d.common.
ApiHelper
;
226
if (!
ApiHelper
.HAS_VIEW_PROPERTY_ANIMATOR) {
238
if (!
ApiHelper
.HAS_VIEW_PROPERTY_ANIMATOR) {
265
if (!
ApiHelper
.HAS_VIEW_PROPERTY_ANIMATOR) {
/packages/apps/Gallery2/src/com/android/camera/ui/
RotateLayout.java
30
import com.android.gallery3d.common.
ApiHelper
;
51
@TargetApi(
ApiHelper
.VERSION_CODES.HONEYCOMB)
55
if (
ApiHelper
.HAS_VIEW_TRANSFORM_PROPERTIES) {
80
if (!
ApiHelper
.HAS_VIEW_TRANSFORM_PROPERTIES) {
105
if (
ApiHelper
.HAS_VIEW_TRANSFORM_PROPERTIES) {
131
@TargetApi(
ApiHelper
.VERSION_CODES.HONEYCOMB)
151
if (
ApiHelper
.HAS_VIEW_TRANSFORM_PROPERTIES) {
194
if (!
ApiHelper
.HAS_VIEW_TRANSFORM_PROPERTIES && mOrientation != 0) {
PreviewSurfaceView.java
25
import com.android.gallery3d.common.
ApiHelper
;
/packages/apps/Gallery2/src/com/android/gallery3d/app/
TrimControllerOverlay.java
26
import com.android.gallery3d.common.
ApiHelper
;
46
if (
ApiHelper
.HAS_OBJECT_ANIMATION) {
54
if (
ApiHelper
.HAS_OBJECT_ANIMATION) {
OrientationManager.java
28
import com.android.gallery3d.common.
ApiHelper
;
75
if (
ApiHelper
.HAS_ORIENTATION_LOCK) {
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
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;
PhotoAppWidgetProvider.java
32
import com.android.gallery3d.common.
ApiHelper
;
56
if (
ApiHelper
.HAS_REMOTE_VIEWS_SERVICE) {
79
@TargetApi(
ApiHelper
.VERSION_CODES.HONEYCOMB)
/packages/apps/Gallery2/src/com/android/gallery3d/util/
AccessibilityUtils.java
25
import com.android.gallery3d.common.
ApiHelper
;
35
if (
ApiHelper
.HAS_ANNOUNCE_FOR_ACCESSIBILITY) {
MotionEventHelper.java
24
import com.android.gallery3d.common.
ApiHelper
;
32
if (
ApiHelper
.HAS_MOTION_EVENT_TRANSFORM) {
39
@TargetApi(
ApiHelper
.VERSION_CODES.HONEYCOMB)
/packages/apps/Gallery2/src/com/android/camera/
CameraManager.java
39
import com.android.gallery3d.common.
ApiHelper
;
105
@TargetApi(
ApiHelper
.VERSION_CODES.ICE_CREAM_SANDWICH)
110
@TargetApi(
ApiHelper
.VERSION_CODES.ICE_CREAM_SANDWICH)
115
@TargetApi(
ApiHelper
.VERSION_CODES.ICE_CREAM_SANDWICH)
120
@TargetApi(
ApiHelper
.VERSION_CODES.HONEYCOMB)
129
@TargetApi(
ApiHelper
.VERSION_CODES.JELLY_BEAN_MR1)
272
@TargetApi(
ApiHelper
.VERSION_CODES.JELLY_BEAN)
332
@TargetApi(
ApiHelper
.VERSION_CODES.HONEYCOMB)
373
@TargetApi(
ApiHelper
.VERSION_CODES.JELLY_BEAN)
416
@TargetApi(
ApiHelper
.VERSION_CODES.ICE_CREAM_SANDWICH
[
all
...]
SoundClips.java
27
import com.android.gallery3d.common.
ApiHelper
;
44
if (
ApiHelper
.HAS_MEDIA_ACTION_SOUND) {
52
return
ApiHelper
.getIntFieldIfExists(AudioManager.class,
60
@TargetApi(
ApiHelper
.VERSION_CODES.JELLY_BEAN)
PreviewFrameLayout.java
29
import com.android.gallery3d.common.
ApiHelper
;
81
if (!
ApiHelper
.HAS_SURFACE_TEXTURE) {
MosaicPreviewRenderer.java
28
import com.android.gallery3d.common.
ApiHelper
;
37
@TargetApi(
ApiHelper
.VERSION_CODES.HONEYCOMB) // uses SurfaceTexture
174
@TargetApi(
ApiHelper
.VERSION_CODES.ICE_CREAM_SANDWICH)
176
if (
ApiHelper
.HAS_RELEASE_SURFACE_TEXTURE) {
/packages/apps/Camera/src/com/android/camera/
PreviewFrameLayout.java
28
import com.android.gallery3d.common.
ApiHelper
;
56
if (
ApiHelper
.HAS_FACE_DETECTION) {
89
if (!
ApiHelper
.HAS_SURFACE_TEXTURE) {
SoundClips.java
26
import com.android.gallery3d.common.
ApiHelper
;
43
if (
ApiHelper
.HAS_MEDIA_ACTION_SOUND) {
54
@TargetApi(
ApiHelper
.VERSION_CODES.JELLY_BEAN)
123
int audioType =
ApiHelper
.getIntFieldIfExists(AudioManager.class,
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
[
all
...]
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) {
/packages/apps/Gallery2/src/com/android/gallery3d/data/
BucketHelper.java
14
import com.android.gallery3d.common.
ApiHelper
;
90
if (
ApiHelper
.HAS_MEDIA_PROVIDER_FILES_TABLE) {
200
@TargetApi(
ApiHelper
.VERSION_CODES.HONEYCOMB)
206
if (
ApiHelper
.HAS_MEDIA_PROVIDER_FILES_TABLE) {
Completed in 958 milliseconds
1
2
3
4