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

OneEditTextActivitySelectedTests

public class OneEditTextActivitySelectedTests extends ImfBaseTestCase

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

    
      
        super(OneEditTextActivitySelected.class);
    
Methods Summary
public voidtestSoftKeyboardAutoPop()

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