diff --git a/packages/apps/SnapdragonCamera/src/com/android/camera/PhotoUI.java b/packages/apps/SnapdragonCamera/src/com/android/camera/PhotoUI.javaold mode 100644new mode 100755index e87ec6a..95bdf09--- a/packages/apps/SnapdragonCamera/src/com/android/camera/PhotoUI.java+++ b/packages/apps/SnapdragonCamera/src/com/android/camera/PhotoUI.java@@ -429,7 +429,10 @@ public class PhotoUI implements PieListener,                     }                 } else {                     if(Math.max(height, width * mAspectRatio) > height) {-                        scaledTextureWidth = height / mAspectRatio;+                        /*meig:jicong.wang modify for bug 7729 start {@*/+                        //scaledTextureWidth = height / mAspectRatio;+                        scaledTextureWidth = mMaxPreviewWidth;+                       /*meig:jicong.wang modify for bug 7729 end @}*/                         scaledTextureHeight = height;                     } else {                         scaledTextureWidth = width;diff --git a/packages/apps/SnapdragonCamera/src/com/android/camera/VideoUI.java b/packages/apps/SnapdragonCamera/src/com/android/camera/VideoUI.javaindex f07ddeb..3ef2643 100755--- a/packages/apps/SnapdragonCamera/src/com/android/camera/VideoUI.java+++ b/packages/apps/SnapdragonCamera/src/com/android/camera/VideoUI.java@@ -457,7 +457,10 @@ public class VideoUI implements PieRenderer.PieListener,                     }                 } else {                     if(Math.max(height, width * mAspectRatio) > height) {-                        scaledTextureWidth = height / mAspectRatio;+                        /*meig:jicong.wang modify for bug 7729 start{@*/+                        //scaledTextureWidth = height / mAspectRatio;+                        scaledTextureWidth = mMaxPreviewWidth;+                        /*meig:jicong.wang modify for bug 7729 end @}*/                         scaledTextureHeight = height;                     } else {                         scaledTextureWidth = width;

更多相关文章

  1. 代码中设置drawableleft
  2. android 3.0 隐藏 系统标题栏
  3. Android开发中activity切换动画的实现
  4. Android(安卓)学习 笔记_05. 文件下载
  5. Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
  6. 技术博客汇总
  7. android 2.3 wifi (一)
  8. AndRoid Notification的清空和修改
  9. Android中的Chronometer

随机推荐

  1. android:id="@android:id/tabhost" 、and
  2. Android真响应式架构——MvRx
  3. Android(安卓)多进程通信之几个基本问题
  4. Android百度地图开发(五):图层
  5. Android(安卓)Binder原理(三)系统服务的注
  6. Android跨进程通信IPC之3——关于"JNI"的
  7. 【Android布局】在程序中设置android:gra
  8. Android音频开发(1):音频基础知识
  9. 静态和动态设置EditText的属性大全
  10. android:layout_gravity 和 android:grav