/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowBitmap.java | 21 private Bitmap.Config config; field in class:ShadowBitmap 39 public static Bitmap createBitmap(int width, int height, Bitmap.Config config) { 45 shadowBitmap.setConfig(config); 81 public Bitmap copy(Bitmap.Config config, boolean isMutable) { 83 shadowBitmap.setConfig(config); 89 public final Bitmap.Config getConfig() { 90 return config; [all...] |
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
WifiManagerTest.java | 123 WifiConfiguration config = new WifiConfiguration(); local 124 config.networkId = -1; 125 assertThat(wifiManager.updateNetwork(config), equalTo(-1));
|
/external/rootdev/ |
rootdev.c | 308 const struct part_config *config; local 318 config = kPrimaryPart; 321 config = kSecondaryPart; 330 dev = makedev(major_num, minor_num + config[i].offset); 332 if (mknod(config[i].name, 335 warn("failed to create %s", config[i].name); 341 ret = rootdev_symlink_active(config[0].name);
|
/external/skia/include/private/ |
GrSurfaceProxy.h | 194 GrPixelConfig config() const { return fDesc.fConfig; } function in class:GrSurfaceProxy
|
/external/skia/src/codec/ |
SkWebpCodec.cpp | 203 WebPDecoderConfig config; local 204 if (0 == WebPInitDecoderConfig(&config)) { 211 SkAutoTCallVProc<WebPDecBuffer, WebPFreeDecBuffer> autoFree(&(config.output)); 258 config.options.use_cropping = 1; 259 config.options.crop_left = subset.x(); 260 config.options.crop_top = subset.y(); 261 config.options.crop_width = subsetWidth; 262 config.options.crop_height = subsetHeight; 270 config.options.use_scaling = 1; 290 config.options.scaled_width = scaledWidth [all...] |
/external/skia/src/core/ |
SkImageCacherator.cpp | 465 GrPixelConfig config = GrIsCompressedTextureDataSupported(ctx, data, desc.fWidth, desc.fHeight, local 467 if (kUnknown_GrPixelConfig == config) { 471 desc.fConfig = config;
|
SkImageFilter.cpp | 289 GrPixelConfig config = GrRenderableConfigForColorSpace(colorSpace.get()); local 291 SkBackingFit::kApprox, bounds.width(), bounds.height(), config, std::move(colorSpace))); 392 // may be tagged with an sRGB color space (which leads to an sRGB config in makeSurface). But 393 // the actual config of that sRGB image on a device with no sRGB support is non-sRGB.
|
/external/skia/src/effects/ |
SkHighContrastFilter.cpp | 63 static SkPMColor ApplyHighContrastFilter(const SkHighContrastConfig& config, 77 if (config.fGrayscale) { 86 if (config.fInvertStyle == InvertStyle::kInvertBrightness) { 90 } else if (config.fInvertStyle == InvertStyle::kInvertLightness) { 132 if (config.fContrast != 0.0f) { 133 rf = IncreaseContrast(rf, config.fContrast); 134 gf = IncreaseContrast(gf, config.fContrast); 135 bf = IncreaseContrast(bf, config.fContrast); 153 SkHighContrast_Filter(const SkHighContrastConfig& config) { 154 fConfig = config; 255 SkHighContrastConfig config; local 288 const SkHighContrastConfig& config() const { return fConfig; } function in class:__anon29622::HighContrastFilterEffect [all...] |
/external/skia/src/gpu/text/ |
GrAtlasGlyphCache.cpp | 23 GrPixelConfig config = MaskFormatToPixelConfig(format, *fContext->caps()); local 30 fContext, config, width, height, numPlotsX, numPlotsY,
|
/external/skia/src/ports/ |
SkFontMgr_fontconfig.cpp | 227 // Note that this config is only used for FcFontRenderPrepare, which we don't even want. 229 SkAutoFcConfig config; local 231 SkAutoFcPattern match(FcFontSetMatch(config, fontSets, SK_ARRAY_COUNT(fontSets), 665 /** Takes control of the reference to 'config'. */ 666 explicit SkFontMgr_fontconfig(FcConfig* config) 667 : fFC(config ? config : FcInitLoadConfigAndFonts()) 671 // Hold the lock while unrefing the config. [all...] |
/external/skia/src/utils/ |
SkCanvasStateUtils.cpp | 68 RasterConfig config; // pixel format: a value from RasterConfigs. member in struct:SkCanvasLayerState::__anon29800::__anon29801 214 layerState->raster.config = kARGB_8888_RasterConfig; 217 layerState->raster.config = kRGB_565_RasterConfig; 269 layerState.raster.config == kARGB_8888_RasterConfig ? kN32_SkColorType : 270 layerState.raster.config == kRGB_565_RasterConfig ? kRGB_565_SkColorType :
|
/external/skia/tools/ |
using_skia_and_harfbuzz.cpp | 101 // Config ////////////////////////////////////////////////////////////////////// 103 struct Config { 119 Config(int argc, char **argv) { 131 Placement(const Config* conf, SkDocument *doc) 132 : config(conf), document(doc), pageCanvas(nullptr) { 137 glyph_paint.setTextSize(SkDoubleToScalar(config->font_size.value)); 141 if (!pageCanvas || current_y > config->page_height.value) { 146 SkDoubleToScalar(config->page_width.value), 147 SkDoubleToScalar(config->page_height.value)); 149 current_x = config->left_margin.value 163 const Config* config; member in class:Placement [all...] |
/external/skia/tools/viewer/sk_app/ |
VulkanWindowContext.cpp | 42 // any config code here (particularly for msaa)? 178 GrPixelConfig config; local 179 if (GrVkFormatToPixelConfig(surfaceFormats[i].format, &config) && 180 GrPixelConfigIsSRGB(config) == wantSRGB) {
|
/external/strace/ |
perf_event_struct.h | 9 uint64_t config; member in struct:perf_event_attr
|
/external/swiftshader/src/Main/ |
SwiftConfig.hpp | 100 Configuration config; member in class:sw::SwiftConfig
|
/external/swiftshader/src/OpenGL/libEGL/ |
Display.cpp | 185 for(ConfigSet::Iterator config = configSet.mSet.begin(); config != configSet.mSet.end(); config++) 187 Config configuration = *config; 222 bool Display::getConfigAttrib(EGLConfig config, EGLint attribute, EGLint *value) 224 const egl::Config *configuration = mConfigSet.get(config); 270 EGLSurface Display::createWindowSurface(EGLNativeWindowType window, EGLConfig config, const EGLint *attribList) 272 const Config *configuration = mConfigSet.get(config) 429 const egl::Config *config = mConfigSet.get(configHandle); local [all...] |
/external/tinyalsa/ |
tinyplay.c | 215 struct pcm_config config; local 221 memset(&config, 0, sizeof(config)); 222 config.channels = channels; 223 config.rate = rate; 224 config.period_size = period_size; 225 config.period_count = period_count; 227 config.format = PCM_FORMAT_S32_LE; 229 config.format = PCM_FORMAT_S24_3LE; 231 config.format = PCM_FORMAT_S16_LE [all...] |
/external/v8/src/arm/ |
deoptimizer-arm.cc | 195 const RegisterConfiguration* config = RegisterConfiguration::Crankshaft(); local 196 for (int i = 0; i < config->num_allocatable_double_registers(); ++i) { 197 int code = config->GetAllocatableDoubleCode(i); 269 for (int i = 0; i < config->num_allocatable_double_registers(); ++i) { 270 int code = config->GetAllocatableDoubleCode(i);
|
/external/v8/src/compiler/ |
move-optimizer.cc | 79 const RegisterConfiguration* config = RegisterConfiguration::Turbofan(); local 82 config->GetAliases(rep, loc.register_code(), other_rep1, &base); 90 aliases = config->GetAliases(rep, loc.register_code(), other_rep2, &base);
|
/external/v8/src/crankshaft/ia32/ |
lithium-gap-resolver-ia32.cc | 170 const RegisterConfiguration* config = RegisterConfiguration::Crankshaft(); local 171 for (int i = 0; i < config->num_allocatable_general_registers(); ++i) { 172 int code = config->GetAllocatableGeneralCode(i); 185 const RegisterConfiguration* config = RegisterConfiguration::Crankshaft(); local 186 for (int i = 0; i < config->num_allocatable_general_registers(); ++i) { 187 int code = config->GetAllocatableGeneralCode(i); 239 const RegisterConfiguration* config = RegisterConfiguration::Crankshaft(); local 240 for (int i = 0; i < config->num_allocatable_general_registers(); ++i) { 241 int code = config->GetAllocatableGeneralCode(i); 251 spilled_register_ = config->GetAllocatableGeneralCode(0) [all...] |
/external/v8/src/crankshaft/x87/ |
lithium-gap-resolver-x87.cc | 171 const RegisterConfiguration* config = RegisterConfiguration::Crankshaft(); local 172 for (int i = 0; i < config->num_allocatable_general_registers(); ++i) { 173 int code = config->GetAllocatableGeneralCode(i); 186 const RegisterConfiguration* config = RegisterConfiguration::Crankshaft(); local 187 for (int i = 0; i < config->num_allocatable_general_registers(); ++i) { 188 int code = config->GetAllocatableGeneralCode(i); 240 const RegisterConfiguration* config = RegisterConfiguration::Crankshaft(); local 241 for (int i = 0; i < config->num_allocatable_general_registers(); ++i) { 242 int code = config->GetAllocatableGeneralCode(i); 252 spilled_register_ = config->GetAllocatableGeneralCode(0) [all...] |
/external/v8/src/mips/ |
deoptimizer-mips.cc | 120 const RegisterConfiguration* config = RegisterConfiguration::Crankshaft(); local 121 for (int i = 0; i < config->num_allocatable_double_registers(); ++i) { 122 int code = config->GetAllocatableDoubleCode(i); 198 for (int i = 0; i < config->num_allocatable_double_registers(); ++i) { 199 int code = config->GetAllocatableDoubleCode(i); 269 for (int i = 0; i < config->num_allocatable_double_registers(); ++i) { 270 int code = config->GetAllocatableDoubleCode(i);
|
/external/v8/src/mips64/ |
deoptimizer-mips64.cc | 120 const RegisterConfiguration* config = RegisterConfiguration::Crankshaft(); local 121 for (int i = 0; i < config->num_allocatable_double_registers(); ++i) { 122 int code = config->GetAllocatableDoubleCode(i); 198 for (int i = 0; i < config->num_allocatable_double_registers(); ++i) { 199 int code = config->GetAllocatableDoubleCode(i); 268 for (int i = 0; i < config->num_allocatable_double_registers(); ++i) { 269 int code = config->GetAllocatableDoubleCode(i);
|
/external/v8/src/ppc/ |
deoptimizer-ppc.cc | 127 const RegisterConfiguration* config = RegisterConfiguration::Crankshaft(); local 128 for (int i = 0; i < config->num_allocatable_double_registers(); ++i) { 129 int code = config->GetAllocatableDoubleCode(i); 196 for (int i = 0; i < config->num_allocatable_double_registers(); ++i) { 197 int code = config->GetAllocatableDoubleCode(i); 273 for (int i = 0; i < config->num_allocatable_double_registers(); ++i) { 274 int code = config->GetAllocatableDoubleCode(i);
|
/external/v8/src/s390/ |
deoptimizer-s390.cc | 119 const RegisterConfiguration* config = RegisterConfiguration::Crankshaft(); local 120 for (int i = 0; i < config->num_allocatable_double_registers(); ++i) { 121 int code = config->GetAllocatableDoubleCode(i); 193 for (int i = 0; i < config->num_allocatable_double_registers(); ++i) { 194 int code = config->GetAllocatableDoubleCode(i); 271 for (int i = 0; i < config->num_allocatable_double_registers(); ++i) { 272 int code = config->GetAllocatableDoubleCode(i);
|