/external/replicaisland/tools/ |
D | ExtractPoints.js | 109 edge.centerY = edge.endY - (height / 2); 117 tile.centerY = totalY; 120 var row = Math.floor(tile.centerY / tileSizeY); 126 tile.centerY -= tile.yOffset; 151 edge.centerY -= tile.yOffset; 163 if (Math.abs(edge.centerY - tile.centerY) > 164 Math.abs((edge.centerY + edge.normalY) - tile.centerY)) { 174 edge.centerY = tileSizeY - edge.centerY; 241 var normalY = Math.round(tile.centerY + 246 offsetY + tile.centerY - 1); [all …]
|
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowMagnificationController.java | 29 private float centerY = DEFAULT_CENTER_Y; field in ShadowMagnificationController 50 return centerY; in getCenterY() 76 centerY = DEFAULT_CENTER_Y; in reset() 83 protected boolean setCenter(float centerX, float centerY, boolean animate) { in setCenter() argument 85 this.centerY = centerY; in setCenter() 103 realObject, magnificationRegion, scale, centerX, centerY)); in notifyListeners()
|
D | ShadowCanvas.java | 161 public final float centerY; field in ShadowCanvas.CirclePaintHistoryEvent 165 CirclePaintHistoryEvent(float centerX, float centerY, float radius, Paint paint) { in CirclePaintHistoryEvent() argument 167 this.centerY = centerY; in CirclePaintHistoryEvent()
|
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowMagnificationControllerTest.java | 68 float centerY = 22.5f; in setCenter_notifiesListener() local 72 magnificationController.setCenter(centerX, centerY, /*animate=*/ false); in setCenter_notifiesListener() 77 assertThat(testListener.centerY).isEqualTo(centerY); in setCenter_notifiesListener() 141 assertThat(testListener.centerY).isEqualTo(0.0f); in reset_notifiesListener() 165 private float centerY = -1f; field in ShadowMagnificationControllerTest.TestListener 173 float centerY) { in onMagnificationChanged() argument 177 this.centerY = centerY; in onMagnificationChanged()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/demos/transformer/src/main/java/com/google/android/exoplayer2/transformerdemo/ |
D | PeriodicVignetteFrameProcessor.java | 45 private float centerY; field in PeriodicVignetteFrameProcessor 74 float centerY, in PeriodicVignetteFrameProcessor() argument 82 this.centerY = centerY; in PeriodicVignetteFrameProcessor() 93 glProgram.setFloatsUniform("uCenter", new float[] {centerX, centerY}); in initialize()
|
D | AdvancedFrameProcessorFactory.java | 71 float centerY = 0.5f * (float) Math.sin(theta); in calculateDizzyCropMatrix() local 73 transformationMatrix.postTranslate(/* dx= */ centerX, /* dy= */ centerY); in calculateDizzyCropMatrix()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | SphereCollisionVolume.java | 27 public SphereCollisionVolume(float radius, float centerX, float centerY) { in SphereCollisionVolume() argument 30 mCenter = new Vector2(centerX, centerY); in SphereCollisionVolume() 35 public SphereCollisionVolume(float radius, float centerX, float centerY, int hit) { in SphereCollisionVolume() argument 38 mCenter = new Vector2(centerX, centerY); in SphereCollisionVolume() 110 final float centerY = deltaY / 2.0f; in intersects() local 114 mWorkspaceVector2.y += centerY; in intersects()
|
D | OrbitalMagnetComponent.java | 67 private void applyMagnetism(GameObject target, float centerX, float centerY, float timeDelta) { in applyMagnetism() argument 68 mCenter.set(centerX, centerY); in applyMagnetism()
|
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/ |
D | ImageViewState.java | 17 private final float centerY; field in ImageViewState 24 this.centerY = center.y; in ImageViewState() 33 return new PointF(centerX, centerY); in getCenter()
|
/external/deqp/external/openglcts/modules/glesext/texture_border_clamp/ |
D | esextcTextureBorderClampSamplingTexture.cpp | 1013 glw::GLuint centerY = m_test_configuration.get_height() / 2; in checkLinear() local 1024 for (glw::GLuint y = centerY; y < centerY + stepY; ++y) in checkLinear() 1032 << ") when moving from center point (x, y) = (" << centerX << "," << centerY in checkLinear() 1043 for (glw::GLuint y = centerY; y > centerY - stepY; --y) in checkLinear() 1051 << ") when moving from center point (x, y) = (" << centerX << "," << centerY in checkLinear() 1066 index = centerY + x * out_components + c; in checkLinear() 1070 << ") when moving from center point (x, y) = (" << centerX << "," << centerY in checkLinear() 1072 << "at point (x, y) = (" << x << "," << centerY in checkLinear() 1081 for (glw::GLuint x = centerY; x > centerX - stepX; --x) in checkLinear() 1085 index = centerY + x * out_components + c; in checkLinear() [all …]
|
/external/skia/docs/examples/ |
D | Matrix_setRotate_2.cpp | 15 canvas->translate(rect.centerX(), rect.centerY()); in draw() 17 canvas->translate(-rect.centerX(), -rect.centerY()); in draw()
|
D | Matrix_setSinCos_2.cpp | 15 matrix.postTranslate(rect.centerX(), rect.centerY()); in draw() 17 canvas->translate(-rect.centerX(), -rect.centerY()); in draw()
|
D | Matrix_setRSXform.cpp | 14 matrix.setRSXform(SkRSXform::Make(.85f, .25f, rect.centerX(), rect.centerY())); in draw() 16 canvas->translate(-rect.centerX(), -rect.centerY()); in draw()
|
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/ |
D | CameraConnectionFragment.java | 582 final float centerY = viewRect.centerY(); in configureTransform() local 584 bufferRect.offset(centerX - bufferRect.centerX(), centerY - bufferRect.centerY()); in configureTransform() 590 matrix.postScale(scale, scale, centerX, centerY); in configureTransform() 591 matrix.postRotate(90 * (rotation - 2), centerX, centerY); in configureTransform() 593 matrix.postRotate(180, centerX, centerY); in configureTransform()
|
/external/skia/modules/sksg/slides/ |
D | SVGPongSlide.cpp | 92 SkPoint::Make(kBounds.centerX(), kBounds.centerY()), in load() 97 fieldBounds.centerY()), in load() 101 fieldBounds.centerY()), in load() 236 SkPoint shadowOffset = pos - SkPoint::Make(kBounds.centerX(), kBounds.centerY()); in updateDom() 282 pitcher->spd.fY = (kBounds.centerY() - pitcher->pos.fY) / t; in updatePaddleStrategy()
|
/external/skia/gm/ |
D | addarc.cpp | 282 SkScalar centerY = outerRadius; variable 290 centerY + innerRadius * sk_float_sin(startAngles[i])); 292 centerY + outerRadius * sk_float_sin(startAngles[i])); 298 centerY + innerRadius * sk_float_sin(endAngle));
|
D | localmatrixshader.cpp | 192 auto g1 = SkGradientShader::MakeRadial({imgRect.centerX(), imgRect.centerY()}, 198 auto g2 = SkGradientShader::MakeRadial({imgRect.centerX(), imgRect.centerY()}, 205 auto g3 = SkGradientShader::MakeRadial({imgRect.centerX(), imgRect.centerY()}, 211 auto g4 = SkGradientShader::MakeRadial({imgRect.centerX(), imgRect.centerY()},
|
D | filltypes.cpp | 55 canvas->translate(r.centerX(), r.centerY()); in showPath() 57 canvas->translate(-r.centerX(), -r.centerY()); in showPath()
|
D | croppedrects.cpp | 97 {kSrcImageClip.fLeft - kSrcImageClip.width(), kSrcImageClip.centerY()}, in onDraw() 98 {kSrcImageClip.fRight + 3 * kSrcImageClip.width(), kSrcImageClip.centerY()}); in onDraw()
|
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/image/ |
D | BoundingBoxUtil.java | 212 float centerY = values[1]; in convertFromCenter() local 217 float top = centerY - h / 2; in convertFromCenter() 219 float bottom = centerY + h / 2; in convertFromCenter()
|
/external/perfetto/ui/src/tracks/perf_samples_profile/ |
D | index.ts | 93 private centerY = this.getHeight() / 2; property in PerfSamplesProfileTrack 124 this.centerY, 211 return Math.abs(x - centerX) + Math.abs(y - this.centerY) <=
|
/external/perfetto/ui/src/tracks/heap_profile/ |
D | index.ts | 106 private centerY = this.getHeight() / 2; property in HeapProfileTrack 137 this.centerY, 222 return Math.abs(x - centerX) + Math.abs(y - this.centerY) <=
|
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/ |
D | Camera2BasicFragment.java | 791 float centerY = viewRect.centerY(); in configureTransform() local 793 bufferRect.offset(centerX - bufferRect.centerX(), centerY - bufferRect.centerY()); in configureTransform() 799 matrix.postScale(scale, scale, centerX, centerY); in configureTransform() 800 matrix.postRotate(90 * (rotation - 2), centerX, centerY); in configureTransform() 802 matrix.postRotate(180, centerX, centerY); in configureTransform()
|
/external/perfetto/ui/src/tracks/cpu_profile/ |
D | index.ts | 94 private centerY = this.getHeight() / 2 + BAR_HEIGHT; property in CpuProfileTrack 124 this.centerY, 239 return Math.abs(x - centerX) + Math.abs(y - this.centerY) <=
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
D | LineAndPointRenderer.java | 54 float centerY = rect.centerY(); in doDrawLegendIcon() local 65 canvas.drawPoint(centerX, centerY, formatter.getVertexPaint()); in doDrawLegendIcon()
|