f97da47c02
This CL opensouces a testing tool called EditTextVariations that has been used internally to test IME behaviors on various EditorInfo#inputType and EditorInfo#imeOptions. Bug: 80039502 Test: Manually verified as follows. 1. tapas EditTextVariations 2. make -j 3. adb install -r $ANDROID_TARGET_OUT_TESTCASES/EditTextVariations/EditTextVariations.apk Change-Id: Ia87e655573c2fd1fc09d56e4af90bfb1dfd65f9b
96 lines
2.6 KiB
HTML
96 lines
2.6 KiB
HTML
<!--
|
|
/*
|
|
**
|
|
** Copyright 2011, The Android Open Source Project
|
|
**
|
|
** Licensed under the Apache License, Version 2.0 (the "License");
|
|
** you may not use this file except in compliance with the License.
|
|
** You may obtain a copy of the License at
|
|
**
|
|
** http://www.apache.org/licenses/LICENSE-2.0
|
|
**
|
|
** Unless required by applicable law or agreed to in writing, software
|
|
** distributed under the License is distributed on an "AS IS" BASIS,
|
|
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
** See the License for the specific language governing permissions and
|
|
** limitations under the License.
|
|
*/
|
|
-->
|
|
|
|
<html>
|
|
<head>
|
|
<script type="text/javascript">
|
|
(function(d, name) {
|
|
var css = document.createElement('link');
|
|
css.rel = 'stylesheet';
|
|
css.href = name + ".css";
|
|
d.head.appendChild(css);
|
|
})(document, theme.name());
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div
|
|
class="input"
|
|
style="margin-top:-8px"
|
|
>
|
|
<input
|
|
type="text"
|
|
size="80%"
|
|
name="webtext"
|
|
placeholder="<input type="text"/>" />
|
|
</div>
|
|
<div class="input">
|
|
<input
|
|
type="email"
|
|
size="80%"
|
|
name="webemail"
|
|
placeholder="<input type="email"/>" />
|
|
</div>
|
|
<div class="input">
|
|
<input
|
|
type="password"
|
|
size="80%"
|
|
name="webpassword"
|
|
placeholder="<input type="password"/>" />
|
|
</div>
|
|
<div class="input">
|
|
<input
|
|
type="url"
|
|
size="80%"
|
|
name="weburl"
|
|
placeholder="<input type="url"/>" />
|
|
</div>
|
|
<div class="input">
|
|
<input
|
|
type="number"
|
|
size="80%"
|
|
name="webnumber"
|
|
placeholder="<input type="number"/>" />
|
|
</div>
|
|
<div class="input">
|
|
<input
|
|
type="tel"
|
|
size="80%"
|
|
name="webtel"
|
|
placeholder="<input type="tel"/>" />
|
|
</div>
|
|
<div class="input">
|
|
<input
|
|
type="search"
|
|
size="80%"
|
|
name="websearch"
|
|
placeholder="<input type="search"/>" />
|
|
</div>
|
|
<div
|
|
class="input"
|
|
style="margin-bottom:-4px"
|
|
>
|
|
<textarea
|
|
rows="2"
|
|
cols="80%"
|
|
name="webtextarea"
|
|
placeholder="<textarea></textarea>"
|
|
></textarea>
|
|
</div>
|
|
</body>
|
|
</html>
|