Searched refs:cap (Results 1 - 25 of 45) sorted by relevance

12

/frameworks/base/core/java/android/text/method/
H A DTextKeyListener.java67 * @param cap when, if ever, to automatically capitalize.
70 public TextKeyListener(Capitalize cap, boolean autotext) { argument
71 mAutoCap = cap;
79 * @param cap when, if ever, to automatically capitalize.
83 Capitalize cap) {
84 int off = cap.ordinal() * 2 + (autotext ? 1 : 0);
87 sInstance[off] = new TextKeyListener(cap, autotext);
105 * @param cap the capitalization rules to consider.
111 public static boolean shouldCap(Capitalize cap, CharSequence cs, int off) { argument
115 if (cap
82 getInstance(boolean autotext, Capitalize cap) argument
[all...]
H A DQwertyKeyListener.java44 private QwertyKeyListener(Capitalize cap, boolean autoText, boolean fullKeyboard) { argument
45 mAutoCap = cap;
50 public QwertyKeyListener(Capitalize cap, boolean autoText) { argument
51 this(cap, autoText, false);
58 public static QwertyKeyListener getInstance(boolean autoText, Capitalize cap) { argument
59 int off = cap.ordinal() * 2 + (autoText ? 1 : 0);
62 sInstance[off] = new QwertyKeyListener(cap, autoText);
H A DMultiTapKeyListener.java60 public MultiTapKeyListener(Capitalize cap, argument
62 mCapitalize = cap;
71 Capitalize cap) {
72 int off = cap.ordinal() * 2 + (autotext ? 1 : 0);
75 sInstance[off] = new MultiTapKeyListener(cap, autotext);
70 getInstance(boolean autotext, Capitalize cap) argument
H A DTouch.java139 boolean cap = (event.getMetaState() & KeyEvent.META_SHIFT_ON) != 0
151 if (cap && event.isButtonPressed(MotionEvent.BUTTON_PRIMARY)) {
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DMediaProfileReader.java107 for (VideoEncoderCap cap: videoEncoders) {
108 if (cap.mCodec == codec) {
109 if (max) return cap.mMaxFrameRate;
110 else return cap.mMinFrameRate;
/frameworks/av/media/libmedia/
H A DMediaProfiles.cpp121 MediaProfiles::logVideoEncoderCap(const MediaProfiles::VideoEncoderCap& cap UNUSED)
123 ALOGV("video encoder cap:");
124 ALOGV("codec = %d", cap.mCodec);
125 ALOGV("bit rate: min = %d and max = %d", cap.mMinBitRate, cap.mMaxBitRate);
126 ALOGV("frame width: min = %d and max = %d", cap.mMinFrameWidth, cap.mMaxFrameWidth);
127 ALOGV("frame height: min = %d and max = %d", cap.mMinFrameHeight, cap.mMaxFrameHeight);
128 ALOGV("frame rate: min = %d and max = %d", cap
233 MediaProfiles::AudioDecoderCap *cap = local
249 MediaProfiles::VideoDecoderCap *cap = local
273 MediaProfiles::VideoEncoderCap *cap = local
297 MediaProfiles::AudioEncoderCap *cap = local
831 MediaProfiles::VideoDecoderCap *cap = local
840 MediaProfiles::AudioDecoderCap *cap = local
[all...]
/frameworks/native/opengl/libagl/
H A Dstate.cpp136 static void enable_disable(ogles_context_t* c, GLenum cap, int enabled) argument
138 if ((cap >= GL_LIGHT0) && (cap<GL_LIGHT0+OGLES_MAX_LIGHTS)) {
139 c->lighting.lights[cap-GL_LIGHT0].enable = enabled;
140 c->lighting.enabledLights &= ~(1<<(cap-GL_LIGHT0));
141 c->lighting.enabledLights |= (enabled<<(cap-GL_LIGHT0));
145 switch (cap) {
166 c->transforms.rescaleNormals = enabled ? cap : 0;
176 c->clipPlanes.enable &= ~(1<<(cap-GL_CLIP_PLANE0));
177 c->clipPlanes.enable |= (enabled<<(cap
302 glEnable(GLenum cap) argument
306 glDisable(GLenum cap) argument
[all...]
/frameworks/av/include/media/
H A DMediaProfiles.h151 * Returns the value for the given param name for the video editor cap
402 static void logVideoEncoderCap(const VideoEncoderCap& cap);
403 static void logAudioEncoderCap(const AudioEncoderCap& cap);
404 static void logVideoDecoderCap(const VideoDecoderCap& cap);
405 static void logAudioDecoderCap(const AudioDecoderCap& cap);
406 static void logVideoEditorCap(const VideoEditorCap& cap);
/frameworks/base/media/jni/
H A Dandroid_media_MediaProfiles.cpp108 jobject cap = env->NewObject(videoEncoderCapClazz, local
115 return cap;
155 jobject cap = env->NewObject(audioEncoderCapClazz, local
161 return cap;
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL11Ext.java115 int cap
H A DGL11ExtensionPack.java190 int cap
H A DGL10.java426 int cap
447 int cap
/frameworks/base/core/java/android/net/
H A DConnectivityManager.java979 int cap = -1;
981 cap = NetworkCapabilities.NET_CAPABILITY_MMS;
983 cap = NetworkCapabilities.NET_CAPABILITY_SUPL;
985 cap = NetworkCapabilities.NET_CAPABILITY_DUN;
987 cap = NetworkCapabilities.NET_CAPABILITY_INTERNET;
989 cap = NetworkCapabilities.NET_CAPABILITY_FOTA;
991 cap = NetworkCapabilities.NET_CAPABILITY_IMS;
993 cap = NetworkCapabilities.NET_CAPABILITY_CBS;
998 netCap.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR).addCapability(cap);
2202 NetworkCapabilities cap
[all...]
/frameworks/base/libs/hwui/
H A DTessellationCache.cpp42 , cap(SkPaint::kDefault_Cap)
51 , cap(paint.getStrokeCap())
61 hash = JenkinsHashMix(hash, cap);
73 paint->setStrokeCap(cap);
H A DTessellationCache.h59 SkPaint::Cap cap; member in struct:android::uirenderer::TessellationCache::Description
H A DPathTessellator.cpp100 style(paint->getStyle()), cap(paint->getStrokeCap()), isAA(paint->isAntiAlias()),
122 SkPaint::Cap cap; member in struct:android::uirenderer::PaintInfo
148 * Returns the number of cap divisions beyond the minimum 2 (kButt_Cap/kSquareCap will return 0)
152 if (cap == SkPaint::kRound_Cap) {
155 // ROUND_CAP_THRESH is the maximum error for polygonal approximation of the round cap
250 if (paintInfo.cap == SkPaint::kSquare_Cap) {
402 * Stores geometry for a single, AA-perimeter (potentially rounded) cap
425 if (paintInfo.cap != SkPaint::kRound_Cap) {
426 // if the cap is square or butt, the inside primary cap vertice
[all...]
H A DPathCache.cpp47 cap(SkPaint::kDefault_Cap),
58 cap(paint->getStrokeCap()),
69 hash = JenkinsHashMix(hash, cap);
H A DPathCache.h114 SkPaint::Cap cap; member in struct:android::uirenderer::PathDescription
/frameworks/native/opengl/tools/glgen/specs/gles11/
H A DGLES11.spec29 GLboolean glIsEnabled ( GLenum cap )
H A DGLES20.spec39 void glDisable ( GLenum cap )
44 void glEnable ( GLenum cap )
84 GLboolean glIsEnabled ( GLenum cap )
H A DGLES10.spec27 void glDisable ( GLenum cap )
31 void glEnable ( GLenum cap )
/frameworks/av/media/libstagefright/
H A DStagefrightMetadataRetriever.cpp134 CodecCapabilities cap = caps[j]; local
135 for (size_t i = 0; i < cap.mColorFormats.size(); ++i) {
136 if (cap.mColorFormats[i] == OMX_COLOR_FormatYUV420Planar) {
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiAutoJoinController.java212 String cap = "";
214 cap = result.capabilities;
216 + result.level + " cap " + cap + " is not scored");
220 String cap = "";
222 cap = result.capabilities;
225 + result.level + " cap " + cap + " is scored : " + score);
/frameworks/base/opengl/java/android/opengl/
H A DGLErrorWrapper.java243 public void glDisable(int cap) { argument
245 mgl.glDisable(cap);
267 public void glEnable(int cap) { argument
269 mgl.glEnable(cap);
1218 public boolean glIsEnabled(int cap) { argument
1220 boolean valid = mgl11.glIsEnabled(cap);
H A DGLES10.java514 // C function void glDisable ( GLenum cap )
517 int cap
543 // C function void glEnable ( GLenum cap )
546 int cap

Completed in 1235 milliseconds

12