/frameworks/native/libs/binder/tests/ |
H A D | binderTextOutputTest.cpp | 31 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 D | DumpUtils.java | 71 * @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 D | MultiTapKeyListener.java | 63 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 D | QwertyKeyListener.java | 49 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 D | TextKeyListener.java | 72 * @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 D | MediaCodecInfo.cpp | 137 MediaCodecInfo::Capabilities* cap) : mCap(cap) { 136 CapabilitiesWriter( MediaCodecInfo::Capabilities* cap) argument
|
H A D | MediaProfiles.cpp | 124 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 D | TessellationCache.h | 64 SkPaint::Cap cap; member in struct:android::uirenderer::TessellationCache::Description
|
H A D | PathCache.h | 114 SkPaint::Cap cap; member in struct:android::uirenderer::PathDescription
|
H A D | PathTessellator.cpp | 102 , 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 D | NullGlesDriver.cpp | 103 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 D | RttNative.java | 264 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 D | android_media_MediaProfiles.cpp | 109 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 D | state.cpp | 136 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 D | Cat.java | 193 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 D | TestableSurfaceFlinger.h | 214 auto& addCapability(HWC2::Capability cap) { argument 215 mCapabilities.emplace(cap);
|
/frameworks/rs/rsov/compiler/spirit/ |
H A D | module.cpp | 182 Module *Module::addCapability(Capability cap) { argument 183 mCapabilities.push_back(mBuilder->MakeCapability(cap));
|
/frameworks/base/core/java/android/text/ |
H A D | Layout.java | 790 * @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 D | StaticLayout.java | 1323 * @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 D | android_opengl_GLES11.cpp | 2536 /* 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 D | android_opengl_GLES10.cpp | 899 /* 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 D | Paint_Delegate.java | 777 /*package*/ static void nSetStrokeCap(long native_object, int cap) { argument 784 delegate.mCap = cap;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Paint.cpp | 784 Paint::Cap cap = static_cast<Paint::Cap>(capHandle); local 785 obj->setStrokeCap(cap);
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLErrorWrapper.java | 243 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 D | VectorDrawable_Delegate.java | 677 private void setStrokeLineCap(int cap) { argument 678 switch (cap) {
|