/external/MPAndroidChart/MPChartLib/src/main/java/com/github/mikephil/charting/renderer/ |
D | XAxisRenderer.java | 25 protected XAxis mXAxis; field in XAxisRenderer 30 this.mXAxis = xAxis; in XAxisRenderer() 38 mGridPaint.setColor(mXAxis.getGridColor()); in setupGridPaint() 39 mGridPaint.setStrokeWidth(mXAxis.getGridLineWidth()); in setupGridPaint() 40 mGridPaint.setPathEffect(mXAxis.getGridDashPathEffect()); in setupGridPaint() 79 String longest = mXAxis.getLongestLabel(); in computeSize() 81 mAxisLabelPaint.setTypeface(mXAxis.getTypeface()); in computeSize() 82 mAxisLabelPaint.setTextSize(mXAxis.getTextSize()); in computeSize() 92 mXAxis.getLabelRotationAngle()); in computeSize() 95 mXAxis.mLabelWidth = Math.round(labelWidth); in computeSize() [all …]
|
D | XAxisRendererHorizontalBarChart.java | 64 mAxisLabelPaint.setTypeface(mXAxis.getTypeface()); in computeSize() 65 mAxisLabelPaint.setTextSize(mXAxis.getTextSize()); in computeSize() 67 String longest = mXAxis.getLongestLabel(); in computeSize() 71 final float labelWidth = (int)(labelSize.width + mXAxis.getXOffset() * 3.5f); in computeSize() 77 mXAxis.getLabelRotationAngle()); in computeSize() 79 mXAxis.mLabelWidth = Math.round(labelWidth); in computeSize() 80 mXAxis.mLabelHeight = Math.round(labelHeight); in computeSize() 81 mXAxis.mLabelRotatedWidth = (int)(labelRotatedSize.width + mXAxis.getXOffset() * 3.5f); in computeSize() 82 mXAxis.mLabelRotatedHeight = Math.round(labelRotatedSize.height); in computeSize() 90 if (!mXAxis.isEnabled() || !mXAxis.isDrawLabelsEnabled()) in renderAxisLabels() [all …]
|
D | XAxisRendererRadarChart.java | 26 if (!mXAxis.isEnabled() || !mXAxis.isDrawLabelsEnabled()) in renderAxisLabels() 29 final float labelRotationAngleDegrees = mXAxis.getLabelRotationAngle(); in renderAxisLabels() 32 mAxisLabelPaint.setTypeface(mXAxis.getTypeface()); in renderAxisLabels() 33 mAxisLabelPaint.setTextSize(mXAxis.getTextSize()); in renderAxisLabels() 34 mAxisLabelPaint.setColor(mXAxis.getTextColor()); in renderAxisLabels() 46 String label = mXAxis.getValueFormatter().getFormattedValue(i, mXAxis); in renderAxisLabels() 51 + mXAxis.mLabelRotatedWidth / 2f, angle, pOut); in renderAxisLabels() 53 drawLabel(c, label, pOut.x, pOut.y - mXAxis.mLabelRotatedHeight / 2.f, in renderAxisLabels()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | InputXY.java | 22 private InputButton mXAxis; field in InputXY 26 mXAxis = new InputButton(); in InputXY() 31 mXAxis = xAxis; in InputXY() 36 mXAxis.press(currentTime, x); in press() 41 mXAxis.release(); in release() 46 return mXAxis.getTriggered(time) || mYAxis.getTriggered(time); in getTriggered() 50 return mXAxis.getPressed() || mYAxis.getPressed(); in getPressed() 54 vector.x = mXAxis.getMagnitude(); in setVector() 59 return mXAxis.getMagnitude(); in getX() 67 return Math.max(mXAxis.getLastPressedTime(), mYAxis.getLastPressedTime()); in getLastPressedTime() [all …]
|
/external/MPAndroidChart/MPChartLib/src/main/java/com/github/mikephil/charting/charts/ |
D | HorizontalBarChart.java | 58 …mXAxisRenderer = new XAxisRendererHorizontalBarChart(mViewPortHandler, mXAxis, mLeftAxisTransforme… in init() 162 float xlabelwidth = mXAxis.mLabelRotatedWidth; in calculateOffsets() 164 if (mXAxis.isEnabled()) { in calculateOffsets() 167 if (mXAxis.getPosition() == XAxisPosition.BOTTOM) { in calculateOffsets() 171 } else if (mXAxis.getPosition() == XAxisPosition.TOP) { in calculateOffsets() 175 } else if (mXAxis.getPosition() == XAxisPosition.BOTH_SIDED) { in calculateOffsets() 208 …Transformer.prepareMatrixValuePx(mAxisRight.mAxisMinimum, mAxisRight.mAxisRange, mXAxis.mAxisRange, in prepareValuePxMatrix() 209 mXAxis.mAxisMinimum); in prepareValuePxMatrix() 210 …isTransformer.prepareMatrixValuePx(mAxisLeft.mAxisMinimum, mAxisLeft.mAxisRange, mXAxis.mAxisRange, in prepareValuePxMatrix() 211 mXAxis.mAxisMinimum); in prepareValuePxMatrix() [all …]
|
D | BarLineChartBase.java | 166 mXAxisRenderer = new XAxisRenderer(mViewPortHandler, mXAxis, mLeftAxisTransformer); in init() 210 if (mXAxis.isEnabled()) in onDraw() 211 mXAxisRenderer.computeAxis(mXAxis.mAxisMinimum, mXAxis.mAxisMaximum, false); in onDraw() 217 if (mXAxis.isDrawGridLinesBehindDataEnabled()) in onDraw() 226 if (mXAxis.isEnabled() && mXAxis.isDrawLimitLinesBehindDataEnabled()) in onDraw() 244 if (!mXAxis.isDrawGridLinesBehindDataEnabled()) in onDraw() 262 if (mXAxis.isEnabled() && !mXAxis.isDrawLimitLinesBehindDataEnabled()) in onDraw() 313 Log.i(LOG_TAG, "Preparing Value-Px Matrix, xmin: " + mXAxis.mAxisMinimum + ", xmax: " in prepareValuePxMatrix() 314 + mXAxis.mAxisMaximum + ", xdelta: " + mXAxis.mAxisRange); in prepareValuePxMatrix() 316 mRightAxisTransformer.prepareMatrixValuePx(mXAxis.mAxisMinimum, in prepareValuePxMatrix() [all …]
|
D | RadarChart.java | 94 mXAxisRenderer = new XAxisRendererRadarChart(mViewPortHandler, mXAxis, this); in init() 104 mXAxis.calculate(0, mData.getMaxEntryCountSet().getEntryCount()); in calcMinMax() 115 mXAxisRenderer.computeAxis(mXAxis.mAxisMinimum, mXAxis.mAxisMaximum, false); in notifyDataSetChanged() 133 if (mXAxis.isEnabled()) in onDraw() 134 mXAxisRenderer.computeAxis(mXAxis.mAxisMinimum, mXAxis.mAxisMaximum, false); in onDraw() 329 return mXAxis.isEnabled() && mXAxis.isDrawLabelsEnabled() ? in getRequiredBaseOffset() 330 mXAxis.mLabelRotatedWidth : in getRequiredBaseOffset()
|
D | BarChart.java | 69 …mXAxis.calculate(mData.getXMin() - mData.getBarWidth() / 2f, mData.getXMax() + mData.getBarWidth()… in calcMinMax() 71 mXAxis.calculate(mData.getXMin(), mData.getXMax()); in calcMinMax()
|
D | Chart.java | 119 protected XAxis mXAxis; field in Chart 230 mXAxis = new XAxis(); in init() 1016 return mXAxis; in getXAxis() 1077 return mXAxis.mAxisMaximum; in getXChartMax() 1082 return mXAxis.mAxisMinimum; in getXChartMin() 1087 return mXAxis.mAxisRange; in getXRange()
|
D | PieChart.java | 120 mXAxis = null; in init()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
D | SensorManagerFacade.java | 101 private volatile Integer mXAxis = 0; field in SensorManagerFacade 186 mXAxis = axis & 1; in startSensingThreshold() 321 if ((Math.abs(mXForce) > mThreshold) && (mXAxis == 1)) { in onSensorChanged() 353 if ((Math.abs(mXMag) > mThreshold) && (mXAxis == 1)) { in onSensorChanged() 413 if ((mXAxis == 1) && (mXCrossed == 0)) { in onSensorChanged() 420 if ((mXAxis == 1) && (mXCrossed == 1)) { in onSensorChanged()
|