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

12

/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/core/java/com/android/internal/print/
H A DDumpUtils.java71 * @param cap The capabilities to write
75 @NonNull PrinterCapabilitiesInfo cap) {
78 cap.getMinMargins());
80 int numMediaSizes = cap.getMediaSizes().size();
83 cap.getMediaSizes().get(i));
86 int numResolutions = cap.getResolutions().size();
89 cap.getResolutions().get(i));
92 if ((cap.getColorModes() & PrintAttributes.COLOR_MODE_MONOCHROME) != 0) {
96 if ((cap.getColorModes() & PrintAttributes.COLOR_MODE_COLOR) != 0) {
101 if ((cap
73 writePrinterCapabilities(@onNull Context context, @NonNull DualDumpOutputStream proto, String idName, long id, @NonNull PrinterCapabilitiesInfo cap) argument
[all...]
/frameworks/base/core/java/android/text/method/
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 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 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...]
/frameworks/av/media/libmedia/
H A DMediaCodecInfo.cpp137 MediaCodecInfo::Capabilities* cap) : mCap(cap) {
136 CapabilitiesWriter( MediaCodecInfo::Capabilities* cap) argument
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/libs/hwui/
H A DTessellationCache.h64 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.cpp102 , cap(paint->getStrokeCap())
126 SkPaint::Cap cap; member in struct:android::uirenderer::PaintInfo
152 * Returns the number of cap divisions beyond the minimum 2 (kButt_Cap/kSquareCap will return 0)
156 if (cap == SkPaint::kRound_Cap) {
252 if (paintInfo.cap == SkPaint::kSquare_Cap) {
397 * Stores geometry for a single, AA-perimeter (potentially rounded) cap
419 if (paintInfo.cap != SkPaint::kRound_Cap) {
420 // if the cap is square or butt, the inside primary cap vertices will be inset in two
425 // determine referencePoint, the center point for the 4 primary cap vertice
[all...]
/frameworks/base/libs/hwui/debug/
H A DNullGlesDriver.cpp103 void setBooleanState(GLenum cap, GLboolean value) { argument
104 switch (cap) {
111 void NullGlesDriver::glEnable_(GLenum cap) { argument
112 setBooleanState(cap, GL_TRUE);
115 void NullGlesDriver::glDisable_(GLenum cap) { argument
116 setBooleanState(cap, GL_FALSE);
119 GLboolean NullGlesDriver::glIsEnabled_(GLenum cap) { argument
120 switch (cap) {
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/rtt/
H A DRttNative.java264 boolean isCalledFromPrivilegedContext, RttCapabilities cap) {
284 if (config.type == RttType.ONE_SIDED && cap != null && !cap.rttOneSidedSupported) {
317 if (cap != null) { // constrain parameters per device capabilities
318 config.mustRequestLci = config.mustRequestLci && cap.lciSupported;
319 config.mustRequestLcr = config.mustRequestLcr && cap.lcrSupported;
320 config.bw = halRttChannelBandwidthCapabilityLimiter(config.bw, cap);
321 config.preamble = halRttPreambleCapabilityLimiter(config.preamble, cap);
408 * Note: the halRttChannelBandwidth is a single bit flag of the ones used in cap.bwSupport (HAL
412 RttCapabilities cap) {
263 convertRangingRequestToRttConfigs(RangingRequest request, boolean isCalledFromPrivilegedContext, RttCapabilities cap) argument
411 halRttChannelBandwidthCapabilityLimiter(int halRttChannelBandwidth, RttCapabilities cap) argument
434 halRttPreambleCapabilityLimiter(int halRttPreamble, RttCapabilities cap) argument
[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/base/packages/EasterEgg/src/com/android/egg/neko/
H A DCat.java193 tint(capColor, D.cap);
359 public Drawable cap; field in class:Cat.CatParts
396 cap = context.getDrawable(R.drawable.cap);
420 cap,
/frameworks/native/services/surfaceflinger/tests/unittests/
H A DTestableSurfaceFlinger.h214 auto& addCapability(HWC2::Capability cap) { argument
215 mCapabilities.emplace(cap);
/frameworks/rs/rsov/compiler/spirit/
H A Dmodule.cpp182 Module *Module::addCapability(Capability cap) { argument
183 mCapabilities.push_back(mBuilder->MakeCapability(cap));
/frameworks/base/core/java/android/text/
H A DLayout.java790 * @param cap if true and max lines is set, returns the height of the layout at the max lines.
794 public int getHeight(boolean cap) { argument
H A DStaticLayout.java1323 * @param cap if true and max lines is set, returns the height of the layout at the max lines.
1327 public int getHeight(boolean cap) { argument
1328 if (cap && mLineCount >= mMaximumVisibleLineCount && mMaxLineHeight == -1 &&
1335 return cap && mLineCount >= mMaximumVisibleLineCount && mMaxLineHeight != -1 ?
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES11.cpp2536 /* GLboolean glIsEnabled ( GLenum cap ) */
2539 (JNIEnv *_env, jobject _this, jint cap) {
2542 (GLenum)cap
2538 android_glIsEnabled__I(JNIEnv *_env, jobject _this, jint cap) argument
H A Dandroid_opengl_GLES10.cpp899 /* void glDisable ( GLenum cap ) */
902 (JNIEnv *_env, jobject _this, jint cap) {
904 (GLenum)cap
973 /* void glEnable ( GLenum cap ) */
976 (JNIEnv *_env, jobject _this, jint cap) {
978 (GLenum)cap
901 android_glDisable__I(JNIEnv *_env, jobject _this, jint cap) argument
975 android_glEnable__I(JNIEnv *_env, jobject _this, jint cap) argument
/frameworks/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java777 /*package*/ static void nSetStrokeCap(long native_object, int cap) { argument
784 delegate.mCap = cap;
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp784 Paint::Cap cap = static_cast<Paint::Cap>(capHandle); local
785 obj->setStrokeCap(cap);
/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);
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
H A DVectorDrawable_Delegate.java677 private void setStrokeLineCap(int cap) { argument
678 switch (cap) {

Completed in 660 milliseconds

12