Searched refs:from (Results 1 - 25 of 239) sorted by relevance

12345678910

/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DStrSegment.java31 public int from; field in class:StrSegment
64 * @param from The start position
67 public StrSegment(String str, int from, int to) { argument
69 this.from = from;
H A DStrSegmentClause.java32 * @param from The start position
35 public StrSegmentClause(WnnClause clause, int from, int to) { argument
36 super(clause.candidate, from, to);
H A DComposingText.java29 * {@link LetterConverter} and {@link WnnEngine} get the input string from it, and
87 tmp += "(" + ss.string + "," + ss.from + "," + ss.to + ")";
120 * @param from Convert range from
124 public String toString(int layer, int from, int to) { argument
129 for (int i = from; i <= to; i++) {
153 * @param mod_from Modified from
154 * @param mod_len Length after modified (# of StrSegments from {@code mod_from})
155 * @param org_len Length before modified (# of StrSegments from {@code mod_from})
181 last.string = toString(layer, last.from, las
308 replaceStrSegment0(int layer, StrSegment[] str, int from, int to) argument
359 deleteStrSegment(int layer, int from, int to) argument
435 deleteStrSegment0(int layer, int from, int to, int diff) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/anim/
H A DFloatAnimation.java25 public FloatAnimation(float from, float to, int duration) { argument
26 mFrom = from;
28 mCurrent = from;
H A DAlphaAnimation.java27 public AlphaAnimation(float from, float to) { argument
28 mStartAlpha = from;
30 mCurrentAlpha = from;
/packages/apps/Calendar/src/com/android/calendar/alerts/
H A DNotificationMgr.java36 public void cancelAllBetween(int from, int to) { argument
37 for (int i = from; i <= to; i++) {
/packages/apps/UnifiedEmail/src/com/android/mail/lib/base/
H A DEscaper.java24 * "Foo&lt;Bar&gt;"} to prevent {@code "<Bar>"} from being confused with an XML tag. When the
93 public String apply(String from) {
94 return escape(from);
H A DFunction.java20 * A transformation from one object to another. For example, a
37 * @since 2010.01.04 <b>stable</b> (imported from Google Collections Library)
46 * @param from the source object
49 T apply(F from); argument
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/
H A Dnj_dic.h60 #define NJ_INT32_WRITE(to, from)\
61 {(to)[0]=(NJ_UINT8)(((from)>>24) & 0x000000ff);\
62 (to)[1]=(NJ_UINT8)(((from)>>16) & 0x000000ff);\
63 (to)[2]=(NJ_UINT8)(((from)>>8) & 0x000000ff);\
64 (to)[3]=(NJ_UINT8)((from) & 0x000000ff);}
66 #define NJ_INT16_WRITE(to, from)\
67 {(to)[0]=(NJ_UINT8)(((from)>>8) & 0x00ff);\
68 (to)[1]=(NJ_UINT8)((from) & 0x00ff);}
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
H A DFunction.java21 * A transformation from one object to another. For example, a
38 * @since 2010.01.04 <b>stable</b> (imported from Google Collections Library)
47 * @param from the source object
50 T apply(F from); argument
H A DEscaper.java25 * "Foo&lt;Bar&gt;"} to prevent {@code "<Bar>"} from being confused with an XML tag. When the
94 public String apply(String from) {
95 return escape(from);
/packages/apps/Camera/
H A DAndroid.mk4 # system from traversing the project
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
H A DContact.java40 * about a contact can come from multiple data sources, which are each represented by a RawContact
168 public Contact(Uri requestedUri, Contact from) { argument
171 mStatus = from.mStatus;
172 mException = from.mException;
173 mLookupUri = from.mLookupUri;
174 mUri = from.mUri;
175 mDirectoryId = from.mDirectoryId;
176 mLookupKey = from.mLookupKey;
177 mId = from.mId;
178 mNameRawContactId = from
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DConversationListHelper.java37 (ConversationSyncDisabledTipView) LayoutInflater.from(context)
42 (ConversationsInOutboxTipView) LayoutInflater.from(context)
48 (ConversationPhotoTeaserView) LayoutInflater.from(context)
53 (ConversationLongPressTipView) LayoutInflater.from(context)
57 (NestedFolderTeaserView) LayoutInflater.from(context)
H A DSwipeableItemView.java40 public static SwipeableView from(View view) { method in class:SwipeableItemView.SwipeableView
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
H A DMatrixFit.java31 public MatrixFit(double[][] from, double[][] to) { argument
32 mValid = fit(from, to);
47 public boolean fit(double[][] from, double[][] to) { argument
48 if ((from.length != to.length) || (from.length < 1)) {
49 Log.e(LOGTAG, "from and to must be of same size");
53 mDimension = from[0].length;
56 if (from.length < mDimension) {
61 double[][] q = new double[from.length][mDimension];
62 for (int i = 0; i < from
[all...]
/packages/apps/InCallUI/src/com/android/incallui/
H A DAnimationUtils.java36 * Turn on when you're interested in fading animation. Intentionally untied from other debug
164 * This will be used from ObjectAnimator.
205 * Starts cross-fade animation using TransitionDrawable. Nothing will happen if "from" and "to"
209 final ImageView imageView, final Drawable from, final Drawable to) {
212 final boolean drawableIsEqual = (from != null && to != null && from.equals(to));
213 final boolean hasFromImage = ((from instanceof BitmapDrawable) &&
214 ((BitmapDrawable) from).getBitmap() != null);
218 ((BitmapDrawable) from).getBitmap().equals(((BitmapDrawable) to).getBitmap()));
223 + "(" + Integer.toHexString(from
208 startCrossFade( final ImageView imageView, final Drawable from, final Drawable to) argument
[all...]
/packages/apps/Mms/src/com/android/mms/ui/
H A DConversationListAdapter.java45 mFactory = LayoutInflater.from(context);
56 Conversation conv = Conversation.from(context, cursor);
92 Conversation conv = Conversation.from(mContext, cursor);
/packages/apps/Mms/src/com/android/mms/util/
H A DAddressUtils.java55 String from = cursor.getString(0);
57 if (!TextUtils.isEmpty(from)) {
58 byte[] bytes = PduPersister.getBytes(from);
74 * it's not safe to call from the UI thread.
/packages/apps/Browser/src/com/android/browser/
H A DAddNewBookmark.java41 LayoutInflater factory = LayoutInflater.from(context);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DDeleteDropTarget.java140 // If we are dragging a widget from AppsCustomize, hide the delete target
145 // If we are dragging an application from AppsCustomize, only show the control if we can
197 Rect from = new Rect();
198 dragLayer.getViewRectRelativeToSelf(d.dragView, from);
201 float scale = (float) to.width() / from.width();
212 dragLayer.animateView(d.dragView, from, to, scale, 1f, 1f, 0.1f, 0.1f,
222 // Uninstall the application if it is being dragged from AppsCustomize
227 // Remove the folder from the workspace and delete the contents from launcher model
232 // Remove the widget from th
323 FlingAlongVectorAnimatorUpdateListener(DragLayer dragLayer, PointF vel, Rect from, long startTime, float friction) argument
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
H A DNameDistance.java114 int from = i - range;
115 if (from < 0) {
116 from = 0;
124 for (int j = from; j < to; j++) {
/packages/apps/Music/src/com/android/music/
H A DIMediaPlaybackService.aidl43 void moveQueueItem(int from, int to);
/packages/apps/Mms/src/com/android/mms/widget/
H A DMmsWidgetService.java224 Conversation conv = Conversation.from(mContext, mConversationCursor);
250 SpannableStringBuilder from = addColor(conv.getRecipients().formatNames(", "),
254 from.append(mContext.getResources().getString(R.string.draft_separator));
255 int before = from.length();
256 from.append(mContext.getResources().getString(R.string.has_draft));
257 from.setSpan(new TextAppearanceSpan(mContext,
259 from.length(), Spannable.SPAN_INCLUSIVE_EXCLUSIVE);
260 from.setSpan(new ForegroundColorSpan(
262 before, from.length(), Spannable.SPAN_INCLUSIVE_EXCLUSIVE);
267 from
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DDeleteDropTarget.java179 // If we are dragging an application from AppsCustomize, only show the control if we can
181 // Hide the delete target if it is a widget from AppsCustomize.
227 final Rect from = new Rect();
228 dragLayer.getViewRectRelativeToSelf(d.dragView, from);
231 final float scale = (float) to.width() / from.width();
244 dragLayer.animateView(d.dragView, from, to, scale, 1f, 1f, 0.1f, 0.1f,
287 // Uninstall the application if it is being dragged from AppsCustomize
323 // Remove the folder from the workspace and delete the contents from launcher model
328 // Remove the widget from th
426 FlingAlongVectorAnimatorUpdateListener(DragLayer dragLayer, PointF vel, Rect from, long startTime, float friction) argument
[all...]

Completed in 513 milliseconds

12345678910