SYMBOL INDEX (735 symbols across 51 files) FILE: app/src/androidTest/java/camera/cn/cameramaster/ExampleInstrumentedTest.java class ExampleInstrumentedTest (line 17) | @RunWith(AndroidJUnit4.class) method useAppContext (line 19) | @Test FILE: app/src/main/java/camera/cn/cameramaster/OpenReceiver.java class OpenReceiver (line 19) | public class OpenReceiver extends BroadcastReceiver { method onReceive (line 20) | @Override FILE: app/src/main/java/camera/cn/cameramaster/adapter/EffectAdapter.java class EffectAdapter (line 26) | public class EffectAdapter extends RecyclerView.Adapter ages, AutoLocateHoriz... method onCreateViewHolder (line 38) | @NonNull method onBindViewHolder (line 45) | @Override method getItemCount (line 50) | @Override method getItemView (line 55) | @Override method onViewSelected (line 60) | @Override class ItemViewHolder (line 73) | class ItemViewHolder extends RecyclerView.ViewHolder{ method ItemViewHolder (line 75) | ItemViewHolder(View itemView) { FILE: app/src/main/java/camera/cn/cameramaster/adapter/SenseAdapter.java class SenseAdapter (line 26) | public class SenseAdapter extends RecyclerView.Adapter { method compare (line 280) | @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) method chooseOptimalSize (line 288) | @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) method onOpened (line 314) | @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) method onDisconnected (line 323) | @Override method onError (line 329) | @Override method takePreview (line 338) | @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) method stopCamera (line 379) | private void stopCamera() { method onImageAvailable (line 391) | @Override method onPause (line 420) | @Override method onResume (line 428) | @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) FILE: app/src/main/java/camera/cn/cameramaster/ui/CameraActivity.java class CameraActivity (line 39) | public class CameraActivity extends BaseActivity implements SurfaceHolde... method getLayoutId (line 85) | @Override method initView (line 90) | @Override method initData (line 96) | @Override method onResume (line 105) | @Override method OnClick (line 116) | @OnClick({R.id.img_camera, R.id.camera_flash, R.id.camera_switch, R.id... method switchCamera (line 188) | public void switchCamera() { method takePhoto (line 200) | private void takePhoto() { method surfaceCreated (line 231) | @Override method surfaceChanged (line 236) | @Override method surfaceDestroyed (line 242) | @Override method releaseCamera (line 250) | private void releaseCamera() { method startPreview (line 262) | private void startPreview(Camera camera, SurfaceHolder holder) { method setupCamera (line 297) | private void setupCamera(Camera camera) { method getCamera (line 325) | private Camera getCamera(int id) { FILE: app/src/main/java/camera/cn/cameramaster/ui/CameraSurfaceViewActivity.java class CameraSurfaceViewActivity (line 28) | public class CameraSurfaceViewActivity extends BaseActivity { method getLayoutId (line 35) | @Override method initView (line 40) | @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) method initData (line 63) | @Override method onClick (line 68) | @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) method onResume (line 84) | @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) method onPause (line 93) | @Override method onDestroy (line 100) | @Override FILE: app/src/main/java/camera/cn/cameramaster/ui/CameraVideoActivity.java class CameraVideoActivity (line 81) | @RequiresApi(api = Build.VERSION_CODES.M) method run (line 272) | @Override method run (line 281) | @Override method run (line 290) | @Override method colorTemperature (line 309) | public static RggbChannelVector colorTemperature(int whiteBalance) { method getLayoutId (line 363) | @Override method initView (line 368) | @Override method initData (line 422) | @Override method initVideoMode (line 433) | private void initVideoMode() { method initCameraMode (line 478) | @RequiresApi(api = Build.VERSION_CODES.M) method initCamera (line 523) | private void initCamera(ICamera2.CameraType cameraType) { method initScaleSeekbar (line 538) | private void initScaleSeekbar() { method cameraOnClickListener (line 567) | @RequiresApi(api = Build.VERSION_CODES.M) method onSensorChanged (line 611) | @Override method registerSensor (line 637) | private void registerSensor() { method onAccuracyChanged (line 654) | @Override method onSeekTime (line 659) | @Override method onStartListener (line 677) | @Override method onCompletionListener (line 684) | @Override method onTakePhotoFinish (line 700) | @Override method onCameraReady (line 722) | @Override method selectedPositionChanged (line 732) | @Override method recordCountDown (line 781) | @SuppressLint("SetTextI18n") method recordVideoOrTakePhoto (line 820) | @OnClick(R.id.video_record) method deleteVideoOrPicture (line 884) | @OnClick(R.id.video_delete) method saveVideoOrPhoto (line 921) | @OnClick(R.id.video_save) method removeImageFoucesRunnable (line 942) | private void removeImageFoucesRunnable() { method imageFoucesDelayedHind (line 949) | private void imageFoucesDelayedHind() { method seekBarDelayedHind (line 956) | private void seekBarDelayedHind() { method removeSeekBarRunnable (line 966) | private void removeSeekBarRunnable() { method showRecordEndView (line 974) | private void showRecordEndView() { method hindVideoRecordSeekBar (line 982) | private void hindVideoRecordSeekBar() { method closeCamera (line 990) | private void closeCamera() { method playVideo (line 999) | private void playVideo() { method moveFouces (line 1015) | private void moveFouces(int x, int y) { method onResume (line 1027) | @Override method onPause (line 1085) | @Override method hindSwitchCamera (line 1106) | private void hindSwitchCamera() { method hindMenu (line 1113) | private void hindMenu() { method saveMedia (line 1122) | private void saveMedia(File mediaFile) { method hindRecordEndView (line 1132) | private void hindRecordEndView() { method hindPlayView (line 1140) | private void hindPlayView() { method showPlayView (line 1150) | private void showPlayView() { method showLayout (line 1163) | private void showLayout(int showWhat, boolean showOrNot) { method initListener (line 1189) | private void initListener() { class HorizontalViewTouchListener (line 1293) | private class HorizontalViewTouchListener implements View.OnTouchListe... method onTouch (line 1299) | @Override class CameraTouch (line 1345) | private class CameraTouch { method onScale (line 1352) | public void onScale(MotionEvent event) { method onScaleStart (line 1386) | public void onScaleStart(MotionEvent event) { method onScaleEnd (line 1398) | private void onScaleEnd(MotionEvent event) { method resetScale (line 1416) | public void resetScale() { method setScale (line 1423) | public void setScale(float scale) { method distance (line 1435) | private float distance(MotionEvent event) { method setScaleMax (line 1442) | private void setScaleMax(int max) { class FoucesAnimation (line 1450) | private class FoucesAnimation extends Animation { method applyTransformation (line 1458) | @Override method setOldMargin (line 1478) | public void setOldMargin(int oldMarginLeft, int oldMarginTop) { class CameraSeekBarListener (line 1489) | private class CameraSeekBarListener implements SeekBar.OnSeekBarChange... method onProgressChanged (line 1491) | @Override method onStartTrackingTouch (line 1527) | @Override method onStopTrackingTouch (line 1533) | @Override class awbSettingSeekBarListener (line 1543) | private class awbSettingSeekBarListener implements SeekBar.OnSeekBarCh... method onProgressChanged (line 1545) | @Override method onStartTrackingTouch (line 1555) | @Override method onStopTrackingTouch (line 1560) | @Override FILE: app/src/main/java/camera/cn/cameramaster/ui/GoogleCameraActivity.java class GoogleCameraActivity (line 110) | @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) method getLayoutId (line 400) | @Override method initView (line 405) | @SuppressLint("ClickableViewAccessibility") method onEvent (line 443) | @Subscribe method initData (line 448) | @Override method onResume (line 470) | @RequiresApi(api = Build.VERSION_CODES.M) method onSurfaceTextureAvailable (line 490) | @RequiresApi(api = Build.VERSION_CODES.M) method onSurfaceTextureSizeChanged (line 496) | @Override method onSurfaceTextureDestroyed (line 501) | @Override method onSurfaceTextureUpdated (line 506) | @Override method onOpened (line 516) | @Override method onDisconnected (line 524) | @Override method onError (line 531) | @Override method onImageAvailable (line 546) | @Override method process (line 602) | private void process(CaptureResult result) { method onCaptureProgressed (line 647) | @Override method onCaptureCompleted (line 654) | @Override method chooseOptimalSize (line 674) | private static Size chooseOptimalSize(Size[] choices, int textureViewW... method onPause (line 705) | @Override method setUpCameraOutputs (line 718) | @SuppressWarnings("SuspiciousNameCombination") method openCamera (line 841) | @RequiresApi(api = Build.VERSION_CODES.M) method closeCamera (line 866) | private void closeCamera() { method startBackgroundThread (line 891) | private void startBackgroundThread() { method stopBackgroundThread (line 900) | private void stopBackgroundThread() { method createCameraPreviewSession (line 914) | private void createCameraPreviewSession() { method configureTransform (line 980) | private void configureTransform(int viewWidth, int viewHeight) { method lockFocus (line 1007) | public void lockFocus() { method runPrecaptureSequence (line 1025) | private void runPrecaptureSequence() { method captureStillPicture (line 1042) | private void captureStillPicture() { method unlockFocus (line 1084) | private void unlockFocus() { method updatePreview (line 1104) | private void updatePreview() { method onClick (line 1114) | @SuppressLint("MissingPermission") method setAutoFlash (line 1222) | private void setAutoFlash(CaptureRequest.Builder requestBuilder) { method showLayout (line 1235) | private void showLayout(int showWhat, boolean showOrNot) { method CameraOnCheckChangedListener (line 1264) | @OnCheckedChanged({R.id.switch_ae, R.id.switch_iso}) class CameraSeekBarListener (line 1302) | private class CameraSeekBarListener implements SeekBar.OnSeekBarChange... method onProgressChanged (line 1304) | @Override method onStartTrackingTouch (line 1380) | @Override method onStopTrackingTouch (line 1386) | @Override method SetListener (line 1396) | private void SetListener() { method startRecordingVideo (line 1506) | private void startRecordingVideo() { method stopRecordingVideo (line 1557) | private void stopRecordingVideo() { method setUpMediaRecorder (line 1571) | private void setUpMediaRecorder() throws IOException { method onServerStart (line 1600) | public void onServerStart(String ip) { method onServerError (line 1617) | public void onServerError(String message) { method onServerStop (line 1626) | public void onServerStop() { method showDialog (line 1631) | private void showDialog() { method closeDialog (line 1640) | private void closeDialog() { method onDestroy (line 1646) | @Override method getBuilder (line 1655) | public CaptureRequest.Builder getBuilder() { method getSession (line 1659) | public CameraCaptureSession getSession() { FILE: app/src/main/java/camera/cn/cameramaster/ui/MainActivity.java class MainActivity (line 36) | public class MainActivity extends BaseActivity { method getLayoutId (line 46) | @Override method initView (line 51) | @Override method initData (line 57) | @Override method setDataConnectionState (line 65) | @SuppressLint("WrongConstant") method onClick (line 81) | @OnClick({R.id.btn_camera, R.id.btn_camera2, R.id.btn_filter_camera2, ... method onActivityResult (line 106) | @Override method requestPermission (line 152) | @RequiresApi(api = Build.VERSION_CODES.JELLY_BEAN) FILE: app/src/main/java/camera/cn/cameramaster/ui/ShowPicActivity.java class ShowPicActivity (line 22) | public class ShowPicActivity extends BaseActivity { method getLayoutId (line 48) | @Override method initView (line 53) | @Override method initData (line 61) | @Override method canvasBitmap (line 82) | private void canvasBitmap(String path) { class seekBar1Listen (line 107) | class seekBar1Listen implements SeekBar.OnSeekBarChangeListener { method onProgressChanged (line 109) | @Override method onStartTrackingTouch (line 122) | @Override method onStopTrackingTouch (line 124) | @Override class seekBar2Listen (line 131) | class seekBar2Listen implements SeekBar.OnSeekBarChangeListener { method onProgressChanged (line 133) | @Override method onStartTrackingTouch (line 146) | @Override method onStopTrackingTouch (line 148) | @Override class seekBar3Listen (line 155) | class seekBar3Listen implements SeekBar.OnSeekBarChangeListener { method onProgressChanged (line 157) | @Override method onStartTrackingTouch (line 170) | @Override method onStopTrackingTouch (line 172) | @Override class seekBar4Listen (line 179) | class seekBar4Listen implements SeekBar.OnSeekBarChangeListener { method onProgressChanged (line 181) | @Override method onStartTrackingTouch (line 194) | @Override method onStopTrackingTouch (line 196) | @Override FILE: app/src/main/java/camera/cn/cameramaster/util/AppConstant.java class AppConstant (line 13) | public class AppConstant { type KEY (line 86) | public interface KEY{ type RESULT_CODE (line 93) | public interface RESULT_CODE { FILE: app/src/main/java/camera/cn/cameramaster/util/BitmapUtils.java class BitmapUtils (line 38) | public class BitmapUtils { method BitmapUtils (line 39) | private BitmapUtils() { method getSize (line 59) | private static int getSize(int config) { method ReadBitmapById (line 87) | public static Bitmap ReadBitmapById(Context context, int resId) { method readBitmap (line 103) | public static byte[] readBitmap(Bitmap bmp) { method rotaingImageView (line 123) | public static Bitmap rotaingImageView(int angle, Bitmap bitmap) { method setPictureDegree (line 145) | public static void setPictureDegree(String filename, int degree) { method getRightSzieBitmap (line 182) | private static Bitmap getRightSzieBitmap(Bitmap bit, int config) { method getRightSzieBitmap (line 209) | public static Bitmap getRightSzieBitmap(String fileName, int config) { method toGrayscale (line 231) | private static Bitmap toGrayscale(Bitmap bmpOriginal) { method replaceBitmapColor (line 247) | public static Bitmap replaceBitmapColor(Bitmap oldBitmap, int oldColor... method ImgaeToNegative (line 269) | public static Bitmap ImgaeToNegative(Bitmap bitmap) { method toGrayscale (line 354) | public static Bitmap toGrayscale(Bitmap bmpOriginal, int pixels) { method toRoundCorner (line 365) | private static Bitmap toRoundCorner(Bitmap bitmap, int pixels) { method toRoundCorner (line 395) | @SuppressWarnings("deprecation") method saveBefore (line 408) | public static Bitmap saveBefore(String path) { method createBitmapBySize (line 437) | public static Bitmap createBitmapBySize(Bitmap bitmap, int width, int ... method getImageFromPath (line 442) | public static Bitmap getImageFromPath(String srcPath, float maxWidth, ... method decodeBitmapFromResource (line 488) | public static Bitmap decodeBitmapFromResource(Resources res, int resId... method calculateInSampleSize (line 513) | public static BitmapFactory.Options calculateInSampleSize( method getAlphaBitmap (line 554) | public static Bitmap getAlphaBitmap(Bitmap mBitmap, int mColor) { method rotateMyBitmap (line 579) | public static Bitmap rotateMyBitmap(Bitmap bmp) { method readPictureDegree (line 597) | public static int readPictureDegree(String path) { method savePNG_After (line 628) | public static void savePNG_After(Bitmap bitmap, String name) { method saveJPGE_After (line 649) | public static boolean saveJPGE_After(Bitmap bitmap, String path, int q... method saveJPGE_After (line 671) | public static void saveJPGE_After(Context context, Bitmap bitmap, Stri... method saveJPGE_After_PNG (line 694) | public static void saveJPGE_After_PNG(Context context, Bitmap bitmap, ... method saveJPGE_After_WebP (line 717) | public static void saveJPGE_After_WebP(Context context, Bitmap bitmap,... method makeDir (line 734) | private static void makeDir(File file) { method createBitmap (line 748) | public static Bitmap createBitmap(Bitmap src, Bitmap watermark) { method bitmapToDrawableByBD (line 776) | public static Drawable bitmapToDrawableByBD(Bitmap bitmap) { method getByteFromBitmap (line 785) | public static byte[] getByteFromBitmap(Bitmap bitmap) { method getBitmapFromByte (line 804) | public static Bitmap getBitmapFromByte(byte[] temp) { method getBitemapFromFile (line 821) | public static Bitmap getBitemapFromFile(File f) { method convertMirrorBmp (line 837) | public Bitmap convertMirrorBmp(Bitmap bmp) { method convertVertical (line 854) | public static Bitmap convertVertical(Bitmap bmp) { method decodeFile (line 871) | public static Bitmap decodeFile(String path, int screenWidth, int scre... method getBitmapFromDrawable (line 907) | public static Bitmap getBitmapFromDrawable(Drawable drawable) { method flip (line 927) | public static Bitmap flip(Bitmap bitmap) { method getViewBitmap (line 944) | public static Bitmap getViewBitmap(View view) { method convertViewToBitmap (line 992) | public static Bitmap convertViewToBitmap(View view) { method getBitmapFromView (line 1007) | public static Bitmap getBitmapFromView(View view) { method updateResources (line 1017) | public static void updateResources(Context context, String path) { method returnSaturationBitmap (line 1021) | public static Bitmap returnSaturationBitmap(Context context, Bitmap bi... method createBitmap (line 1053) | public static Bitmap createBitmap(Bitmap bitmap, int reqWidth, int req... method getRoundedCornerBitmap (line 1097) | public static Bitmap getRoundedCornerBitmap(Bitmap bitmap) { method returnContrastBitmap (line 1121) | public static Bitmap returnContrastBitmap(Bitmap bitmap, int progress) { FILE: app/src/main/java/camera/cn/cameramaster/util/Camera2Util.java class Camera2Util (line 21) | public class Camera2Util { method getBytesFromImageAsType (line 32) | @RequiresApi(api = Build.VERSION_CODES.KITKAT) method decodeYUV420SP (line 135) | public static int[] decodeYUV420SP(byte[] yuv420sp, int width, int hei... FILE: app/src/main/java/camera/cn/cameramaster/util/CameraUtil.java class CameraUtil (line 19) | public class CameraUtil { method CameraUtil (line 32) | private CameraUtil() { method getInstance (line 36) | public static CameraUtil getInstance() { method getRecorderRotation (line 45) | private int getRecorderRotation(int cameraId) { method getPropVideoSize (line 59) | private Size getPropVideoSize(List list, int minHeight) { method setCameraDisplayOrientation (line 82) | public void setCameraDisplayOrientation(Activity activity, method setTakePicktrueOrientation (line 118) | public Bitmap setTakePicktrueOrientation(int id, Bitmap bitmap) { method rotaingImageView (line 131) | private Bitmap rotaingImageView(int id, int angle, Bitmap bitmap) { method getPropPreviewSize (line 152) | private Size getPropPreviewSize(List list, int minWidth) { method getPropPictureSize (line 175) | private Size getPropPictureSize(List list, int minWidth) { method getPropSizeForHeight (line 197) | public Size getPropSizeForHeight(List list, int minHeight) { method getPicPreviewSize (line 220) | public Size getPicPreviewSize(List list, int th, int minWidth){ method getPropPictureSize (line 236) | public Size getPropPictureSize(List list, float th, int minWidth){ class CameraAscendSizeComparatorForHeight (line 256) | private class CameraAscendSizeComparatorForHeight implements Comparato... method compare (line 257) | @Override method equalRate (line 269) | private boolean equalRate(Size s, float rate) { class CameraDropSizeComparator (line 277) | private class CameraDropSizeComparator implements Comparator { method compare (line 278) | @Override class CameraAscendSizeComparator (line 293) | private class CameraAscendSizeComparator implements Comparator { method compare (line 294) | @Override method printSupportPreviewSize (line 311) | private void printSupportPreviewSize(Camera.Parameters params) { method printSupportPictureSize (line 324) | private void printSupportPictureSize(Camera.Parameters params) { method printSupportFocusMode (line 336) | private void printSupportFocusMode(Camera.Parameters params) { method turnLightOn (line 348) | public void turnLightOn(Camera mCamera) { method turnLightAuto (line 375) | public void turnLightAuto(Camera mCamera) { method turnLightOff (line 402) | public void turnLightOff(Camera mCamera) { FILE: app/src/main/java/camera/cn/cameramaster/util/CameraV2.java class CameraV2 (line 59) | public class CameraV2 { method CameraV2 (line 141) | public CameraV2(Activity activity) { method setUpCameraOutputs (line 151) | @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) method startBackgroundThread (line 244) | public void startBackgroundThread() { method stopBackgroundThread (line 253) | public void stopBackgroundThread() { method openCamera (line 269) | @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) method onOpened (line 291) | @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) method onDisconnected (line 300) | @Override method onError (line 307) | @Override method setPreviewTexture (line 321) | public void setPreviewTexture(SurfaceTexture surfaceTexture) { method createCameraPreviewSession (line 328) | @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) method onImageAvailable (line 374) | @Override class CompareSizesByArea (line 385) | static class CompareSizesByArea implements Comparator { method compare (line 387) | @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) method chooseOptimalSize (line 407) | @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) method lockFocus (line 442) | @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) method closeCamera (line 460) | public void closeCamera() { method process (line 489) | @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) method onCaptureProgressed (line 535) | @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) method onCaptureCompleted (line 543) | @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) method captureStillPicture (line 557) | @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) method unlockFocus (line 601) | @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) method getOrientation (line 624) | private int getOrientation(int rotation) { class ImageSaver (line 633) | private static class ImageSaver implements Runnable { method ImageSaver (line 637) | ImageSaver(Image image, File file) { method run (line 642) | @Override method runPrecaptureSequence (line 670) | @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) FILE: app/src/main/java/camera/cn/cameramaster/util/CompareSizesByArea.java class CompareSizesByArea (line 19) | public class CompareSizesByArea implements Comparator { method compare (line 21) | @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) FILE: app/src/main/java/camera/cn/cameramaster/util/FilterEngine.java class FilterEngine (line 45) | public class FilterEngine { method FilterEngine (line 88) | public FilterEngine(int oestextureid, Context context) { method createBuffer (line 107) | private FloatBuffer createBuffer(float[] vertexData) { method loadShader (line 124) | private int loadShader(int type, String shaderSource) { method linkProgram (line 140) | private int linkProgram(int verShader, int fragShader) { method drawTexture (line 155) | public void drawTexture(float[] transformMatrix) { method getShaderProgram (line 179) | public int getShaderProgram() { method getBuffer (line 183) | public FloatBuffer getBuffer() { method getOESTextureId (line 187) | public int getOESTextureId() { method setOESTextureId (line 191) | public void setOESTextureId(int OESTextureId) { FILE: app/src/main/java/camera/cn/cameramaster/util/LabUtil.java class LabUtil (line 15) | public class LabUtil { method main (line 17) | public static void main(String[] args) { method Lab2XYZ (line 48) | public static double[] Lab2XYZ(double[] Lab) { method XYZ2Lab (line 99) | public static double[] XYZ2Lab(double[] XYZ) { method sRGB2XYZ (line 150) | public static double[] sRGB2XYZ(double[] RGB) { method XYZ2sRGB (line 197) | public static double[] XYZ2sRGB(double[] XYZ) { FILE: app/src/main/java/camera/cn/cameramaster/util/MatrixUtils.java type MatrixUtils (line 15) | public enum MatrixUtils { method MatrixUtils (line 23) | MatrixUtils(){ method getShowMatrix (line 30) | @Deprecated method getMatrix (line 48) | public static void getMatrix(float[] matrix,int type,int imgWidth,int ... method getCenterInsideMatrix (line 96) | public static void getCenterInsideMatrix(float[] matrix,int imgWidth,i... method rotate (line 113) | public static float[] rotate(float[] m,float angle){ method flip (line 118) | public static float[] flip(float[] m,boolean x,boolean y){ method scale (line 125) | public static float[] scale(float[] m,float x,float y){ method getOriginalMatrix (line 130) | public static float[] getOriginalMatrix(){ FILE: app/src/main/java/camera/cn/cameramaster/util/Utils.java class Utils (line 29) | public class Utils { method createOESTextureObject (line 37) | public static int createOESTextureObject() { method readShaderFromResource (line 57) | public static String readShaderFromResource(Context context, int resou... method getOutputMediaFile (line 100) | public static File getOutputMediaFile(Context mContext, int mediaType) { FILE: app/src/main/java/camera/cn/cameramaster/util/cameravideo/CameraHelper.java class CameraHelper (line 67) | @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) method getIsoRange (line 217) | public Range getIsoRange() { method CameraHelper (line 226) | public CameraHelper(Context context) { method setShowTextView (line 248) | public void setShowTextView(TextView mTextView){ method cameraZoom (line 253) | @Override method getMaxZoom (line 276) | public float getMaxZoom() { method initImageReader (line 283) | private void initImageReader() { method initSize (line 299) | private void initSize() { method openCamera (line 316) | @RequiresApi(api = Build.VERSION_CODES.M) method openCamera (line 403) | @SuppressLint("MissingPermission") method closeCamera (line 414) | @Override method switchCamera (line 430) | @RequiresApi(api = Build.VERSION_CODES.M) method startPreview (line 437) | @Override method updatePreview (line 488) | private void updatePreview() { method resumePreview (line 505) | @Override method startVideoRecord (line 531) | @Override method setVideoRecordParam (line 555) | private boolean setVideoRecordParam(String path) { method stopVideoRecord (line 592) | @Override method takePhone (line 608) | @Override method isLegacyLocked (line 658) | private boolean isLegacyLocked() { method setup3AControlsLocked (line 663) | private void setup3AControlsLocked(CaptureRequest.Builder builder) { method capturePhoto (line 714) | private void capturePhoto() { method getPreViewSize (line 768) | @Override method setSurface (line 773) | @Override method setTextureView (line 783) | @Override method setTakePhotoListener (line 788) | @Override method setCameraReady (line 793) | @Override method flashSwitchState (line 798) | @Override method setCameraState (line 807) | @Override method toFocusRect (line 816) | private void toFocusRect(RectF rectF) { method calcTapAreaForCamera2 (line 823) | private MeteringRectangle calcTapAreaForCamera2(int areaSize, int weig... method requestFocus (line 836) | @Override method startBackgroundThread (line 885) | public void startBackgroundThread() { method stopBackgroundThread (line 894) | public void stopBackgroundThread() { method setTakePhotoFlashMode (line 909) | private void setTakePhotoFlashMode(CaptureRequest.Builder builder) { method setRecordVideoFlashMode (line 938) | private void setRecordVideoFlashMode(CaptureRequest.Builder builder) { method setLight (line 963) | public void setLight(float light) { method startRecordVideo (line 970) | private void startRecordVideo() { method closePreviewSession (line 1021) | private void closePreviewSession() { method destroy (line 1031) | public void destroy() { method getOrientation (line 1035) | private int getOrientation(int rotation) { method setDeviceRotation (line 1044) | public void setDeviceRotation(int rotation) { method doInProgress1 (line 1052) | @Override method doInProgress2 (line 1059) | @Override method doInProgress3 (line 1066) | @Override method doInProgress4 (line 1073) | @Override method doInProgress5 (line 1080) | @Override method doInProgress6 (line 1087) | @Override method doInProgress7 (line 1094) | @Override method doInProgress8 (line 1101) | @Override method onStopTrackingTouch (line 1108) | @Override method onStartTrackingTouch (line 1149) | @Override class PhotoSaver (line 1160) | private class PhotoSaver implements Runnable { method PhotoSaver (line 1172) | public PhotoSaver(Image image, File file) { method run (line 1177) | @Override method onCaptureCompleted (line 1213) | @Override method onCaptureProgressed (line 1218) | @Override method process (line 1223) | private void process(CaptureResult result) { method onImageAvailable (line 1274) | @Override method onOpened (line 1288) | @Override method onDisconnected (line 1294) | @Override method onError (line 1300) | @Override method chooseVideoSize (line 1307) | private static Size chooseVideoSize(Size[] choices) { method chooseOptimalSize (line 1328) | private static Size chooseOptimalSize(Size[] choices, int textureViewW... class CompareSizesByArea (line 1363) | static class CompareSizesByArea implements Comparator { method compare (line 1365) | @Override method contains (line 1381) | private static boolean contains(int[] modes, int mode) { method clamp (line 1393) | private static int clamp(int x, int min, int max) { method getVideoFilePath (line 1409) | public String getVideoFilePath() { method getPhotoFilePath (line 1421) | public String getPhotoFilePath() { method dip2px (line 1433) | public int dip2px(Context context, float dipValue) { method secToTime (line 1443) | public String secToTime(int time) { method unitFormat (line 1474) | private String unitFormat(int i) { method getUriFromFile (line 1490) | public Uri getUriFromFile(Context context, File file) { method getRange1 (line 1498) | public Range getRange1 (){ method setAERegions (line 1505) | public void setAERegions(int ae){ method getEtr (line 1515) | public Range getEtr(){ method setAeTime (line 1522) | public void setAeTime(long aeTime){ method setCameraBuilerMode (line 1533) | public void setCameraBuilerMode(CaptureRequest.Key key, T value) { FILE: app/src/main/java/camera/cn/cameramaster/util/cameravideo/CoordinateTransformer.java class CoordinateTransformer (line 15) | @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) method CoordinateTransformer (line 27) | public CoordinateTransformer(CameraCharacteristics chr, RectF previewR... method toCameraSpace (line 46) | public RectF toCameraSpace(RectF source) { method previewToCameraTransform (line 52) | private Matrix previewToCameraTransform(boolean mirrorX, int sensorOri... method hasNonZeroArea (line 71) | private boolean hasNonZeroArea(RectF rect) { FILE: app/src/main/java/camera/cn/cameramaster/util/cameravideo/ICamera2.java type ICamera2 (line 13) | public interface ICamera2 { method cameraZoom (line 19) | void cameraZoom(float zoom); method openCamera (line 24) | boolean openCamera(CameraType cameraType); method closeCamera (line 29) | void closeCamera(); method switchCamera (line 36) | boolean switchCamera(CameraType cameraType); method startPreview (line 41) | boolean startPreview(); method resumePreview (line 46) | void resumePreview(); method startVideoRecord (line 53) | boolean startVideoRecord(String path, int mediaType); method stopVideoRecord (line 58) | void stopVideoRecord(); method takePhone (line 65) | boolean takePhone(String path, MediaType mediaType); method getPreViewSize (line 71) | Size getPreViewSize(); method setSurface (line 73) | void setSurface(Surface surface); method setTextureView (line 75) | void setTextureView(TextureView textureView); method setTakePhotoListener (line 77) | void setTakePhotoListener(TakePhotoListener mTakePhotoListener); method setCameraReady (line 79) | void setCameraReady(CameraReady mCameraReady); method flashSwitchState (line 81) | void flashSwitchState(FlashState mFlashState); method setCameraState (line 83) | void setCameraState(CameraMode cameraMode); method requestFocus (line 90) | void requestFocus(float x, float y); type CameraMode (line 95) | enum CameraMode type MediaType (line 104) | enum MediaType type CameraType (line 113) | enum CameraType type FlashState (line 123) | enum FlashState type TakePhotoListener (line 130) | interface TakePhotoListener{ method onTakePhotoFinish (line 131) | void onTakePhotoFinish(File file, int photoRotation, int width, int ... type CameraReady (line 134) | interface CameraReady method onCameraReady (line 136) | void onCameraReady(); FILE: app/src/main/java/camera/cn/cameramaster/util/cameravideo/IVideoControl.java type IVideoControl (line 7) | public interface IVideoControl { method play (line 12) | void play(); method pause (line 17) | void pause(); method resume (line 22) | void resume(); method stop (line 27) | void stop(); method seekTo (line 33) | void seekTo(int timeStamp); method setPlaySeekTimeListener (line 35) | void setPlaySeekTimeListener(PlaySeekTimeListener mPlaySeekTimeListener); method setPlayStateListener (line 37) | void setPlayStateListener(PlayStateListener mPlayStateListener); type PlaySeekTimeListener (line 39) | interface PlaySeekTimeListener method onSeekTime (line 41) | void onSeekTime(int allTime, int time); type PlayStateListener (line 47) | interface PlayStateListener{ method onStartListener (line 49) | void onStartListener(int width, int height); method onCompletionListener (line 51) | void onCompletionListener(); FILE: app/src/main/java/camera/cn/cameramaster/util/cameravideo/VideoPlayer.java class VideoPlayer (line 21) | public class VideoPlayer implements IVideoControl { method VideoPlayer (line 37) | public VideoPlayer() method setLoopPlay (line 46) | public void setLoopPlay(boolean isLoop) method setDataSourceAndPlay (line 52) | public void setDataSourceAndPlay(Context context, Uri uri) method setDataSourceAndPlay (line 89) | public void setDataSourceAndPlay(String path) method play (line 127) | @Override method pause (line 137) | @Override method resume (line 144) | @Override method stop (line 151) | @Override method seekTo (line 160) | @Override method setPlaySeekTimeListener (line 167) | @Override method setPlayStateListener (line 172) | @Override method setVideoPlayWindow (line 177) | public void setVideoPlayWindow(Surface surface) method isPlaying (line 182) | public boolean isPlaying(){ method startVideoSeekTime (line 189) | private void startVideoSeekTime() method stopVideoSeekTime (line 219) | private void stopVideoSeekTime() method destroy (line 224) | @RequiresApi(api = Build.VERSION_CODES.JELLY_BEAN_MR2) FILE: app/src/main/java/camera/cn/cameramaster/util/render/CameraV2Renderer.java class CameraV2Renderer (line 56) | public class CameraV2Renderer implements GLSurfaceView.Renderer { method init (line 89) | public void init(CameraV2GLSurfaceView surfaceView, CameraV2 camera, method onSurfaceCreated (line 103) | @Override method onSurfaceChanged (line 124) | @Override method onDrawFrame (line 131) | @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) method initSurfaceTexture (line 249) | @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) method bindfbo (line 276) | private void bindfbo() { method unbindfbo (line 299) | private void unbindfbo() { FILE: app/src/main/java/camera/cn/cameramaster/view/AnimationTextView.java class AnimationTextView (line 16) | @SuppressLint("AppCompatCustomView") method AnimationTextView (line 25) | public AnimationTextView(Context context) { method AnimationTextView (line 29) | public AnimationTextView(Context context, AttributeSet attrs) { method AnimationTextView (line 33) | public AnimationTextView(Context context, AttributeSet attrs, int defS... method AnimationTextView (line 37) | @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) method setmMainHandler (line 42) | public void setmMainHandler(Handler mMainHandler) { method setmAnimation (line 46) | public void setmAnimation(Animation mAnimation) { method start (line 50) | public void start(String text, int message) { method stop (line 61) | public void stop() { FILE: app/src/main/java/camera/cn/cameramaster/view/AutoFitTextureView.java class AutoFitTextureView (line 18) | public class AutoFitTextureView extends TextureView { method AutoFitTextureView (line 23) | public AutoFitTextureView(Context context) { method AutoFitTextureView (line 27) | public AutoFitTextureView(Context context, AttributeSet attrs) { method AutoFitTextureView (line 31) | public AutoFitTextureView(Context context, AttributeSet attrs, int def... method setAspectRatio (line 42) | public void setAspectRatio(int width, int height) { method setVideoAspectRatio (line 68) | public void setVideoAspectRatio(int width, int height) FILE: app/src/main/java/camera/cn/cameramaster/view/AutoLocateHorizontalView.java class AutoLocateHorizontalView (line 19) | public class AutoLocateHorizontalView extends RecyclerView { method AutoLocateHorizontalView (line 57) | public AutoLocateHorizontalView(Context context) { method AutoLocateHorizontalView (line 61) | public AutoLocateHorizontalView(Context context, @Nullable AttributeSe... method AutoLocateHorizontalView (line 66) | public AutoLocateHorizontalView(Context context, @Nullable AttributeSe... method init (line 70) | private void init() { method setInitPos (line 97) | public void setInitPos(int initPos) { method setItemCount (line 111) | public void setItemCount(int itemCount) { method correctDeltax (line 127) | private void correctDeltax(Adapter adapter) { method reCallListenerWhenRemove (line 139) | private void reCallListenerWhenRemove(int startPos) { method reCallListenerWhenAdd (line 153) | private void reCallListenerWhenAdd(int startPos) { method reCallListenerWhenChanged (line 162) | private void reCallListenerWhenChanged() { method setAdapter (line 168) | @Override method setLayoutManager (line 203) | @Override method onScrollStateChanged (line 211) | @Override method moveToPosition (line 247) | public void moveToPosition(int position) { method computeScroll (line 261) | @Override method onScrolled (line 283) | @Override method calculateSelectedPos (line 290) | private void calculateSelectedPos() { class WrapperAdapter (line 299) | class WrapperAdapter extends RecyclerView.Adapter { method WrapperAdapter (line 315) | public WrapperAdapter(Adapter adapter, Context context, int itemCoun... method onCreateViewHolder (line 326) | @Override method onBindViewHolder (line 347) | @SuppressWarnings("unchecked") method getItemCount (line 361) | @Override method getItemViewType (line 366) | @Override method isHeaderOrFooter (line 375) | private boolean isHeaderOrFooter(int pos) { method getHeaderFooterWidth (line 382) | public int getHeaderFooterWidth() { method getItemWidth (line 386) | public int getItemWidth() { class HeaderFooterViewHolder (line 390) | class HeaderFooterViewHolder extends RecyclerView.ViewHolder { method HeaderFooterViewHolder (line 392) | HeaderFooterViewHolder(View itemView) { type IAutoLocateHorizontalView (line 401) | public interface IAutoLocateHorizontalView { method getItemView (line 405) | View getItemView(); method onViewSelected (line 415) | void onViewSelected(boolean isSelected, int pos, ViewHolder holder, ... type OnSelectedPositionChangedListener (line 421) | public interface OnSelectedPositionChangedListener { method selectedPositionChanged (line 422) | void selectedPositionChanged(int pos); method setOnSelectedPositionChangedListener (line 425) | public void setOnSelectedPositionChangedListener(OnSelectedPositionCha... FILE: app/src/main/java/camera/cn/cameramaster/view/AutoTextureView.java class AutoTextureView (line 17) | public class AutoTextureView extends TextureView { method AutoTextureView (line 22) | public AutoTextureView(Context context) { method AutoTextureView (line 26) | public AutoTextureView(Context context, AttributeSet attrs) { method AutoTextureView (line 30) | public AutoTextureView(Context context, AttributeSet attrs, int defSty... method setAspectRatio (line 41) | public void setAspectRatio(int width, int height) { method onMeasure (line 50) | @Override FILE: app/src/main/java/camera/cn/cameramaster/view/AwbSeekBar.java class AwbSeekBar (line 16) | @SuppressLint("AppCompatCustomView") method AwbSeekBar (line 23) | public AwbSeekBar(Context context) { method AwbSeekBar (line 28) | public AwbSeekBar(Context context, AttributeSet attrs) { method AwbSeekBar (line 33) | public AwbSeekBar(Context context, AttributeSet attrs, int defStyleAtt... method AwbSeekBar (line 38) | @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) method setmOnAwbSeekBarChangeListener (line 43) | public void setmOnAwbSeekBarChangeListener(OnAwbSeekBarChangeListener ... method init (line 47) | private void init() { type OnAwbSeekBarChangeListener (line 114) | public interface OnAwbSeekBarChangeListener { method doInProgress1 (line 115) | public abstract void doInProgress1(); method doInProgress2 (line 117) | public abstract void doInProgress2(); method doInProgress3 (line 119) | public abstract void doInProgress3(); method doInProgress4 (line 121) | public abstract void doInProgress4(); method doInProgress5 (line 123) | public abstract void doInProgress5(); method doInProgress6 (line 125) | public abstract void doInProgress6(); method doInProgress7 (line 127) | public abstract void doInProgress7(); method doInProgress8 (line 129) | public abstract void doInProgress8(); method onStopTrackingTouch (line 131) | public abstract void onStopTrackingTouch(int num); method onStartTrackingTouch (line 133) | public abstract void onStartTrackingTouch(SeekBar seekBar); FILE: app/src/main/java/camera/cn/cameramaster/view/AwbSeekBarChangeListener.java class AwbSeekBarChangeListener (line 27) | @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) method AwbSeekBarChangeListener (line 38) | public AwbSeekBarChangeListener(Context mContext, TextView mTextView, ... method doInProgress1 (line 50) | @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP) method doInProgress2 (line 58) | @Override method doInProgress3 (line 65) | @Override method doInProgress4 (line 73) | @Override method doInProgress5 (line 80) | @Override method doInProgress6 (line 87) | @Override method doInProgress7 (line 94) | @Override method doInProgress8 (line 101) | @Override method onStopTrackingTouch (line 108) | @Override method onStartTrackingTouch (line 149) | @Override method updatePreview (line 158) | private void updatePreview() { FILE: app/src/main/java/camera/cn/cameramaster/view/CameraV2GLSurfaceView.java class CameraV2GLSurfaceView (line 18) | public class CameraV2GLSurfaceView extends GLSurfaceView { method init (line 21) | public void init(CameraV2 camera, boolean isPreviewStarted, Context co... method CameraV2GLSurfaceView (line 29) | public CameraV2GLSurfaceView(Context context) { FILE: app/src/main/java/camera/cn/cameramaster/view/ShowSurfaceView.java class ShowSurfaceView (line 20) | public class ShowSurfaceView extends SurfaceView implements SurfaceHolde... method ShowSurfaceView (line 33) | public ShowSurfaceView(Context context) { method ShowSurfaceView (line 37) | public ShowSurfaceView(Context context, AttributeSet attrs) { method ShowSurfaceView (line 41) | public ShowSurfaceView(Context context, AttributeSet attrs, int defSty... method surfaceCreated (line 55) | @Override method surfaceChanged (line 62) | @Override method surfaceDestroyed (line 67) | @Override method run (line 72) | @Override method drawSomething (line 80) | private void drawSomething() { method getBitmap (line 99) | public Bitmap getBitmap() { method setBitmap (line 103) | public void setBitmap(Bitmap bitmap) { FILE: app/src/main/java/camera/cn/cameramaster/view/SleepThread.java class SleepThread (line 11) | public class SleepThread implements Runnable { method SleepThread (line 17) | public SleepThread(Handler mainHandler, int what, long mTime, Object m... method run (line 24) | @Override FILE: app/src/test/java/camera/cn/cameramaster/ExampleUnitTest.java class ExampleUnitTest (line 12) | public class ExampleUnitTest { method addition_isCorrect (line 13) | @Test