Home
last modified time | relevance | path

Searched refs:xScale (Results 1 – 21 of 21) sorted by relevance

/external/MPAndroidChart/MPChartExample/src/main/java/com/xxmassdeveloper/mpchartexample/custom/
DMyCustomXAxisValueFormatter.java33 final float xScale = mViewPortHandler.getScaleX(); in getFormattedValue() local
34 if (xScale > 5) in getFormattedValue()
36 else if (xScale > 3) in getFormattedValue()
38 else if (xScale > 1) in getFormattedValue()
/external/oboe/apps/OboeTester/app/src/main/java/com/mobileer/oboetester/
DWaveformView.java108 float xScale = ((float) mCurrentWidth) / (mSampleCount - 1); in onDraw() local
110 if (xScale < 1.0) { in onDraw()
115 float x1 = i * xScale; in onDraw()
131 float x1 = i * xScale; in onDraw()
140 float x = mCursors[i] * xScale; in onDraw()
/external/MPAndroidChart/MPChartLib/src/main/java/com/github/mikephil/charting/utils/
DViewPortHandler.java483 public void setMinimumScaleX(float xScale) { in setMinimumScaleX() argument
485 if (xScale < 1f) in setMinimumScaleX()
486 xScale = 1f; in setMinimumScaleX()
488 mMinScaleX = xScale; in setMinimumScaleX()
498 public void setMaximumScaleX(float xScale) { in setMaximumScaleX() argument
500 if (xScale == 0.f) in setMaximumScaleX()
501 xScale = Float.MAX_VALUE; in setMaximumScaleX()
503 mMaxScaleX = xScale; in setMaximumScaleX()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/transformer/src/main/java/com/google/android/exoplayer2/transformer/
DScaleToFitFrameProcessor.java180 float xScale = (xMax - xMin) / ndcWidthAndHeight; in configureOutputSizeAndTransformationMatrix() local
182 adjustedTransformationMatrix.postScale(1f / xScale, 1f / yScale); in configureOutputSizeAndTransformationMatrix()
183 outputSize = new Size(Math.round(inputWidth * xScale), Math.round(inputHeight * yScale)); in configureOutputSizeAndTransformationMatrix()
/external/MPAndroidChart/MPChartLib/src/main/java/com/github/mikephil/charting/charts/
DHorizontalBarChart.java311 float xScale = mXAxis.mAxisRange / (maxXRange); in setVisibleXRangeMaximum() local
312 mViewPortHandler.setMinimumScaleY(xScale); in setVisibleXRangeMaximum()
317 float xScale = mXAxis.mAxisRange / (minXRange); in setVisibleXRangeMinimum() local
318 mViewPortHandler.setMaximumScaleY(xScale); in setVisibleXRangeMinimum()
DBarLineChartBase.java766 float xScale = mXAxis.mAxisRange / (maxXRange); in setVisibleXRangeMaximum() local
767 mViewPortHandler.setMinimumScaleX(xScale); in setVisibleXRangeMaximum()
779 float xScale = mXAxis.mAxisRange / (minXRange); in setVisibleXRangeMinimum() local
780 mViewPortHandler.setMaximumScaleX(xScale); in setVisibleXRangeMinimum()
/external/skia/src/core/
DSkDrawShadowInfo.cpp110 SkScalar xScale = 2/(pathBounds.fRight - pathBounds.fLeft); in GetSpotShadowTransform() local
112 toHomogeneous.setAll(xScale, 0, -xScale*pathBounds.fLeft - 1, in GetSpotShadowTransform()
DSkRRect.cpp483 SkScalar xScale = matrix.getScaleX(); in transform() local
493 xScale = matrix.getSkewY() * (isClockwise ? 1 : -1); in transform()
510 const bool flipX = xScale < 0; in transform()
512 xScale = -xScale; in transform()
522 dst->fRadii[i].fX *= xScale; in transform()
/external/deqp/modules/gles3/functional/
Des3fShaderDerivateTests.cpp1105 const tcu::Vec4 xScale = tcu::Vec4(0.5f, 0.5f, 0.5f, -0.5f); in verify() local
1114 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1191 const tcu::Vec4 dx = ((m_coordMax - m_coordMin) / w) * xScale; in verify()
1194 …::Vec4 dxThreshold = getDerivateThreshold(m_precision, m_coordMin*xScale, m_coordMax*xScale, dx); in verify()
1196 … dxThresholdW = getDerivateThresholdWarning(m_precision, m_coordMin*xScale, m_coordMax*xScale, dx); in verify()
1435 const tcu::Vec4 xScale = tcu::Vec4(1.0f, 0.5f, 0.5f, -0.5f); in verify() local
1446 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1524 const tcu::Vec4 dx = ((m_texValueMax - m_texValueMin) / w) * xScale; in verify()
1527 …4 dxThreshold = getDerivateThreshold(m_precision, m_texValueMin*xScale, m_texValueMax*xScale, dx); in verify()
1529 …esholdW = getDerivateThresholdWarning(m_precision, m_texValueMin*xScale, m_texValueMax*xScale, dx); in verify()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderDerivateTests.cpp997 const tcu::Vec4 xScale = tcu::Vec4(1.0f, 0.0f, 0.5f, -0.5f); in verify() local
1005 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1067 const tcu::Vec4 dx = ((m_values.coordMax - m_values.coordMin) / w) * xScale; in verify()
1070 …DerivateThreshold(m_definitions.precision, m_values.coordMin*xScale, m_values.coordMax*xScale, dx); in verify()
1300 const tcu::Vec4 xScale = tcu::Vec4(1.0f, 0.0f, 0.5f, -0.5f); in verify() local
1311 const tcu::Vec4 scale = isX ? xScale : yScale; in verify()
1367 const tcu::Vec4 dx = ((m_textureValues.texValueMax - m_textureValues.texValueMin) / w) * xScale; in verify()
1370 …d(m_definitions.precision, m_textureValues.texValueMin*xScale, m_textureValues.texValueMax*xScale,… in verify()
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationShaderInputOutputTests.cpp414 const float xScale = 1.0f / static_cast<float>(getNumPrimitives(caseDef.caseType)); in initPrograms() local
430 << " highp float x = (gl_TessCoord.x*float(" << xScale << ") + in_te_attr[0]) * 2.0 - 1.0;\n" in initPrograms()
870 const float xScale = 1.0f / 8.0f; in initPrograms() local
892 << " highp float x = (gl_TessCoord.x*float(" << xScale << ") + in_te_attr[0]) * 2.0 - 1.0;\n" in initPrograms()
/external/python/cpython2/Lib/lib-tk/
DCanvas.py185 def scale(self, xOrigin, yOrigin, xScale, yScale): argument
186 self._do('scale', xOrigin, yOrigin, xScale, yScale)
/external/angle/third_party/vulkan_memory_allocator/src/
DCommon.h244 float xScale = yScale / aspectRatio; in Perspective() local
246 xScale, 0.0f, 0.0f, 0.0f, in Perspective()
/external/pdfium/fpdfsdk/
Dfpdf_ppo.cpp128 const float xScale = m_subPageSize.width / pagesize.width; in CalculatePageEdit() local
130 settings.scale = std::min(xScale, yScale); in CalculatePageEdit()
134 if (xScale > yScale) in CalculatePageEdit()
/external/skia/tests/
DRoundRectTest.cpp680 SkScalar xScale = SkIntToScalar(3); in test_transform_helper() local
683 matrix.setScaleX(xScale); in test_transform_helper()
691 orig.radii((SkRRect::Corner) i).fX * xScale)); in test_transform_helper()
696 orig.rect().width() * xScale)); in test_transform_helper()
700 orig.rect().left() * xScale)); in test_transform_helper()
/external/eigen/bench/perf_monitoring/resources/
Ds2.js1xScale=function(a){return arguments.length?(f=a,b):f},b.showGuideLine=function(a){return arguments… property
/external/fonttools/Lib/fontTools/ufoLib/
Dvalidators.py724 xScale=((int, float), False), xyScale=((int, float), False),
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/
DSubsamplingScaleImageView.java1083 float xScale = scale, yScale = scale; in onDraw() local
1085 xScale = scale * ((float)sWidth/bitmap.getWidth()); in onDraw()
1091 matrix.postScale(xScale, yScale); in onDraw()
/external/skia/src/pdf/
DSkPDFDevice.cpp748 SkScalar xScale, SkScalar yScale, in get_glyph_bounds_device_space() argument
750 SkRect glyphBounds = SkMatrix::Scale(xScale, yScale).mapRect(glyph->rect()); in get_glyph_bounds_device_space()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp3814 …const float xScale = static_cast<float>(blit.srcOffsets[1].x - blit.srcOffsets[0].x) / static_cast… in forEach() local
3827 …(xScale * (static_cast<float>(x - blit.dstOffsets[0].x) + 0.5f) + static_cast<float>(blit.srcOffse… in forEach()
4298 const int xScale = (mirrorMode & MIRROR_MODE_X) ? -1 : 1; in blit() local
4306 …at)x + 0.5f) * sX, ((float)y + 0.5f) * sY, ((float)z + 0.5f) * sZ)), x * xScale + xOffset, y * ySc… in blit()
/external/python/cpython2/Mac/Modules/qt/
D_Qtmodule.c10070 Fixed xScale; in Qt_Media3DScaleNamedObjectTo() local
10078 PyMac_GetFixed, &xScale, in Qt_Media3DScaleNamedObjectTo()
10084 xScale, in Qt_Media3DScaleNamedObjectTo()