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

/frameworks/base/core/java/android/text/method/
H A DMultiTapKeyListener.java56 public MultiTapKeyListener(Capitalize cap, argument
58 mCapitalize = cap;
67 Capitalize cap) {
68 int off = cap.ordinal() * 2 + (autotext ? 1 : 0);
71 sInstance[off] = new MultiTapKeyListener(cap, autotext);
66 getInstance(boolean autotext, Capitalize cap) argument
H A DQwertyKeyListener.java35 public QwertyKeyListener(Capitalize cap, boolean autotext) { argument
36 mAutoCap = cap;
45 Capitalize cap) {
46 int off = cap.ordinal() * 2 + (autotext ? 1 : 0);
49 sInstance[off] = new QwertyKeyListener(cap, autotext);
44 getInstance(boolean autotext, Capitalize cap) argument
H A DTextKeyListener.java63 * @param cap when, if ever, to automatically capitalize.
66 public TextKeyListener(Capitalize cap, boolean autotext) { argument
67 mAutoCap = cap;
75 * @param cap when, if ever, to automatically capitalize.
79 Capitalize cap) {
80 int off = cap.ordinal() * 2 + (autotext ? 1 : 0);
83 sInstance[off] = new TextKeyListener(cap, autotext);
101 * @param cap the capitalization rules to consider.
107 public static boolean shouldCap(Capitalize cap, CharSequence cs, int off) { argument
111 if (cap
78 getInstance(boolean autotext, Capitalize cap) argument
[all...]
/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/libagl/
H A Dstate.cpp135 static void enable_disable(ogles_context_t* c, GLenum cap, int enabled) argument
137 if ((cap >= GL_LIGHT0) && (cap<GL_LIGHT0+OGLES_MAX_LIGHTS)) {
138 c->lighting.lights[cap-GL_LIGHT0].enable = enabled;
139 c->lighting.enabledLights &= ~(1<<(cap-GL_LIGHT0));
140 c->lighting.enabledLights |= (enabled<<(cap-GL_LIGHT0));
144 switch (cap) {
165 c->transforms.rescaleNormals = enabled ? cap : 0;
175 c->clipPlanes.enable &= ~(1<<(cap-GL_CLIP_PLANE0));
176 c->clipPlanes.enable |= (enabled<<(cap
298 glEnable(GLenum cap) argument
302 glDisable(GLenum cap) argument
[all...]
/frameworks/base/media/libmedia/
H A DMediaProfiles.cpp88 MediaProfiles::logVideoEncoderCap(const MediaProfiles::VideoEncoderCap& cap) argument
90 LOGV("video encoder cap:");
91 LOGV("codec = %d", cap.mCodec);
92 LOGV("bit rate: min = %d and max = %d", cap.mMinBitRate, cap.mMaxBitRate);
93 LOGV("frame width: min = %d and max = %d", cap.mMinFrameWidth, cap.mMaxFrameWidth);
94 LOGV("frame height: min = %d and max = %d", cap.mMinFrameHeight, cap.mMaxFrameHeight);
95 LOGV("frame rate: min = %d and max = %d", cap
99 logAudioEncoderCap(const MediaProfiles::AudioEncoderCap& cap) argument
109 logVideoDecoderCap(const MediaProfiles::VideoDecoderCap& cap) argument
116 logAudioDecoderCap(const MediaProfiles::AudioDecoderCap& cap) argument
190 MediaProfiles::AudioDecoderCap *cap = local
206 MediaProfiles::VideoDecoderCap *cap = local
230 MediaProfiles::VideoEncoderCap *cap = local
254 MediaProfiles::AudioEncoderCap *cap = local
465 MediaProfiles::VideoDecoderCap *cap = local
474 MediaProfiles::AudioDecoderCap *cap = local
[all...]
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp187 static void setStrokeCap(JNIEnv* env, jobject clazz, SkPaint* obj, SkPaint::Cap cap) { argument
188 obj->setStrokeCap(cap);
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES11.cpp1881 /* GLboolean glIsEnabled ( GLenum cap ) */
1884 (JNIEnv *_env, jobject _this, jint cap) {
1887 (GLenum)cap
1883 android_glIsEnabled__I(JNIEnv *_env, jobject _this, jint cap) argument
H A Dandroid_opengl_GLES10.cpp524 /* void glDisable ( GLenum cap ) */
527 (JNIEnv *_env, jobject _this, jint cap) {
529 (GLenum)cap
579 /* void glEnable ( GLenum cap ) */
582 (JNIEnv *_env, jobject _this, jint cap) {
584 (GLenum)cap
526 android_glDisable__I(JNIEnv *_env, jobject _this, jint cap) argument
581 android_glEnable__I(JNIEnv *_env, jobject _this, jint cap) argument
H A Dandroid_opengl_GLES20.cpp797 /* void glDisable ( GLenum cap ) */
800 (JNIEnv *_env, jobject _this, jint cap) {
802 (GLenum)cap
864 /* void glEnable ( GLenum cap ) */
867 (JNIEnv *_env, jobject _this, jint cap) {
869 (GLenum)cap
3328 /* GLboolean glIsEnabled ( GLenum cap ) */
3331 (JNIEnv *_env, jobject _this, jint cap) {
3334 (GLenum)cap
799 android_glDisable__I(JNIEnv *_env, jobject _this, jint cap) argument
866 android_glEnable__I(JNIEnv *_env, jobject _this, jint cap) argument
3330 android_glIsEnabled__I(JNIEnv *_env, jobject _this, jint cap) argument
H A Dcom_google_android_gles_jni_GLImpl.cpp650 /* void glDisable ( GLenum cap ) */
653 (JNIEnv *_env, jobject _this, jint cap) {
655 (GLenum)cap
705 /* void glEnable ( GLenum cap ) */
708 (JNIEnv *_env, jobject _this, jint cap) {
710 (GLenum)cap
5308 /* GLboolean glIsEnabled ( GLenum cap ) */
5311 (JNIEnv *_env, jobject _this, jint cap) {
5314 (GLenum)cap
652 android_glDisable__I(JNIEnv *_env, jobject _this, jint cap) argument
707 android_glEnable__I(JNIEnv *_env, jobject _this, jint cap) argument
5310 android_glIsEnabled__I(JNIEnv *_env, jobject _this, jint cap) argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java692 /*package*/ static void native_setStrokeCap(int native_object, int cap) { argument
699 delegate.mCap = cap;
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java541 * @return the line cap style for the paint, used whenever the paint's
551 * @param cap set the paint's line cap style, used whenever the paint's
554 public void setStrokeCap(Cap cap) { argument
555 native_setStrokeCap(mNativePaint, cap.nativeInt);
1377 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.java508 boolean cap, boolean fn, boolean sym);
506 passToJs(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.java800 TextKeyListener.Capitalize cap;
809 cap = TextKeyListener.Capitalize.SENTENCES;
814 cap = TextKeyListener.Capitalize.WORDS;
819 cap = TextKeyListener.Capitalize.CHARACTERS;
824 cap = TextKeyListener.Capitalize.NONE;
828 mInput = TextKeyListener.getInstance(autotext, cap);
3016 TextKeyListener.Capitalize cap;
3018 cap = TextKeyListener.Capitalize.CHARACTERS;
3020 cap = TextKeyListener.Capitalize.WORDS;
3022 cap
5397 getDesiredHeight(Layout layout, boolean cap) argument
[all...]

Completed in 5352 milliseconds