/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/tracks/ |
D | SliceTrack.kt | 44 var width: Int in paintComponent() variable 53 width = maxOf(scaledWidth.toInt(), 1) in paintComponent() 54 if (x + width > 0 && x < this.width) { in paintComponent() 61 g.fillRect(x, y, width, height) in paintComponent() 64 drawLabel(it, g, metrics, x, ty, width) in paintComponent() 70 open fun drawLabel(slice: T, g: Graphics, metrics: FontMetrics, x: Int, y: Int, width: Int) { in drawLabel() 73 while (strLimit < slice.name.length && strWidth <= width) { in drawLabel() 77 if (strWidth > width) strLimit-- in drawLabel()
|
D | SchedTrack.kt | 40 …e fun drawLabel(slice: SchedSlice, g: Graphics, metrics: FontMetrics, x: Int, y: Int, width: Int) { in drawLabel()
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | AudioLoopbackImageAnalyzer.java | 91 final int width = img.getWidth(); in analyzeImage() local 94 CLog.i("image width=" + width + ", height=" + height); in analyzeImage() 105 if (width >= TABLET_SCREEN_MIN_WIDTH && height >= TABLET_SCREEN_MIN_HEIGHT) { in analyzeImage() 111 horizontalStart = Math.round(1.7f * SECTION_WIDTH_IN_PERCENT * width / 100.0f); in analyzeImage() 130 final int[] horizontal = new int[width]; in analyzeImage() 132 projectPixelsToXAxis(img, targetColors, horizontal, width, height); in analyzeImage() 135 if (!boundsWithinRange(durationBounds, 0, width)) { in analyzeImage() 158 final float duration = (durationRight - durationLeft) * 100.0f / width; in analyzeImage() 390 final int width, in projectPixelsToXAxis() argument 395 for (int x = 0; x < width; x++) { in projectPixelsToXAxis()
|
/tools/test/connectivity/tools/ |
D | read_acts_results.py | 107 print(' '.join((val.ljust(width) for val, width in zip(row, 120 print(' '.join((val.ljust(width) for val, width in zip(row, 126 print(' '.join((val.ljust(width) for val, width in zip(row, 132 print(' '.join((val.ljust(width) 133 for val, width in zip(row, widths))))
|
/tools/acloud/internal/lib/ |
D | utils_test.py | 47 def __init__(self, width=None, height=None): argument 48 self.width = width 59 return self.width 280 mock_tk.return_value = FakeTkinter(height=800, width=1200) 286 mock_tk.return_value = FakeTkinter(height=800, width=1200) 292 mock_tk.return_value = FakeTkinter(height=1080, width=1920) 299 mock_tk.return_value = FakeTkinter(height=1200, width=800)
|
/tools/dexter/slicer/ |
D | dex_bytecode.cc | 105 size_t width = 0; in GetWidthFromBytecode() local 107 width = 4 + bytecode[1] * 2; in GetWidthFromBytecode() 109 width = 2 + bytecode[1] * 4; in GetWidthFromBytecode() 114 width = 4 + (elemWidth * len + 1) / 2; in GetWidthFromBytecode() 116 width = GetWidthFromFormat( in GetWidthFromBytecode() 119 return width; in GetWidthFromBytecode()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | TableBuilder.java | 100 int width = mRowLength - 2 - mPadding * 2; // Deduct boundaries in build() local 106 if (text.length() > width) { in build() 107 mBuilder.append(text.substring(0, width)); in build() 108 text = text.substring(width); in build() 111 addPadding(width - text.length()); in build()
|
/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/ |
D | TimelineView.kt | 67 lastMousePosition.setLocation(width / 2, 0) 77 renderState.pan((width * -.3).toInt()) in <lambda>() 80 renderState.pan((width * .3).toInt()) in <lambda>() 96 return maxOf(0, minOf(this.width, lastMousePosition.x - LayoutConstants.RowLabelWidth)) in isFocusable()
|
D | RowLabel.kt | 30 dimen.width = LayoutConstants.RowLabelWidth in getPreferredSize()
|
D | TraceViewerWindow.kt | 103 frame.size.width - LayoutConstants.RowLabelWidth) in <lambda>()
|
/tools/security/fuzzing/orphans/libskia/ |
D | libskia_image_processor_fuzzer.cpp | 53 const int width = info.width(); in getAndroidPixels() local 60 SkImageInfo::Make(width, height, decodeColorType, alphaType); in getAndroidPixels()
|
/tools/test/graphicsbenchmark/performance_tests/hostside/test/com/android/game/qualification/test/ |
D | PerformanceTestTest.java | 37 int width = 10; in createImage() local 39 BufferedImage img = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB); in createImage() 40 for (int i = 0; i < width; i++) { in createImage()
|
/tools/asuite/asuite_plugin/src/java/com/android/atest/toolWindow/ |
D | AtestToolWindow.java | 134 int width = toolWindowEx.getComponent().getWidth(); in setInitialWidth() local 135 if (width < INITIAL_WIDTH) { in setInitialWidth() 136 toolWindowEx.stretchWidth(INITIAL_WIDTH - width); in setInitialWidth()
|
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/ |
D | wifi_performance_test_utils.py | 266 width=1100, argument 281 'width': width, 318 width=3, argument 355 'width': width,
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | TestDeviceTest.java | 4190 sRawImage.width = 1080; in prepareRawImage() 4209 testImage.width = 25; in testCompressScreenshot() 4256 testImage.width = 25; in testRawImageToBufferedImage() 4260 assertEquals(testImage.width, bufferedImage.getWidth()); in testRawImageToBufferedImage() 4266 assertEquals(testImage.width, bufferedImage.getWidth()); in testRawImageToBufferedImage() 4313 assertEquals(testImage[0].width, image.getWidth()); in testCompressScreenshotNoRescale()
|
/tools/test/graphicsbenchmark/apps/sample_app/src/cpp/ |
D | renderer.cpp | 129 egl.width = w; in initDisplay() 215 float ratio = float(egl.width) / egl.height; in draw()
|
D | vecmath.cpp | 319 Mat4 Mat4::Perspective(float width, float height, float nearPlane, in Perspective() argument 325 result.f_[0] = n2 / width; in Perspective()
|
D | renderer.h | 37 int32_t width; member
|
/tools/repohooks/tools/ |
D | cpplint.py | 4291 width = 0 4294 width += 2 4304 width -= 1 4306 width += 1 4307 return width
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | TestDevice.java | 721 rawImage.width, rawImage.height, BufferedImage.TYPE_3BYTE_BGR); in rawImageToBufferedImage() 724 image = new BufferedImage(rawImage.width, rawImage.height, BufferedImage.TYPE_INT_ARGB); in rawImageToBufferedImage() 731 for (int x = 0 ; x < rawImage.width ; x++) { in rawImageToBufferedImage()
|
/tools/test/connectivity/acts/tests/google/wifi/ |
D | WifiRoamingPerformanceTest.py | 388 width=1) 423 width=1)
|
/tools/test/graphicsbenchmark/functional_tests/java/src/com/android/game/qualification/tests/ |
D | ChoreoTestActivity.java | 57 … public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {} in ChoreoTestView()
|
D | SurfaceFlingerTestActivity.java | 82 … public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in TestView()
|
/tools/test/connectivity/acts/framework/acts/test_utils/power/ |
D | PowerGnssBaseTest.py | 113 source=s2, columns=columns, width=1300, height=60, editable=True)
|
D | plot_utils.py | 96 width=1300,
|