/external/opencv3/samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/ |
QuadRenderer.cpp | 220 float aspectRatio = m_windowBounds.Width / m_windowBounds.Height; 223 if (aspectRatio < 1.0f) 225 fovAngleY /= aspectRatio; 233 aspectRatio,
|
/external/opencv3/samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/ |
CubeRenderer.cpp | 278 float aspectRatio = m_windowBounds.Width / m_windowBounds.Height; 280 if (aspectRatio < 1.0f) 282 fovAngleY /= aspectRatio; 290 aspectRatio,
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ResizeGesture.java | 160 double aspectRatio = w / (double) h; 164 if (newH == 0 || newAspectRatio > aspectRatio) { 165 deltaY = (int) (deltaX / aspectRatio); 167 deltaX = (int) (deltaY * aspectRatio);
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
LinearLayoutManagerWrapContentWithAspectRatioTest.java | 132 WRAP_CONTENT, WRAP_CONTENT).aspectRatio(testOrientation, mRatio); 136 .aspectRatio(testOrientation, mRatio); 140 .aspectRatio(testOrientation, mRatio);
|
/frameworks/support/percent/src/android/support/percent/ |
PercentLayoutHelper.java | 240 info.aspectRatio = value; 378 public float aspectRatio; 424 if (aspectRatio >= 0) { 426 params.width = Math.round(params.height * aspectRatio); 431 params.height = Math.round(params.width / aspectRatio);
|
/external/opencv3/samples/cpp/tutorial_code/calib3d/camera_calibration/ |
camera_calibration.cpp | 43 << "Calibrate_FixAspectRatio" << aspectRatio 65 node["Calibrate_FixAspectRatio"] >> aspectRatio; 132 if(aspectRatio) flag |= CALIB_FIX_ASPECT_RATIO; 181 float aspectRatio; // The aspect ratio 463 cameraMatrix.at<double>(0,0) = s.aspectRatio; 511 fs << "fix_aspect_ratio" << s.aspectRatio;
|
/developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/ |
OpenGLWatchFaceService.java | 230 final float aspectRatio = (float) width / height; 233 -aspectRatio /* left */, 234 aspectRatio /* right */,
|
/developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/ |
OpenGLWatchFaceService.java | 230 final float aspectRatio = (float) width / height; 233 -aspectRatio /* left */, 234 aspectRatio /* right */,
|
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
OpenGLWatchFaceService.java | 230 final float aspectRatio = (float) width / height; 233 -aspectRatio /* left */, 234 aspectRatio /* right */,
|
/packages/apps/Camera2/src/com/android/camera/ |
CaptureLayoutHelper.java | 83 public void onPreviewAspectRatioChanged(float aspectRatio) { 84 if (mAspectRatio == aspectRatio) { 87 mAspectRatio = aspectRatio;
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
Illustration.java | 37 * Class to draw the illustration of setup wizard. The {@code aspectRatio} attribute determines the 120 * @param aspectRatio A float value specifying the aspect ratio (= width / height). 0 to not 123 public void setAspectRatio(float aspectRatio) { 124 mAspectRatio = aspectRatio;
|
/packages/apps/Camera2/src/com/android/camera/captureintent/ |
CaptureIntentModuleUI.java | 171 * @param aspectRatio The preview aspect ratio. 173 public void updatePreviewAspectRatio(float aspectRatio) { 175 mAppUI.updatePreviewAspectRatio(aspectRatio);
|
/frameworks/base/core/java/android/gesture/ |
GestureUtils.java | 108 float aspectRatio = gestureWidth / gestureHeight; 109 if (aspectRatio > 1) { 110 aspectRatio = 1 / aspectRatio; 112 if (aspectRatio < SCALING_THRESHOLD) {
|
/external/opencv3/modules/calib3d/test/ |
test_cameracalibration.cpp | 830 Point2d& principalPoint, double& aspectRatio ) = 0; 856 double fovx, fovy, focalLength, aspectRatio, 862 fovx, fovy, focalLength, principalPoint, aspectRatio ); 905 if( fabs(aspectRatio - goodAspectRatio) > FLT_EPSILON ) 907 ts->printf( cvtest::TS::LOG, "bad aspectRatio (real=%f, good = %f\n", aspectRatio, goodAspectRatio ); 933 Point2d& principalPoint, double& aspectRatio ); 939 Point2d& principalPoint, double& aspectRatio ) 944 &fovx, &fovy, &focalLength, &pp, &aspectRatio ); [all...] |
/packages/apps/Camera2/src/com/android/camera/util/ |
CameraUtil.java | 420 * Given a size, return the largest size with the given aspectRatio that 424 * @param aspectRatio the target aspect ratio 428 public static Size constrainToAspectRatio(Size size, float aspectRatio) { 434 if (currentAspectRatio > aspectRatio) { 437 width = height * aspectRatio; 439 height = width / aspectRatio; 441 } else if (currentAspectRatio < aspectRatio) { 444 width = height * aspectRatio; 446 height = width / aspectRatio; [all...] |
Size.java | 127 public float aspectRatio() {
|
/external/opencv3/modules/calib3d/src/ |
calibration.cpp | 536 double aspectRatio ) 550 bool fixedAspectRatio = aspectRatio > FLT_EPSILON; 638 fx = fy*aspectRatio; 789 dpdf_p[0] = 0; dpdf_p[1] = xd*aspectRatio; [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/ |
CameraOrientationActivity.java | 391 boolean aspectRatio = true; 395 if(aspectRatio) { 415 if (optimalSize == null && aspectRatio == true) { 418 aspectRatio = false;
|
/external/opencv/cv/src/ |
cvcalibration.cpp | 775 double aspectRatio ) 793 bool fixedAspectRatio = aspectRatio > FLT_EPSILON; 861 fx = fy*aspectRatio; 1000 dpdf_p[0] = 0; dpdf_p[1] = xd*aspectRatio; [all...] |
/prebuilts/sdk/current/support/percent/libs/ |
android-support-percent.jar | |
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
VideoCallPresenter.java | [all...] |
/developers/build/prebuilts/gradle/Camera2Video/Application/src/main/java/com/example/android/camera2video/ |
Camera2VideoFragment.java | 252 * @param aspectRatio The aspect ratio 255 private static Size chooseOptimalSize(Size[] choices, int width, int height, Size aspectRatio) { 258 int w = aspectRatio.getWidth(); 259 int h = aspectRatio.getHeight();
|
/developers/samples/android/media/Camera2Video/Application/src/main/java/com/example/android/camera2video/ |
Camera2VideoFragment.java | 252 * @param aspectRatio The aspect ratio 255 private static Size chooseOptimalSize(Size[] choices, int width, int height, Size aspectRatio) { 258 int w = aspectRatio.getWidth(); 259 int h = aspectRatio.getHeight();
|
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/ |
Camera2VideoFragment.java | 252 * @param aspectRatio The aspect ratio 255 private static Size chooseOptimalSize(Size[] choices, int width, int height, Size aspectRatio) { 258 int w = aspectRatio.getWidth(); 259 int h = aspectRatio.getHeight();
|
/external/opencv3/modules/calib3d/include/opencv2/ |
calib3d.hpp | 454 @param aspectRatio Optional "fixed aspect ratio" parameter. If the parameter is not 0, the 475 double aspectRatio = 0 ); 582 @param aspectRatio If it is zero or negative, both \f$f_x\f$ and \f$f_y\f$ are estimated independently. 583 Otherwise, \f$f_x = f_y * \texttt{aspectRatio}\f$ . 591 Size imageSize, double aspectRatio = 1.0 ); [all...] |