Searched defs:cap (Results 1 - 22 of 22) 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.h126 SkPaint::Cap cap; member in struct:android::uirenderer::PathDescription
H A DPathTessellator.cpp102 style(paint->getStyle()), cap(paint->getStrokeCap()), isAA(paint->isAntiAlias()),
124 SkPaint::Cap cap; member in struct:android::uirenderer::PaintInfo
150 * Returns the number of cap divisions beyond the minimum 2 (kButt_Cap/kSquareCap will return 0)
154 if (cap == SkPaint::kRound_Cap) {
249 if (paintInfo.cap == SkPaint::kSquare_Cap) {
399 * Stores geometry for a single, AA-perimeter (potentially rounded) cap
422 if (paintInfo.cap != SkPaint::kRound_Cap) {
423 // if the cap is square or butt, the inside primary cap vertices will be inset in two
428 // determine referencePoint, the center point for the 4 primary cap vertice
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaProfiles.cpp109 jobject cap = env->NewObject(videoEncoderCapClazz, local
116 return cap;
157 jobject cap = env->NewObject(audioEncoderCapClazz, local
163 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
224 MediaProfiles::AudioDecoderCap *cap = local
240 MediaProfiles::VideoDecoderCap *cap = local
264 MediaProfiles::VideoEncoderCap *cap = local
288 MediaProfiles::AudioEncoderCap *cap = local
786 MediaProfiles::VideoDecoderCap *cap = local
795 MediaProfiles::AudioDecoderCap *cap = local
[all...]
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES11.cpp2398 /* GLboolean glIsEnabled ( GLenum cap ) */
2401 (JNIEnv *_env, jobject _this, jint cap) {
2404 (GLenum)cap
2400 android_glIsEnabled__I(JNIEnv *_env, jobject _this, jint cap) argument
H A Dandroid_opengl_GLES10.cpp847 /* void glDisable ( GLenum cap ) */
850 (JNIEnv *_env, jobject _this, jint cap) {
852 (GLenum)cap
915 /* void glEnable ( GLenum cap ) */
918 (JNIEnv *_env, jobject _this, jint cap) {
920 (GLenum)cap
849 android_glDisable__I(JNIEnv *_env, jobject _this, jint cap) argument
917 android_glEnable__I(JNIEnv *_env, jobject _this, jint cap) argument
H A Dandroid_opengl_GLES20.cpp1261 /* void glDisable ( GLenum cap ) */
1264 (JNIEnv *_env, jobject _this, jint cap) {
1266 (GLenum)cap
1347 /* void glEnable ( GLenum cap ) */
1350 (JNIEnv *_env, jobject _this, jint cap) {
1352 (GLenum)cap
3994 /* GLboolean glIsEnabled ( GLenum cap ) */
3997 (JNIEnv *_env, jobject _this, jint cap) {
4000 (GLenum)cap
1263 android_glDisable__I(JNIEnv *_env, jobject _this, jint cap) argument
1349 android_glEnable__I(JNIEnv *_env, jobject _this, jint cap) argument
3996 android_glIsEnabled__I(JNIEnv *_env, jobject _this, jint cap) argument
H A Dcom_google_android_gles_jni_GLImpl.cpp667 /* void glDisable ( GLenum cap ) */
670 (JNIEnv *_env, jobject _this, jint cap) {
672 (GLenum)cap
735 /* void glEnable ( GLenum cap ) */
738 (JNIEnv *_env, jobject _this, jint cap) {
740 (GLenum)cap
6077 /* GLboolean glIsEnabled ( GLenum cap ) */
6080 (JNIEnv *_env, jobject _this, jint cap) {
6083 (GLenum)cap
669 android_glDisable__I(JNIEnv *_env, jobject _this, jint cap) argument
737 android_glEnable__I(JNIEnv *_env, jobject _this, jint cap) argument
6079 android_glIsEnabled__I(JNIEnv *_env, jobject _this, jint cap) argument
/frameworks/base/libs/hwui/tests/
H A Dnullgles.cpp96 void setBooleanState(GLenum cap, GLboolean value) { argument
97 switch (cap) {
104 void glEnable(GLenum cap) { argument
105 setBooleanState(cap, GL_TRUE);
108 void glDisable(GLenum cap) { argument
109 setBooleanState(cap, GL_FALSE);
112 GLboolean glIsEnabled(GLenum cap) { argument
113 switch (cap) {
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java757 /*package*/ static void native_setStrokeCap(long native_object, int cap) { argument
764 delegate.mCap = cap;
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp292 Paint::Cap cap = static_cast<Paint::Cap>(capHandle); local
293 obj->setStrokeCap(cap);
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java867 * @return the line cap style for the paint, used whenever the paint's
877 * @param cap set the paint's line cap style, used whenever the paint's
880 public void setStrokeCap(Cap cap) { argument
881 native_setStrokeCap(mNativePaint, cap.nativeInt);
2450 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.java1241 TextKeyListener.Capitalize cap;
1247 cap = TextKeyListener.Capitalize.SENTENCES;
1252 cap = TextKeyListener.Capitalize.WORDS;
1257 cap = TextKeyListener.Capitalize.CHARACTERS;
1262 cap = TextKeyListener.Capitalize.NONE;
1267 mEditor.mKeyListener = TextKeyListener.getInstance(autotext, cap);
4617 TextKeyListener.Capitalize cap;
4619 cap = TextKeyListener.Capitalize.CHARACTERS;
4621 cap = TextKeyListener.Capitalize.WORDS;
4623 cap
7026 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...]
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 7297 milliseconds