HomeSort by relevance Sort by last modified time
    Searched refs:step (Results 326 - 350 of 1645) sorted by null

<<11121314151617181920>>

  /external/chromium-trace/catapult/third_party/flot/
jquery.flot.time.js 275 var step = tickSize * timeUnitSize[unit];
296 if (step >= timeUnitSize.minute) {
299 if (step >= timeUnitSize.hour) {
302 if (step >= timeUnitSize.day) {
305 if (step >= timeUnitSize.day * 4) {
308 if (step >= timeUnitSize.month * 2) {
311 if (step >= timeUnitSize.quarter * 2) {
314 if (step >= timeUnitSize.year) {
351 d.setTime(v + step);
jquery.flot.time.min.js 7 (function($){var options={xaxis:{timezone:null,timeformat:null,twelveHourClock:false,monthNames:null}};function floorInBase(n,base){return base*Math.floor(n/base)}function formatDate(d,fmt,monthNames,dayNames){if(typeof d.strftime=="function"){return d.strftime(fmt)}var leftPad=function(n,pad){n=""+n;pad=""+(pad==null?"0":pad);return n.length==1?pad+n:n};var r=[];var escape=false;var hours=d.getHours();var isAM=hours<12;if(monthNames==null){monthNames=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}if(dayNames==null){dayNames=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]}var hours12;if(hours>12){hours12=hours-12}else if(hours==0){hours12=12}else{hours12=hours}for(var i=0;i<fmt.length;++i){var c=fmt.charAt(i);if(escape){switch(c){case"a":c=""+dayNames[d.getDay()];break;case"b":c=""+monthNames[d.getMonth()];break;case"d":c=leftPad(d.getDate());break;case"e":c=leftPad(d.getDate()," ");break;case"h":case"H":c=leftPad(hours);break;case"I":c=leftPad(hours12);break;case"l":c=leftPad(hours12," ");break;case"m":c=leftPad(d.getMonth()+1);break;case"M":c=leftPad(d.getMinutes());break;case"q":c=""+(Math.floor(d.getMonth()/3)+1);break;case"S":c=leftPad(d.getSeconds());break;case"y":c=leftPad(d.getFullYear()%100);break;case"Y":c=""+d.getFullYear();break;case"p":c=isAM?""+"am":""+"pm";break;case"P":c=isAM?""+"AM":""+"PM";break;case"w":c=""+d.getDay();break}r.push(c);escape=false}else{if(c=="%"){escape=true}else{r.push(c)}}}return r.join("")}function makeUtcWrapper(d){function addProxyMethod(sourceObj,sourceMethod,targetObj,targetMethod){sourceObj[sourceMethod]=function(){return targetObj[targetMethod].apply(targetObj,arguments)}}var utc={date:d};if(d.strftime!=undefined){addProxyMethod(utc,"strftime",d,"strftime")}addProxyMethod(utc,"getTime",d,"getTime");addProxyMethod(utc,"setTime",d,"setTime");var props=["Date","Day","FullYear","Hours","Milliseconds","Minutes","Month","Seconds"];for(var p=0;p<props.length;p++){addProxyMethod(utc,"get"+props[p],d,"getUTC"+props[p]);addProxyMethod(utc,"set"+props[p],d,"setUTC"+props[p])}return utc}function dateGenerator(ts,opts){if(opts.timezone=="browser"){return new Date(ts)}else if(!opts.timezone||opts.timezone=="utc"){return makeUtcWrapper(new Date(ts))}else if(typeof timezoneJS!="undefined"&&typeof timezoneJS.Date!="undefined"){var d=new timezoneJS.Date;d.setTimezone(opts.timezone);d.setTime(ts);return d}else{return makeUtcWrapper(new Date(ts))}}var timeUnitSize={second:1e3,minute:60*1e3,hour:60*60*1e3,day:24*60*60*1e3,month:30*24*60*60*1e3,quarter:3*30*24*60*60*1e3,year:365.2425*24*60*60*1e3};var baseSpec=[[1,"second"],[2,"second"],[5,"second"],[10,"second"],[30,"second"],[1,"minute"],[2,"minute"],[5,"minute"],[10,"minute"],[30,"minute"],[1,"hour"],[2,"hour"],[4,"hour"],[8,"hour"],[12,"hour"],[1,"day"],[2,"day"],[3,"day"],[.25,"month"],[.5,"month"],[1,"month"],[2,"month"]];var specMonths=baseSpec.concat([[3,"month"],[6,"month"],[1,"year"]]);var specQuarters=baseSpec.concat([[1,"quarter"],[2,"quarter"],[1,"year"]]);function init(plot){plot.hooks.processOptions.push(function(plot,options){$.each(plot.getAxes(),function(axisName,axis){var opts=axis.options;if(opts.mode=="time"){axis.tickGenerator=function(axis){var ticks=[];var d=dateGenerator(axis.min,opts);var minSize=0;var spec=opts.tickSize&&opts.tickSize[1]==="quarter"||opts.minTickSize&&opts.minTickSize[1]==="quarter"?specQuarters:specMonths;if(opts.minTickSize!=null){if(typeof opts.tickSize=="number"){minSize=opts.tickSize}else{minSize=opts.minTickSize[0]*timeUnitSize[opts.minTickSize[1]]}}for(var i=0;i<spec.length-1;++i){if(axis.delta<(spec[i][0]*timeUnitSize[spec[i][1]]+spec[i+1][0]*timeUnitSize[spec[i+1][1]])/2&&spec[i][0]*timeUnitSize[spec[i][1]]>=minSize){break}}var size=spec[i][0];var unit=spec[i][1];if(unit=="year"){if(opts.minTickSize!=null&&opts.minTickSize[1]=="year"){size=Math.floor(opts.minTickSize[0])}else{var magn=Math.pow(10,Math.floor(Math.log(axis.delta/timeUnitSize.year)/Math.LN10));var norm=axis.delta/timeUnitSize.year/magn;if(norm<1.5){size=1}else if(norm<3){size=2}else if(norm<7.5){size=5}else{size=10}size*=magn}if(size<1){size=1}}axis.tickSize=opts.tickSize||[size,unit];var tickSize=axis.tickSize[0];unit=axis.tickSize[1];var step=tickSize*timeUnitSize[unit];if(unit=="second"){d.setSeconds(floorInBase(d.getSeconds(),tickSize))}else if(unit=="minute"){d.setMinutes(floorInBase(d.getMinutes(),tickSize))}else if(unit=="hour"){d.setHours(floorInBase(d.getHours(),tickSize))}else if(unit=="month"){d.setMonth(floorInBase(d.getMonth(),tickSize))}else if(unit=="quarter"){d.setMonth(3*floorInBase(d.getMonth()/3,tickSize))}else if(unit=="year"){d.setFullYear(floorInBase(d.getFullYear(),tickSize))}d.setMilliseconds(0);if(step>=timeUnitSize.minute){d.setSeconds(0)}if(step>=timeUnitSize.hour){d.setMinutes(0)}if(step>=timeUnitSize.day){d.setHours(0)}if(step>=timeUnitSize.day*4){d.setDate(1)}if(step>=timeUnitSize.month*2){d.setMonth(floorInBase(d.getMonth(),3))}if(step>=timeUnitSize.quarter*2){d.setMonth(floorInBase(d.getMonth(),6))}if(step>=timeUnitSize.year){d.setMonth(0)}var carry=0;var v=Number.NaN;var prev;do{prev=v;v=d.getTime();ticks.push(v);if(unit=="month"||unit=="quarter"){if(tickSize<1){d.setDate(1);var start=d.getTime();d.setMonth(d.getMonth()+(unit=="quarter"?3:1));var end=d.getTime();d.setTime(v+carry*timeUnitSize.hour+(end-start)*tickSize);carry=d.getHours();d.setHours(0)}else{d.setMonth(d.getMonth()+tickSize*(unit=="quarter"?3:1))}}else if(unit=="year"){d.setFullYear(d.getFullYear()+tickSize)}else{d.setTime(v+step)}}while(v<axis.max&&v!=prev);return ticks};axis.tickFormatter=function(v,axis){var d=dateGenerator (…)
  /frameworks/base/media/tests/SoundPoolTest/src/com/android/
SoundPoolTest.java 155 for (int step = 0; step < count; step++) {
157 NORMAL_PRIORITY, DEFAULT_LOOP, mScale[step]);
186 for (int step = 1; step < count; step++) {
188 mSoundPool.setRate(id, mScale[step]);
189 if (DEBUG) Log.d(LOG_TAG, "Change rate " + mScale[step]);
  /external/libweave/src/notification/
xmpp_stream_parser_unittest.cc 124 // Here |step| is the size of each individual data chunk.
125 for (size_t step = 1; step <= xml_data.size(); step++) {
128 for (size_t pos = 0; pos < xml_data.size(); pos += step) {
129 parser_->ParseData(xml_data.substr(pos, step));
  /external/opencv/cv/src/
cvfeatureselect.cpp 164 mask_step = mask->step;
167 eig_step = eig->step / sizeof(eig_data[0]);
168 tmp_step = tmp->step / sizeof(tmp_data[0]);
191 y = ofs / eig->step;
192 x = (ofs - y * eig->step)/sizeof(float);
  /frameworks/av/media/libstagefright/codecs/amrwbenc/src/
pitch_f4.c 81 Word16 max, t0, step, temp; local
121 step = 1; /* 1/4 subsample resolution */
125 step = 2; /* 1/2 subsample resolution */
134 for (i = fraction + step; i <= 3; i += step)
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
vp9_subexp.c 126 const int step = *bestp > oldp ? -1 : 1; local
128 for (newp = *bestp; newp != oldp; newp += step) {
145 int i, old_b, new_b, update_b, savings, bestsavings, step; local
157 step = (*bestp > oldp[PIVOT_NODE] ? -1 : 1);
159 for (newp = *bestp; newp != oldp[PIVOT_NODE]; newp += step) {
  /packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
MapObexLevelTest.java 78 // MAP DISCONNECT Step
105 // MAP DISCONNECT Step
238 SeqStep step; local
240 // MAP CONNECT Step
241 step = sequencer.addStep(OPTYPE.CONNECT, null);
244 step.mReqHeaders = hs;
245 step.mValidator = new MapConnectValidator();
246 //step.mServerPreAction = new MapAddSmsMessages(); // could take in parameters
257 public boolean validate(SeqStep step, HeaderSet response, Operation notUsed)
  /external/opencv3/modules/core/src/
copy.cpp 303 dst.u->currAllocator->upload(dst.u, data, dims, sz, dstofs, dst.step.p, step.p);
325 if (ippiCopy_8u_C1R(sptr, (int)step, dptr, (int)dst.step, ippiSize((int)len, sz.height)) >= 0)
334 for( ; sz.height--; sptr += step, dptr += dst.step )
384 copymask(data, step, mask.data, mask.step, dst.data, dst.step, sz, &esz);
427 if (ippiSet_8u_C1R(0, data, (int)step, roisize) >= 0
    [all...]
  /external/opencv3/modules/imgproc/src/
contours.cpp 44 #define CV_INIT_3X3_DELTAS( deltas, step, nch ) \
45 ((deltas)[0] = (nch), (deltas)[1] = -(step) + (nch), \
46 (deltas)[2] = -(step), (deltas)[3] = -(step) - (nch), \
47 (deltas)[4] = -(nch), (deltas)[5] = (step) - (nch), \
48 (deltas)[6] = (step), (deltas)[7] = (step) + (nch))
143 int img_step; /* image step */
201 int step = mat->step; local
999 int step = scanner->img_step; local
    [all...]
  /external/opencv/cxcore/src/
cxmatmul.cpp 1732 int step = shift->step ? shift->step\/sizeof(double) : 1; local
1738 int step = shift->step ? shift->step\/sizeof(float) : 1; local
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/integration/
LegendreGaussIntegrator.java 38 * abscissas in each step interval (mapped to the canonical [-1 1] interval).
172 // compute first estimate with a single step
218 // set up the step for the current stage
219 final double step = (max - min) / n; local
220 final double halfStep = step / 2.0;
229 midPoint += step;
  /external/libvpx/libvpx/vp9/common/
vp9_blockd.c 52 const int step = 1 << (tx_size << 1); local
62 const int extra_step = ((num_4x4_w - max_blocks_wide) >> tx_size) * step;
70 i += step;
  /external/opencv3/modules/cudaarithm/src/cuda/
minmax_mat.cu 91 GlobPtrSz<uint> src1_ = globPtr((uint*) src1.data, src1.step, src1.rows, vcols);
92 GlobPtrSz<uint> src2_ = globPtr((uint*) src2.data, src2.step, src1.rows, vcols);
93 GlobPtrSz<uint> dst_ = globPtr((uint*) dst.data, dst.step, src1.rows, vcols);
119 GlobPtrSz<uint> src1_ = globPtr((uint*) src1.data, src1.step, src1.rows, vcols);
120 GlobPtrSz<uint> src2_ = globPtr((uint*) src2.data, src2.step, src1.rows, vcols);
121 GlobPtrSz<uint> dst_ = globPtr((uint*) dst.data, dst.step, src1.rows, vcols);
  /external/opencv3/modules/features2d/test/ocl/
test_brute_force_matcher.cpp 92 float step = 1.f / countFactor; local
102 float diff = rng.uniform(step * c, step * (c + 1));
  /external/opencv3/modules/videoio/src/
cap_ffmpeg.cpp 185 int step=0, width=0, height=0, cn=0; local
188 !icvRetrieveFrame_FFMPEG_p(ffmpegCapture, &data, &step, &width, &height, &cn))
191 cvSetData(&frame, data, step);
  /external/skia/tools/
gen_bench_expectations_from_codereview.py 124 """Return True if the given step succeeded and False otherwise.
133 step_name: string; name of the step we're concerned about.
137 # step_data['results'] may not be present if the step succeeded. If present,
159 important step.
174 for step in ('BenchPictures', 'PostBench', 'UploadBenchResults'):
175 if not _step_succeeded(try_build, step):
176 msg = '%s failed on %s!' % (step, try_build.builder_name)
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
vp9_blockd.c 52 const int step = 1 << (tx_size << 1); local
80 i += step;
84 for (i = 0; i < num_4x4_w * num_4x4_h; i += step)
  /external/llvm/bindings/ocaml/target/
llvm_target.ml 103 let rec step elem lst =
105 | Some target -> step (succ target) (target :: lst)
108 step (first ()) []
  /external/lzma/CPP/7zip/UI/Common/
HashCalc.cpp 309 for (UInt32 step = 0;; step++)
311 if ((step & 0xFF) == 0)
348 int step = 2; local
351 step = -2;
359 dest += step;
  /external/opencv3/modules/features2d/src/
orb.cpp 138 int step = (int)(img.step/img.elemSize1()); local
148 ofs[i*blockSize + j] = (int)(i*step + j);
156 const uchar* ptr0 = ptr00 + (y0 - r + layerinfo[z].y)*step + x0 - r + layerinfo[z].x;
162 int Ix = (ptr[1] - ptr[-1])*2 + (ptr[-step+1] - ptr[-step-1]) + (ptr[step+1] - ptr[step-1]);
163 int Iy = (ptr[step] - ptr[-step])*2 + (ptr[step-1] - ptr[-step-1]) + (ptr[step+1] - ptr[-step+1])
178 int step = (int)img.step1(); local
218 int step = (int)imagePyramid.step; local
    [all...]
  /packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
BinaryDictOffdeviceUtils.java 78 private String getStepDescription(final int step) {
79 switch (step) {
91 for (final int step : VALID_DECODER_CHAINS[mDecoderSpecIndex]) {
93 s.append(getStepDescription(step));
110 for (final int step : VALID_DECODER_CHAINS[mDecoderSpecIndex]) {
111 switch (step) {
  /cts/apps/CameraITS/tests/scene1/
test_ev_compensation_advanced.py 52 ev_shifts = [pow(2, step * ev_per_step) for step in ev_steps]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
KeyChainTest.java 94 private List<Step> mSteps;
131 Step step = mSteps.get(mCurrentStep); local
133 switch (step.task.getStatus()) {
135 step.task.execute();
150 step.task.cancel(false);
179 mSteps.add(new Step(R.string.keychain_setup_desc, false, new SetupTestKeyStoreTask()));
180 mSteps.add(new Step(R.string.keychain_install_desc, true, new InstallCredentialsTask()));
181 mSteps.add(new Step(R.string.keychain_https_desc, false, new TestHttpsRequestTask()));
182 mSteps.add(new Step(R.string.keychain_reset_desc, true, new ClearCredentialsTask()))
198 final Step step = mSteps.get(mCurrentStep); local
    [all...]
  /external/dng_sdk/source/
dng_1d_table.cpp 159 real64 step = (real64) kTableSize / 65535.0; local
175 fract += step;

Completed in 2239 milliseconds

<<11121314151617181920>>