Searched refs:newInstance (Results 1 - 25 of 230) sorted by relevance

12345678910

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
H A DAbstractLayoutBase.java30 return ExpectedKey.newInstance(label, moreKeys);
36 return ExpectedKey.newInstance(label, outputText, moreKeys);
42 return ExpectedKey.newInstance(label, code, moreKeys);
48 return ExpectedKey.newInstance(iconId, outputText, moreKeys);
54 return ExpectedKey.newInstance(iconId, code, moreKeys);
59 return ExpectedKey.newInstance(key.getVisual(), key.getOutput(), moreKeys);
68 return ExpectedAdditionalMoreKey.newInstance(label);
73 return ExpectedKey.newInstance(label);
79 return ExpectedKey.newInstance(label, outputText);
85 return ExpectedKey.newInstance(labe
[all...]
H A DExpectedKey.java30 static ExpectedKey EMPTY_KEY = newInstance("");
33 static ExpectedKey newInstance(final String label, final ExpectedKey... moreKeys) { method in class:ExpectedKey
34 return newInstance(label, label, moreKeys);
38 static ExpectedKey newInstance(final String label, final String outputText, method in class:ExpectedKey
40 return newInstance(ExpectedKeyVisual.newInstance(label),
41 ExpectedKeyOutput.newInstance(outputText), moreKeys);
45 static ExpectedKey newInstance(final String label, final int code, method in class:ExpectedKey
47 return newInstance(ExpectedKeyVisual.newInstance(labe
52 static ExpectedKey newInstance(final int iconId, final String outputText, method in class:ExpectedKey
59 static ExpectedKey newInstance(final int iconId, final int code, method in class:ExpectedKey
65 static ExpectedKey newInstance(final ExpectedKeyVisual visual, final ExpectedKeyOutput output, method in class:ExpectedKey
207 public static ExpectedAdditionalMoreKey newInstance(final String label) { method in class:ExpectedKey.ExpectedAdditionalMoreKey
212 public static ExpectedAdditionalMoreKey newInstance(final ExpectedKey key) { method in class:ExpectedKey.ExpectedAdditionalMoreKey
[all...]
H A DExpectedKeyOutput.java32 static ExpectedKeyOutput newInstance(final int code) { method in class:ExpectedKeyOutput
36 static ExpectedKeyOutput newInstance(final String outputText) { method in class:ExpectedKeyOutput
66 return newInstance(codeString.toUpperCase(locale));
124 return newInstance(mText.toUpperCase(locale));
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
H A DAndroidSpellCheckerSessionFactory.java22 public static Session newInstance(AndroidSpellCheckerService service) { method in class:AndroidSpellCheckerSessionFactory
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DStringTexture.java30 // To create a StringTexture, use the newInstance() method and specify
54 public static StringTexture newInstance( method in class:StringTexture
56 return newInstance(text, getDefaultPaint(textSize, color));
59 public static StringTexture newInstance( method in class:StringTexture
70 return newInstance(text, paint);
73 private static StringTexture newInstance(String text, TextPaint paint) { method in class:StringTexture
H A DMultiLineTexture.java28 // To create a MultiLineTexture, use the newInstance() method and specify
38 public static MultiLineTexture newInstance( method in class:MultiLineTexture
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
H A DActionFragment.java35 public static ActionFragment newInstance(ArrayList<Action> actions) { method in class:ActionFragment
36 return newInstance(actions, null);
39 public static ActionFragment newInstance(ArrayList<Action> actions, String name) { method in class:ActionFragment
45 public static ActionFragment newInstance(ArrayList<Action> actions, int index) { method in class:ActionFragment
51 public static ActionFragment newInstance(ArrayList<Action> actions, String name, int index) { method in class:ActionFragment
H A DContentFragment.java44 public static ContentFragment newInstance(String title) { method in class:ContentFragment
45 return newInstance(title, null, null, 0, Color.TRANSPARENT);
48 public static ContentFragment newInstance(String title, String breadcrumb, method in class:ContentFragment
50 return newInstance(title, breadcrumb, description, 0, Color.TRANSPARENT);
53 public static ContentFragment newInstance(String title, String breadcrumb, String description, method in class:ContentFragment
55 return newInstance(title, breadcrumb, description, iconResourceId, Color.TRANSPARENT);
58 public static ContentFragment newInstance(String title, String breadcrumb, String description, method in class:ContentFragment
67 public static ContentFragment newInstance(String title, String breadcrumb, String description, method in class:ContentFragment
69 return newInstance(title, breadcrumb, description, iconResourceUri, Color.TRANSPARENT);
72 public static ContentFragment newInstance(Strin method in class:ContentFragment
81 public static ContentFragment newInstance(String title, String breadcrumb, String description, method in class:ContentFragment
[all...]
H A DEditTextFragment.java45 public static EditTextFragment newInstance(int layoutResId, int editTextResId) { method in class:EditTextFragment
57 public static EditTextFragment newInstance(String description) { method in class:EditTextFragment
58 return newInstance(description, null);
61 public static EditTextFragment newInstance(String description, String initialText) { method in class:EditTextFragment
62 return newInstance(description, initialText, false);
65 public static EditTextFragment newInstance(String description, String initialText, method in class:EditTextFragment
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/database/
H A DNoNullCursorAsyncQueryHandlerTest.java58 final ObjectHolder<Cursor> cursorHolder = ObjectHolder.newInstance();
59 final ObjectHolder<Boolean> ranHolder = ObjectHolder.newInstance(false);
86 final ObjectHolder<Boolean> ranHolder = ObjectHolder.newInstance(false);
88 final ObjectHolder<Object> cookieHolder = ObjectHolder.newInstance();
113 final ObjectHolder<Boolean> ranHolder = ObjectHolder.newInstance(false);
115 final ObjectHolder<Cursor> cursorHolder = ObjectHolder.newInstance();
142 public static <E> ObjectHolder<E> newInstance() { method in class:NoNullCursorAsyncQueryHandlerTest.ObjectHolder
146 public static <E> ObjectHolder<E> newInstance(E value) { method in class:NoNullCursorAsyncQueryHandlerTest.ObjectHolder
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DObjectCache.java31 T newInstance(); method in interface:ObjectCache.Callback
59 result = mCallback.newInstance();
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
H A DTimedMessageWizardFragment.java39 public static TimedMessageWizardFragment newInstance(String title) { method in class:TimedMessageWizardFragment
40 return newInstance(title, DEFAULT_TIME_OUT_MS);
43 public static TimedMessageWizardFragment newInstance(String title, int durationMs) { method in class:TimedMessageWizardFragment
H A DWpsConnectionActivity.java152 return WpsScanningFragment.newInstance();
156 return WpsPinFragment.newInstance(pin);
166 return SelectFromListWizardFragment.newInstance(errorMessage, null, listItems,
171 return TimedMessageWizardFragment.newInstance(
H A DWpsScanningFragment.java33 public static WpsScanningFragment newInstance() { method in class:WpsScanningFragment
/packages/apps/Launcher2/src/com/android/launcher2/
H A DWallpaperChooser.java43 DialogFragment fragment = WallpaperChooserDialogFragment.newInstance();
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
H A DTextInfoCompatUtils.java42 public static TextInfo newInstance(CharSequence charSequence, int start, int end, int cookie, method in class:TextInfoCompatUtils
45 return (TextInfo) CompatUtils.newInstance(TEXT_INFO_CONSTRUCTOR_FOR_CHAR_SEQUENCE,
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/
H A DDatePicker.java53 public static DatePicker newInstance() { method in class:DatePicker
54 return newInstance("");
63 public static DatePicker newInstance(String format) { method in class:DatePicker
64 return newInstance(format, DEFAULT_START_YEAR);
74 public static DatePicker newInstance(String format, int startYear) { method in class:DatePicker
75 return newInstance(format, startYear, DEFAULT_YEAR_RANGE, true);
87 public static DatePicker newInstance(String format, int startYear, int yearRange, method in class:DatePicker
H A DTimePicker.java42 public static TimePicker newInstance() { method in class:TimePicker
43 return newInstance(true, true);
46 public static TimePicker newInstance(boolean is24hFormat, boolean defaultToCurrentTime) { method in class:TimePicker
/packages/apps/Launcher3/src/com/android/launcher3/
H A DAppFilter.java19 return (AppFilter) cls.newInstance();
H A DBuildInfo.java20 return (BuildInfo) cls.newInstance();
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
H A DBaseSettingsActivity.java76 mContentFragment = ContentFragment.newInstance(title, breadcrumb, description, iconResId,
78 mActionFragment = ActionFragment.newInstance(mActions);
88 mContentFragment = ContentFragment.newInstance(title, breadcrumb, null, uri,
90 mActionFragment = ActionFragment.newInstance(mActions);
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/
H A DTempStorage.java41 inst = (TempStorage) Class.forName(clazz).newInstance();
/packages/apps/OMA-DM/DMService/src/com/android/omadm/service/
H A DDMSessionConfirmAlertActivity.java54 public static MyAlertDialogFragment newInstance() { method in class:DMSessionConfirmAlertActivity.MyAlertDialogFragment
117 DialogFragment newFragment = MyAlertDialogFragment.newInstance();
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/
H A DAboutActivity.java114 setContentAndActionFragments(ContentFragment.newInstance(
117 ActionFragment.newInstance(getActions()));
125 setActionFragment(ActionFragment.newInstance(getActions(), mSelectedIndex), false);
164 newInstance(TosWebViewFragment.SHOW_TERMS_OF_SERVICE));
166 displayFragment(TosWebViewFragment.newInstance(TosWebViewFragment.SHOW_PRIVACY_POLICY));
169 TosWebViewFragment.newInstance (TosWebViewFragment.SHOW_ADDITIONAL_TERMS));
172 setContentAndActionFragments(ContentFragment.newInstance(
174 ActionFragment.newInstance(actions));
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DSlidingKeyInputDrawingPreview.java40 private final int[] mPreviewFrom = CoordinateUtils.newInstance();
41 private final int[] mPreviewTo = CoordinateUtils.newInstance();

Completed in 463 milliseconds

12345678910