Home
last modified time | relevance | path

Searched refs:from (Results 1 – 25 of 601) sorted by relevance

12345678910>>...25

/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DComposingText.java87 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/
DContact.java153 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/
DContact.java170 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/
DDeleteDropTarget.java206 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/
Dndldic.c85 #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/
Dnj_dic.h60 #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/
DMatrixFit.java31 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/Dialer/java/com/android/dialer/logging/
Dinteraction_event.proto20 // The user blocked a number from the Call Log screen
23 // The user blocked a number from the Call details screen
26 // The user blocked a number from the Management screen
29 // The user unblocked a number from the Call Log screen
32 // The user unblocked a number from the Call details screen
35 // The user unblocked a number from the Management screen
38 // The user blocked numbers from contacts marked as send to voicemail
55 // Open quick contact from where
Dui_action.proto13 // General action starting from 1
22 // In call log, starting from 100
29 // In dialpad, starting from 200
34 // In search, starting from 300
39 // In call history, starting from 400
Ddialer_impression.proto13 // Values should be from 1000 to 100000.
77 // Subtract this value from SPAM_AFTER_CALL_NOTIFICATION_MARKED_NUMBER_AS_SPAM. It would be
90 // User added the number to contacts from the after call notification
111 // Spam by the user (e.g from the feedback prompt)
115 // Not Spam by the user (e.g from the feedback prompt)
169 // User deleted an entry from the voicemail tab
187 // Incoming call was rejected from the notifications
191 // Incoming call was rejected from the answer screen including rejecting via sms and talkback
395 // User muted the call from the return-to-call bubble
397 // User unmuted the call from the return-to-call bubble
[all …]
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/
DOpenWnnDictionaryImplJni.c601 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()
700from[ 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/
DSimDialogActivity.java82 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/Settings/tests/robotests/src/com/android/settings/widget/
DMasterSwitchPreferenceTest.java65 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/
DBluetoothMapbMessageMime.java142 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/
DNotificationUtils.java333 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/
DPdfRenderService.java240 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/
DStateStartingPreview.java55 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()
DStateOpeningCamera.java91 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()
/packages/apps/Email/provider_src/com/android/email/
DLegacyConversions.java82 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/
DZenModeSettingsBase.java100 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/
DShadowPackageMonitor.java19 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/Launcher3/tests/src/com/android/launcher3/ui/
DAbstractLauncherUiTest.java183 private void movePointer(Point from, Point to) { in movePointer() argument
184 while(!from.equals(to)) { in movePointer()
185 from.x = getNextMoveValue(to.x, from.x); in movePointer()
186 from.y = getNextMoveValue(to.y, from.y); in movePointer()
187 sendPointer(MotionEvent.ACTION_MOVE, from); in movePointer()
/packages/apps/Messaging/build/
DREADME3 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/Settings/src/com/android/settings/widget/
DMatchParentShrinkingLinearLayout.java1487 @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/Launcher3/src/com/android/launcher3/dynamicui/
DColorExtractionService.java141 return Palette.from(bitmap).clearFilters().generate(); in getHotseatPalette()
149 return Palette.from(wallpaper) in getHotseatPalette()
172 return Palette.from(bitmap).clearFilters().generate(); in getStatusBarPalette()
180 return Palette.from(wallpaper) in getStatusBarPalette()
194 return Palette.from(bitmap).clearFilters().generate(); in getWallpaperPalette()
202 return Palette.from(wallpaper).clearFilters().generate(); in getWallpaperPalette()

12345678910>>...25