/external/chromium_org/chrome/browser/ui/webui/chromeos/ |
proxy_settings_ui.h | 8 #include "chrome/browser/ui/webui/options/options_ui.h" 13 namespace options { namespace in namespace:chromeos 21 public ::options::OptionsPageUIHandlerHost { 32 options::ProxyHandler* proxy_handler_; // Weak ptr. 33 options::CoreChromeOSOptionsHandler* core_handler_; // WeakPtr.
|
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/ |
accounts_options_handler.h | 9 #include "chrome/browser/ui/webui/options/options_ui.h" 12 namespace options { namespace in namespace:chromeos 14 // ChromeOS accounts options page handler. 15 class AccountsOptionsHandler : public ::options::OptionsPageUIHandler { 38 } // namespace options
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowBitmapFactory.java | 35 public static Bitmap decodeResource(Resources res, int id, BitmapFactory.Options options) { 36 Bitmap bitmap = create("resource:" + getResourceName(id), options); 51 public static Bitmap decodeFile(String pathName, BitmapFactory.Options options) { 52 return create("file:" + pathName, options); 57 return decodeStream(is, null, new BitmapFactory.Options()); 61 public static Bitmap decodeStream(InputStream is, Rect outPadding, BitmapFactory.Options opts) { 66 return create(name, new BitmapFactory.Options()); 69 public static Bitmap create(String name, BitmapFactory.Options options) [all...] |
/packages/apps/Gallery/src/com/android/camera/gallery/ |
UriImage.java | 124 private BitmapFactory.Options snifBitmapOptions() { 128 BitmapFactory.Options options = new BitmapFactory.Options(); local 129 options.inJustDecodeBounds = true; 131 input.getFileDescriptor(), options); local 132 return options; 139 BitmapFactory.Options options = snifBitmapOptions(); local 140 return (options != null && options.outMimeType != null 146 BitmapFactory.Options options = snifBitmapOptions(); local 151 BitmapFactory.Options options = snifBitmapOptions(); local [all...] |
/external/ceres-solver/examples/ |
bundle_adjuster.cc | 69 "Options are: levenberg_marquardt, dogleg."); 70 DEFINE_string(dogleg, "traditional_dogleg", "Options are: traditional_dogleg," 76 DEFINE_string(blocks_for_inner_iterations, "automatic", "Options are: " 79 DEFINE_string(linear_solver, "sparse_schur", "Options are: " 82 DEFINE_string(preconditioner, "jacobi", "Options are: " 86 "Options are: suite_sparse and cx_sparse."); 88 "Options are: eigen and lapack."); 89 DEFINE_string(ordering, "automatic", "Options are: automatic, user."); 123 void SetLinearSolver(Solver::Options* options) { 320 Solver::Options options; local [all...] |
/external/v8/tools/ |
test-wrapper-gypbuild.py | 135 def ProcessOptions(options): 136 if options.arch_and_mode == ".": 137 options.arch = [] 138 options.mode = [] 140 if options.arch_and_mode != None and options.arch_and_mode != "": 141 tokens = options.arch_and_mode.split(".") 142 options.arch = tokens[0] 143 options.mode = tokens[1] 144 options.mode = options.mode.split(',' [all...] |
/external/chromium_org/third_party/icu/source/test/perf/normperf/ |
normperf.cpp | 74 void NormalizerPerformanceTest::normalizeInput(ULine* dest,const UChar* src ,int32_t srcLen,UNormalizationMode mode, int32_t options){ 79 reqLen=unorm_normalize(src,srcLen,mode, options,NULL,0,&status); 83 reqLen= unorm_normalize(src,srcLen,mode, options,dest->name,reqLen+1,&status); 91 UChar* NormalizerPerformanceTest::normalizeInput(int32_t& len, const UChar* src ,int32_t srcLen,UNormalizationMode mode, int32_t options){ 97 reqLen=unorm_normalize(src,srcLen,mode, options,NULL,0,&status); 101 reqLen= unorm_normalize(src,srcLen,mode, options,dest,reqLen+1,&status); 113 UOPTION_DEF("options", 'o', UOPT_OPTIONAL_ARG) 117 : UPerfTest(argc,argv,status), options(0) { 137 options=(int32_t)strtol(cmdLineOptions[0].value, NULL, 16); 150 normalizeInput(&NFDFileLines[i],filelines[i].name,filelines[i].len,UNORM_NFD, options); [all...] |
normperf.h | 28 typedef int32_t (*NormFn)(const UChar* src,int32_t srcLen, UChar* dest,int32_t dstLen, int32_t options, UErrorCode* status); 29 typedef int32_t (*QuickCheckFn)(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t options, UErrorCode* status); 42 int32_t options; member in class:QuickCheckPerfFunction 49 retVal = (*fn)(lines[i].name,lines[i].len,mode, options, status); 53 retVal = (*fn)(lines[i].name,-1,mode, options, status); 59 retVal = (*fn)(src,srcLen,mode, options, status); 61 retVal = (*fn)(src,-1,mode, options, status); 77 QuickCheckPerfFunction(QuickCheckFn func, ULine* srcLines,int32_t srcNumLines, UNormalizationMode _mode, int32_t opts, UBool _uselen) : options(opts) { 87 QuickCheckPerfFunction(QuickCheckFn func, const UChar* source,int32_t sourceLen, UNormalizationMode _mode, int32_t opts, UBool _uselen) : options(opts) { 113 int32_t options; member in class:NormPerfFunction 187 int32_t options; member in class:NormalizerPerformanceTest [all...] |
/external/icu4c/test/perf/normperf/ |
normperf.cpp | 74 void NormalizerPerformanceTest::normalizeInput(ULine* dest,const UChar* src ,int32_t srcLen,UNormalizationMode mode, int32_t options){ 79 reqLen=unorm_normalize(src,srcLen,mode, options,NULL,0,&status); 83 reqLen= unorm_normalize(src,srcLen,mode, options,dest->name,reqLen+1,&status); 91 UChar* NormalizerPerformanceTest::normalizeInput(int32_t& len, const UChar* src ,int32_t srcLen,UNormalizationMode mode, int32_t options){ 97 reqLen=unorm_normalize(src,srcLen,mode, options,NULL,0,&status); 101 reqLen= unorm_normalize(src,srcLen,mode, options,dest,reqLen+1,&status); 113 UOPTION_DEF("options", 'o', UOPT_OPTIONAL_ARG) 117 : UPerfTest(argc,argv,status), options(0) { 137 options=(int32_t)strtol(cmdLineOptions[0].value, NULL, 16); 150 normalizeInput(&NFDFileLines[i],filelines[i].name,filelines[i].len,UNORM_NFD, options); [all...] |
normperf.h | 28 typedef int32_t (*NormFn)(const UChar* src,int32_t srcLen, UChar* dest,int32_t dstLen, int32_t options, UErrorCode* status); 29 typedef int32_t (*QuickCheckFn)(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t options, UErrorCode* status); 42 int32_t options; member in class:QuickCheckPerfFunction 49 retVal = (*fn)(lines[i].name,lines[i].len,mode, options, status); 53 retVal = (*fn)(lines[i].name,-1,mode, options, status); 59 retVal = (*fn)(src,srcLen,mode, options, status); 61 retVal = (*fn)(src,-1,mode, options, status); 77 QuickCheckPerfFunction(QuickCheckFn func, ULine* srcLines,int32_t srcNumLines, UNormalizationMode _mode, int32_t opts, UBool _uselen) : options(opts) { 87 QuickCheckPerfFunction(QuickCheckFn func, const UChar* source,int32_t sourceLen, UNormalizationMode _mode, int32_t opts, UBool _uselen) : options(opts) { 113 int32_t options; member in class:NormPerfFunction 187 int32_t options; member in class:NormalizerPerformanceTest [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/ |
bluetooth_pair_device.js | 5 var OptionsPage = options.OptionsPage; 6 var BluetoothPairing = options.BluetoothPairing; 7 var FakeBluetoothOverlayParent = options.FakeBluetoothOverlayParent; 29 cr.ui.decorate('input[pref][type=checkbox]', options.PrefCheckbox); 30 cr.ui.decorate('input[pref][type=number]', options.PrefNumber); 31 cr.ui.decorate('input[pref][type=radio]', options.PrefRadio); 32 cr.ui.decorate('input[pref][type=range]', options.PrefRange); 33 cr.ui.decorate('select[pref]', options.PrefSelect); 34 cr.ui.decorate('input[pref][type=text]', options.PrefTextField); 35 cr.ui.decorate('input[pref][type=url]', options.PrefTextField) [all...] |
proxy_settings.js | 5 var OptionsPage = options.OptionsPage; 6 var Preferences = options.Preferences; 7 var DetailsInternetPage = options.internet.DetailsInternetPage; 17 cr.ui.decorate('input[pref][type=checkbox]', options.PrefCheckbox); 18 cr.ui.decorate('input[pref][type=number]', options.PrefNumber); 19 cr.ui.decorate('input[pref][type=radio]', options.PrefRadio); 20 cr.ui.decorate('input[pref][type=range]', options.PrefRange); 21 cr.ui.decorate('select[pref]', options.PrefSelect); 22 cr.ui.decorate('input[pref][type=text]', options.PrefTextField); 23 cr.ui.decorate('input[pref][type=url]', options.PrefTextField) [all...] |
/external/chromium_org/chrome/browser/extensions/api/app_window/ |
app_window_api.cc | 150 app_window::CreateWindowOptions* options = params->options.get(); local 151 if (options) { 152 if (options->id.get()) { 155 if (options->id->length() > 256) { 160 create_params.window_key = *options->id; 162 if (options->singleton && *options->singleton == false) { 169 if (!options->singleton || *options->singleton) [all...] |
/external/chromium_org/chrome/browser/resources/image_loader/ |
image_loader.js | 99 * Checks if the options contain any image processing. 103 * @param {Object} options Resizing options as a hash array. 106 ImageLoader.shouldProcess = function(width, height, options) { 107 var targetDimensions = ImageLoader.resizeDimensions(width, height, options); 114 if (options.orientation) 122 * Calculates dimensions taking into account resize options, such as: 130 * @param {Object} options Resizing options as a hash array. 133 ImageLoader.resizeDimensions = function(width, height, options) { [all...] |
/external/chromium_org/chrome/browser/resources/options/ |
language_options.html | 9 <div class="language-options-header"> 15 <div class="language-options"> 16 <div id="language-options-languages"> 18 <list id="language-options-list"></list> 19 <div class="language-options-lower-left"> 20 <button id="language-options-add-button" 24 <div id="language-options-list-dropmarker"></div> 26 <div id="language-options-details"> 27 <h3 id="language-options-language-name"></h3> 29 <div class="language-options-contents" [all...] |
/frameworks/base/docs/html/training/displaying-bitmaps/ |
load-bitmap.jd | 45 android.graphics.BitmapFactory#decodeByteArray(byte[],int,int,android.graphics.BitmapFactory.Options) 47 android.graphics.BitmapFactory#decodeFile(java.lang.String,android.graphics.BitmapFactory.Options) 49 android.graphics.BitmapFactory#decodeResource(android.content.res.Resources,int,android.graphics.BitmapFactory.Options) 54 options via the {@link android.graphics.BitmapFactory.Options} class. Setting the {@link 55 android.graphics.BitmapFactory.Options#inJustDecodeBounds} property to {@code true} while decoding 57 android.graphics.BitmapFactory.Options#outWidth}, {@link 58 android.graphics.BitmapFactory.Options#outHeight} and {@link 59 android.graphics.BitmapFactory.Options#outMimeType}. This technique allows you to read the 64 BitmapFactory.Options options = new BitmapFactory.Options() [all...] |
/external/chromium_org/build/android/gyp/ |
create_device_library_links.py | 10 options.target_dir). This script then creates links in an apk's lib/ folder to 38 def CreateSymlinkScript(options): 39 libraries = build_utils.ReadJson(options.libraries_json) 52 with open(options.script_host_path, 'w') as scriptfile: 56 def TriggerSymlinkScript(options): 58 options.build_device_configuration) 62 apk_package = apk_helper.GetPackageName(options.apk) 65 device_dir = os.path.dirname(options.script_device_path) 69 device.PushIfNeeded(options.script_host_path, options.script_device_path [all...] |
dex.py | 15 def DoDex(options, paths): 16 dx_binary = os.path.join(options.android_sdk_tools, 'dx') 18 dex_cmd = [dx_binary, '--dex', '--force-jumbo', '--output', options.dex_path] 19 if options.no_locals != '0': 23 record_path = '%s.md5.stamp' % options.dex_path 30 build_utils.Touch(options.dex_path) 52 options, paths = parser.parse_args() 54 if (options.proguard_enabled == 'true' 55 and options.configuration_name == 'Release'): 56 paths = [options.proguard_enabled_input_path [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/frontends/tasm/ |
tasm-options.c | 2 * Generic Options Support Header File 33 #include "tasm-options.h" 43 /* Options Parser */ 45 parse_cmdline(int argc, char **argv, opt_option *options, size_t nopts, 62 size_t len = strlen(options[i].opt); 63 if (yasm__strncasecmp(cmd, options[i].opt, len) == 0) { 67 if (options[i].takes_param) { 71 options[i].opt); 81 if (!options[i].handler(cmd, param, options[i].extra) [all...] |
/external/chromium/chrome/common/extensions/docs/static/ |
options.html | 1 <div id="pageData-name" class="pageData">Options</div> 3 <p>To allow users to customize the behavior of your extension, you may wish to provide an options page. If you do, a link to it will be provided from the extensions management page at chrome://extensions. Clicking the Options link opens a new tab pointing at your options page. 5 <h2>Step 1: Declare your options page in the manifest</h2> 10 <b>"options_page": "options.html"</b>, 15 <h2>Step 2: Write your options page</h2> 17 Here is an example options page: 21 <head><title>My Test Extension Options</title></head> 24 // Saves options to localStorage [all...] |
/external/chromium_org/native_client_sdk/src/build_tools/ |
nacl-mono-archive.py | 36 (options, args) = parser.parse_args(args[1:]) 38 if not options.upload_path: 40 if not options.pepper_revision: 43 options.tar_path = options.tar_path.replace('%pepperrev%', 44 options.pepper_revision) 50 buildbot_common.RemoveFile(options.tar_path) 52 tar_file = tarfile.open(options.tar_path, mode='w:bz2', dereference=True) 54 tar_file.add(os.path.join(options.install_dir, subfolder), 60 if not options.skip_upload [all...] |
/external/chromium_org/tools/coverity/ |
coverity.py | 20 For a full list of options, pass the '--help' switch. 105 def run_coverity(options, args): 109 lock_filename = os.path.join(options.source_dir, LOCK_FILE) 120 options.target = options.target.title() 124 print 'Change directory to ' + options.source_dir 125 os.chdir(options.source_dir) 130 coverity_password = _ReadPassword(options.coverity_password_file) 133 gclient_exit = _RunCommand(cmd, options.dry_run, shell=True) 143 rm_path = os.path.join(options.source_dir,'src','out',options.target [all...] |
/external/chromium_org/ui/android/java/src/org/chromium/ui/gfx/ |
BitmapHelper.java | 40 final BitmapFactory.Options options = new BitmapFactory.Options(); local 41 options.inJustDecodeBounds = true; 42 BitmapFactory.decodeResource(res, resId, options); 44 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight); 46 options.inJustDecodeBounds = false; 47 return BitmapFactory.decodeResource(res, resId, options); 51 private static int calculateInSampleSize(BitmapFactory.Options options [all...] |
/external/ceres-solver/internal/ceres/ |
solver_impl_test.cc | 286 Solver::Options options; local 287 options.linear_solver_type = DENSE_SCHUR; 288 options.linear_solver_ordering = ordering; 348 Solver::Options options; local 349 options.linear_solver_type = DENSE_SCHUR; 350 options.linear_solver_ordering = ordering; 356 SolverImpl::CreateReducedProgram(&options, &problem, NULL, &error)); 417 Solver::Options options local 500 Solver::Options options; local 510 Solver::Options options; local 521 Solver::Options options; local 532 Solver::Options options; local 543 Solver::Options options; local 563 Solver::Options options; local 578 Solver::Options options; local 668 Solver::Options options; local 738 Solver::Options options; local 760 Solver::Options options; local 769 Solver::Options options; local 781 Solver::Options options; local 793 Solver::Options options; local [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/ |
optparser_unittest.py | 51 options = self._create_options('vs7', 5, ['+foo', '-bar'], 'git') 54 self._printer.to_flag_string(options)) 58 options = self._create_options() 60 self._printer.to_flag_string(options)) 143 (files, options) = parse([]) 147 self.assertEqual(options.filter_rules, []) 148 self.assertIsNone(options.git_commit) 149 self.assertFalse(options.diff_files) 150 self.assertFalse(options.is_verbose) 151 self.assertEqual(options.min_confidence, 3 [all...] |