Home | History | Annotate | Download | only in assets

Lines Matching refs:if

13     if (selected) {
38 if(gSelectedIndex >= 0) {
45 if (!gInitialized) {
71 //if we have results, make the table visible and initialize result info
72 if (gMatches.length > 0) {
80 if (i == gSelectedIndex) {
89 //if there are more results we're not showing, so say so.
90 /* if (gMatches.length > ROW_COUNT) {
98 //if we have no results, hide the table
110 if (e.keyCode == 13) {
112 if (kd && gSelectedIndex >= 0) {
115 } else if (gSelectedIndex < 0) {
120 else if (kd && (e.keyCode == 38)) {
121 if (gSelectedIndex >= 0) {
128 else if (kd && (e.keyCode == 40)) {
129 if (gSelectedIndex < gMatches.length-1
136 else if (!kd) {
142 if (text.length != 0 &&
151 if (gSelectedID == s.id) {
163 if (!gMatches || !gMatches.length)
167 // in the given string, or -1 if not found
169 if (s == '')
174 if (l < 0) l = 0;
186 if (s.charAt(i) == c) ++n;
203 if (t >= 0) {
209 if (t >= 0) {
225 if (n == 0) // lexicographical sort if scores are the same
233 if (!gMatches || !gMatches.length)
248 if (focused) {
249 if(obj.value == DEFAULT_TEXT){
254 if(obj.value == ""){