Searched defs:cap (Results 1 - 20 of 20) sorted by relevance

/frameworks/base/core/java/android/text/method/
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 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 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...]
/frameworks/av/media/libstagefright/
H A DStagefrightMetadataRetriever.cpp127 CodecCapabilities cap = caps[j]; local
128 for (size_t i = 0; i < cap.mColorFormats.size(); ++i) {
129 if (cap.mColorFormats[i] == OMX_COLOR_FormatYUV420Planar) {
/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/base/libs/hwui/
H A DShapeCache.h90 cap = SkPaint::kDefault_Cap;
102 cap = paint->getStrokeCap();
116 SkPaint::Cap cap; member in struct:android::uirenderer::ShapeCacheEntry
125 LTE_INT(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/av/media/libmedia/
H A DMediaProfiles.cpp106 MediaProfiles::logVideoEncoderCap(const MediaProfiles::VideoEncoderCap& cap) argument
108 ALOGV("video encoder cap:");
109 ALOGV("codec = %d", cap.mCodec);
110 ALOGV("bit rate: min = %d and max = %d", cap.mMinBitRate, cap.mMaxBitRate);
111 ALOGV("frame width: min = %d and max = %d", cap.mMinFrameWidth, cap.mMaxFrameWidth);
112 ALOGV("frame height: min = %d and max = %d", cap.mMinFrameHeight, cap.mMaxFrameHeight);
113 ALOGV("frame rate: min = %d and max = %d", cap
117 logAudioEncoderCap(const MediaProfiles::AudioEncoderCap& cap) argument
127 logVideoDecoderCap(const MediaProfiles::VideoDecoderCap& cap) argument
134 logAudioDecoderCap(const MediaProfiles::AudioDecoderCap& cap) argument
141 logVideoEditorCap(const MediaProfiles::VideoEditorCap& cap) argument
218 MediaProfiles::AudioDecoderCap *cap = local
234 MediaProfiles::VideoDecoderCap *cap = local
258 MediaProfiles::VideoEncoderCap *cap = local
282 MediaProfiles::AudioEncoderCap *cap = local
808 MediaProfiles::VideoDecoderCap *cap = local
817 MediaProfiles::AudioDecoderCap *cap = local
[all...]
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES11.cpp2291 /* GLboolean glIsEnabled ( GLenum cap ) */
2294 (JNIEnv *_env, jobject _this, jint cap) {
2297 (GLenum)cap
2293 android_glIsEnabled__I(JNIEnv *_env, jobject _this, jint cap) argument
H A Dandroid_opengl_GLES10.cpp535 /* void glDisable ( GLenum cap ) */
538 (JNIEnv *_env, jobject _this, jint cap) {
540 (GLenum)cap
603 /* void glEnable ( GLenum cap ) */
606 (JNIEnv *_env, jobject _this, jint cap) {
608 (GLenum)cap
537 android_glDisable__I(JNIEnv *_env, jobject _this, jint cap) argument
605 android_glEnable__I(JNIEnv *_env, jobject _this, jint cap) argument
H A Dandroid_opengl_GLES20.cpp902 /* void glDisable ( GLenum cap ) */
905 (JNIEnv *_env, jobject _this, jint cap) {
907 (GLenum)cap
988 /* void glEnable ( GLenum cap ) */
991 (JNIEnv *_env, jobject _this, jint cap) {
993 (GLenum)cap
4176 /* GLboolean glIsEnabled ( GLenum cap ) */
4179 (JNIEnv *_env, jobject _this, jint cap) {
4182 (GLenum)cap
904 android_glDisable__I(JNIEnv *_env, jobject _this, jint cap) argument
990 android_glEnable__I(JNIEnv *_env, jobject _this, jint cap) argument
4178 android_glIsEnabled__I(JNIEnv *_env, jobject _this, jint cap) argument
H A Dcom_google_android_gles_jni_GLImpl.cpp663 /* void glDisable ( GLenum cap ) */
666 (JNIEnv *_env, jobject _this, jint cap) {
668 (GLenum)cap
731 /* void glEnable ( GLenum cap ) */
734 (JNIEnv *_env, jobject _this, jint cap) {
736 (GLenum)cap
6073 /* GLboolean glIsEnabled ( GLenum cap ) */
6076 (JNIEnv *_env, jobject _this, jint cap) {
6079 (GLenum)cap
665 android_glDisable__I(JNIEnv *_env, jobject _this, jint cap) argument
733 android_glEnable__I(JNIEnv *_env, jobject _this, jint cap) argument
6075 android_glIsEnabled__I(JNIEnv *_env, jobject _this, jint cap) argument
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp207 static void setStrokeCap(JNIEnv* env, jobject clazz, SkPaint* obj, SkPaint::Cap cap) { argument
208 obj->setStrokeCap(cap);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java722 /*package*/ static void native_setStrokeCap(int native_object, int cap) { argument
729 delegate.mCap = cap;
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java776 * @return the line cap style for the paint, used whenever the paint's
786 * @param cap set the paint's line cap style, used whenever the paint's
789 public void setStrokeCap(Cap cap) { argument
790 native_setStrokeCap(mNativePaint, cap.nativeInt);
2192 private static native void native_setStrokeCap(int native_object, int cap); argument
/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 DGLLogWrapper.java435 private String getCap(int cap) { argument
436 switch (cap) {
502 return getHex(cap);
1481 public void glDisable(int cap) { argument
1483 arg("cap", getCap(cap));
1486 mgl.glDisable(cap);
1547 public void glEnable(int cap) { argument
1549 arg("cap", getCap(cap));
3164 glIsEnabled(int cap) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebViewCore.java641 boolean down, boolean cap, boolean fn, boolean sym);
639 passToJs(int nativeClass, int gen, String currentText, int keyCode, int keyValue, boolean down, boolean cap, boolean fn, boolean sym) argument
/frameworks/base/core/java/android/widget/
H A DTextView.java1076 TextKeyListener.Capitalize cap;
1082 cap = TextKeyListener.Capitalize.SENTENCES;
1087 cap = TextKeyListener.Capitalize.WORDS;
1092 cap = TextKeyListener.Capitalize.CHARACTERS;
1097 cap = TextKeyListener.Capitalize.NONE;
1102 mEditor.mKeyListener = TextKeyListener.getInstance(autotext, cap);
3964 TextKeyListener.Capitalize cap;
3966 cap = TextKeyListener.Capitalize.CHARACTERS;
3968 cap = TextKeyListener.Capitalize.WORDS;
3970 cap
6309 getDesiredHeight(Layout layout, boolean cap) argument
[all...]
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_api.cpp1496 void GLTrace_glDisable(GLenum cap) { argument
1502 // copy argument cap
1506 arg_cap->add_intvalue((int)cap);
1511 glContext->hooks->gl.glDisable(cap);
1639 void GLTrace_glEnable(GLenum cap) { argument
1645 // copy argument cap
1649 arg_cap->add_intvalue((int)cap);
1654 glContext->hooks->gl.glEnable(cap);
3235 GLboolean GLTrace_glIsEnabled(GLenum cap) { argument
3241 // copy argument cap
[all...]

Completed in 746 milliseconds