/external/replicaisland/tools/ |
D | ExtractPoints.js | 108 edge.centerX = edge.endX - (width / 2); 116 tile.centerX = totalX; 119 var column = Math.floor(tile.centerX / tileSizeX); 125 tile.centerX -= tile.xOffset; 150 edge.centerX -= tile.xOffset; 157 if (Math.abs(edge.centerX - tile.centerX) > 158 Math.abs((edge.centerX + edge.normalX) - tile.centerX)) { 239 var normalX = Math.round(tile.centerX + 245 tileCenterArray[0] = new Array(offsetX + tile.centerX - 1, 247 tileCenterArray[1] = new Array(offsetX + tile.centerX - 1, [all …]
|
/external/perfetto/ui/src/tracks/perf_samples_profile/ |
D | index.ts | 114 const centerX = data.tsStartsNs[i]; constant 116 const isHovered = this.hoveredTs === centerX; 119 selection.leftTs <= centerX && selection.rightTs >= centerX; 123 visibleTimeScale.secondsToPx(fromNs(centerX)), 196 const centerX = timeScale.secondsToPx(fromNs(data.tsStartsNs[left])); constant 197 if (this.isInMarker(x, y, centerX)) { 202 const centerX = timeScale.secondsToPx(fromNs(data.tsStartsNs[right])); constant 203 if (this.isInMarker(x, y, centerX)) { 210 isInMarker(x: number, y: number, centerX: number) { 211 return Math.abs(x - centerX) + Math.abs(y - this.centerY) <=
|
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowMagnificationController.java | 28 private float centerX = DEFAULT_CENTER_X; field in ShadowMagnificationController 45 return centerX; in getCenterX() 75 centerX = DEFAULT_CENTER_X; in reset() 83 protected boolean setCenter(float centerX, float centerY, boolean animate) { in setCenter() argument 84 this.centerX = centerX; in setCenter() 103 realObject, magnificationRegion, scale, centerX, centerY)); in notifyListeners()
|
D | ShadowCanvas.java | 160 public final float centerX; field in ShadowCanvas.CirclePaintHistoryEvent 165 CirclePaintHistoryEvent(float centerX, float centerY, float radius, Paint paint) { in CirclePaintHistoryEvent() argument 166 this.centerX = centerX; in CirclePaintHistoryEvent()
|
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowMagnificationControllerTest.java | 67 float centerX = 55f; in setCenter_notifiesListener() local 72 magnificationController.setCenter(centerX, centerY, /*animate=*/ false); in setCenter_notifiesListener() 76 assertThat(testListener.centerX).isEqualTo(centerX); in setCenter_notifiesListener() 140 assertThat(testListener.centerX).isEqualTo(0.0f); in reset_notifiesListener() 164 private float centerX = -1f; field in ShadowMagnificationControllerTest.TestListener 172 float centerX, in onMagnificationChanged() argument 176 this.centerX = centerX; in onMagnificationChanged()
|
/external/perfetto/ui/src/tracks/heap_profile/ |
D | index.ts | 127 const centerX = data.tsStarts[i]; constant 129 const isHovered = this.hoveredTs === centerX; 132 selection.ts === tpTimeFromSeconds(centerX); 136 timeScale.secondsToPx(fromNs(centerX)), 207 const centerX = timeScale.secondsToPx(fromNs(data.tsStarts[left])); constant 208 if (this.isInMarker(x, y, centerX)) { 213 const centerX = timeScale.secondsToPx(fromNs(data.tsStarts[right])); constant 214 if (this.isInMarker(x, y, centerX)) { 221 isInMarker(x: number, y: number, centerX: number) { 222 return Math.abs(x - centerX) + Math.abs(y - this.centerY) <=
|
/external/perfetto/ui/src/tracks/cpu_profile/ |
D | index.ts | 115 const centerX = data.tsStarts[i]; constant 117 const isHovered = this.hoveredTs === centerX; 119 selection.kind === 'CPU_PROFILE_SAMPLE' && selection.ts === centerX; 123 timeScale.secondsToPx(fromNs(centerX)), 224 const centerX = timeScale.secondsToPx(fromNs(data.tsStarts[left])); constant 225 if (this.isInMarker(x, y, centerX)) { 230 const centerX = timeScale.secondsToPx(fromNs(data.tsStarts[right])); constant 231 if (this.isInMarker(x, y, centerX)) { 238 isInMarker(x: number, y: number, centerX: number) { 239 return Math.abs(x - centerX) + Math.abs(y - this.centerY) <=
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/demos/transformer/src/main/java/com/google/android/exoplayer2/transformerdemo/ |
D | PeriodicVignetteFrameProcessor.java | 44 private float centerX; field in PeriodicVignetteFrameProcessor 73 float centerX, in PeriodicVignetteFrameProcessor() argument 81 this.centerX = centerX; in PeriodicVignetteFrameProcessor() 93 glProgram.setFloatsUniform("uCenter", new float[] {centerX, centerY}); in initialize()
|
D | AdvancedFrameProcessorFactory.java | 70 float centerX = 0.5f * (float) Math.cos(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() 109 final float centerX = deltaX / 2.0f; in intersects() local 113 mWorkspaceVector2.x += centerX; in intersects()
|
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/ |
D | ImageViewState.java | 15 private final float centerX; field in ImageViewState 23 this.centerX = center.x; in ImageViewState() 33 return new PointF(centerX, centerY); in getCenter()
|
/external/skia/gm/ |
D | pictureimagegenerator.cpp | 73 canvas->drawCircle(iBox.centerX(), in draw_vector_logo() 79 path.moveTo(iBox.centerX() - accentSize / 2, iBox.bottom() + kVerticalSpacing * accentSize); in draw_vector_logo() 81 path.lineTo(iBox.centerX(), underlineY); in draw_vector_logo() 84 SkRect underlineRect = SkRect::MakeLTRB(iBox.centerX() - iBox.width() * accentSize * 3, in draw_vector_logo() 86 iBox.centerX(), in draw_vector_logo() 89 SkPoint::Make(iBox.centerX(), 0) }; in draw_vector_logo()
|
D | addarc.cpp | 281 SkScalar centerX = 50; variable 289 path.moveTo(centerX + innerRadius * sk_float_cos(startAngles[i]), 291 path.lineTo(centerX + outerRadius * sk_float_cos(startAngles[i]), 294 html_canvas_arc(&path, centerX, outerRadius, outerRadius, 297 path.lineTo(centerX + innerRadius * sk_float_cos(endAngle), 299 html_canvas_arc(&path, centerX, outerRadius, innerRadius,
|
D | orientation.cpp | 99 drawLabel("top", midX - bounds.centerX(), -bounds.top() + kPad); in make_images() 102 drawLabel("bottom", midX - bounds.centerX(), kImgH - kPad - bounds.bottom()); in make_images() 115 drawLabel(num.c_str(), midX - bounds.centerX(), baseY); in make_images()
|
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()
|
/external/skia/docs/examples/ |
D | Rect_centerX.cpp | 9 SkDebugf("left: %3g right: %3g centerX: %3g\n", rect.left(), rect.right(), rect.centerX()); in draw() 11 SkDebugf("left: %3g right: %3g centerX: %3g\n", rect.left(), rect.right(), rect.centerX()); in draw()
|
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/deqp/external/openglcts/modules/glesext/texture_border_clamp/ |
D | esextcTextureBorderClampSamplingTexture.cpp | 1012 glw::GLuint centerX = m_test_configuration.get_width() / 2; in checkLinear() local 1028 index = y * outRowWidth + centerX * out_components + c; in checkLinear() 1032 << ") when moving from center point (x, y) = (" << centerX << "," << centerY in checkLinear() 1034 << "at point (x, y) = (" << centerX << "," << y in checkLinear() 1047 index = y * outRowWidth + centerX * out_components + c; in checkLinear() 1051 << ") when moving from center point (x, y) = (" << centerX << "," << centerY in checkLinear() 1053 << "at point (x, y) = (" << centerX << "," << y in checkLinear() 1062 for (glw::GLuint x = centerX; x < centerX + stepX; ++x) in checkLinear() 1070 << ") when moving from center point (x, y) = (" << centerX << "," << centerY in checkLinear() 1081 for (glw::GLuint x = centerY; x > centerX - stepX; --x) in checkLinear() [all …]
|
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/ |
D | CameraConnectionFragment.java | 581 final float centerX = viewRect.centerX(); 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/tools/viewer/ |
D | ArcSlide.cpp | 79 canvas->drawLine(r.centerX(), r.fTop, r.centerX(), r.fBottom, p); in DrawRectWithLines() 88 SkTextUtils::DrawString(canvas, str.c_str(), rect.centerX(), in DrawLabel()
|
D | FilterBoundsSlide.cpp | 111 SkPoint pts[] = {{key.centerX(), key.fTop}, {key.centerX(), key.fBottom}}; in draw_scale_key() 126 testPoints[0] = {rect.centerX(), rect.centerY()}; in draw_scale_factors() 196 skif::ParameterSpace<SkPoint> contentCenter({localContentRect.centerX(), in draw()
|
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/image/ |
D | BoundingBoxUtil.java | 211 float centerX = values[0]; in convertFromCenter() local 216 float left = centerX - w / 2; in convertFromCenter() 218 float right = centerX + w / 2; in convertFromCenter()
|