FileDocCategorySizeDatePackage
OneEditTextActivityNotSelectedTests.javaAPI DocAndroid 5.1 API1677Thu Mar 12 22:22:44 GMT 2015com.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());