Searched defs:cap (Results 1 - 21 of 21) 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/base/libs/hwui/
H A DTessellationCache.h59 SkPaint::Cap cap; member in struct:android::uirenderer::TessellationCache::Description
H A DPathCache.h114 SkPaint::Cap cap; member in struct:android::uirenderer::PathDescription
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...]
/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/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/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/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/base/core/jni/
H A Dandroid_opengl_GLES11.cpp2276 /* GLboolean glIsEnabled ( GLenum cap ) */
2279 (JNIEnv *_env, jobject _this, jint cap) {
2282 (GLenum)cap
2278 android_glIsEnabled__I(JNIEnv *_env, jobject _this, jint cap) argument
H A Dandroid_opengl_GLES10.cpp729 /* void glDisable ( GLenum cap ) */
732 (JNIEnv *_env, jobject _this, jint cap) {
734 (GLenum)cap
797 /* void glEnable ( GLenum cap ) */
800 (JNIEnv *_env, jobject _this, jint cap) {
802 (GLenum)cap
731 android_glDisable__I(JNIEnv *_env, jobject _this, jint cap) argument
799 android_glEnable__I(JNIEnv *_env, jobject _this, jint cap) argument
H A Dandroid_opengl_GLES20.cpp1143 /* void glDisable ( GLenum cap ) */
1146 (JNIEnv *_env, jobject _this, jint cap) {
1148 (GLenum)cap
1229 /* void glEnable ( GLenum cap ) */
1232 (JNIEnv *_env, jobject _this, jint cap) {
1234 (GLenum)cap
3871 /* GLboolean glIsEnabled ( GLenum cap ) */
3874 (JNIEnv *_env, jobject _this, jint cap) {
3877 (GLenum)cap
1145 android_glDisable__I(JNIEnv *_env, jobject _this, jint cap) argument
1231 android_glEnable__I(JNIEnv *_env, jobject _this, jint cap) argument
3873 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.cpp248 Paint::Cap cap = static_cast<Paint::Cap>(capHandle); local
249 obj->setStrokeCap(cap);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java752 /*package*/ static void native_setStrokeCap(long native_object, int cap) { argument
759 delegate.mCap = cap;
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java853 * @return the line cap style for the paint, used whenever the paint's
863 * @param cap set the paint's line cap style, used whenever the paint's
866 public void setStrokeCap(Cap cap) { argument
867 native_setStrokeCap(mNativePaint, cap.nativeInt);
2234 private static native void native_setStrokeCap(long 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/widget/
H A DTextView.java1176 TextKeyListener.Capitalize cap;
1182 cap = TextKeyListener.Capitalize.SENTENCES;
1187 cap = TextKeyListener.Capitalize.WORDS;
1192 cap = TextKeyListener.Capitalize.CHARACTERS;
1197 cap = TextKeyListener.Capitalize.NONE;
1202 mEditor.mKeyListener = TextKeyListener.getInstance(autotext, cap);
4327 TextKeyListener.Capitalize cap;
4329 cap = TextKeyListener.Capitalize.CHARACTERS;
4331 cap = TextKeyListener.Capitalize.WORDS;
4333 cap
6728 getDesiredHeight(Layout layout, boolean cap) argument
[all...]
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_api.cpp1495 void GLTrace_glDisable(GLenum cap) { argument
1501 // copy argument cap
1505 arg_cap->add_intvalue((int)cap);
1510 glContext->hooks->gl.glDisable(cap);
1638 void GLTrace_glEnable(GLenum cap) { argument
1644 // copy argument cap
1648 arg_cap->add_intvalue((int)cap);
1653 glContext->hooks->gl.glEnable(cap);
3234 GLboolean GLTrace_glIsEnabled(GLenum cap) { argument
3240 // copy argument cap
[all...]

Completed in 289 milliseconds