Home
last modified time | relevance | path

Searched refs:viewWidth (Results 1 – 25 of 361) sorted by relevance

12345678910>>...15

/dports/games/trackballs/trackballs-1.3.3/src/
H A DmenuMode.cc236 viewWidth = slideWidth; in drawSlide()
237 viewHeight = viewWidth / screenAspect; in drawSlide()
240 viewWidth = viewHeight * screenAspect; in drawSlide()
249 viewOffsetX = (slideWidth - viewWidth) / 2.0; in drawSlide()
255 viewWidth *= 0.8; in drawSlide()
258 viewOffsetX = (slideWidth - viewWidth) * 0.5; in drawSlide()
261 viewOffsetX = time * (slideWidth - viewWidth); in drawSlide()
267 viewWidth *= 0.5; in drawSlide()
268 viewOffsetX = (slideWidth - viewWidth) * time; in drawSlide()
273 viewWidth *= 1.0 - 0.5 * time; in drawSlide()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/feed/core/javatests/src/org/chromium/chrome/browser/feed/library/piet/ui/
H A DRoundedCornerWrapperViewTest.java131 int viewWidth = 100; in getRadius_usesOverride() local
150 int viewWidth = 100; in getRadius_radiusDp() local
165 int viewWidth = 60; in getRadius_radiusPercentageOfHeight() local
183 int viewWidth = 60; in getRadius_radiusPercentageOfWidth() local
200 int viewWidth = 30; in getRadius_smallWidth_RadiusDpShouldAdjust() local
217 int viewWidth = 30; in getRadius_smallWidth_RadiusDpShouldNotAdjust() local
236 int viewWidth = 40; in getRadius_smallHeight_RadiusDpShouldAdjust() local
253 int viewWidth = 40; in getRadius_smallHeight_RadiusDpShouldNotAdjust() local
272 int viewWidth = 60; in getRadius_radiusPercentageOfHeight_100Percent_shouldAdjust() local
290 int viewWidth = 60; in getRadius_radiusPercentageOfHeight_100Percent_topCorners_shouldAdjust() local
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/src/tests/test_utils/
H A DMultiviewTest.cpp63 int viewWidth, in CreateMultiviewBackingTextures() argument
72 textureData.resize(viewWidth * height * numLayers * 4, 0u); in CreateMultiviewBackingTextures()
87 glTexStorage3DMultisampleOES(texTarget, samples, GL_RGBA8, viewWidth, height, numLayers, in CreateMultiviewBackingTextures()
102 glTexImage3D(texTarget, 0, GL_RGBA8, viewWidth, height, numLayers, 0, GL_RGBA, in CreateMultiviewBackingTextures()
114 glTexStorage3DMultisampleOES(texTarget, samples, GL_DEPTH_COMPONENT32F, viewWidth, in CreateMultiviewBackingTextures()
129 glTexImage3D(texTarget, 0, GL_DEPTH_COMPONENT32F, viewWidth, height, numLayers, 0, in CreateMultiviewBackingTextures()
154 glTexImage3D(texTarget, 0, GL_DEPTH24_STENCIL8, viewWidth, height, numLayers, 0, in CreateMultiviewBackingTextures()
165 int viewWidth, in CreateMultiviewBackingTextures() argument
174 CreateMultiviewBackingTextures(samples, viewWidth, height, numLayers, colorTextures, in CreateMultiviewBackingTextures()
179 int viewWidth, in AttachMultiviewTextures() argument
[all …]
H A DMultiviewTest.h32 int viewWidth,
39 int viewWidth,
49 int viewWidth,
56 int viewWidth,
/dports/editors/libreoffice/libreoffice-7.2.6.2/android/source/src/java/org/mozilla/gecko/gfx/
H A DScrollbarLayer.java234 float viewWidth = context.viewport.width(); in draw() local
243 rect.left/viewWidth, bot/viewHeight, 0, in draw()
246 rect.left/viewWidth, (bot+rect.height())/viewHeight, 0, in draw()
249 (rect.left+rect.width())/viewWidth, bot/viewHeight, 0, in draw()
288 rect.left/viewWidth, top/viewHeight, 0, in draw()
291 rect.left/viewWidth, (top+CAP_RADIUS)/viewHeight, 0, in draw()
294 (rect.left+BAR_SIZE)/viewWidth, top/viewHeight, 0, in draw()
323 rect.left/viewWidth, (bot-CAP_RADIUS)/viewHeight, 0, in draw()
326 rect.left/viewWidth, (bot)/viewHeight, 0, in draw()
390 rect.right/viewWidth, (bot)/viewHeight, 0, in draw()
[all …]
H A DLayer.java162 …protected final void fillRectCoordBuffer(float[] dest, RectF rect, float viewWidth, float viewHeig… in fillRectCoordBuffer() argument
165 dest[0] = rect.left / viewWidth; in fillRectCoordBuffer()
171 dest[5] = rect.left / viewWidth; in fillRectCoordBuffer()
177 dest[10] = rect.right / viewWidth; in fillRectCoordBuffer()
183 dest[15] = rect.right / viewWidth; in fillRectCoordBuffer()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/android/source/src/java/org/mozilla/gecko/gfx/
H A DScrollbarLayer.java234 float viewWidth = context.viewport.width(); in draw() local
243 rect.left/viewWidth, bot/viewHeight, 0, in draw()
246 rect.left/viewWidth, (bot+rect.height())/viewHeight, 0, in draw()
249 (rect.left+rect.width())/viewWidth, bot/viewHeight, 0, in draw()
288 rect.left/viewWidth, top/viewHeight, 0, in draw()
291 rect.left/viewWidth, (top+CAP_RADIUS)/viewHeight, 0, in draw()
294 (rect.left+BAR_SIZE)/viewWidth, top/viewHeight, 0, in draw()
323 rect.left/viewWidth, (bot-CAP_RADIUS)/viewHeight, 0, in draw()
326 rect.left/viewWidth, (bot)/viewHeight, 0, in draw()
390 rect.right/viewWidth, (bot)/viewHeight, 0, in draw()
[all …]
H A DLayer.java162 …protected final void fillRectCoordBuffer(float[] dest, RectF rect, float viewWidth, float viewHeig… in fillRectCoordBuffer() argument
165 dest[0] = rect.left / viewWidth; in fillRectCoordBuffer()
171 dest[5] = rect.left / viewWidth; in fillRectCoordBuffer()
177 dest[10] = rect.right / viewWidth; in fillRectCoordBuffer()
183 dest[15] = rect.right / viewWidth; in fillRectCoordBuffer()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/src/tests/perf_tests/
H A DMultiviewPerf.cpp290 glViewport(viewWidth * i, 0, viewWidth, viewHeight); in drawBenchmark()
291 glScissor(viewWidth * i, 0, viewWidth, viewHeight); in drawBenchmark()
297 glViewport(0, 0, viewWidth, viewHeight); in drawBenchmark()
298 glScissor(0, 0, viewWidth, viewHeight); in drawBenchmark()
344 const float quadWidth = 2.f / viewWidth; in initializeBenchmark()
380 for (int w = 0; w < viewWidth; ++w) in renderScene()
384 const float wf = static_cast<float>(w) / viewWidth; in renderScene()
457 const int kNumQuads = viewWidth * viewHeight; in initializeBenchmark()
462 for (int w = 0; w < viewWidth; ++w) in initializeBenchmark()
464 float wf = static_cast<float>(w) / viewWidth; in initializeBenchmark()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/mobile/android/base/java/org/mozilla/gecko/widget/
H A DCropImageView.java27 private int viewWidth; field in CropImageView
73 viewWidth = getMeasuredWidth(); in onMeasure()
74 viewHeight = (int) (viewWidth * getAspectRatio()); in onMeasure()
76 setMeasuredDimension(viewWidth, viewHeight); in onMeasure()
88 getDrawable().setBounds(0, 0, viewWidth, viewHeight); in updateImageMatrix()
90 final float horizontalScaleValue = (float) viewWidth / (float) drawableWidth; in updateImageMatrix()
/dports/lang/spidermonkey60/firefox-60.9.0/mobile/android/base/java/org/mozilla/gecko/widget/
H A DCropImageView.java27 private int viewWidth; field in CropImageView
73 viewWidth = getMeasuredWidth(); in onMeasure()
74 viewHeight = (int) (viewWidth * getAspectRatio()); in onMeasure()
76 setMeasuredDimension(viewWidth, viewHeight); in onMeasure()
88 getDrawable().setBounds(0, 0, viewWidth, viewHeight); in updateImageMatrix()
90 final float horizontalScaleValue = (float) viewWidth / (float) drawableWidth; in updateImageMatrix()
/dports/comms/cubicsdr/CubicSDR-0248e5a/src/panel/
H A DSpectrumPanel.cpp167 float viewWidth = (float) vp[2]; in drawPanelContents() local
184 if (mhzStep * 0.5 * viewWidth < 40 * fontScale) { in drawPanelContents()
188 if (mhzStep * 0.5 * viewWidth < 40 * fontScale) { in drawPanelContents()
193 if (mhzStep * 0.5 * viewWidth < 40 * fontScale) { in drawPanelContents()
198 if (mhzStep * 0.5 * viewWidth < 40 * fontScale) { in drawPanelContents()
203 if (mhzStep * 0.5 * viewWidth < 40 * fontScale) { in drawPanelContents()
208 if (mhzStep * 0.5 * viewWidth < 40 * fontScale) { in drawPanelContents()
213 if (mhzStep * 0.5 * viewWidth < 40 * fontScale) { in drawPanelContents()
217 } else if (mhzStep * 0.5 * viewWidth > 350 * fontScale) { in drawPanelContents()
282 float dbPanelWidth = (1.0 / viewWidth)*88.0 * GLFont::getScaleFactor(); in drawPanelContents()
/dports/games/granatier/granatier-21.12.3/src/
H A Delementitem.cpp70 int viewWidth = viewBottomRight.x() - viewTopLeft.x(); in updateGraphicsInternal() local
79 if((viewCellWidth - viewWidth) % 2 != 0) in updateGraphicsInternal()
81 viewWidth--; in updateGraphicsInternal()
90 QPointF sceneBottomRight = scene()->views().first()->mapToScene(viewWidth, viewHeight); in updateGraphicsInternal()
97 setRenderSize(QSize(viewWidth, viewHeight)); in updateGraphicsInternal()
H A Dbombexplosionitem.cpp145 int viewWidth = viewBottomRight.x() - viewTopLeft.x(); in updateGraphics() local
154 if((viewCellWidth - viewWidth) % 2 != 0) in updateGraphics()
156 viewWidth--; in updateGraphics()
165 QPointF sceneBottomRight = scene()->views().first()->mapToScene(viewWidth, viewHeight); in updateGraphics()
172 setRenderSize(QSize(viewWidth, viewHeight)); in updateGraphics()
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/ios/
H A Diosinst.cxx32 static int viewWidth = 1, viewHeight = 1; variable
48 Size( viewWidth, viewHeight ) ); in GetWorkArea()
92 if (pParent == NULL && viewWidth > 1 && viewHeight > 1) in IosSalFrame()
93 … SetPosSize(0, 0, viewWidth, viewHeight, SAL_FRAME_POSSIZE_WIDTH | SAL_FRAME_POSSIZE_HEIGHT); in IosSalFrame()
103 SetPosSize( 0, 0, viewWidth, viewHeight, in ShowFullScreen()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/ios/
H A Diosinst.cxx32 static int viewWidth = 1, viewHeight = 1; variable
48 Size( viewWidth, viewHeight ) ); in GetWorkArea()
92 if (pParent == NULL && viewWidth > 1 && viewHeight > 1) in IosSalFrame()
93 … SetPosSize(0, 0, viewWidth, viewHeight, SAL_FRAME_POSSIZE_WIDTH | SAL_FRAME_POSSIZE_HEIGHT); in IosSalFrame()
103 SetPosSize( 0, 0, viewWidth, viewHeight, in ShowFullScreen()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/android/java/src/org/chromium/ui/resources/dynamics/
H A DViewResourceAdapter.java186 int viewWidth = (int) (mView.getWidth() * mScale); in validateBitmap() local
188 boolean isEmpty = viewWidth == 0 || viewHeight == 0; in validateBitmap()
190 viewWidth = 1; in validateBitmap()
194 && (mBitmap.getWidth() != viewWidth || mBitmap.getHeight() != viewHeight)) { in validateBitmap()
200 mBitmap = Bitmap.createBitmap(viewWidth, viewHeight, Bitmap.Config.ARGB_8888); in validateBitmap()
/dports/net-mgmt/promscale/promscale-0.6.2/vendor/github.com/thanos-io/thanos/pkg/ui/react-app/src/thanos/pages/blocks/
H A DBlockSpan.tsx13 const viewWidth = gridMaxTime - gridMinTime;
14 const spanWidth = ((block.maxTime - block.minTime) / viewWidth) * 100;
15 const spanOffset = ((block.minTime - gridMinTime) / viewWidth) * 100;
/dports/security/keybase/client-v5.7.1/shared/common-adapters/
H A Dzoomable-image.native.tsx31 viewWidth: number
39 viewWidth: 0,
174 const ratioX = this.state.viewWidth / imageWidth
186 const offsetX = (this.state.viewWidth - this.state.imageWidth) / 2
202 this.state.viewWidth &&
215 // comes in before onLayout gets the view sizes (viewHeight and viewWidth).
219 this.setState({viewHeight: height, viewWidth: width}, this.getImageSize)
242 if (this.state.viewWidth) {
244 this.maxPanX = this.state.viewWidth - padding
288 width: this.state.viewWidth,
[all …]
/dports/biology/ugene/ugene-40.1/src/corelibs/U2View/src/ov_sequence/
H A DADVGraphModel.cpp306 int x = qBound(2, labels[0]->getCoord().x() - groupWidth / 2, viewWidth - (groupWidth + 2)); in adjustMovingLabelGroupPositions()
405 SAFE_POINT(viewWidth > 0, "Illegal view width", ); in calculatePoints()
437 double dataPointsPerPixel = dataPointsPerViewRange / viewWidth; in calculatePoints()
439 expandDataPointsToView(graph, viewWidth); in calculatePoints()
441 packDataPointsIntoView(graph, viewWidth); in calculatePoints()
506 double dataPointsPerPixel = dataPointsPerViewRange / viewWidth; in packDataPointsIntoView()
510 for (int x = 0; x < viewWidth; x++) { in packDataPointsIntoView()
536 graph->viewPoints = QVector<float>(viewWidth, UNDEFINED_GRAPH_VALUE); in expandDataPointsToView()
549 double posToXScale = (double)viewWidth / visibleRange.length; in expandDataPointsToView()
560 if (d.x >= 0 && d.x < viewWidth) { in expandDataPointsToView()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/angle/samples/multiview/
H A DMultiview.cpp79 int viewWidth = getWindow()->getWidth() / 2; in initialize() local
85 glTexImage3D(GL_TEXTURE_2D_ARRAY, 0, GL_RGBA8, viewWidth, viewHeight, 2, 0, GL_RGBA, in initialize()
92 glTexImage3D(GL_TEXTURE_2D_ARRAY, 0, GL_DEPTH_COMPONENT32F, viewWidth, viewHeight, 2, 0, in initialize()
260 const int viewWidth = getWindow()->getWidth() / 2; in draw() local
267 const float kAspectRatio = static_cast<float>(viewWidth) / viewHeight; in draw()
304 glViewport(0, 0, viewWidth, viewHeight); in draw()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/samples/multiview/
H A DMultiview.cpp79 int viewWidth = getWindow()->getWidth() / 2; in initialize() local
85 glTexImage3D(GL_TEXTURE_2D_ARRAY, 0, GL_RGBA8, viewWidth, viewHeight, 2, 0, GL_RGBA, in initialize()
92 glTexImage3D(GL_TEXTURE_2D_ARRAY, 0, GL_DEPTH_COMPONENT32F, viewWidth, viewHeight, 2, 0, in initialize()
260 const int viewWidth = getWindow()->getWidth() / 2; in draw() local
267 const float kAspectRatio = static_cast<float>(viewWidth) / viewHeight; in draw()
304 glViewport(0, 0, viewWidth, viewHeight); in draw()
/dports/math/minizinc-ide/MiniZincIDE-2.5.5/cp-profiler/src/cpprofiler/analysis/merging/
H A Dpentagon_rect.cpp15 : QGraphicsRectItem(pent_config::PADDING, y, listw.viewWidth() - 1, pent_config::HEIGHT), in PentagonRect()
21 const int PENT_WIDTH = listw.viewWidth() - 1; in PentagonRect()
32 const int cx = PADDING + listw.viewWidth() / 2; in PentagonRect()
/dports/devel/flex-sdk/flex-sdk-4.6.0.23201/frameworks/projects/spark/src/spark/primitives/
H A DGraphic.as89 * viewWidth
189 // viewWidth
199 …* 1) Specify a <code>viewWidth</code> larger than the natural size of the content. You might do t…
201 …* 2) Specify a <code>viewWidth</code> that is smaller than the natural size of the content. You m…
209 public function get viewWidth():Number property in spark.primitives.Graphic
217 public function set viewWidth(value:Number):void property in spark.primitives.Graphic
257 if (!isNaN(viewWidth))
258 measuredMinWidth = measuredWidth = viewWidth;
/dports/science/py-paida/paida-3.2.1_2.10.1/paida/paida_gui/matplotlib/
H A DPRoot.py86 def _requestPlotter(self, viewWidth, viewHeight, width, height): argument
87 return _Plotter(viewWidth, viewHeight, width, height)
104 def __init__(self, viewWidth, viewHeight, width, height): argument
108 self._sizes = (viewWidth, viewHeight, width, height)
109 self._sizes2 = (self._convertToPixel(viewWidth),

12345678910>>...15