Searched refs:cap (Results 1 - 25 of 59) sorted by relevance

123

/frameworks/native/libs/binder/tests/
H A DbinderTextOutputTest.cpp31 static void CheckMessage(const CapturedStderr& cap, argument
35 ASSERT_EQ(0, lseek(cap.fd(), 0, SEEK_SET));
36 android::base::ReadFdToString(cap.fd(), &output);
44 CapturedStderr cap; \
46 CheckMessage(cap, expect, singleline); \
61 CapturedStderr cap; local
64 ASSERT_EQ(0, lseek(cap.fd(), 0, SEEK_SET));
65 android::base::ReadFdToString(cap.fd(), &output);
70 CapturedStderr cap; local
73 ASSERT_EQ(0, lseek(cap
79 CapturedStderr cap; local
[all...]
/frameworks/base/libs/hwui/debug/
H A DNullGlesDriver.cpp101 void setBooleanState(GLenum cap, GLboolean value) { argument
102 switch (cap) {
109 void NullGlesDriver::glEnable_(GLenum cap) { argument
110 setBooleanState(cap, GL_TRUE);
113 void NullGlesDriver::glDisable_(GLenum cap) { argument
114 setBooleanState(cap, GL_FALSE);
117 GLboolean NullGlesDriver::glIsEnabled_(GLenum cap) { argument
118 switch (cap) {
H A DNullGlesDriver.h39 virtual void glEnable_(GLenum cap) override;
40 virtual void glDisable_(GLenum cap) override;
41 virtual GLboolean glIsEnabled_(GLenum cap) override;
/frameworks/base/core/java/android/text/method/
H A DTextKeyListener.java72 * @param cap when, if ever, to automatically capitalize.
75 public TextKeyListener(Capitalize cap, boolean autotext) { argument
76 mAutoCap = cap;
84 * @param cap when, if ever, to automatically capitalize.
88 Capitalize cap) {
89 int off = cap.ordinal() * 2 + (autotext ? 1 : 0);
92 sInstance[off] = new TextKeyListener(cap, autotext);
110 * @param cap the capitalization rules to consider.
116 public static boolean shouldCap(Capitalize cap, CharSequence cs, int off) { argument
120 if (cap
87 getInstance(boolean autotext, Capitalize cap) argument
[all...]
H A DQwertyKeyListener.java49 private QwertyKeyListener(Capitalize cap, boolean autoText, boolean fullKeyboard) { argument
50 mAutoCap = cap;
55 public QwertyKeyListener(Capitalize cap, boolean autoText) { argument
56 this(cap, autoText, false);
63 public static QwertyKeyListener getInstance(boolean autoText, Capitalize cap) { argument
64 int off = cap.ordinal() * 2 + (autoText ? 1 : 0);
67 sInstance[off] = new QwertyKeyListener(cap, autoText);
H A DMultiTapKeyListener.java63 public MultiTapKeyListener(Capitalize cap, argument
65 mCapitalize = cap;
74 Capitalize cap) {
75 int off = cap.ordinal() * 2 + (autotext ? 1 : 0);
78 sInstance[off] = new MultiTapKeyListener(cap, autotext);
73 getInstance(boolean autotext, Capitalize cap) argument
H A DTouch.java133 boolean cap = (event.getMetaState() & KeyEvent.META_SHIFT_ON) != 0
141 if (cap) {
/frameworks/av/media/libmedia/
H A DMediaProfiles.cpp124 MediaProfiles::logVideoEncoderCap(const MediaProfiles::VideoEncoderCap& cap UNUSED)
126 ALOGV("video encoder cap:");
127 ALOGV("codec = %d", cap.mCodec);
128 ALOGV("bit rate: min = %d and max = %d", cap.mMinBitRate, cap.mMaxBitRate);
129 ALOGV("frame width: min = %d and max = %d", cap.mMinFrameWidth, cap.mMaxFrameWidth);
130 ALOGV("frame height: min = %d and max = %d", cap.mMinFrameHeight, cap.mMaxFrameHeight);
131 ALOGV("frame rate: min = %d and max = %d", cap
227 MediaProfiles::AudioDecoderCap *cap = local
243 MediaProfiles::VideoDecoderCap *cap = local
267 MediaProfiles::VideoEncoderCap *cap = local
291 MediaProfiles::AudioEncoderCap *cap = local
794 MediaProfiles::VideoDecoderCap *cap = local
803 MediaProfiles::AudioDecoderCap *cap = local
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DMediaProfileReader.java107 for (VideoEncoderCap cap: videoEncoders) {
108 if (cap.mCodec == codec) {
109 if (max) return cap.mMaxFrameRate;
110 else return cap.mMinFrameRate;
H A DCamera2SurfaceViewTestCase.java770 int cap = CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES_YUV_REPROCESSING;
772 cap = CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES_PRIVATE_REPROCESSING;
774 return info.isCapabilitySupported(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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
H A DWifiAwareServiceImplTest.java628 Capabilities cap = new Capabilities();
629 cap.maxConcurrentAwareClusters = 1;
630 cap.maxPublishes = 2;
631 cap.maxSubscribes = 2;
632 cap.maxServiceNameLen = MAX_LENGTH;
633 cap.maxMatchFilterLen = MAX_LENGTH;
634 cap.maxTotalMatchFilterLen = 255;
635 cap.maxServiceSpecificInfoLen = MAX_LENGTH;
636 cap.maxExtendedServiceSpecificInfoLen = MAX_LENGTH;
637 cap
[all...]
/frameworks/av/include/media/
H A DMediaProfiles.h358 static void logVideoEncoderCap(const VideoEncoderCap& cap);
359 static void logAudioEncoderCap(const AudioEncoderCap& cap);
360 static void logVideoDecoderCap(const VideoDecoderCap& cap);
361 static void logAudioDecoderCap(const AudioDecoderCap& cap);
/frameworks/av/media/libmedia/include/media/
H A DMediaProfiles.h358 static void logVideoEncoderCap(const VideoEncoderCap& cap);
359 static void logAudioEncoderCap(const AudioEncoderCap& cap);
360 static void logVideoDecoderCap(const VideoDecoderCap& cap);
361 static void logAudioDecoderCap(const AudioDecoderCap& cap);
/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/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL11Ext.java115 int cap
/frameworks/base/libs/hwui/
H A DTessellationCache.cpp41 , cap(SkPaint::kDefault_Cap)
51 , cap(paint.getStrokeCap())
64 if (cap != rhs.cap) return false;
80 hash = JenkinsHashMix(hash, cap);
92 paint->setStrokeCap(cap);
H A DPathCache.cpp63 , cap(SkPaint::kDefault_Cap)
75 , cap(paint->getStrokeCap())
87 hash = JenkinsHashMix(hash, cap);
99 if (cap != rhs.cap) return false;
263 // of things like a cap of 0 or 1 as that's going to break things.
265 static_assert(DEFAULT_PATH_TEXTURE_CAP > 25, "Path cache texture cap is too small");
H A DPathCache.h132 SkPaint::Cap cap; member in struct:android::uirenderer::PathDescription
H A DTessellationCache.h64 SkPaint::Cap cap; member in struct:android::uirenderer::TessellationCache::Description
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) {
250 if (paintInfo.cap == SkPaint::kSquare_Cap) {
401 * Stores geometry for a single, AA-perimeter (potentially rounded) cap
424 if (paintInfo.cap != SkPaint::kRound_Cap) {
425 // if the cap is square or butt, the inside primary cap vertices will be inset in two
430 // determine referencePoint, the center point for the 4 primary cap vertice
[all...]
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
H A DCat.java191 tint(capColor, D.cap);
356 public Drawable cap; field in class:Cat.CatParts
393 cap = context.getDrawable(R.drawable.cap);
417 cap,
/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 )
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
H A DTelephonyMetrics.java951 ImsCapabilities cap = new ImsCapabilities();
953 cap.voiceOverLte = capabilities[0];
954 cap.videoOverLte = capabilities[1];
955 cap.voiceOverWifi = capabilities[2];
956 cap.videoOverWifi = capabilities[3];
957 cap.utOverLte = capabilities[4];
958 cap.utOverWifi = capabilities[5];
960 TelephonyEvent event = new TelephonyEventBuilder(phoneId).setImsCapabilities(cap).build();
965 ImsCapabilities.toByteArray(cap))) {
969 mLastImsCapabilities.put(phoneId, cap);
[all...]

Completed in 872 milliseconds

123