OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mDotX
(Results
1 - 7
of
7
) sorted by null
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
ColorBrightnessView.java
56
private float
mDotX
= mBorder;
103
float ox =
mDotX
;
109
mDotX
= x;
111
if (
mDotX
< mBorder) {
112
mDotX
= mBorder;
115
if (
mDotX
> mWidth - mBorder) {
116
mDotX
= mWidth - mBorder;
118
mHSVO[3] = (
mDotX
- mBorder) / (mWidth - mBorder * 2);
124
(int) (
mDotX
- mDotRadius), (int) (mDotY - mDotRadius), (int) (
mDotX
+ mDotRadius)
[
all
...]
ColorOpacityView.java
56
private float
mDotX
= mBorder;
108
float ox =
mDotX
;
114
mDotX
= x;
116
if (
mDotX
< mBorder) {
117
mDotX
= mBorder;
120
if (
mDotX
> mWidth - mBorder) {
121
mDotX
= mWidth - mBorder;
123
mHSVO[3] = (
mDotX
- mBorder) / (mWidth - mBorder * 2);
129
(int) (
mDotX
- mDotRadius), (int) (mDotY - mDotRadius), (int) (
mDotX
+ mDotRadius)
[
all
...]
ColorSaturationView.java
56
private float
mDotX
= mBorder;
103
float ox =
mDotX
;
109
mDotX
= x;
111
if (
mDotX
< mBorder) {
112
mDotX
= mBorder;
115
if (
mDotX
> mWidth - mBorder) {
116
mDotX
= mWidth - mBorder;
118
mHSVO[3] = (
mDotX
- mBorder) / (mWidth - mBorder * 2);
124
(int) (
mDotX
- mDotRadius), (int) (mDotY - mDotRadius), (int) (
mDotX
+ mDotRadius)
[
all
...]
ColorHueView.java
54
private float
mDotX
= mBorder;
118
float ox =
mDotX
;
124
mDotX
= x;
126
if (
mDotX
< mBorder) {
127
mDotX
= mBorder;
130
if (
mDotX
> mWidth - mBorder) {
131
mDotX
= mWidth - mBorder;
133
mHSVO[0] = 360 * (
mDotX
- mBorder) / (mWidth - mBorder * 2);
140
// (int) (
mDotX
- mDotRadius), (int) (mDotY - mDotRadius), (int) (
mDotX
+ mDotRadius)
[
all
...]
ColorValueView.java
50
private float
mDotX
;
86
float ox =
mDotX
;
106
invalidate((int) (
mDotX
- dotRadus), (int) (mDotY - dotRadus), (int) (
mDotX
+ dotRadus),
118
RadialGradient g = new RadialGradient(
mDotX
, mDotY, dotRadus, colors3, new float[] {
127
mDotX
= mWidth / 2;
149
canvas.drawLine(
mDotX
, mDotY,
mDotX
, mHeight - mBorder, mLinePaint2);
150
canvas.drawLine(
mDotX
, mBorder,
mDotX
, mDotY, mLinePaint1)
[
all
...]
ColorRectView.java
49
private float
mDotX
= Float.NaN;
95
invalidate((int) (
mDotX
- mDotRadus), (int) (mDotY - mDotRadus), (int) (
mDotX
+ mDotRadus),
102
mDotX
= x;
109
double hue = Math.PI * 2 * (
mDotX
- mBorder) / (mHeight - 2 * mBorder);
114
invalidate((int) (
mDotX
- mDotRadus), (int) (mDotY - mDotRadus), (int) (
mDotX
+ mDotRadus),
173
if (!Float.isNaN(
mDotX
)) {
174
canvas.drawCircle(
mDotX
, mDotY, mDotRadus, mDotPaint);
183
mDotX
= (float) (mBorder + (mHeight - 2 * mBorder) * Math.toRadians(hue) / (Math.PI * 2))
[
all
...]
ColorSVRectView.java
50
private float
mDotX
= Float.NaN;
129
if (!Float.isNaN(
mDotX
)) {
130
canvas.drawCircle(
mDotX
, mDotY, mDotRadus, mDotPaint);
142
invalidate((int) (
mDotX
- mDotRadus), (int) (mDotY - mDotRadus), (int) (
mDotX
+ mDotRadus),
149
mDotX
= x;
156
float value = (
mDotX
- mBorder) / (mHeight - 2 * mBorder);
161
invalidate((int) (
mDotX
- mDotRadus), (int) (mDotY - mDotRadus), (int) (
mDotX
+ mDotRadus),
185
mDotX
= (float) (mBorder + (mHeight - 2 * mBorder) * sat)
[
all
...]
Completed in 1193 milliseconds