Searched refs:cap (Results 1 - 25 of 40) 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.java133 boolean cap = (event.getMetaState() & KeyEvent.META_SHIFT_ON) != 0
140 if (cap) {
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DMediaProfileReader.java106 for (VideoEncoderCap cap: videoEncoders) {
107 if (cap.mCodec == codec) {
108 if (max) return cap.mMaxFrameRate;
109 else return cap.mMinFrameRate;
/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/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.h140 * Returns the value for the given param name for the video editor cap
391 static void logVideoEncoderCap(const VideoEncoderCap& cap);
392 static void logAudioEncoderCap(const AudioEncoderCap& cap);
393 static void logVideoDecoderCap(const VideoDecoderCap& cap);
394 static void logAudioDecoderCap(const AudioDecoderCap& cap);
395 static void logVideoEditorCap(const VideoEditorCap& 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
H A DGL11.java421 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/base/libs/hwui/
H A DPathTessellator.cpp97 style(paint->getStyle()), cap(paint->getStrokeCap()), isAA(paint->isAntiAlias()),
120 SkPaint::Cap cap; member in struct:android::uirenderer::PaintInfo
147 * Returns the number of cap divisions beyond the minimum 2 (kButt_Cap/kSquareCap will return 0)
151 if (cap == SkPaint::kRound_Cap) {
154 // ROUND_CAP_THRESH is the maximum error for polygonal approximation of the round cap
233 if (paintInfo.cap == SkPaint::kSquare_Cap) {
388 * Stores geometry for a single, AA-perimeter (potentially rounded) cap
411 if (paintInfo.cap != SkPaint::kRound_Cap) {
412 // if the cap is square or butt, the inside primary cap vertice
[all...]
H A DPathCache.cpp46 cap(SkPaint::kDefault_Cap),
57 cap(paint->getStrokeCap()),
68 hash = JenkinsHashMix(hash, cap);
H A DPathCache.h112 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.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/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
H A DGLES11.java534 // C function GLboolean glIsEnabled ( GLenum cap )
537 int cap
H A DGLES20.java657 // C function void glDisable ( GLenum cap )
660 int cap
695 // C function void glEnable ( GLenum cap )
698 int cap
1249 // C function GLboolean glIsEnabled ( GLenum cap )
1252 int cap
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java876 * @return the line cap style for the paint, used whenever the paint's
886 * @param cap set the paint's line cap style, used whenever the paint's
889 public void setStrokeCap(Cap cap) { argument
890 native_setStrokeCap(mNativePaint, cap.nativeInt);
2217 private static native void native_setStrokeCap(int native_object, int cap); argument

Completed in 367 milliseconds

12