FileDocCategorySizeDatePackage
BottomEditTextActivityResizeTests.javaAPI DocAndroid 1.5 API1629Wed May 06 22:42:02 BST 2009com.android.imftest.samples

BottomEditTextActivityResizeTests

public class BottomEditTextActivityResizeTests extends ImfBaseTestCase

Fields Summary
public final String
TAG
Constructors Summary
public BottomEditTextActivityResizeTests()

    
      
        super(BottomEditTextActivityResize.class);
    
Methods Summary
public voidtestAppAdjustmentResize()

        // Give the IME 2 seconds to appear.
        pause(2000);
        
        View rootView = ((BottomEditTextActivityResize) mTargetActivity).getRootView();
        View servedView = ((BottomEditTextActivityResize) mTargetActivity).getDefaultFocusedView();
        
        assertNotNull(rootView);
        assertNotNull(servedView);
        
        destructiveCheckImeInitialState(rootView, servedView);
        
        verifyEditTextAdjustment(servedView, rootView.getMeasuredHeight());