Home
last modified time | relevance | path

Searched refs:stepSize (Results 1 – 11 of 11) sorted by relevance

/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
DMidpointDisplacementHeightMap.java132 int stepSize = size - 1; in load() local
133 while (stepSize > 1) { in load()
136 nextCoords = doSquareStep(tempBuffer, nextCoords, stepSize, offsetRange, random); in load()
140 nextCoords = doDiamondStep(tempBuffer, nextCoords, stepSize, offsetRange, random); in load()
142 stepSize /= 2; in load()
169 …protected int[] doSquareStep(float[][] tempBuffer, int[] coords, int stepSize, float offsetRange, … in doSquareStep() argument
174 cornerAverage += tempBuffer[x + stepSize][y]; in doSquareStep()
175 cornerAverage += tempBuffer[x + stepSize][y + stepSize]; in doSquareStep()
176 cornerAverage += tempBuffer[x][y + stepSize]; in doSquareStep()
179 tempBuffer[x + stepSize / 2][y + stepSize / 2] = cornerAverage + offset; in doSquareStep()
[all …]
/external/chromium_org/chrome/browser/resources/net_internals/
Dtimeline_data_series.js80 getValues: function(startTime, stepSize, count) { argument
83 this.cacheStepSize_ == stepSize &&
89 this.cacheValues_ = this.getValuesInternal_(startTime, stepSize, count);
91 this.cacheStepSize_ = stepSize;
105 getValuesInternal_: function(startTime, stepSize, count) { argument
117 time += stepSize;
269 getValuesInternal_: function(startTime, stepSize, count) { argument
273 this.dataPoints_[nextPoint].time < startTime - stepSize) {
290 values[i] = 1000 * transferred / stepSize;
291 time += stepSize;
Dtimeline_graph_view.js599 var stepSize = Math.pow(10, -maxDecimalDigits);
614 if (Math.ceil(maxValue / stepSize) + 1 <= maxLabels)
617 if (Math.ceil(maxValue / (stepSize * 2)) + 1 <= maxLabels) {
618 stepSize *= 2;
622 if (Math.ceil(maxValue / (stepSize * 5)) + 1 <= maxLabels) {
623 stepSize *= 5;
626 stepSize *= 10;
632 this.max_ = Math.ceil(maxValue / stepSize) * stepSize;
635 for (var label = this.max_; label >= 0; label -= stepSize)
/external/chromium_org/content/browser/resources/media/
Ddata_series.js84 getValues: function(startTime, stepSize, count) { argument
87 this.cacheStepSize_ == stepSize &&
93 this.cacheValues_ = this.getValuesInternal_(startTime, stepSize, count);
95 this.cacheStepSize_ = stepSize;
103 getValuesInternal_: function(startTime, stepSize, count) { argument
115 time += stepSize;
Dtimeline_graph_view.js405 var stepSize = Math.pow(10, -maxDecimalDigits);
420 if (Math.ceil(maxValue / stepSize) + 1 <= maxLabels)
423 if (Math.ceil(maxValue / (stepSize * 2)) + 1 <= maxLabels) {
424 stepSize *= 2;
428 if (Math.ceil(maxValue / (stepSize * 5)) + 1 <= maxLabels) {
429 stepSize *= 5;
432 stepSize *= 10;
438 this.max_ = Math.ceil(maxValue / stepSize) * stepSize;
441 for (var label = this.max_; label >= 0; label -= stepSize)
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowRatingBar.java24 final float stepSize = attributeSet.getAttributeFloatValue("android", "stepSize", -1); in applyAttributes() local
30 if (stepSize >= 0) { in applyAttributes()
31 setStepSize(stepSize); in applyAttributes()
77 public void setStepSize(float stepSize) { in setStepSize() argument
78 if (stepSize <= 0) { in setStepSize()
82 final float newMax = mNumStars / stepSize; in setStepSize()
/external/sonivox/arm-hybrid-22k/lib_src/
Deas_imaadpcm.c228 EAS_INT stepSize; in IMADecoderADPCM() local
231 stepSize = imaStepSizeTable[pState->step]; in IMADecoderADPCM()
236 delta += stepSize; in IMADecoderADPCM()
240 delta += stepSize >> 1; in IMADecoderADPCM()
244 delta += stepSize >> 2; in IMADecoderADPCM()
247 delta += stepSize >> 3; in IMADecoderADPCM()
/external/sonivox/arm-wt-22k/lib_src/
Deas_imaadpcm.c228 EAS_INT stepSize; in IMADecoderADPCM() local
231 stepSize = imaStepSizeTable[pState->step]; in IMADecoderADPCM()
236 delta += stepSize; in IMADecoderADPCM()
240 delta += stepSize >> 1; in IMADecoderADPCM()
244 delta += stepSize >> 2; in IMADecoderADPCM()
247 delta += stepSize >> 3; in IMADecoderADPCM()
/external/sonivox/arm-fm-22k/lib_src/
Deas_imaadpcm.c228 EAS_INT stepSize; in IMADecoderADPCM() local
231 stepSize = imaStepSizeTable[pState->step]; in IMADecoderADPCM()
236 delta += stepSize; in IMADecoderADPCM()
240 delta += stepSize >> 1; in IMADecoderADPCM()
244 delta += stepSize >> 2; in IMADecoderADPCM()
247 delta += stepSize >> 3; in IMADecoderADPCM()
/external/aac/libSBRenc/src/
Dton_corr.cpp134 INT stepSize = hTonCorr->stepSize; in FDKsbrEnc_CalculateTonalityQuotas() local
301 k += stepSize; in FDKsbrEnc_CalculateTonalityQuotas()
729 …hTonCorr->stepSize = hTonCorr->lpcLength[0] + LPC_ORDER; /* stepSize[0] implicitl… in FDKsbrEnc_InitTonCorrParamExtr()
Dton_corr.h119 INT stepSize; /*!< Stride for the lpc estimate. */ member