Home
last modified time | relevance | path

Searched refs:viewHeight (Results 1 – 25 of 428) sorted by relevance

12345678910>>...18

/dports/games/trackballs/trackballs-1.3.3/src/
H A DmenuMode.cc237 viewHeight = viewWidth / screenAspect; in drawSlide()
239 viewHeight = slideHeight; in drawSlide()
240 viewWidth = viewHeight * screenAspect; in drawSlide()
247 viewOffsetY = (slideHeight - viewHeight) / 2.0; in drawSlide()
254 viewHeight *= 0.8; in drawSlide()
259 viewOffsetY = time * (slideHeight - viewHeight); in drawSlide()
262 viewOffsetY = (slideHeight - viewHeight) * 0.5; in drawSlide()
266 viewHeight *= 0.5; in drawSlide()
269 viewOffsetY = (slideHeight - viewHeight) * time; in drawSlide()
272 viewHeight *= 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.java132 int viewHeight = 100; in getRadius_usesOverride() local
151 int viewHeight = 100; in getRadius_radiusDp() local
166 int viewHeight = 100; in getRadius_radiusPercentageOfHeight() local
184 int viewHeight = 100; in getRadius_radiusPercentageOfWidth() local
201 int viewHeight = 40; in getRadius_smallWidth_RadiusDpShouldAdjust() local
218 int viewHeight = 40; in getRadius_smallWidth_RadiusDpShouldNotAdjust() local
237 int viewHeight = 30; in getRadius_smallHeight_RadiusDpShouldAdjust() local
254 int viewHeight = 30; in getRadius_smallHeight_RadiusDpShouldNotAdjust() local
311 int viewHeight = 40; in getRadius_radiusPercentageOfHeight_100Percent_topCorners_shouldNotAdjust() local
331 int viewHeight = 60; in getRadius_radiusPercentageOfWidth_100Percent_shouldAdjust() local
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/android/source/src/java/org/mozilla/gecko/gfx/
H A DScrollbarLayer.java235 float viewHeight = context.viewport.height(); in draw() local
237 float top = viewHeight - rect.top; in draw()
238 float bot = viewHeight - rect.bottom; in draw()
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()
294 (rect.left+BAR_SIZE)/viewWidth, top/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 …otected final void fillRectCoordBuffer(float[] dest, RectF rect, float viewWidth, float viewHeight, in fillRectCoordBuffer() argument
166 dest[1] = rect.bottom / viewHeight; in fillRectCoordBuffer()
172 dest[6] = rect.top / viewHeight; in fillRectCoordBuffer()
178 dest[11] = rect.bottom / viewHeight; in fillRectCoordBuffer()
184 dest[16] = rect.top / viewHeight; in fillRectCoordBuffer()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/android/source/src/java/org/mozilla/gecko/gfx/
H A DScrollbarLayer.java235 float viewHeight = context.viewport.height(); in draw() local
237 float top = viewHeight - rect.top; in draw()
238 float bot = viewHeight - rect.bottom; in draw()
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()
294 (rect.left+BAR_SIZE)/viewWidth, top/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 …otected final void fillRectCoordBuffer(float[] dest, RectF rect, float viewWidth, float viewHeight, in fillRectCoordBuffer() argument
166 dest[1] = rect.bottom / viewHeight; in fillRectCoordBuffer()
172 dest[6] = rect.top / viewHeight; in fillRectCoordBuffer()
178 dest[11] = rect.bottom / viewHeight; in fillRectCoordBuffer()
184 dest[16] = rect.top / viewHeight; in fillRectCoordBuffer()
/dports/audio/faust/faust-2.37.3/architecture/android/app/src/main/java/com/faust/
H A DMultiParams.java140 private int viewHeight; field in MultiParams.ParamPoint
267 int pointOffset = viewHeight/2; // so that the touch point is centered in onTouchEvent()
272 if(getX()+(event.getX()-pointOffset) < (poolWidth-viewHeight)) in onTouchEvent()
278 …etY()+(event.getY()-pointOffset) > 0 && getY()+(event.getY()-pointOffset) < poolHeight-viewHeight) in onTouchEvent()
298 viewHeight = (int) (h - ypad); in onSizeChanged()
305 point.setBounds(0, 0, viewHeight, viewHeight); in onSizeChanged()
306 …labelX.layout(viewHeight+(defLabelXOffset*viewHeight/defPointSize), defLabelYXOffset*viewHeight/de… in onSizeChanged()
307 (defZoneSize-defPointSize)*viewHeight/defPointSize, viewHeight); in onSizeChanged()
308 …labelY.layout(viewHeight+(defLabelXOffset*viewHeight/defPointSize), defLabelYYOffset*viewHeight/de… in onSizeChanged()
309 …(defZoneSize-defPointSize)*viewHeight/defPointSize, viewHeight+(defLabelYYOffset*viewHeight/defPoi… in onSizeChanged()
/dports/games/bzflag-server/bzflag-2.4.22/src/bzflag/
H A DMainWindow.cxx106 const int y = (viewHeight >> 1) + getYOffset(); in warpMouseCenterY()
114 my -= (viewHeight >> 1) + getYOffset(); in getMousePosition()
192 viewHeight = height; in setQuadrant()
201 viewHeight = height; in setQuadrant()
208 viewHeight = height; in setQuadrant()
215 viewHeight = height; in setQuadrant()
222 viewHeight = height; in setQuadrant()
229 viewHeight = height; in setQuadrant()
236 viewHeight = height; in setQuadrant()
243 viewHeight = height; in setQuadrant()
[all …]
/dports/games/bzflag/bzflag-2.4.22/src/bzflag/
H A DMainWindow.cxx106 const int y = (viewHeight >> 1) + getYOffset(); in warpMouseCenterY()
114 my -= (viewHeight >> 1) + getYOffset(); in getMousePosition()
192 viewHeight = height; in setQuadrant()
201 viewHeight = height; in setQuadrant()
208 viewHeight = height; in setQuadrant()
215 viewHeight = height; in setQuadrant()
222 viewHeight = height; in setQuadrant()
229 viewHeight = height; in setQuadrant()
236 viewHeight = height; in setQuadrant()
243 viewHeight = height; in setQuadrant()
[all …]
/dports/databases/sqlrelay/sqlrelay-1.7.0/doc/api/ruby/doc/js/
H A Dnavigation.js.gz
H A Dnavigation.js109 var offset, viewHeight, viewScroll, height;
112 viewHeight = view.offsetHeight;
115 if (offset - viewScroll + height > viewHeight) {
116 view.scrollTop = offset - viewHeight + height;
128 var offset, viewHeight, viewScroll, height;
131 viewHeight = window.innerHeight;
134 if (offset - viewScroll + height > viewHeight) {
135 window.scrollTo(window.scrollX, offset - viewHeight + height);
/dports/graphics/price/PRICE-1.3.0/
H A DPRCurvesView.m261 unsigned viewHeight;
325 viewHeight = 256;
379 unsigned viewHeight;
430 viewHeight = 256;
439 [pathHLumiTr lineToPoint: NSMakePoint(viewHeight, viewHeight)];
444 [pathHRTr moveToPoint: NSMakePoint(0, viewHeight)];
445 [pathHGTr moveToPoint: NSMakePoint(0, viewHeight)];
446 [pathHBTr moveToPoint: NSMakePoint(0, viewHeight)];
453 [pathHRTr lineToPoint: NSMakePoint(viewHeight, viewHeight)];
454 [pathHGTr lineToPoint: NSMakePoint(viewHeight, viewHeight)];
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/src/tests/perf_tests/
H A DMultiviewPerf.cpp281 const int viewHeight = params->windowHeight; in drawBenchmark() local
297 glViewport(0, 0, viewWidth, viewHeight); in drawBenchmark()
298 glScissor(0, 0, viewWidth, viewHeight); in drawBenchmark()
345 const float quadHeight = 2.f / viewHeight; in initializeBenchmark()
378 const int viewHeight = params->windowHeight; in renderScene() local
382 for (int h = 0; h < viewHeight; ++h) in renderScene()
454 const int viewHeight = params->windowHeight; in initializeBenchmark() local
457 const int kNumQuads = viewWidth * viewHeight; in initializeBenchmark()
460 for (int h = 0; h < viewHeight; ++h) in initializeBenchmark()
465 float hf = static_cast<float>(h) / viewHeight; in initializeBenchmark()
[all …]
/dports/multimedia/projectx/Project-X_0.91.0/src/net/sourceforge/dvb/projectx/gui/
H A DAboutBox.java178 int viewHeight = (int)viewport.getViewPosition().getY(); in run() local
181 if (viewHeight < height) in run()
183 viewHeight++; in run()
187 viewHeight--; in run()
193 if (viewHeight > 0) in run()
195 viewHeight--; in run()
199 viewHeight++; in run()
203 viewport.setViewPosition(new Point(0,viewHeight)); in run()
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/plugins/common/src/
H A Dp_view.c107 airborne = !plr->viewHeight; in P_CalcHeight()
186 plr->viewHeight += plr->viewHeightDelta; in P_CalcHeight()
188 if(plr->viewHeight > VIEW_HEIGHT) in P_CalcHeight()
190 plr->viewHeight = VIEW_HEIGHT; in P_CalcHeight()
193 else if(plr->viewHeight < VIEW_HEIGHT / 2.0f) in P_CalcHeight()
195 plr->viewHeight = VIEW_HEIGHT / 2.0f; in P_CalcHeight()
211 plr->viewZ = pmo->origin[VZ] + (P_MobjIsCamera(pmo)? 0 : plr->viewHeight); in P_CalcHeight()
/dports/comms/cubicsdr/CubicSDR-0248e5a/src/visual/
H A DScopeContext.cpp36 float viewHeight = (float) vp[3]; in DrawTunerTitles() local
37 float hPos = (float) (13) / viewHeight; in DrawTunerTitles()
54 float viewHeight = (float) vp[3]; in DrawDeviceName() local
55 float hPos = (float) (viewHeight - 20) / viewHeight; in DrawDeviceName()
H A DTuningContext.cpp75 float viewHeight = (float) vp[3]; in DrawTuner() local
89 if (viewHeight < 18) { in DrawTuner()
91 } else if (viewHeight < 24) { in DrawTuner()
93 } else if (viewHeight < 28) { in DrawTuner()
127 float viewHeight = (float) vp[3]; in DrawTunerDigitBox() local
128 float pixelHeight = 2.0/viewHeight; in DrawTunerDigitBox()
/dports/games/granatier/granatier-21.12.3/src/
H A Delementitem.cpp71 int viewHeight = viewBottomRight.y() - viewTopLeft.y(); in updateGraphicsInternal() local
83 if((viewCellHeight - viewHeight) % 2 != 0) in updateGraphicsInternal()
85 viewHeight--; in updateGraphicsInternal()
90 QPointF sceneBottomRight = scene()->views().first()->mapToScene(viewWidth, viewHeight); in updateGraphicsInternal()
97 setRenderSize(QSize(viewWidth, viewHeight)); in updateGraphicsInternal()
/dports/www/firefox-legacy/firefox-52.8.0esr/mobile/android/base/java/org/mozilla/gecko/widget/
H A DCropImageView.java28 private int viewHeight; field in CropImageView
74 viewHeight = (int) (viewWidth * getAspectRatio()); in onMeasure()
76 setMeasuredDimension(viewWidth, viewHeight); in onMeasure()
88 getDrawable().setBounds(0, 0, viewWidth, viewHeight); in updateImageMatrix()
91 final float verticalScaleValue = (float) viewHeight / (float) drawableHeight; in updateImageMatrix()
/dports/lang/spidermonkey60/firefox-60.9.0/mobile/android/base/java/org/mozilla/gecko/widget/
H A DCropImageView.java28 private int viewHeight; field in CropImageView
74 viewHeight = (int) (viewWidth * getAspectRatio()); in onMeasure()
76 setMeasuredDimension(viewWidth, viewHeight); in onMeasure()
88 getDrawable().setBounds(0, 0, viewWidth, viewHeight); in updateImageMatrix()
91 final float verticalScaleValue = (float) viewHeight / (float) drawableHeight; in updateImageMatrix()
/dports/math/jts/jts-jts-1.18.1/modules/app/src/main/java/org/locationtech/jtstest/testbuilder/ui/render/
H A DGridElement.java347 int viewHeight = (int) viewport.getHeightInView(); in drawScaleLabel() local
356 g.drawString(gridSizeFormat.format(scaleSize), x, viewHeight - y); in drawScaleLabel()
360 g.drawString("10", x, viewHeight - LBL_OFFSET_Y); in drawScaleLabel()
371 int viewHeight = (int) viewport.getHeightInView(); in drawScaleBar() local
384 float y = viewHeight - BAR_OFFSET_Y; in drawScaleBar()
435 double viewHeight = viewport.getHeightInView(); in drawGridLines() local
448 g.draw(new Line2D.Double(x, 0, x, viewHeight - 0)); in drawGridLines()
486 int viewHeight = (int) viewport.getHeightInView(); in drawScaleMarks() local
488 g.draw(new Line2D.Double(tickX, viewHeight + 1, tickX, viewHeight - TICK_LEN)); in drawScaleMarks()
501 g.drawString("10", viewWidth - 35, viewHeight - 1); in drawScaleMarks()
[all …]
/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/devel/upp/upp/bazaar/DXF/
H A DDXF.cpp26 viewHeight = 50; in DXF()
38 viewHeight = bb.top - bb.bottom; in Write()
40 if(viewHeight * 2.128571428571428 < viewWidth) in Write()
41 viewHeight = viewWidth / 2.128571428571428; in Write()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/android/java/src/org/chromium/ui/resources/dynamics/
H A DViewResourceAdapter.java187 int viewHeight = (int) (mView.getHeight() * mScale); in validateBitmap() local
188 boolean isEmpty = viewWidth == 0 || viewHeight == 0; in validateBitmap()
191 viewHeight = 1; in validateBitmap()
194 && (mBitmap.getWidth() != viewWidth || mBitmap.getHeight() != viewHeight)) { in validateBitmap()
200 mBitmap = Bitmap.createBitmap(viewWidth, viewHeight, Bitmap.Config.ARGB_8888); in validateBitmap()

12345678910>>...18