/external/clang/test/SemaObjC/ |
objcbridge-related-attribute.m | 21 NSColor * Test1(NSTextField *textField, CGColorRef newColor) { 23 textField.backgroundColor = newColor; // expected-error {{'CGColorRef' (aka 'struct CGColor *') must be explicitly converted to 'NSColor *'; use '+colorWithCGColor:' method for this conversion}} 27 NSColor * Test2(NSTextField *textField, CGColorRef1 newColor) { 29 textField.backgroundColor = newColor; // expected-warning {{incompatible pointer types assigning}} 33 CGColorRef Test3(NSTextField *textField, CGColorRef newColor) { 34 newColor = textField.backgroundColor; // expected-error {{'NSColor *' must be explicitly converted to 'CGColorRef' (aka 'struct CGColor *'); use '-CGColor' method for this conversion}} 35 return textField.backgroundColor; // expected-error {{'NSColor *' must be explicitly converted to 'CGColorRef' (aka 'struct CGColor *'); use '-CGColor' method for this conversion}} 38 CGColorRef2 Test4(NSTextField *textField, CGColorRef2 newColor) { 39 newColor = textField.backgroundColor; // expected-warning {{incompatible pointer types assigning}} 40 return textField.backgroundColor; // expected-warning {{incompatible pointer types returning} [all...] |
arc-objcbridge-related-attribute.m | 21 NSColor * Test1(NSTextField *textField, CGColorRef newColor) { 23 textField.backgroundColor = newColor; // expected-error {{'CGColorRef' (aka 'struct CGColor *') must be explicitly converted to 'NSColor *__strong'; use '+colorWithCGColor:' method for this conversion}} 27 NSColor * Test2(NSTextField *textField, CGColorRef1 newColor) { 29 textField.backgroundColor = newColor; // expected-warning {{incompatible pointer types assigning to 'NSColor *__strong' from 'CGColorRef1' (aka 'struct CGColor1 *')}} 33 CGColorRef Test3(NSTextField *textField, CGColorRef newColor) { 34 newColor = textField.backgroundColor; // expected-error {{'NSColor *' must be explicitly converted to 'CGColorRef' (aka 'struct CGColor *'); use '-CGColor' method for this conversion}} 35 return textField.backgroundColor; // expected-error {{'NSColor *' must be explicitly converted to 'CGColorRef' (aka 'struct CGColor *'); use '-CGColor' method for this conversion}} 38 CGColorRef2 Test4(NSTextField *textField, CGColorRef2 newColor) { 39 newColor = textField.backgroundColor; // expected-warning {{incompatible pointer types assigning}} 40 return textField.backgroundColor; // expected-warning {{incompatible pointer types returning} [all...] |
check-objcbridge-related-attribute-lookup.m | 22 NSColor * Test1(NSTextField *textField, CGColorRef newColor) { 23 textField.backgroundColor = newColor; // expected-error {{'CGColorRef' (aka 'struct CGColor *') must be explicitly converted to 'NSColor *'; use '+colorXWithCGColor:' method for this conversion}} \ 25 newColor = textField.backgroundColor; // expected-error {{'NSColor *' must be explicitly converted to 'CGColorRef' (aka 'struct CGColor *'); use '-CXGColor' method for this conversion}} \ 28 NSColor * Test2(NSTextField *textField, CGColorRef1 newColor) { 29 textField.backgroundColor = newColor; // expected-error {{could not find Objective-C class 'XNSColor' to convert 'CGColorRef1' (aka 'struct CGColor1 *') to 'NSColor *'}} \ 31 newColor = textField.backgroundColor ; // expected-error {{could not find Objective-C class 'XNSColor' to convert 'NSColor *' to 'CGColorRef1' (aka 'struct CGColor1 *')}} \ 35 NSColor * Test3(NSTextField *textField, CGColorRef2 newColor) { 36 textField.backgroundColor = newColor; // expected-error {{'PNsColor' must be name of an Objective-C class to be able to convert 'CGColorRef2' (aka 'struct CGColor2 *') to 'NSColor *'}} \ 38 newColor = textField.backgroundColor; // expected-error {{'PNsColor' must be name of an Objective-C class to be able to convert 'NSColor *' to 'CGColorRef2' (aka 'struct CGColor2 *')}} \
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
TextAreaTest.java | 25 import com.badlogic.gdx.scenes.scene2d.ui.TextField;
46 TextField textField = new TextField("Text field", skin);
47 textField.setX(10);
48 textField.setY(220);
49 textField.setWidth(200);
50 textField.setHeight(30);
52 stage.addActor(textField);
|
UITest.java | 42 import com.badlogic.gdx.scenes.scene2d.ui.TextField; 43 import com.badlogic.gdx.scenes.scene2d.ui.TextField.TextFieldListener; 103 TextField textfield = new TextField("", skin); local 104 textfield.setMessageText("Click here!"); 105 textfield.setAlignment(Align.center); 128 // configures an example of a TextField in password mode. 129 final Label passwordLabel = new Label("Textfield in password mode: ", skin); 130 final TextField passwordTextField = new TextField("", skin) [all...] |
TableLayoutTest.java | 31 import com.badlogic.gdx.scenes.scene2d.ui.TextField;
44 TextField nameText = new TextField("", skin);
46 TextField addressText = new TextField("", skin);
|
/external/clang/test/FixIt/ |
fixit-objc-bridge-related-attr.m | 19 NSColor * Test1(NSTextField *textField, CGColorRef newColor) { 20 textField.backgroundColor = newColor; 24 CGColorRef Test2(NSTextField *textField, CGColorRef newColor) { 25 newColor = textField.backgroundColor; // [textField.backgroundColor CGColor] 26 return textField.backgroundColor;
|
fixit-objc-bridge-related-property.m | 18 CGColorRef Test(NSTextField *textField, CGColorRef newColor) { 19 newColor = textField.backgroundColor; 20 return textField.backgroundColor;
|
/external/libgdx/backends/gdx-backend-moe/src/com/badlogic/gdx/backends/iosmoe/ |
IOSInput.java | 297 // uses a hidden textfield to capture input
320 private UITextField textfield = null;
field in class:IOSInput 323 public boolean textFieldShouldChangeCharactersInRangeReplacementString (UITextField textField, NSRange range, String string) {
345 public boolean textFieldShouldEndEditing (UITextField textField) {
347 textField.setText("x");
354 public boolean textFieldShouldReturn (UITextField textField) {
365 if (textfield == null) createDefaultTextField();
367 textfield.becomeFirstResponder();
368 textfield.setDelegate(textDelegate);
370 textfield.resignFirstResponder(); [all...] |
/packages/apps/Music/res/values-keysexposed/ |
strings.xml | 21 <!-- Prompt in dialog when creating a playlist. The user will enter the name of the playlist in a textfield underneath this prompt. --> 23 <!-- Prompt in dialog when renaming a playlist, used when the current name and the new name are the same. The user will enter the new name of the playlist in a textfield underneath this prompt. --> 25 <!-- Prompt in dialog when renaming a playlist, used when the current name the new name are different. The user will enter the new name of the playlist in a textfield underneath this prompt. -->
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/rbnf/ |
RbnfDemo.java | 25 import java.awt.TextField; 92 numberField = new TextField(); 94 textField = new DemoTextFieldHolder(); 95 textField.setFont(new Font("Serif", Font.PLAIN, 24)); 110 textField.setText("PARSE ERROR"); 114 textField.setText(spelloutFormatter.format(theNumber, ruleSetName)); 131 textField.addKeyListener(new KeyAdapter() { 141 textField.selectAll(); 144 textField.select(parsePosition.getIndex(), fieldText.length()); 148 textField.selectAll() [all...] |
/external/skia/experimental/iOSSampleApp/Shared/ |
SkOptionsTableViewController.mm | 155 else if ([sender isKindOfClass:[UITextField class]]) { //TextField 156 UITextField* textField = (UITextField *)sender; 157 [textField resignFirstResponder]; 158 item.fItem->setString([textField.text UTF8String]); 247 UITextField* textField = [[UITextField alloc] 249 textField.adjustsFontSizeToFitWidth = YES; 250 textField.textAlignment = NSTextAlignmentRight; 251 textField.textColor = cell.detailTextLabel.textColor; 252 textField.placeholder = value; 253 textField.returnKeyType = UIReturnKeyDone [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/ |
TextField.java | 65 public class TextField extends Widget implements Disableable { 118 public TextField (String text, Skin skin) { 122 public TextField (String text, Skin skin, String styleName) { 126 public TextField (String text, TextFieldStyle style) { 411 /** Copies the contents of this TextField to the {@link Clipboard} implementation set on this TextField. */ 418 /** Copies the selected contents of this TextField to the {@link Clipboard} implementation set on this TextField, then removes 479 /** Focuses the next TextField. If none is found, the keyboard is hidden. Does nothing if the text field is not in a stage. 480 * @param up If true, the TextField with the same or next smallest y coordinate is found, else the next highest. * [all...] |
/external/libgdx/backends/gdx-backend-robovm/src/com/badlogic/gdx/backends/iosrobovm/ |
IOSInput.java | 352 // uses a hidden textfield to capture input 375 private UITextField textfield = null; field in class:IOSInput 378 public boolean shouldChangeCharacters (UITextField textField, NSRange range, String string) { 400 public boolean shouldEndEditing (UITextField textField) { 402 textField.setText("x"); 409 public boolean shouldReturn (UITextField textField) { 420 if (textfield == null) createDefaultTextField(); 422 textfield.becomeFirstResponder(); 423 textfield.setDelegate(textDelegate); 425 textfield.resignFirstResponder() [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/tests/ |
test_django_orm.py | 60 self.assertEquals(self.field.get_internal_type(), 'TextField') 78 self.assertEquals(self.field.get_internal_type(), 'TextField')
|
/packages/apps/Dialer/src/com/android/dialer/ |
SpecialCharSequenceMgr.java | 135 public static boolean handleChars(Context context, String input, EditText textField) { 142 || handleAdnEntry(context, dialString, textField) 196 static boolean handleAdnEntry(Context context, String input, EditText textField) { 237 sc.setTextField(textField); 384 * Note, access to the textField field is going to be synchronized, because 396 private EditText textField; 408 return textField; 415 textField = text; 428 // setting the textfield to null ensures that the UI does NOT get 430 textField = null [all...] |
/external/libvncserver/webclients/java-applet/ |
javaviewer.pseudo_proxy.patch | 10 + TextField proxyHostEdit; 12 + TextField proxyPortEdit; 42 + proxyHostEdit = new TextField(); 51 + proxyPortEdit = new TextField();
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/bots/ |
UiBot.java | 75 UiObject textField = findSearchViewTextField(); 79 assertTrue(textField.exists()); 80 assertEquals(isFocused, textField.isFocused()); 82 assertEquals(query, textField.getText());
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/ |
django_orm.py | 40 return "TextField" 65 return "TextField"
|
/external/libgdx/extensions/gdx-tools/assets/ |
uiskin.json | 44 com.badlogic.gdx.scenes.scene2d.ui.TextField$TextFieldStyle: { 45 default: { selection: selection, background: textfield, font: default-font, fontColor: white, cursor: cursor }
|
/development/apps/CustomLocale/res/values/ |
strings.xml | 48 <!-- Locale hint in textfield. Not translated -->
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/publishingFiles/staticDropFiles/ |
download.php | 46 echo '<textarea name="textfield" cols="80" rows="20" wrap="PHYSICAL">'.$result;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
RenameResourcePage.java | 105 Text textField = getTextField(); 106 textField.setText(newName); 107 textField.setSelection(0, newName.length());
|
/external/libgdx/backends/gdx-backend-jglfw/src/com/badlogic/gdx/backends/jglfw/ |
JglfwInput.java | 314 final JTextField textField = new JTextField(20);
315 textField.setText(text);
316 textField.setAlignmentX(0.0f);
317 textPanel.add(textField);
324 textField.getDocument().addDocumentListener(new DocumentListener() {
338 placeholderLabel.setVisible(textField.getText().length() == 0);
347 placeholderLabel.setBorder(new EmptyBorder(textField.getBorder().getBorderInsets(textField)));
355 textField.requestFocusInWindow();
363 listener.input(textField.getText()); [all...] |
/external/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/ |
LwjglAWTInput.java | 177 final JTextField textField = new JTextField(20);
178 textField.setText(text);
179 textField.setAlignmentX(0.0f);
180 textPanel.add(textField);
187 textField.getDocument().addDocumentListener(new DocumentListener() {
205 if (textField.getText().length() == 0)
218 Border border = textField.getBorder();
219 placeholderLabel.setBorder(new EmptyBorder(border.getBorderInsets(textField)));
232 textField.requestFocusInWindow();
243 listener.input(textField.getText()); [all...] |