/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | ComposingText.java | 87 tmp += "(" + ss.string + "," + ss.from + "," + ss.to + ")"; in debugout() 124 public String toString(int layer, int from, int to) { in toString() argument 129 for (int i = from; i <= to; i++) { in toString() 181 last.string = toString(layer, last.from, last.to); in modifyUpper() 190 if (ss.from > mod_from) { in modifyUpper() 203 if (org_len == 0 && ss.from == mod_from) { in modifyUpper() 234 ss.string = toString(layer, ss.from, ss.to); in modifyUpper() 238 ss.from += diff; in modifyUpper() 250 ss.from += diff; in modifyUpper() 291 ss.from++; in insertStrSegment() [all …]
|
D | StrSegment.java | 31 public int from; field in StrSegment 67 public StrSegment(String str, int from, int to) { in StrSegment() argument 69 this.from = from; in StrSegment()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
D | Contact.java | 173 public Contact(Uri requestedUri, Contact from) { in Contact() argument 176 mStatus = from.mStatus; in Contact() 177 mException = from.mException; in Contact() 178 mLookupUri = from.mLookupUri; in Contact() 179 mUri = from.mUri; in Contact() 180 mDirectoryId = from.mDirectoryId; in Contact() 181 mLookupKey = from.mLookupKey; in Contact() 182 mId = from.mId; in Contact() 183 mNameRawContactId = from.mNameRawContactId; in Contact() 184 mDisplayNameSource = from.mDisplayNameSource; in Contact() [all …]
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
D | ndldic.c | 85 #define STATE_COPY(to, from) \ argument 86 { ((NJ_UINT8*)(to))[0] = ((NJ_UINT8*)(from))[0]; \ 87 ((NJ_UINT8*)(to))[1] = ((NJ_UINT8*)(from))[1]; \ 88 ((NJ_UINT8*)(to))[2] = ((NJ_UINT8*)(from))[2]; \ 89 ((NJ_UINT8*)(to))[3] = ((NJ_UINT8*)(from))[3]; } 119 …DIC_HANDLE handle, NJ_UINT8 op, NJ_CHAR *yomi, NJ_UINT16 ylen, NJ_UINT16 *from, NJ_UINT16 *to, NJ_… 120 … op, NJ_CHAR *yomi, NJ_UINT16 ylen, NJ_UINT16 sfrom, NJ_UINT16 sto, NJ_UINT16 *from, NJ_UINT16 *to, 122 …_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_CHAR *yomi, NJ_UINT16 ylen, NJ_UINT16 *from, NJ_UINT16 *to); 927 NJ_UINT16 current, from, to; in get_cand_by_sequential() local 940 cond->yomi, cond->ylen, &from, &to, &forward_flag); in get_cand_by_sequential() [all …]
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | DeleteDropTarget.java | 206 Rect from = new Rect(); in animateToTrashAndCompleteDrop() local 207 dragLayer.getViewRectRelativeToSelf(d.dragView, from); in animateToTrashAndCompleteDrop() 210 float scale = (float) to.width() / from.width(); in animateToTrashAndCompleteDrop() 221 dragLayer.animateView(d.dragView, from, to, scale, 1f, 1f, 0.1f, 0.1f, in animateToTrashAndCompleteDrop() 270 final Rect from = new Rect(); in createFlingToTrashAnimatorListener() local 271 dragLayer.getViewRectRelativeToSelf(d.dragView, from); in createFlingToTrashAnimatorListener() 277 int offsetY = (int) (-from.top * vp); in createFlingToTrashAnimatorListener() 279 final float y2 = from.top + offsetY; // intermediate t/l in createFlingToTrashAnimatorListener() 280 final float x2 = from.left + offsetX; in createFlingToTrashAnimatorListener() 281 final float x1 = from.left; // drag view t/l in createFlingToTrashAnimatorListener() [all …]
|
D | DragLayer.java | 537 Rect from = new Rect(fromX, fromY, fromX + in animateViewIntoPosition() local 540 …animateView(view, from, to, finalAlpha, initScaleX, initScaleY, finalScaleX, finalScaleY, duration, in animateViewIntoPosition() 565 public void animateView(final DragView view, final Rect from, final Rect to, in animateView() argument 572 final float dist = (float) Math.sqrt(Math.pow(to.left - from.left, 2) + in animateView() 573 Math.pow(to.top - from.top, 2)); in animateView() 613 float fromLeft = from.left + (initialScaleX - 1f) * width / 2; in animateView() 614 float fromTop = from.top + (initialScaleY - 1f) * height / 2; in animateView()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DeleteDropTarget.java | 246 final Rect from = new Rect(); in animateToTrashAndCompleteDrop() local 247 dragLayer.getViewRectRelativeToSelf(d.dragView, from); in animateToTrashAndCompleteDrop() 253 final float scale = (float) to.width() / from.width(); in animateToTrashAndCompleteDrop() 266 dragLayer.animateView(d.dragView, from, to, scale, 1f, 1f, 0.1f, 0.1f, in animateToTrashAndCompleteDrop() 378 final Rect from = new Rect(); in createFlingToTrashAnimatorListener() local 379 dragLayer.getViewRectRelativeToSelf(d.dragView, from); in createFlingToTrashAnimatorListener() 385 int offsetY = (int) (-from.top * vp); in createFlingToTrashAnimatorListener() 387 final float y2 = from.top + offsetY; // intermediate t/l in createFlingToTrashAnimatorListener() 388 final float x2 = from.left + offsetX; in createFlingToTrashAnimatorListener() 389 final float x1 = from.left; // drag view t/l in createFlingToTrashAnimatorListener() [all …]
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/ |
D | OpenWnnDictionaryImplJni.c | 601 work->approxSet.from[ i ] = NULL; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_clearApproxPatterns() 629 NJ_CHAR* from; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setApproxPattern__JLjava_lang_String_2Ljava_lang_String_2() local 633 from = work->approxStr + NJ_APPROXSTORE_SIZE * work->approxSet.charset_count; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setApproxPattern__JLjava_lang_String_2Ljava_lang_String_2() 635 work->approxSet.from[ work->approxSet.charset_count ] = from; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setApproxPattern__JLjava_lang_String_2Ljava_lang_String_2() 639 if( convertStringToNjChar( env, from, srcJ, NJ_MAX_CHARSET_FROM_LEN ) >= 0 && in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setApproxPattern__JLjava_lang_String_2Ljava_lang_String_2() 650 work->approxSet.from[ work->approxSet.charset_count ] = NULL; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setApproxPattern__JLjava_lang_String_2Ljava_lang_String_2() 690 NJ_CHAR* from; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setApproxPattern__JI() local 694 from = work->approxStr + NJ_APPROXSTORE_SIZE * ( work->approxSet.charset_count + i ); in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setApproxPattern__JI() 696 work->approxSet.from[ work->approxSet.charset_count + i ] = from; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setApproxPattern__JI() 700 …from[ 0 ] = convertUTFCharToNjChar( pattern->from + i * 2 ); /* "2" means the size of UTF-16BE … in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_setApproxPattern__JI() [all …]
|
/packages/apps/Mms/src/com/android/mms/widget/ |
D | MmsWidgetService.java | 224 Conversation conv = Conversation.from(mContext, mConversationCursor); 250 SpannableStringBuilder from = addColor(conv.getRecipients().formatNames(", "), local 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.setSpan(ConversationListItem.STYLE_BOLD, 0, from.length(), [all …]
|
/packages/apps/InCallUI/src/com/android/incallui/ |
D | InCallAnimationUtils.java | 109 final ImageView imageView, final Drawable from, final Drawable to) { in startCrossFade() argument 112 final boolean drawableIsEqual = (from != null && to != null && from.equals(to)); in startCrossFade() 113 final boolean hasFromImage = ((from instanceof BitmapDrawable) && in startCrossFade() 114 ((BitmapDrawable) from).getBitmap() != null); in startCrossFade() 118 ((BitmapDrawable) from).getBitmap().equals(((BitmapDrawable) to).getBitmap())); in startCrossFade() 123 + "(" + Integer.toHexString(from.hashCode()) + " -> " in startCrossFade() 127 CrossFadeDrawable crossFadeDrawable = newCrossFadeDrawable(from, to); in startCrossFade() 136 + Integer.toHexString(from.hashCode()) + " -> " in startCrossFade() 145 + Integer.toHexString(from.hashCode()) + " -> " in startCrossFade()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
D | MatrixFit.java | 31 public MatrixFit(double[][] from, double[][] to) { in MatrixFit() argument 32 mValid = fit(from, to); in MatrixFit() 47 public boolean fit(double[][] from, double[][] to) { in fit() argument 48 if ((from.length != to.length) || (from.length < 1)) { in fit() 53 mDimension = from[0].length; in fit() 56 if (from.length < mDimension) { in fit() 61 double[][] q = new double[from.length][mDimension]; in fit() 62 for (int i = 0; i < from.length; i++) { in fit() 64 q[i][j] = from[i][j]; in fit()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | NotificationUtils.java | 333 NotificationManagerCompat nm = NotificationManagerCompat.from(context); in cancelAllNotifications() 374 NotificationManagerCompat nm = NotificationManagerCompat.from(context); in resendNotifications() 454 NotificationManagerCompat nm = NotificationManagerCompat.from(context); in validateAccountNotifications() 513 NotificationManagerCompat nm = NotificationManagerCompat.from(context); in setNewEmailIndicator() 550 NotificationManagerCompat nm = NotificationManagerCompat.from(context); in validateNotifications() 1036 String from = ""; in configureLatestEventInfoFromConversation() local 1044 from = getDisplayableSender(fromAddress); in configureLatestEventInfoFromConversation() 1064 new SpannableStringBuilder(getWrappedFromString(from)); in configureLatestEventInfoFromConversation() 1207 String from = null; in configureNotifForOneConversation() local 1226 from = getDisplayableSender(fromAddress); in configureNotifForOneConversation() [all …]
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/ |
D | nj_dic.h | 60 #define NJ_INT32_WRITE(to, from)\ argument 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)\ argument 67 {(to)[0]=(NJ_UINT8)(((from)>>8) & 0x00ff);\ 68 (to)[1]=(NJ_UINT8)((from) & 0x00ff);}
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapbMessageMms.java | 126 private ArrayList<Rfc822Token> from = null; // Shall not be empty field in BluetoothMapbMessageMms 194 return from; in getFrom() 196 public void setFrom(ArrayList<Rfc822Token> from) { in setFrom() argument 197 this.from = from; in setFrom() 200 if(this.from == null) in addFrom() 201 this.from = new ArrayList<Rfc822Token>(1); in addFrom() 202 this.from.add(new Rfc822Token(name, address, null)); in addFrom() 363 if(from == null) in encodeHeaders() 365 if(from != null) in encodeHeaders() 366 encodeHeaderAddresses(sb, "From: ", from); // This includes folding if needed. in encodeHeaders() [all …]
|
/packages/apps/Email/provider_src/com/android/email/ |
D | LegacyConversions.java | 82 final Address[] from = message.getFrom(); in updateMessageFields() local 91 if (from != null && from.length > 0) { in updateMessageFields() 92 localMessage.mDisplayName = from[0].toFriendly(); in updateMessageFields() 138 if (from != null && from.length > 0) { in updateMessageFields() 139 localMessage.mFrom = Address.toString(from); in updateMessageFields() 377 final Address[] from = Address.fromHeader(localMessage.mFrom); in makeMessage() local 378 if (from.length > 0) { in makeMessage() 379 message.setFrom(from[0]); in makeMessage()
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | GLES11Canvas.java | 450 public void drawMixed(BasicTexture from, in drawMixed() argument 452 drawMixed(from, toColor, ratio, x, y, w, h, mAlpha); in drawMixed() 513 public void drawMixed(BasicTexture from, int toColor, float ratio, in drawMixed() argument 518 drawTexture(from, source, target); in drawMixed() 533 mGLState.setBlendEnabled(mBlendEnabled && (!from.isOpaque() in drawMixed() 536 if (!bindTexture(from)) return; in drawMixed() 541 convertCoordinate(source, target, from); in drawMixed() 547 private void drawMixed(BasicTexture from, int toColor, in drawMixed() argument 551 drawTexture(from, x, y, width, height, alpha); in drawMixed() 558 mGLState.setBlendEnabled(mBlendEnabled && (!from.isOpaque() in drawMixed() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
D | ImagePreset.java | 500 public Bitmap applyFilters(Bitmap bitmap, int from, int to, FilterEnvironment environment) { in applyFilters() argument 502 if (from < 0) { in applyFilters() 503 from = 0; in applyFilters() 508 for (int i = from; i < to; i++) { in applyFilters() 550 public void applyFilters(int from, int to, Allocation in, Allocation out, in applyFilters() argument 553 if (from < 0) { in applyFilters() 554 from = 0; in applyFilters() 559 for (int i = from; i < to; i++) { in applyFilters() 565 if (i > from) { in applyFilters()
|
/packages/apps/Settings/src/com/android/settings/sim/ |
D | SimDialogActivity.java | 124 final SubscriptionManager subscriptionManager = SubscriptionManager.from(context); in setDefaultDataSubId() 130 final SubscriptionManager subscriptionManager = SubscriptionManager.from(context); in setDefaultSmsSubId() 135 final TelecomManager telecomManager = TelecomManager.from(this); in setUserSelectedOutgoingPhoneAccount() 140 final TelecomManager telecomManager = TelecomManager.from(this); in subscriptionIdToPhoneAccountHandle() 161 final SubscriptionManager subscriptionManager = SubscriptionManager.from(context); in createDialog() 180 TelecomManager.from(context); in createDialog() 212 final TelecomManager telecomManager = TelecomManager.from(context); in createDialog()
|
/packages/apps/Settings/src/com/android/settings/ |
D | DataUsageSummary.java | 298 mPolicyManager = NetworkPolicyManager.from(context); in onCreate() 299 mTelephonyManager = TelephonyManager.from(context); in onCreate() 300 mSubscriptionManager = SubscriptionManager.from(context); in onCreate() 1448 final TelephonyManager tele = TelephonyManager.from(context); in getActiveSubscriberId() 1456 final TelephonyManager tele = TelephonyManager.from(context); in getActiveSubscriberId() 1840 convertView = inflateCategoryHeader(LayoutInflater.from(parent.getContext()), in getView() 1849 convertView = LayoutInflater.from(parent.getContext()).inflate( in getView() 2017 final LayoutInflater dialogInflater = LayoutInflater.from(builder.getContext()); in onCreateDialog() 2076 final LayoutInflater dialogInflater = LayoutInflater.from(builder.getContext()); in onCreateDialog() 2139 final LayoutInflater dialogInflater = LayoutInflater.from(builder.getContext()); in onCreateDialog() [all …]
|
/packages/apps/Email/tests/src/com/android/emailcommon/internet/ |
D | MimeMessageTest.java | 244 String[] from = message.getHeader("From"); in testEncodingAddressField() local 249 assertEquals("from address count", 1, from.length); in testEncodingAddressField() 250 assertEquals("no name 1", "noname1@dom1.com", from[0]); in testEncodingAddressField() 289 Address[] from = message.getFrom(); in testParsingAddressField() local 294 assertEquals("from address count", 1, from.length); in testParsingAddressField() 295 assertEquals("no name 1 address", "noname1@dom1.com", from[0].getAddress()); in testParsingAddressField() 296 assertNull("no name 1 name", from[0].getPersonal()); in testParsingAddressField()
|
/packages/apps/Camera/jni/feature_stab/doc/ |
D | dbreg_API_doxyfile | 82 # stripped from the text and the result after processing the whole list, is 124 # If left blank the directory from which doxygen is run is used as the 169 # member inherits the documentation from any documented member that it 291 # doxygen to be busy swapping symbols to and from disk most of the time 497 # This will remove the Files entry from the Quick Index and from the 503 # Namespaces page. This will remove the Namespaces entry from the Quick Index 504 # and from the Folder Tree View (if specified). The default is YES. 509 # doxygen should invoke to get the current version for each file (typically from 565 # tags, which will be replaced by the file and line number from which the 643 # excluded from the INPUT source files. This way you can easily exclude a [all …]
|
/packages/apps/LegacyCamera/jni/feature_stab/doc/ |
D | dbreg_API_doxyfile | 82 # stripped from the text and the result after processing the whole list, is 124 # If left blank the directory from which doxygen is run is used as the 169 # member inherits the documentation from any documented member that it 291 # doxygen to be busy swapping symbols to and from disk most of the time 497 # This will remove the Files entry from the Quick Index and from the 503 # Namespaces page. This will remove the Namespaces entry from the Quick Index 504 # and from the Folder Tree View (if specified). The default is YES. 509 # doxygen should invoke to get the current version for each file (typically from 565 # tags, which will be replaced by the file and line number from which the 643 # excluded from the INPUT source files. This way you can easily exclude a [all …]
|
/packages/apps/Camera/jni/feature_mos/doc/ |
D | feature_mos_API_doxyfile | 82 # stripped from the text and the result after processing the whole list, is 124 # If left blank the directory from which doxygen is run is used as the 169 # member inherits the documentation from any documented member that it 291 # doxygen to be busy swapping symbols to and from disk most of the time 497 # This will remove the Files entry from the Quick Index and from the 503 # Namespaces page. This will remove the Namespaces entry from the Quick Index 504 # and from the Folder Tree View (if specified). The default is YES. 509 # doxygen should invoke to get the current version for each file (typically from 565 # tags, which will be replaced by the file and line number from which the 643 # excluded from the INPUT source files. This way you can easily exclude a [all …]
|
/packages/apps/LegacyCamera/jni/feature_mos/doc/ |
D | feature_mos_API_doxyfile | 82 # stripped from the text and the result after processing the whole list, is 124 # If left blank the directory from which doxygen is run is used as the 169 # member inherits the documentation from any documented member that it 291 # doxygen to be busy swapping symbols to and from disk most of the time 497 # This will remove the Files entry from the Quick Index and from the 503 # Namespaces page. This will remove the Namespaces entry from the Quick Index 504 # and from the Folder Tree View (if specified). The default is YES. 509 # doxygen should invoke to get the current version for each file (typically from 565 # tags, which will be replaced by the file and line number from which the 643 # excluded from the INPUT source files. This way you can easily exclude a [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
D | NameDistance.java | 114 int from = i - range; in getDistance() local 115 if (from < 0) { in getDistance() 116 from = 0; in getDistance() 124 for (int j = from; j < to; j++) { in getDistance()
|