/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 …]
|
/packages/apps/Dialer/java/com/android/contacts/common/model/ |
D | Contact.java | 153 public Contact(Uri requestedUri, Contact from) { in Contact() argument 156 mStatus = from.mStatus; in Contact() 157 mException = from.mException; in Contact() 158 mLookupUri = from.mLookupUri; in Contact() 159 mUri = from.mUri; in Contact() 160 mDirectoryId = from.mDirectoryId; in Contact() 161 mLookupKey = from.mLookupKey; in Contact() 162 mId = from.mId; in Contact() 163 mNameRawContactId = from.mNameRawContactId; in Contact() 164 mDisplayNameSource = from.mDisplayNameSource; in Contact() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | Contact.java | 170 public Contact(Uri requestedUri, Contact from) { in Contact() argument 173 mStatus = from.mStatus; in Contact() 174 mException = from.mException; in Contact() 175 mLookupUri = from.mLookupUri; in Contact() 176 mUri = from.mUri; in Contact() 177 mDirectoryId = from.mDirectoryId; in Contact() 178 mLookupKey = from.mLookupKey; in Contact() 179 mId = from.mId; in Contact() 180 mNameRawContactId = from.mNameRawContactId; in Contact() 181 mDisplayNameSource = from.mDisplayNameSource; in Contact() [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/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/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/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/ |
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/Settings/src/com/android/settings/sim/ |
D | SimDialogActivity.java | 82 final SubscriptionInfo sir = SubscriptionManager.from(context) in displayPreferredDialog() 119 final SubscriptionManager subscriptionManager = SubscriptionManager.from(context); in setDefaultDataSubId() 125 final SubscriptionManager subscriptionManager = SubscriptionManager.from(context); in setDefaultSmsSubId() 130 final TelecomManager telecomManager = TelecomManager.from(this); in setUserSelectedOutgoingPhoneAccount() 135 final TelecomManager telecomManager = TelecomManager.from(this); in subscriptionIdToPhoneAccountHandle() 136 final TelephonyManager telephonyManager = TelephonyManager.from(this); in subscriptionIdToPhoneAccountHandle() 153 final SubscriptionManager subscriptionManager = SubscriptionManager.from(context); in createDialog() 172 TelecomManager.from(context); in createDialog() 204 final TelecomManager telecomManager = TelecomManager.from(context); in createDialog() 205 final TelephonyManager telephonyManager = TelephonyManager.from(context); in createDialog() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/logging/ |
D | interaction_event.proto | 18 // The user blocked a number from the Call Log screen 21 // The user blocked a number from the Call details screen 24 // The user blocked a number from the Management screen 27 // The user unblocked a number from the Call Log screen 30 // The user unblocked a number from the Call details screen 33 // The user unblocked a number from the Management screen 36 // The user blocked numbers from contacts marked as send to voicemail
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ |
D | MasterSwitchPreferenceTest.java | 65 LayoutInflater.from(mContext).inflate( in setChecked_shouldUpdateButtonCheckedState() 81 LayoutInflater.from(mContext).inflate( in setSwitchEnabled_shouldUpdateButtonEnabledState() 97 LayoutInflater.from(mContext).inflate( in setSwitchEnabled_shouldUpdateButtonEnabledState_beforeViewBound() 109 final LayoutInflater inflater = LayoutInflater.from(mContext); in clickWidgetView_shouldToggleButton() 127 final LayoutInflater inflater = LayoutInflater.from(mContext); in clickWidgetView_shouldNotToggleButtonIfDisabled() 144 LayoutInflater.from(mContext).inflate(R.layout.preference_two_target, null)); in clickWidgetView_shouldNotifyPreferenceChanged() 163 LayoutInflater.from(mContext) in setDisabledByAdmin_hasEnforcedAdmin_shouldDisableButton() 177 LayoutInflater.from(mContext) in setDisabledByAdmin_noEnforcedAdmin_shouldEnableButton() 191 LayoutInflater.from(mContext) in onBindViewHolder_toggleButtonShouldHaveContentDescription()
|
/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/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/services/BuiltInPrintService/src/com/android/bips/render/ |
D | PdfRenderService.java | 240 int from, to; in writeRgb() local 241 for (from = 0, to = 0; from < alphaPixelSize; from += 4, to += 3) { in writeRgb() 242 array[to] = array[from]; in writeRgb() 243 array[to + 1] = array[from + 1]; in writeRgb() 244 array[to + 2] = array[from + 2]; in writeRgb()
|
/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/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/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/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowPackageMonitor.java | 19 import static org.robolectric.util.ReflectionHelpers.ClassParameter.from; 49 from(Context.class, context), from(Looper.class, thread), in register() 50 from(UserHandle.class, user), from(Boolean.TYPE, externalStorage)); in register()
|
/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/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/Launcher3/tests/src/com/android/launcher3/ui/ |
D | LauncherInstrumentationTestCase.java | 227 private void movePointer(Point from, Point to) { in movePointer() argument 228 while(!from.equals(to)) { in movePointer() 229 from.x = getNextMoveValue(to.x, from.x); in movePointer() 230 from.y = getNextMoveValue(to.y, from.y); in movePointer() 231 sendPointer(MotionEvent.ACTION_MOVE, from); in movePointer()
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | GLES11Canvas.java | 448 public void drawMixed(BasicTexture from, in drawMixed() argument 450 drawMixed(from, toColor, ratio, x, y, w, h, mAlpha); in drawMixed() 511 public void drawMixed(BasicTexture from, int toColor, float ratio, in drawMixed() argument 516 drawTexture(from, source, target); in drawMixed() 531 mGLState.setBlendEnabled(mBlendEnabled && (!from.isOpaque() in drawMixed() 534 if (!bindTexture(from)) return; in drawMixed() 539 convertCoordinate(source, target, from); in drawMixed() 545 private void drawMixed(BasicTexture from, int toColor, in drawMixed() argument 549 drawTexture(from, x, y, width, height, alpha); in drawMixed() 556 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()
|