Home
last modified time | relevance | path

Searched refs:width (Results 1 – 25 of 31) sorted by relevance

12

/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/tracks/
DSliceTrack.kt44 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()
DSchedTrack.kt40 …e fun drawLabel(slice: SchedSlice, g: Graphics, metrics: FontMetrics, x: Int, y: Int, width: Int) { in drawLabel()
/tools/test/connectivity/tools/
Dread_acts_results.py107 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/
Dutils_test.py55 def __init__(self, width=None, height=None): argument
56 self.width = width
67 return self.width
288 mock_tk.return_value = FakeTkinter(height=800, width=1200)
294 mock_tk.return_value = FakeTkinter(height=800, width=1200)
300 mock_tk.return_value = FakeTkinter(height=1080, width=1920)
307 mock_tk.return_value = FakeTkinter(height=1200, width=800)
/tools/dexter/slicer/
Ddex_bytecode.cc105 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/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/
DTimelineView.kt67 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()
DRowLabel.kt30 dimen.width = LayoutConstants.RowLabelWidth in getPreferredSize()
DTraceViewerWindow.kt103 frame.size.width - LayoutConstants.RowLabelWidth) in <lambda>()
/tools/security/fuzzing/orphans/libskia/
Dlibskia_image_processor_fuzzer.cpp53 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/
DPerformanceTestTest.java37 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/
DAtestToolWindow.java134 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/graphicsbenchmark/apps/sample_app/src/cpp/
Drenderer.cpp130 egl.width = w; in initDisplay()
216 float ratio = float(egl.width) / egl.height; in draw()
Drenderer.h37 int32_t width; member
Dvecmath.cpp319 Mat4 Mat4::Perspective(float width, float height, float nearPlane, in Perspective() argument
325 result.f_[0] = n2 / width; in Perspective()
Dvecmath.h777 static Mat4 Perspective(float width, float height, float nearPlane,
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/
Dwifi_performance_test_utils.py193 width=1100, argument
208 'width': width,
245 width=3, argument
282 'width': width,
/tools/test/graphicsbenchmark/functional_tests/java/src/com/android/game/qualification/tests/
DChoreoTestActivity.java57 … public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {} in ChoreoTestView()
DSurfaceFlingerTestActivity.java82 … public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { in TestView()
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiRoamingPerformanceTest.py393 width=1)
431 width=1)
DWifiRvrTest.py811 width=1,
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/power/
Dplot_utils.py77 width=1300,
DPowerGnssBaseTest.py101 source=s2, columns=columns, width=1300, height=60, editable=True)
/tools/repohooks/tools/
Dcpplint.py4291 width = 0
4294 width += 2
4304 width -= 1
4306 width += 1
4307 return width
/tools/apkzlib/src/test/resources/testData/packaging/text-files/
Drfc2460.txt364 natural boundaries, i.e., fields of width n octets are placed at an
1752 boundaries, i.e., fields of width n octets should be placed at
/tools/dexter/testdata/expected/
Dmedium.asm21470 27| iput v1, v0, android.widget.RelativeLayout$LayoutParams.width
40963 11| invoke-virtual/range {v18..v18}, android.graphics.Rect.width():int
41034 123| invoke-virtual/range {v18..v18}, android.graphics.Rect.width():int
41038 129| invoke-virtual/range {v18..v18}, android.graphics.Rect.width():int
54764 28| iput v3, v0, android.view.WindowManager$LayoutParams.width
155748 .local v22, "width", int
156008 .local v12, "width", int
156258 28| const-string/jumbo v2, "Max width is negative: "
163093 .params "width"
163147 .params "width"
[all …]

12