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

OneEditTextActivityNotSelectedTests

public class OneEditTextActivityNotSelectedTests extends ImfBaseTestCase

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

	
      
        super(OneEditTextActivityNotSelected.class);
    
Methods Summary
public voidtestSoftKeyboardNoAutoPop()

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