/external/skia/src/gpu/ |
D | GrStencil.cpp | 241 GrStencilSettings settings[kMaxStencilClipPasses]) { in GetClipPasses() 247 settings[0] = gReplaceClip; in GetClipPasses() 251 settings[0] = gUnionClip; in GetClipPasses() 255 settings[0] = gXorClip; in GetClipPasses() 259 settings[0] = gDiffClip; in GetClipPasses() 265 settings[0].fFuncRefs[kFront_Face] |= stencilClipMask; in GetClipPasses() 266 settings[0].fWriteMasks[kFront_Face] |= stencilClipMask; in GetClipPasses() 267 settings[0].fFuncRefs[kBack_Face] = in GetClipPasses() 268 settings[0].fFuncRefs[kFront_Face]; in GetClipPasses() 269 settings[0].fWriteMasks[kBack_Face] = in GetClipPasses() [all …]
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
D | SettingsTest.java | 33 Settings settings = new Settings(); in unsetField() local 34 assertEquals(-3, settings.getUploadBandwidth(-3)); in unsetField() 38 Settings settings = new Settings(); in setFields() local 41 assertEquals(-3, settings.getUploadBandwidth(-3)); in setFields() 42 assertEquals(-1, settings.getHeaderTableSize()); in setFields() 43 settings.set(UPLOAD_BANDWIDTH, 0, 42); in setFields() 44 assertEquals(42, settings.getUploadBandwidth(-3)); in setFields() 45 settings.set(Settings.HEADER_TABLE_SIZE, 0, 8096); in setFields() 46 assertEquals(8096, settings.getHeaderTableSize()); in setFields() 49 assertEquals(true, settings.getEnablePush(true)); in setFields() [all …]
|
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/texturepacker/ |
D | TexturePacker.java | 53 private final Settings settings; field in TexturePacker 60 public TexturePacker (File rootDir, Settings settings) { in TexturePacker() argument 62 this.settings = settings; in TexturePacker() 64 if (settings.pot) { in TexturePacker() 65 if (settings.maxWidth != MathUtils.nextPowerOfTwo(settings.maxWidth)) in TexturePacker() 66 …throw new RuntimeException("If pot is true, maxWidth must be a power of two: " + settings.maxWidth… in TexturePacker() 67 if (settings.maxHeight != MathUtils.nextPowerOfTwo(settings.maxHeight)) in TexturePacker() 68 …throw new RuntimeException("If pot is true, maxHeight must be a power of two: " + settings.maxHeig… in TexturePacker() 71 if (settings.grid) in TexturePacker() 72 packer = new GridPacker(settings); in TexturePacker() [all …]
|
D | TexturePackerTest.java | 46 Settings settings = new Settings(); in render() local 47 settings.fast = false; in render() 48 settings.pot = false; in render() 49 settings.maxWidth = 1024; in render() 50 settings.maxHeight = 1024; in render() 51 settings.rotation = false; in render() 52 settings.paddingX = 0; in render() 74 pages = new MaxRectsPacker(settings).pack(inputRects); in render() 77 System.out.println("fast: " + settings.fast); in render() 88 …renderer.rect(x + rect.x + settings.paddingX, y + rect.y + settings.paddingY, rect.width - setting… in render() [all …]
|
D | GridPacker.java | 29 private Settings settings; field in GridPacker 31 public GridPacker (Settings settings) { in GridPacker() argument 32 this.settings = settings; in GridPacker() 36 if (!settings.silent) System.out.print("Packing"); in pack() 44 cellWidth += settings.paddingX; in pack() 45 cellHeight += settings.paddingY; in pack() 61 int maxWidth = settings.maxWidth, maxHeight = settings.maxHeight; in packPage() 62 if (settings.edgePadding) { in packPage() 63 maxWidth -= settings.paddingX; in packPage() 64 maxHeight -= settings.paddingY; in packPage() [all …]
|
D | TexturePackerFileProcessor.java | 79 Settings settings = null; in process() local 84 settings = dirToSettings.get(parent); in process() 85 if (settings != null) { in process() 86 settings = new Settings(settings); in process() 90 if (settings == null) settings = new Settings(defaultSettings); in process() 92 merge(settings, settingsFile); in process() 93 dirToSettings.put(settingsFile.getParentFile(), settings); in process() local 100 private void merge (Settings settings, File settingsFile) { in merge() argument 102 json.readFields(settings, new JsonReader().parse(new FileReader(settingsFile))); in merge() 150 Settings settings = null; in processDir() [all …]
|
D | MaxRectsPacker.java | 36 Settings settings; field in MaxRectsPacker 39 public MaxRectsPacker (Settings settings) { in MaxRectsPacker() argument 40 this.settings = settings; in MaxRectsPacker() 41 …if (settings.minWidth > settings.maxWidth) throw new RuntimeException("Page min width cannot be hi… in MaxRectsPacker() 42 if (settings.minHeight > settings.maxHeight) in MaxRectsPacker() 49 rect.width += settings.paddingX; in pack() 50 rect.height += settings.paddingY; in pack() 53 if (settings.fast) { in pack() 54 if (settings.rotation) { in pack() 86 int paddingX = settings.paddingX, paddingY = settings.paddingY; in packPage() [all …]
|
/external/webrtc/webrtc/modules/video_coding/ |
D | codec_database.cc | 77 VCMDecoderMapItem::VCMDecoderMapItem(VideoCodec* settings, in VCMDecoderMapItem() argument 80 : settings(settings), in VCMDecoderMapItem() 119 void VCMCodecDataBase::Codec(VideoCodecType codec_type, VideoCodec* settings) { in Codec() argument 120 memset(settings, 0, sizeof(VideoCodec)); in Codec() 123 strncpy(settings->plName, "VP8", 4); in Codec() 124 settings->codecType = kVideoCodecVP8; in Codec() 126 settings->plType = kDefaultPayloadType; in Codec() 127 settings->startBitrate = kDefaultStartBitrateKbps; in Codec() 128 settings->minBitrate = VCM_MIN_BITRATE; in Codec() 129 settings->maxBitrate = 0; in Codec() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/ |
D | BasicPeriodBuilderFactory.java | 23 private Settings settings; field in BasicPeriodBuilderFactory 29 this.settings = new Settings(); in BasicPeriodBuilderFactory() 204 settings = settings.setUnits(uset); in setAvailableUnitRange() 210 int uset = settings.uset; in setUnitIsAvailable() 216 settings = settings.setUnits(uset); in setUnitIsAvailable() 221 settings = settings.setMaxLimit(maxLimit); in setMaxLimit() 226 settings = settings.setMinLimit(minLimit); in setMinLimit() 231 settings = settings.setAllowZero(allow); in setAllowZero() 236 settings = settings.setWeeksAloneOnly(aloneOnly); in setWeeksAloneOnly() 241 settings = settings.setAllowMilliseconds(allow); in setAllowMilliseconds() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
D | BasicPeriodBuilderFactory.java | 22 private Settings settings; field in BasicPeriodBuilderFactory 28 this.settings = new Settings(); in BasicPeriodBuilderFactory() 203 settings = settings.setUnits(uset); in setAvailableUnitRange() 209 int uset = settings.uset; in setUnitIsAvailable() 215 settings = settings.setUnits(uset); in setUnitIsAvailable() 220 settings = settings.setMaxLimit(maxLimit); in setMaxLimit() 225 settings = settings.setMinLimit(minLimit); in setMinLimit() 230 settings = settings.setAllowZero(allow); in setAllowZero() 235 settings = settings.setWeeksAloneOnly(aloneOnly); in setWeeksAloneOnly() 240 settings = settings.setAllowMilliseconds(allow); in setAllowMilliseconds() [all …]
|
/external/chromium-trace/catapult/third_party/pipeline/pipeline/ui/ |
D | jquery.treeview.min.js | 15 …settings){if(!settings.prerendered){this.filter(":last-child:not(ul)").addClass(CLASSES.last);this… argument
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/ |
D | JDWPUnitDebuggeeWrapper.java | 70 public JDWPUnitDebuggeeWrapper(JPDATestOptions settings, LogWriter logWriter) { in JDWPUnitDebuggeeWrapper() argument 71 super(settings, logWriter); in JDWPUnitDebuggeeWrapper() 78 isListenConnection = settings.isListenConnectorKind(); in setUpConnection() 80 address = settings.getTransportAddress(); in setUpConnection() 100 String cmdLine = settings.getDebuggeeJavaPath() + " -cp \"" in start() 101 + settings.getDebuggeeClassPath() + "\" -agentlib:" in start() 102 + settings.getDebuggeeAgentName() + "=" in start() 103 + settings.getDebuggeeAgentOptions(address, isListenConnection) in start() 104 + " " + settings.getDebuggeeVMExtraOptions() + " " in start() 106 + settings.getDebuggeeClassName(); in start() [all …]
|
/external/libweave/examples/provider/ |
D | file_config_store.cc | 35 bool FileConfigStore::LoadDefaults(Settings* settings) { in LoadDefaults() argument 39 settings->name = host_name; in LoadDefaults() 40 settings->description = ""; in LoadDefaults() 45 settings->firmware_version = uname_data.sysname; in LoadDefaults() 46 settings->oem_name = "Unknown"; in LoadDefaults() 47 settings->model_name = "Unknown"; in LoadDefaults() 48 settings->model_id = model_id_; in LoadDefaults() 49 settings->pairing_modes = {PairingType::kEmbeddedCode}; in LoadDefaults() 50 settings->embedded_code = "0000"; in LoadDefaults() 56 settings->client_id = in LoadDefaults() [all …]
|
/external/autotest/client/common_lib/cros/ |
D | policy.py | 61 settings = ChromeDeviceSettingsProto() 62 settings.ParseFromString(data_proto.policy_value) 63 if guests: ownership.assert_guest_setting(settings, guests) 64 if new_users: ownership.assert_show_users(settings, new_users) 65 if roaming: ownership.assert_roaming(settings, roaming) 67 ownership.assert_new_users(settings, False) 68 ownership.assert_users_on_whitelist(settings, whitelist) 69 if proxies: ownership.assert_proxy_settings(settings, proxies) 105 settings = ChromeDeviceSettingsProto() 107 settings.guest_mode_enabled.guest_mode_enabled = guests [all …]
|
/external/autotest/client/cros/ |
D | ownership.py | 157 def assert_guest_setting(settings, guests): argument 164 if not settings.HasField("guest_mode_enabled"): 166 if not settings.guest_mode_enabled.HasField("guest_mode_enabled"): 168 if settings.guest_mode_enabled.guest_mode_enabled != guests: 172 def assert_show_users(settings, show_users): argument 179 if not settings.HasField("show_user_names"): 181 if not settings.show_user_names.HasField("show_user_names"): 183 if settings.show_user_names.show_user_names != show_users: 187 def assert_roaming(settings, roaming): argument 194 if not settings.HasField("data_roaming_enabled"): [all …]
|
/external/libweave/src/ |
D | base_api_handler.cc | 103 const auto& settings = device_info_->GetSettings(); local 105 state.SetString(kBaseStateFirmwareVersion, settings.firmware_version); 107 base::StringValue{settings.firmware_version}, 132 const auto& settings = device_info_->GetSettings(); in UpdateBaseConfiguration() local 134 EnumToString(settings.local_anonymous_access_role)}; in UpdateBaseConfiguration() 135 bool discovery_enabled{settings.local_discovery_enabled}; in UpdateBaseConfiguration() 136 bool pairing_enabled{settings.local_pairing_enabled}; in UpdateBaseConfiguration() 159 void BaseApiHandler::OnConfigChanged(const Settings& settings) { in OnConfigChanged() argument 162 EnumToString(settings.local_anonymous_access_role)); in OnConfigChanged() 164 settings.local_discovery_enabled); in OnConfigChanged() [all …]
|
/external/libweave/include/weave/provider/test/ |
D | mock_config_store.h | 29 .WillRepeatedly(testing::Invoke([](Settings* settings) { 30 settings->firmware_version = "TEST_FIRMWARE"; 31 settings->oem_name = "TEST_OEM"; 32 settings->model_name = "TEST_MODEL"; 33 settings->model_id = "ABCDE"; 34 settings->name = "TEST_NAME"; 35 settings->client_id = "TEST_CLIENT_ID"; 36 settings->client_secret = "TEST_CLIENT_SECRET"; 37 settings->api_key = "TEST_API_KEY";
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/dialogs/ |
D | ResizableDialog.java | 140 IDialogSettings settings = getDialogSettings(); in loadBounds() local 142 return new Rectangle(settings.getInt(X), in loadBounds() 143 settings.getInt(Y), in loadBounds() 144 settings.getInt(WIDTH), in loadBounds() 145 settings.getInt(HEIGHT)); in loadBounds() 155 IDialogSettings settings = getDialogSettings(); in saveBounds() local 156 settings.put(X, bounds.x); in saveBounds() 157 settings.put(Y, bounds.y); in saveBounds() 158 settings.put(WIDTH, bounds.width); in saveBounds() 159 settings.put(HEIGHT, bounds.height); in saveBounds() [all …]
|
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/ |
D | screenshare_layers.cc | 50 VP9EncoderImpl::SuperFrameRefSettings settings; in GetSuperFrameSettings() local 71 settings.layer[layer_id].ref_buf1 = layer_id; in GetSuperFrameSettings() 76 settings.layer[layer_id].upd_buf = layer_id; in GetSuperFrameSettings() 83 settings.layer[num_layers_ - 1].ref_buf1 = num_layers_ - 1; in GetSuperFrameSettings() 85 settings.layer[num_layers_ - 1].upd_buf = num_layers_ - 1; in GetSuperFrameSettings() 86 settings.is_keyframe = is_keyframe; in GetSuperFrameSettings() 87 settings.start_layer = start_layer_; in GetSuperFrameSettings() 88 settings.stop_layer = num_layers_ - 1; in GetSuperFrameSettings() 90 return settings; in GetSuperFrameSettings()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/DebuggerOnDemand/ |
D | OnthrowDebuggerLaunchTest.java | 148 String address = settings.getTransportAddress(); in performTest() 203 return new JDWPUnitDebuggeeProcessWrapper(settings, logWriter); in createDebuggeeWrapper() 210 return new JPDADebuggeeSynchronizer(logWriter, settings); in createDebuggerSyncronizer() 225 String address = settings.getTransportAddress(); in internalSetUp() 227 settings.setTransportAddress(TestOptions.DEFAULT_ATTACHING_ADDRESS); in internalSetUp() 232 debuggeeSyncPort = settings.getSyncPortString(); in internalSetUp() 277 String cmdLine = settings.getDebuggeeJavaPath() in prepareDebuggerCmd() 278 + " -cp " + settings.getDebuggeeClassPath() in prepareDebuggerCmd() 301 String cmdLine = settings.getDebuggeeJavaPath() in prepareDebuggeeCmd() 303 + settings.getDebuggeeClassPath() in prepareDebuggeeCmd() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | rulebasedcollator.cpp | 141 settings(other.settings), in RuleBasedCollator() 147 settings->addRef(); in RuleBasedCollator() 154 settings(NULL), in RuleBasedCollator() 171 LocalPointer<CollationTailoring> t(new CollationTailoring(base->tailoring->settings)); in RuleBasedCollator() 184 settings(entry->tailoring->settings), in RuleBasedCollator() 190 settings->addRef(); in RuleBasedCollator() 195 SharedObject::clearPtr(settings); in ~RuleBasedCollator() 205 U_ASSERT(settings == NULL && data == NULL && tailoring == NULL && cacheEntry == NULL); in adoptTailoring() 213 settings = t->settings; in adoptTailoring() 214 settings->addRef(); in adoptTailoring() [all …]
|
/external/emma/ant/ant14/com/vladium/emma/ant/ |
D | VerbosityCfg.java | 71 IProperties settings = m_settings; in getSettings() local 72 if (settings == null) in getSettings() 74 settings = EMMAProperties.wrap (new Properties ()); in getSettings() 77 settings.setProperty (AppLoggers.PROPERTY_VERBOSITY_LEVEL, m_verbosity.trim ()); in getSettings() 80 … settings.setProperty (AppLoggers.PROPERTY_VERBOSITY_FILTER, m_verbosityFilter.trim ()); in getSettings() 82 m_settings = settings; in getSettings() 83 return settings; in getSettings() 86 return settings; in getSettings()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | RuleBasedCollator.java | 330 result.settings = settings.clone(); in cloneAsThawed() 349 return settings.copyOnWrite(); in getOwnedSettings() 353 return tailoring.settings.readOnly(); in getDefaultSettings() 451 if(settings.readOnly() == defaultSettings) { return; } in setCaseFirstDefault() 467 if(settings.readOnly() == defaultSettings) { return; } in setAlternateHandlingDefault() 483 if(settings.readOnly() == defaultSettings) { return; } in setCaseLevelDefault() 499 if(settings.readOnly() == defaultSettings) { return; } in setDecompositionDefault() 515 if(settings.readOnly() == defaultSettings) { return; } in setFrenchCollationDefault() 531 if(settings.readOnly() == defaultSettings) { return; } in setStrengthDefault() 546 if(settings.readOnly() == defaultSettings) { return; } in setNumericCollationDefault() [all …]
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
D | RuleBasedCollator.java | 339 result.settings = settings.clone(); in cloneAsThawed() 358 return settings.copyOnWrite(); in getOwnedSettings() 362 return tailoring.settings.readOnly(); in getDefaultSettings() 461 if(settings.readOnly() == defaultSettings) { return; } in setCaseFirstDefault() 478 if(settings.readOnly() == defaultSettings) { return; } in setAlternateHandlingDefault() 495 if(settings.readOnly() == defaultSettings) { return; } in setCaseLevelDefault() 512 if(settings.readOnly() == defaultSettings) { return; } in setDecompositionDefault() 529 if(settings.readOnly() == defaultSettings) { return; } in setFrenchCollationDefault() 546 if(settings.readOnly() == defaultSettings) { return; } in setStrengthDefault() 562 if(settings.readOnly() == defaultSettings) { return; } in setNumericCollationDefault() [all …]
|
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/ |
D | platformsettings_test.py | 225 self.settings = OsxSettings() 228 self.settings.dns_state = OSX_DNS_STATE_LION 229 self.assertEqual('172.72.255.1', self.settings._get_primary_nameserver()) 232 self.settings.dns_state = OSX_DNS_STATE_SNOW_LEOPARD 233 self.assertEqual('172.27.1.1', self.settings._get_primary_nameserver()) 236 self.settings.ipv4_state = 'Some error' 237 self.settings.dns_state = OSX_DNS_STATE_SNOW_LEOPARD 239 self.settings._get_primary_nameserver) 242 self.settings.dns_state = 'Some other error' 244 self.settings._get_primary_nameserver)
|