1 package com.xtremelabs.robolectric.shadows; 2 3 import android.hardware.Camera; 4 import com.xtremelabs.robolectric.internal.Implements; 5 import com.xtremelabs.robolectric.internal.RealObject; 6 7 /** 8 * Shadow for the Android {@code Camera.Size} value object. 9 */ 10 @Implements(Camera.Size.class) 11 public class ShadowCameraSize { 12 @RealObject private Camera.Size realCameraSize; 13 __constructor__(Camera camera, int width, int height)14 public void __constructor__(Camera camera, int width, int height) { 15 realCameraSize.width = width; 16 realCameraSize.height = height; 17 } 18 } 19