Source/CSBackend/Platform/Android/Main/Java/com/chilliworks/chillisource/input/TextEntryNativeInterface.java
/**
	 * @author Ian Copland
	 *
	 * @param The capitalisation method as an CS integer 
	 *
	 * @return The capitalisation input type flag required by Android.
	 */
@author Ian Copland
@param The capitalisation method as an CS integer

@return The capitalisation input type flag required by Android.
@author Ian Copland @param The capitalisation method as an CS integer @return The capitalisation input type flag required by Android .
private int integerToKeyboardCapitalisation(int in_method)
	{
		switch (in_method)
		{
			case 0:
				return 0;
			case 1:
				return InputType.TYPE_TEXT_FLAG_CAP_SENTENCES;
			case 2:
				return InputType.TYPE_TEXT_FLAG_CAP_WORDS;
			case 3:
				return InputType.TYPE_TEXT_FLAG_CAP_CHARACTERS;
			default:
				Logging.logError("Invalid keyboard capitalisation integer, cannot be converted.");
				return 0;
		}
	}
private int integerToKeyboardCapitalisation ( int in_method ) { switch ( in_method ) { case 0 : return 0 ; case 1 : return InputType . TYPE_TEXT_FLAG_CAP_SENTENCES ; case 2 : return InputType . TYPE_TEXT_FLAG_CAP_WORDS ; case 3 : return InputType . TYPE_TEXT_FLAG_CAP_CHARACTERS ; default : Logging . logError ( "Invalid keyboard capitalisation integer, cannot be converted." ) ; return 0 ; } }
@author Ian Copland
 @param The capitalisation method as an CS integer
@author Ian Copland @param The capitalisation method as an CS integer