Home
last modified time | relevance | path

Searched refs:cap (Results 1 – 25 of 57) sorted by relevance

123

/frameworks/av/media/libmedia/
DMediaProfiles.cpp122 MediaProfiles::logVideoEncoderCap(const MediaProfiles::VideoEncoderCap& cap UNUSED) in logVideoEncoderCap()
125 ALOGV("codec = %d", cap.mCodec); in logVideoEncoderCap()
126 ALOGV("bit rate: min = %d and max = %d", cap.mMinBitRate, cap.mMaxBitRate); in logVideoEncoderCap()
127 ALOGV("frame width: min = %d and max = %d", cap.mMinFrameWidth, cap.mMaxFrameWidth); in logVideoEncoderCap()
128 ALOGV("frame height: min = %d and max = %d", cap.mMinFrameHeight, cap.mMaxFrameHeight); in logVideoEncoderCap()
129 ALOGV("frame rate: min = %d and max = %d", cap.mMinFrameRate, cap.mMaxFrameRate); in logVideoEncoderCap()
133 MediaProfiles::logAudioEncoderCap(const MediaProfiles::AudioEncoderCap& cap UNUSED) in logAudioEncoderCap()
136 ALOGV("codec = %d", cap.mCodec); in logAudioEncoderCap()
137 ALOGV("bit rate: min = %d and max = %d", cap.mMinBitRate, cap.mMaxBitRate); in logAudioEncoderCap()
138 ALOGV("sample rate: min = %d and max = %d", cap.mMinSampleRate, cap.mMaxSampleRate); in logAudioEncoderCap()
[all …]
/frameworks/base/core/java/android/text/method/
DTextKeyListener.java70 public TextKeyListener(Capitalize cap, boolean autotext) { in TextKeyListener() argument
71 mAutoCap = cap; in TextKeyListener()
83 Capitalize cap) { in getInstance() argument
84 int off = cap.ordinal() * 2 + (autotext ? 1 : 0); in getInstance()
87 sInstance[off] = new TextKeyListener(cap, autotext); in getInstance()
111 public static boolean shouldCap(Capitalize cap, CharSequence cs, int off) { in shouldCap() argument
115 if (cap == Capitalize.NONE) { in shouldCap()
118 if (cap == Capitalize.CHARACTERS) { in shouldCap()
122 return TextUtils.getCapsMode(cs, off, cap == Capitalize.WORDS in shouldCap()
291 boolean cap = System.getInt(resolver, System.TEXT_AUTO_CAPS, 1) > 0; in updatePrefs()
[all …]
DMultiTapKeyListener.java60 public MultiTapKeyListener(Capitalize cap, in MultiTapKeyListener() argument
62 mCapitalize = cap; in MultiTapKeyListener()
71 Capitalize cap) { in getInstance() argument
72 int off = cap.ordinal() * 2 + (autotext ? 1 : 0); in getInstance()
75 sInstance[off] = new MultiTapKeyListener(cap, autotext); in getInstance()
DQwertyKeyListener.java44 private QwertyKeyListener(Capitalize cap, boolean autoText, boolean fullKeyboard) { in QwertyKeyListener() argument
45 mAutoCap = cap; in QwertyKeyListener()
50 public QwertyKeyListener(Capitalize cap, boolean autoText) { in QwertyKeyListener() argument
51 this(cap, autoText, false); in QwertyKeyListener()
58 public static QwertyKeyListener getInstance(boolean autoText, Capitalize cap) { in getInstance() argument
59 int off = cap.ordinal() * 2 + (autoText ? 1 : 0); in getInstance()
62 sInstance[off] = new QwertyKeyListener(cap, autoText); in getInstance()
DTouch.java133 boolean cap = (event.getMetaState() & KeyEvent.META_SHIFT_ON) != 0 in onTouchEvent()
141 if (cap) { in onTouchEvent()
/frameworks/native/opengl/libagl/
Dstate.cpp136 static void enable_disable(ogles_context_t* c, GLenum cap, int enabled) in enable_disable() argument
138 if ((cap >= GL_LIGHT0) && (cap<GL_LIGHT0+OGLES_MAX_LIGHTS)) { in enable_disable()
139 c->lighting.lights[cap-GL_LIGHT0].enable = enabled; in enable_disable()
140 c->lighting.enabledLights &= ~(1<<(cap-GL_LIGHT0)); in enable_disable()
141 c->lighting.enabledLights |= (enabled<<(cap-GL_LIGHT0)); in enable_disable()
145 switch (cap) { in enable_disable()
166 c->transforms.rescaleNormals = enabled ? cap : 0; in enable_disable()
176 c->clipPlanes.enable &= ~(1<<(cap-GL_CLIP_PLANE0)); in enable_disable()
177 c->clipPlanes.enable |= (enabled<<(cap-GL_CLIP_PLANE0)); in enable_disable()
193 c->rasterizer.procs.enableDisable(c, cap, enabled); in enable_disable()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaProfileReader.java107 for (VideoEncoderCap cap: videoEncoders) { in getMinOrMaxFrameRateForCodec()
108 if (cap.mCodec == codec) { in getMinOrMaxFrameRateForCodec()
109 if (max) return cap.mMaxFrameRate; in getMinOrMaxFrameRateForCodec()
110 else return cap.mMinFrameRate; in getMinOrMaxFrameRateForCodec()
DCamera2SurfaceViewTestCase.java770 int cap = CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES_YUV_REPROCESSING; in isReprocessSupported() local
772 cap = CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES_PRIVATE_REPROCESSING; in isReprocessSupported()
774 return info.isCapabilitySupported(cap); in isReprocessSupported()
/frameworks/base/docs/html/distribute/stories/games/
Dkongregate-adv-cap.jd4 page.image=images/cards/distribute/stories/kongregate-adv-cap.jpg
13 <img src="{@docRoot}images/distribute/stories/kongregate-adv-cap-icon.png"
52 src="{@docRoot}images/distribute/stories/kongregate-adv-cap-screenshot.png"
54 "{@docRoot}images/distribute/stories/kongregate-adv-cap-screenshot.png 1x
55 {@docRoot}images/distribute/stories/kongregate-adv-cap-screenshot_2x.png 2x">
/frameworks/base/libs/hwui/debug/
Dnullgles.cpp98 void setBooleanState(GLenum cap, GLboolean value) { in setBooleanState() argument
99 switch (cap) { in setBooleanState()
106 void glEnable(GLenum cap) { in glEnable() argument
107 setBooleanState(cap, GL_TRUE); in glEnable()
110 void glDisable(GLenum cap) { in glDisable() argument
111 setBooleanState(cap, GL_FALSE); in glDisable()
114 GLboolean glIsEnabled(GLenum cap) { in glIsEnabled() argument
115 switch (cap) { in glIsEnabled()
/frameworks/av/include/media/
DMediaProfiles.h333 static void logVideoEncoderCap(const VideoEncoderCap& cap);
334 static void logAudioEncoderCap(const AudioEncoderCap& cap);
335 static void logVideoDecoderCap(const VideoDecoderCap& cap);
336 static void logAudioDecoderCap(const AudioDecoderCap& cap);
/frameworks/base/media/jni/
Dandroid_media_MediaProfiles.cpp109 jobject cap = env->NewObject(videoEncoderCapClazz, in android_media_MediaProfiles_native_get_video_encoder_cap() local
116 return cap; in android_media_MediaProfiles_native_get_video_encoder_cap()
157 jobject cap = env->NewObject(audioEncoderCapClazz, in android_media_MediaProfiles_native_get_audio_encoder_cap() local
163 return cap; in android_media_MediaProfiles_native_get_audio_encoder_cap()
/frameworks/base/libs/hwui/
DTessellationCache.cpp42 , cap(SkPaint::kDefault_Cap) in Description()
52 , cap(paint.getStrokeCap()) in Description()
65 if (cap != rhs.cap) return false; in operator ==()
81 hash = JenkinsHashMix(hash, cap); in hash()
93 paint->setStrokeCap(cap); in setupMatrixAndPaint()
DPathCache.cpp61 , cap(SkPaint::kDefault_Cap) in PathDescription()
73 , cap(paint->getStrokeCap()) in PathDescription()
85 hash = JenkinsHashMix(hash, cap); in hash()
97 if (cap != rhs.cap) return false; in operator ==()
DPathTessellator.cpp102 style(paint->getStyle()), cap(paint->getStrokeCap()), isAA(paint->isAntiAlias()), in PaintInfo()
124 SkPaint::Cap cap; member
154 if (cap == SkPaint::kRound_Cap) { in capExtraDivisions()
250 if (paintInfo.cap == SkPaint::kSquare_Cap) { in storeBeginEnd()
424 if (paintInfo.cap != SkPaint::kRound_Cap) { in storeCapAA()
433 if (paintInfo.cap == SkPaint::kSquare_Cap) { in storeCapAA()
449 bool isRound = paintInfo.cap == SkPaint::kRound_Cap; in storeCapAA()
817 if (paintInfo.cap == SkPaint::kRound_Cap) { in tessellatePoints()
/frameworks/base/core/java/android/net/
DConnectivityManager.java1229 int cap = -1; in networkCapabilitiesForFeature() local
1231 cap = NetworkCapabilities.NET_CAPABILITY_MMS; in networkCapabilitiesForFeature()
1233 cap = NetworkCapabilities.NET_CAPABILITY_SUPL; in networkCapabilitiesForFeature()
1235 cap = NetworkCapabilities.NET_CAPABILITY_DUN; in networkCapabilitiesForFeature()
1237 cap = NetworkCapabilities.NET_CAPABILITY_INTERNET; in networkCapabilitiesForFeature()
1239 cap = NetworkCapabilities.NET_CAPABILITY_FOTA; in networkCapabilitiesForFeature()
1241 cap = NetworkCapabilities.NET_CAPABILITY_IMS; in networkCapabilitiesForFeature()
1243 cap = NetworkCapabilities.NET_CAPABILITY_CBS; in networkCapabilitiesForFeature()
1248 netCap.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR).addCapability(cap); in networkCapabilitiesForFeature()
2743 NetworkCapabilities cap = (NetworkCapabilities)getObject(message, in handleMessage() local
[all …]
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DCat.java191 tint(capColor, D.cap); in Cat()
356 public Drawable cap;
393 cap = context.getDrawable(R.drawable.cap);
417 cap,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java907 ImsCapabilities cap = new ImsCapabilities(); in writeOnImsCapabilities() local
909 cap.setVoiceOverLte(capabilities[0]); in writeOnImsCapabilities()
910 cap.setVideoOverLte(capabilities[1]); in writeOnImsCapabilities()
911 cap.setVoiceOverWifi(capabilities[2]); in writeOnImsCapabilities()
912 cap.setVideoOverWifi(capabilities[3]); in writeOnImsCapabilities()
913 cap.setUtOverLte(capabilities[4]); in writeOnImsCapabilities()
914 cap.setUtOverWifi(capabilities[5]); in writeOnImsCapabilities()
916 TelephonyEvent event = new TelephonyEventBuilder(phoneId).setImsCapabilities(cap).build(); in writeOnImsCapabilities()
917 mLastImsCapabilities.put(phoneId, cap); in writeOnImsCapabilities()
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
DGL11Ext.java115 int cap in glEnable() argument
DGL10.java426 int cap in glDisable() argument
447 int cap in glEnable() argument
/frameworks/native/opengl/tools/glgen/specs/jsr239/
Dglspec-1.1ext10 void glEnable ( GLenum cap )
/frameworks/native/opengl/libs/GLES_CM/
Dgl_api.in196 void API_ENTRY(glDisable)(GLenum cap) {
197 CALL_GL_API(glDisable, cap);
208 void API_ENTRY(glEnable)(GLenum cap) {
209 CALL_GL_API(glEnable, cap);
286 GLboolean API_ENTRY(glIsEnabled)(GLenum cap) {
287 CALL_GL_API_RETURN(glIsEnabled, cap);
/frameworks/native/opengl/tools/glgen/specs/gles11/
DGLES20.spec39 void glDisable ( GLenum cap )
44 void glEnable ( GLenum cap )
84 GLboolean glIsEnabled ( GLenum cap )
DGLES10.spec27 void glDisable ( GLenum cap )
31 void glEnable ( GLenum cap )
/frameworks/native/opengl/include/GLES2/
Dgl2.h423 typedef void (GL_APIENTRYP PFNGLDISABLEPROC) (GLenum cap);
427 typedef void (GL_APIENTRYP PFNGLENABLEPROC) (GLenum cap);
467 typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDPROC) (GLenum cap);
566 GL_APICALL void GL_APIENTRY glDisable (GLenum cap);
570 GL_APICALL void GL_APIENTRY glEnable (GLenum cap);
610 GL_APICALL GLboolean GL_APIENTRY glIsEnabled (GLenum cap);

123