OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:viewHeight
(Results
1 - 25
of
42
) sorted by null
1
2
/external/replicaisland/src/com/replica/replicaisland/
ContextParameters.java
24
public int
viewHeight
;
DrawableBitmap.java
69
* @param
viewHeight
The height of the screen.
71
public static void beginDrawing(GL10 gl, float viewWidth, float
viewHeight
) {
80
gl.glOrthof(0.0f, viewWidth, 0.0f,
viewHeight
, 0.0f, 1.0f);
114
final float
viewHeight
= mViewHeight;
121
|| snappedY >
viewHeight
Game.java
62
public void bootstrap(Context context, int viewWidth, int
viewHeight
, int gameWidth, int gameHeight, int difficulty) {
73
params.
viewHeight
=
viewHeight
;
77
params.viewScaleY = (float)
viewHeight
/ gameHeight;
/cts/tests/tests/view/src/android/view/cts/util/
DrawingUtils.java
44
final int
viewHeight
= view.getHeight();
46
final Bitmap bitmap = Bitmap.createBitmap(viewWidth,
viewHeight
, Bitmap.Config.ARGB_8888);
53
final Bitmap goldenBitmap = Bitmap.createBitmap(viewWidth,
viewHeight
,
61
goldenCanvas.drawRect(0, 0, viewWidth,
viewHeight
, goldenPaint);
73
for (int row = 0; row <
viewHeight
; row++) {
/cts/common/device-side/util/src/com/android/compatibility/common/util/
ShellUtils.java
58
final int
viewHeight
= view.getHeight();
60
final int y = (int) (xy[1] + (
viewHeight
/ 2.0f));
CtsTouchUtils.java
420
final int
viewHeight
= view.getHeight();
422
final int startY = isDownwardsFlingGesture ? viewOnScreenXY[1] +
viewHeight
/ 4
423
: viewOnScreenXY[1] + 3 *
viewHeight
/ 4;
424
final int amountY = isDownwardsFlingGesture ?
viewHeight
/ 2 : -
viewHeight
/ 2;
428
final int durationMs = (1000 *
viewHeight
) / (2 * flingVelocity);
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
ShellUtils.java
58
final int
viewHeight
= view.getHeight();
60
final int y = (int) (xy[1] + (
viewHeight
/ 2.0f));
CtsTouchUtils.java
421
final int
viewHeight
= view.getHeight();
423
final int startY = isDownwardsFlingGesture ? viewOnScreenXY[1] +
viewHeight
/ 4
424
: viewOnScreenXY[1] + 3 *
viewHeight
/ 4;
425
final int amountY = isDownwardsFlingGesture ?
viewHeight
/ 2 : -
viewHeight
/ 2;
429
final int durationMs = (1000 *
viewHeight
) / (2 * flingVelocity);
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
NumericSprite.java
68
float viewWidth, float
viewHeight
) {
70
mLabelMaker.beginDrawing(gl, viewWidth,
viewHeight
);
LabelMaker.java
310
* @param
viewHeight
312
public void beginDrawing(GL10 gl, float viewWidth, float
viewHeight
) {
322
gl.glOrthof(0.0f, viewWidth, 0.0f,
viewHeight
, 0.0f, 1.0f);
/cts/tests/tests/widget/src/android/widget/cts/
CompoundButtonTest.java
278
int
viewHeight
;
295
viewHeight
= compoundButton.getHeight();
312
assertEquals(
viewHeight
- drawableHeight, bounds.top);
313
assertEquals(
viewHeight
, bounds.bottom);
321
assertEquals( (
viewHeight
- drawableHeight) / 2, bounds.top);
322
assertEquals( (
viewHeight
- drawableHeight) / 2 + drawableHeight, bounds.bottom);
MediaControllerTest.java
193
final int
viewHeight
= videoView.getHeight();
196
final float y = xy[1] +
viewHeight
/ 2.0f;
/developers/build/prebuilts/gradle/MediaEffects/Application/src/main/java/com/example/android/mediaeffects/
TextureRenderer.java
99
public void updateViewSize(int viewWidth, int
viewHeight
) {
101
mViewHeight =
viewHeight
;
/developers/samples/android/media/MediaEffects/Application/src/main/java/com/example/android/mediaeffects/
TextureRenderer.java
99
public void updateViewSize(int viewWidth, int
viewHeight
) {
101
mViewHeight =
viewHeight
;
/development/samples/HelloEffects/src/com/example/android/mediafx/
TextureRenderer.java
99
public void updateViewSize(int viewWidth, int
viewHeight
) {
101
mViewHeight =
viewHeight
;
/development/samples/browseable/MediaEffects/src/com.example.android.mediaeffects/
TextureRenderer.java
99
public void updateViewSize(int viewWidth, int
viewHeight
) {
101
mViewHeight =
viewHeight
;
/external/webrtc/webrtc/modules/video_render/android/java/src/org/webrtc/videoengine/
ViEAndroidGLES20.java
42
private int
viewHeight
= 0;
320
if(0 != CreateOpenGLNative(nativeObject, viewWidth,
viewHeight
)) {
332
viewHeight
= height;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/
CameraOrientationActivity.java
465
int
viewHeight
= mFormatView.getHeight();
468
if (viewWidth == 0 ||
viewHeight
== 0){
481
newHeight =
viewHeight
;
482
newWidth = (int) (
viewHeight
* ((double) mOptimalSize.height /
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
Camera2MultiViewTestCase.java
196
int
viewHeight
= textureView.getHeight();
197
RectF viewRect = new RectF(0, 0, viewWidth,
viewHeight
);
216
Math.max(viewWidth / (float) effectiveWidth,
viewHeight
/ (float) effectiveHeight);
/developers/build/prebuilts/gradle/Camera2Video/Application/src/main/java/com/example/android/camera2video/
Camera2VideoFragment.java
552
* @param
viewHeight
The height of `mTextureView`
554
private void configureTransform(int viewWidth, int
viewHeight
) {
561
RectF viewRect = new RectF(0, 0, viewWidth,
viewHeight
);
569
(float)
viewHeight
/ mPreviewSize.getHeight(),
/developers/samples/android/media/Camera2Video/Application/src/main/java/com/example/android/camera2video/
Camera2VideoFragment.java
552
* @param
viewHeight
The height of `mTextureView`
554
private void configureTransform(int viewWidth, int
viewHeight
) {
561
RectF viewRect = new RectF(0, 0, viewWidth,
viewHeight
);
569
(float)
viewHeight
/ mPreviewSize.getHeight(),
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
Camera2VideoFragment.java
548
* @param
viewHeight
The height of `mTextureView`
550
private void configureTransform(int viewWidth, int
viewHeight
) {
557
RectF viewRect = new RectF(0, 0, viewWidth,
viewHeight
);
565
(float)
viewHeight
/ mPreviewSize.getHeight(),
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/
CameraConnectionFragment.java
570
* @param
viewHeight
The height of `mTextureView`
572
private void configureTransform(final int viewWidth, final int
viewHeight
) {
579
final RectF viewRect = new RectF(0, 0, viewWidth,
viewHeight
);
588
(float)
viewHeight
/ previewSize.getHeight(),
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/
CameraConnectionFragment.java
564
* @param
viewHeight
The height of `mTextureView`
566
private void configureTransform(final int viewWidth, final int
viewHeight
) {
573
final RectF viewRect = new RectF(0, 0, viewWidth,
viewHeight
);
582
(float)
viewHeight
/ previewSize.getHeight(),
/developers/build/prebuilts/gradle/Camera2Basic/kotlinApp/Application/src/main/java/com/example/android/camera2basic/
Camera2BasicFragment.kt
551
* @param
viewHeight
The height of `textureView`
553
private fun configureTransform(viewWidth: Int,
viewHeight
: Int) {
557
val viewRect = RectF(0f, 0f, viewWidth.toFloat(),
viewHeight
.toFloat())
565
viewHeight
.toFloat() / previewSize.height,
Completed in 900 milliseconds
1
2