Searched refs:candidate (Results 1 - 25 of 60) sorted by relevance

123

/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DWnnWord.java28 public String candidate; field in class:WnnWord
35 /** The attribute of this word when it is assumed a candidate. */
48 * @param candidate The string of word
51 public WnnWord(String candidate, String stroke) { argument
52 this(0, candidate, stroke, new WnnPOS(), 0, 0);
58 * @param candidate The string of word
62 public WnnWord(String candidate, String stroke, int frequency) { argument
63 this(0, candidate, stroke, new WnnPOS(), frequency, 0);
69 * @param candidate The string of word
73 public WnnWord(String candidate, Strin argument
85 WnnWord(String candidate, String stroke, WnnPOS posTag, int frequency) argument
98 WnnWord(int id, String candidate, String stroke, WnnPOS posTag, int frequency) argument
112 WnnWord(int id, String candidate, String stroke, WnnPOS posTag, int frequency, int attribute) argument
[all...]
H A DWnnClause.java29 * @param candidate The string of the clause
34 public WnnClause(String candidate, String stroke, WnnPOS posTag, int frequency) { argument
35 super(candidate,
49 stem.candidate,
65 stem.candidate + fzk.candidate,
H A DWnnSentence.java41 this.candidate = "";
52 this.candidate = headClause.candidate;
58 StringBuffer candidate = new StringBuffer();
62 candidate.append(clause.candidate);
67 this.candidate = candidate.toString();
84 this.candidate = clause.candidate;
[all...]
H A DStrSegmentClause.java36 super(clause.candidate, from, to);
H A DCandidateFilter.java46 String str = word.candidate;
H A DUserDictionaryToolsList.java409 wnnWordSearch.candidate = focusString.toString();
412 wnnWordSearch.candidate = focusPairString.toString();
579 int len = getword.candidate.length();
583 if (searchword.candidate.equals(getword.candidate)) {
586 delword.candidate = searchword.candidate;
697 UserDictionaryToolsListFocus candidate = new UserDictionaryToolsListFocus(this);
698 candidate.setId(i+MAX_WORD_COUNT);
699 candidate
[all...]
H A DUserDictionaryToolsEdit.java77 /** The constant for notifying dialog (The length of specified stroke or candidate exceeds the limit) */
150 mBeforeEditWnnWord.candidate = ((TextView)sFocusingPairView).getText().toString();
197 /* Text changed listener for the candidate text */
250 String candidate = mCandidateEditText.getText().toString();
251 if (addDictionary(stroke, candidate)) {
262 String candidate = mCandidateEditText.getText().toString();
263 if (addDictionary(stroke, candidate)) {
266 addDictionary(mBeforeEditWnnWord.stroke, mBeforeEditWnnWord.candidate);
334 * @param candidate The string of the word
337 private boolean addDictionary(String stroke, String candidate) { argument
[all...]
H A DCandidateTextView.java45 /** Maximum width of candidate view */
49 /** Minimum width of candidate view */
67 * @param candidateMinimumHeight Minimum height of candidate view
68 * @param candidateMinimumWidth Minimum width of candidate view
69 * @param maxWidth Maximum width of candidate view
89 * Textview is set to the best content for the display of candidate.
90 * @param WnnWord candidate
91 * @param wordCount candidate id
100 setText(word.candidate);
115 * @param WnnWord candidate wor
[all...]
H A DOpenWnnDictionaryImpl.java46 /** The maximum length of candidate */
62 protected static final String COLUMN_NAME_CANDIDATE = "candidate";
475 queryArgs[ 1 ] = wnnWord.candidate;
606 OpenWnnDictionaryImplJni.setCandidate( this.mWnnWork, wnnWord.candidate );
650 result.candidate = mDbCursor.getString( 1 );
685 result.candidate = OpenWnnDictionaryImplJni.getCandidate( this.mWnnWork );
728 words[ i ].candidate = cursor.getString( 1 );
875 word[index].candidate.length() > 0 && word[index].candidate.length() <= MAX_CANDIDATE_LENGTH ) {
879 DatabaseUtils.appendEscapedSQLString( candidateSQL, word[index].candidate );
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DRedEyeCandidate.java25 public RedEyeCandidate(RedEyeCandidate candidate) { argument
26 mRect.set(candidate.mRect);
27 mBounds.set(candidate.mBounds);
35 public boolean equals(RedEyeCandidate candidate) { argument
36 if (candidate.mRect.equals(mRect)
37 && candidate.mBounds.equals(mBounds)) {
/packages/apps/Settings/src/com/android/settings/inputmethod/
H A DUserDictionaryCursorLoader.java71 final Cursor candidate;
74 candidate = getContext().getContentResolver().query(
80 candidate = getContext().getContentResolver().query(UserDictionary.Words.CONTENT_URI,
85 for (candidate.moveToFirst(); !candidate.isAfterLast(); candidate.moveToNext()) {
86 final int id = candidate.getInt(0);
87 final String word = candidate.getString(1);
88 final String shortcut = candidate.getString(2);
/packages/apps/ManagedProvisioning/tools/java/com/android/managedprovisioning/tools/anim/
H A DSwiperThemeGenerator.java44 int candidate = colorMatcher.findClosestColor(color);
45 if (seen.add(candidate)) {
46 String colorHex = String.format("%02x%02x%02x", Color.red(candidate),
47 Color.green(candidate), Color.blue(candidate));
/packages/apps/Camera2/src/com/android/camera/one/v2/common/
H A DPictureSizeCalculator.java115 for (Size candidate : supported) {
116 long pixels = candidate.area();
117 if (candidate.getWidth() >= target.getWidth() &&
118 candidate.getHeight() >= target.getHeight() &&
120 best = candidate;
163 for (Size candidate : supported) {
164 long area = candidate.area();
166 largestSize = candidate;
/packages/apps/TV/tests/common/src/com/android/tv/input/
H A DTunerHelper.java92 Tuner candidate = null;
98 // A tuner which is used both for the tune and recording is the candidate.
99 candidate = tuner;
108 if (candidate != null) {
109 candidate.tuning = false;
120 Tuner candidate = null;
127 // A tuner which is used both for the tune and recording is the candidate.
128 candidate = tuner;
139 if (candidate != null) {
140 candidate
[all...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
H A DMoveAppStepFragment.java111 for (final VolumeInfo candidate : mCandidateVolumes) {
112 if (!candidate.isMountedWritable()) {
115 final File path = candidate.getPath();
118 .title(mStorageManager.getBestVolumeDescription(candidate))
121 .checked(TextUtils.equals(mCurrentVolume.getId(), candidate.getId()))
123 .id(mCandidateVolumes.indexOf(candidate))
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DConversationPositionTracker.java90 final Conversation candidate = conversationAtPosition(pos);
91 if (!Conversation.contains(victims, candidate)) {
92 return candidate;
112 final Conversation candidate = conversationAtPosition(pos);
113 if (!Conversation.contains(victims, candidate)) {
114 return candidate;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DImagePoint.java72 for (FilterPoint candidate : mRedEyeRep.getCandidates()) {
73 drawPoint(candidate, canvas, originalToScreen, originalRotateToScreen, paint);
79 FilterPoint candidate, Canvas canvas, Matrix originalToScreen,
78 drawPoint( FilterPoint candidate, Canvas canvas, Matrix originalToScreen, Matrix originalRotateToScreen, Paint paint) argument
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
H A DOpenWnnEngineEN.java54 /** The candidate filter */
102 * Get a candidate.
104 * @param index Index of candidate
105 * @return A candidate; {@code null} if no candidate for the index.
109 /* search the candidate from the dictionaries */
113 char c = word.candidate.charAt(0);
120 word.candidate = Character.toString(Character.toUpperCase(c)) + word.candidate.substring(1);
124 word.candidate
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/dynamicui/
H A DColorExtractionAlgorithm.java250 final TonalPalette candidate = TONAL_PALETTES[i];
252 if (h >= candidate.minHue && h <= candidate.maxHue) {
253 best = candidate;
257 if (candidate.maxHue > 1.0f && h >= 0.0f && h <= fract(candidate.maxHue)) {
258 best = candidate;
262 if (candidate.minHue < 0.0f && h >= fract(candidate.minHue) && h <= 1.0f) {
263 best = candidate;
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DReadOnlyBinaryDictionary.java83 public boolean shouldAutoCommit(final SuggestedWordInfo candidate) { argument
86 return mBinaryDictionary.shouldAutoCommit(candidate);
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
H A DFileOperationService.java391 Job candidate = mJobs.isEmpty() ? null : mJobs.values().iterator().next().job;
395 if (mForegroundJob.compareAndSet(job, candidate)) {
396 if (candidate == null) {
402 if (DEBUG) Log.d(TAG, "Switch foreground job to " + candidate.id);
404 Notification notification = (candidate.getState() == Job.STATE_STARTED)
405 ? candidate.getSetupNotification()
406 : candidate.getProgressNotification();
408 notificationManager.notify(candidate.id, NOTIFICATION_ID_PROGRESS,
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
H A DBots.java81 UiObject2 candidate = mDevice.findObject(By.res(resourceName));
83 candidate.findObject(By.focused(true)));
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/
H A DDefaultHomePreferenceController.java78 for (ResolveInfo candidate : homeActivities) {
79 final ActivityInfo info = candidate.activityInfo;
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/
H A Dnj_ext.h87 NJ_CHAR *candidate, NJ_UINT16 size);
94 extern NJ_INT16 njd_b_get_candidate(NJ_WORD *word, NJ_CHAR *candidate,
103 extern NJ_INT16 njd_f_get_candidate(NJ_WORD *word, NJ_CHAR *candidate,
117 NJ_CHAR *candidate, NJ_UINT16 size);
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
H A Dndfdic.c402 NJ_INT16 njd_f_get_candidate(NJ_WORD *word, NJ_CHAR *candidate, NJ_UINT16 size) argument
434 NJ_CHAR_COPY(candidate + j, area);
437 candidate[len] = NJ_CHAR_NUL;
450 nje_convert_hira_to_kata(work, candidate, len);
453 candidate[j] = work[j];
460 NJ_CHAR_COPY(candidate + j, area);
465 candidate[len] = NJ_CHAR_NUL;

Completed in 5971 milliseconds

123