/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 …]
|
/packages/apps/Dialer/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/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/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/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/Settings/src/com/android/settings/sim/ |
D | SimDialogActivity.java | 83 final SubscriptionInfo sir = SubscriptionManager.from(context) in displayPreferredDialog() 120 final SubscriptionManager subscriptionManager = SubscriptionManager.from(context); in setDefaultDataSubId() 126 final SubscriptionManager subscriptionManager = SubscriptionManager.from(context); in setDefaultSmsSubId() 131 final TelecomManager telecomManager = TelecomManager.from(this); in setUserSelectedOutgoingPhoneAccount() 136 final TelecomManager telecomManager = TelecomManager.from(this); in subscriptionIdToPhoneAccountHandle() 137 final TelephonyManager telephonyManager = TelephonyManager.from(this); in subscriptionIdToPhoneAccountHandle() 154 final SubscriptionManager subscriptionManager = SubscriptionManager.from(context); in createDialog() 173 TelecomManager.from(context); in createDialog() 205 final TelecomManager telecomManager = TelecomManager.from(context); in createDialog() 206 final TelephonyManager telephonyManager = TelephonyManager.from(context); in createDialog() [all …]
|
/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/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapbMessageMime.java | 142 private ArrayList<Rfc822Token> from = null; // Shall not be empty field in BluetoothMapbMessageMime 210 return from; in getFrom() 212 public void setFrom(ArrayList<Rfc822Token> from) { in setFrom() argument 213 this.from = from; in setFrom() 216 if(this.from == null) in addFrom() 217 this.from = new ArrayList<Rfc822Token>(1); in addFrom() 218 this.from.add(new Rfc822Token(name, address, null)); in addFrom() 380 if(from == null) in encodeHeaders() 382 if(from != null) in encodeHeaders() 383 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/Settings/src/com/android/settings/widget/ |
D | MatchParentShrinkingLinearLayout.java | 1487 @ViewDebug.IntToString(from = -1, to = "NONE"), 1488 @ViewDebug.IntToString(from = Gravity.NO_GRAVITY, to = "NONE"), 1489 @ViewDebug.IntToString(from = Gravity.TOP, to = "TOP"), 1490 @ViewDebug.IntToString(from = Gravity.BOTTOM, to = "BOTTOM"), 1491 @ViewDebug.IntToString(from = Gravity.LEFT, to = "LEFT"), 1492 @ViewDebug.IntToString(from = Gravity.RIGHT, to = "RIGHT"), 1493 @ViewDebug.IntToString(from = Gravity.START, to = "START"), 1494 @ViewDebug.IntToString(from = Gravity.END, to = "END"), 1495 @ViewDebug.IntToString(from = Gravity.CENTER_VERTICAL, to = "CENTER_VERTICAL"), 1496 @ViewDebug.IntToString(from = Gravity.FILL_VERTICAL, to = "FILL_VERTICAL"), [all …]
|
/packages/apps/Camera2/src/com/android/camera/captureintent/state/ |
D | StateStartingPreview.java | 55 public static StateStartingPreview from( in from() method in StateStartingPreview 102 return Optional.of((State) StateBackgroundWithSurfaceTexture.from( in registerEventHandlers() 132 return Optional.of((State) StateReadyForCapture.from( in registerEventHandlers() 147 return Optional.of((State) StateFatal.from( in registerEventHandlers() 162 return Optional.of((State) StateFatal.from(this, mResourceConstructed)); in onEnter() 176 return Optional.of((State) StateFatal.from(this, mResourceConstructed)); in onEnter() 179 return Optional.of((State) StateFatal.from(this, mResourceConstructed)); in onEnter()
|
D | StateOpeningCamera.java | 91 public static StateOpeningCamera from( in from() method in StateOpeningCamera 141 return Optional.of((State) StateBackgroundWithSurfaceTexture.from( in registerEventHandlers() 155 return Optional.of((State) StateStartingPreview.from( in registerEventHandlers() 175 return Optional.of((State) StateFatal.from( in registerEventHandlers() 186 return Optional.of((State) StateFatal.from(this, mResourceConstructed)); in onEnter() 199 return Optional.of((State) StateFatal.from(this, mResourceConstructed)); in onEnter() 202 final ImageRotationCalculator imageRotationCalculator = ImageRotationCalculatorImpl.from( in onEnter()
|
D | StateReviewingPicture.java | 62 public static StateReviewingPicture from( in from() method in StateReviewingPicture 91 return Optional.of((State) StateBackgroundWithSurfaceTexture.from( in registerEventHandlers() 116 return Optional.of((State) StateIntentCompleted.from( in registerEventHandlers() 135 return Optional.of((State) StateSavingPicture.from( in registerEventHandlers() 148 return Optional.of((State) StateReadyForCapture.from( in registerEventHandlers() 161 return Optional.of((State) StateSavingPicture.from( in registerEventHandlers()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | ZenModeSettingsBase.java | 100 String id = NotificationManager.from(mContext).addAutomaticZenRule(rule); in addZenRule() 102 NotificationManager.from(mContext).getAutomaticZenRule(id); in addZenRule() 112 NotificationManager.from(mContext).updateAutomaticZenRule(id, rule); in setZenRule() 119 NotificationManager.from(mContext).removeAutomaticZenRule(id); in removeZenRule() 135 NotificationManager.from(mContext).setZenMode(zenMode, conditionId, TAG); in setZenMode() 140 = NotificationManager.from(mContext).getAutomaticZenRules(); in getZenModeRules()
|
/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/Test/connectivity/sl4n/rapidjson/doc/ |
D | stream.md | 66 When parsing a JSON from file, you may read the whole JSON into memory and use ``StringStream`` abo… 68 …rt of JSON from file into buffer, and then let the part be parsed. If it runs out of characters in… 91 Different from string streams, `FileReadStream` is byte stream. It does not handle encodings. If th… 93 Apart from reading file, user can also use `FileReadStream` to read `stdin`. 128 …r mark (BOM)](http://en.wikipedia.org/wiki/Byte_order_mark). When reading from a byte stream, it i… 180 d.Accept(writer); // This generates UTF32-LE file from UTF-8 in memory 239 … fits RapidJSON's API. For example, you may create network stream, stream from compressed file, et… 247 //! Read the current character from stream without moving the read cursor. 250 //! Read the current character from stream and moving the read cursor to next character. 254 //! \return Number of characters read from start.
|
/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/Messaging/build/ |
D | README | 3 gcheckstyle is a tool from google3 to validate java from google3. The config file is baked into th… 6 gcheckstyle/tools/java/checkstyle/googlestyle-5.0.xml is the config file which came from /home/buil… 8 …r is pulled from the build share at /google/data/ro/teams/devtools/glint/linters/live/google-style…
|
/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/TV/src/com/android/tv/menu/ |
D | MenuLayoutManager.java | 753 private ObjectAnimator createTranslationYAnimator(View view, float from, float to) { in createTranslationYAnimator() argument 754 ObjectAnimator animator = ObjectAnimator.ofFloat(view, View.TRANSLATION_Y, from, to); in createTranslationYAnimator() 761 private ObjectAnimator createAlphaAnimator(View view, float from, float to, in createAlphaAnimator() argument 763 ObjectAnimator animator = ObjectAnimator.ofFloat(view, View.ALPHA, from, to); in createAlphaAnimator() 769 private ObjectAnimator createAlphaAnimator(View view, float from, float to, float end, in createAlphaAnimator() argument 771 ObjectAnimator animator = ObjectAnimator.ofFloat(view, View.ALPHA, from, to); in createAlphaAnimator() 778 private ObjectAnimator createScaleXAnimator(View view, float from, float to) { in createScaleXAnimator() argument 779 ObjectAnimator animator = ObjectAnimator.ofFloat(view, View.SCALE_X, from, to); in createScaleXAnimator() 785 private ObjectAnimator createScaleYAnimator(View view, float from, float to) { in createScaleYAnimator() argument 786 ObjectAnimator animator = ObjectAnimator.ofFloat(view, View.SCALE_Y, from, to); in createScaleYAnimator()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppProvider.java | 204 private static final void copyString(String key, ContentValues from, ContentValues to) { in copyString() argument 205 String s = from.getAsString(key); in copyString() 211 private static final void copyInteger(String key, ContentValues from, ContentValues to) { in copyInteger() argument 212 Integer i = from.getAsInteger(key); in copyInteger() 218 private static final void copyLong(String key, ContentValues from, ContentValues to) { in copyLong() argument 219 Long i = from.getAsLong(key); in copyLong()
|