Home
last modified time | relevance | path

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

12345678910>>...35

/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/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowSecureSettings.java36 ReflectionHelpers.ClassParameter.from(ContentResolver.class, resolver), in getInt()
37 ReflectionHelpers.ClassParameter.from(String.class, name)); in getInt()
45 ReflectionHelpers.ClassParameter.from(ContentResolver.class, resolver), in getInt()
46 ReflectionHelpers.ClassParameter.from(String.class, name), in getInt()
47 ReflectionHelpers.ClassParameter.from(int.class, def)); in getInt()
56 ReflectionHelpers.ClassParameter.from(ContentResolver.class, resolver), in getIntForUser()
57 ReflectionHelpers.ClassParameter.from(String.class, name), in getIntForUser()
58 ReflectionHelpers.ClassParameter.from(int.class, def), in getIntForUser()
59 ReflectionHelpers.ClassParameter.from(int.class, userHandle)); in getIntForUser()
67 ReflectionHelpers.ClassParameter.from(ContentResolver.class, resolver), in putInt()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DStorageWizardBase.java169 aux.addView(LayoutInflater.from(aux.getContext()) in setAuxChecklist()
209 private void copyStringExtra(Intent from, Intent to, String key) { in copyStringExtra() argument
210 if (from.hasExtra(key) && !to.hasExtra(key)) { in copyStringExtra()
211 to.putExtra(key, from.getStringExtra(key)); in copyStringExtra()
215 private void copyBooleanExtra(Intent from, Intent to, String key) { in copyBooleanExtra() argument
216 if (from.hasExtra(key) && !to.hasExtra(key)) { in copyBooleanExtra()
217 to.putExtra(key, from.getBooleanExtra(key, false)); in copyBooleanExtra()
223 final Intent from = getIntent(); in startActivity() local
226 copyStringExtra(from, to, EXTRA_DISK_ID); in startActivity()
227 copyStringExtra(from, to, EXTRA_VOLUME_ID); in startActivity()
[all …]
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageWizardBase.java169 aux.addView(LayoutInflater.from(aux.getContext()) in setAuxChecklist()
217 private void copyStringExtra(Intent from, Intent to, String key) { in copyStringExtra() argument
218 if (from.hasExtra(key) && !to.hasExtra(key)) { in copyStringExtra()
219 to.putExtra(key, from.getStringExtra(key)); in copyStringExtra()
223 private void copyBooleanExtra(Intent from, Intent to, String key) { in copyBooleanExtra() argument
224 if (from.hasExtra(key) && !to.hasExtra(key)) { in copyBooleanExtra()
225 to.putExtra(key, from.getBooleanExtra(key, false)); in copyBooleanExtra()
231 final Intent from = getIntent(); in startActivity() local
234 copyStringExtra(from, to, EXTRA_DISK_ID); in startActivity()
235 copyStringExtra(from, to, EXTRA_VOLUME_ID); in startActivity()
[all …]
/packages/apps/Dialer/java/com/android/dialer/logging/
Dinteraction_event.proto22 // The user blocked a number from the Call Log screen
25 // The user blocked a number from the Call details screen
28 // The user blocked a number from the Management screen
31 // The user unblocked a number from the Call Log screen
34 // The user unblocked a number from the Call details screen
37 // The user unblocked a number from the Management screen
40 // The user blocked numbers from contacts marked as send to voicemail
57 // Open quick contact from where
Ddialer_impression.proto14 // Values should be from 1000 to 100000.
94 // as not spam and yet blocked Subtract this value from
108 // User added the number to contacts from the after call notification
132 // number was marked as Spam by the user (e.g from the feedback prompt)
138 // number was marked as Not Spam by the user (e.g from the feedback prompt)
205 // User deleted an entry from the voicemail tab
229 // Incoming call was rejected from the notifications
234 // Incoming call was rejected from the answer screen including rejecting via
445 // User muted the call from the return-to-call bubble
447 // User unmuted the call from the return-to-call bubble
[all …]
Dui_action.proto15 // General action starting from 1
24 // In call log, starting from 100
31 // In dialpad, starting from 200
36 // In search, starting from 300
41 // In call history, starting from 400
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DDataUsageUtils.java69 final ConnectivityManager conn = ConnectivityManager.from(context); in hasEthernet()
74 final TelephonyManager telephonyManager = TelephonyManager.from(context);; in hasEthernet()
96 ConnectivityManager connectivityManager = ConnectivityManager.from(context); in hasMobileData()
109 SubscriptionManager.from(context).getActiveSubscriptionInfoList(true); in hasReadyMobileRadio()
117 final TelephonyManager tele = TelephonyManager.from(context); in hasReadyMobileRadio()
126 final ConnectivityManager conn = ConnectivityManager.from(context); in hasReadyMobileRadio()
145 final ConnectivityManager connectivityManager = ConnectivityManager.from(context); in hasWifiRadio()
162 SubscriptionManager subManager = SubscriptionManager.from(context); in getDefaultSubscriptionId()
183 TelephonyManager telephonyManager = TelephonyManager.from(context); in getDefaultTemplate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sim/
DSimDialogActivity.java83 final SubscriptionInfo sir = SubscriptionManager.from(context) in displayPreferredDialog()
120 final SubscriptionManager subscriptionManager = SubscriptionManager.from(context); in setDefaultDataSubId()
121 final TelephonyManager telephonyManager = TelephonyManager.from(context) in setDefaultDataSubId()
129 final SubscriptionManager subscriptionManager = SubscriptionManager.from(context); in setDefaultSmsSubId()
134 final TelecomManager telecomManager = TelecomManager.from(this); in setUserSelectedOutgoingPhoneAccount()
139 final TelecomManager telecomManager = TelecomManager.from(this); in subscriptionIdToPhoneAccountHandle()
140 final TelephonyManager telephonyManager = TelephonyManager.from(this); in subscriptionIdToPhoneAccountHandle()
157 final SubscriptionManager subscriptionManager = SubscriptionManager.from(context); in createDialog()
176 TelecomManager.from(context); in createDialog()
208 final TelecomManager telecomManager = TelecomManager.from(context); in createDialog()
[all …]
/packages/services/Car/car-lib/src/android/car/navigation/
Dnavigation_state.proto46 // A URI defining the location that the image can be retrieved from.
48 // When requesting the image from this URI, a desired image size must be
121 // No turn, from 0 (included) to 10 (excluded) degrees. Used when we just
128 // Slight turn at an intersection, from 10 (included) to 45 (excluded)
133 // Regular turn at an intersection, from 45 (included) to 135 (excluded)
138 // Sharp turn at an intersection, from 135 (included) to 175 (excluded)
143 // A turn onto the opposite side of the same street, from 175 (included) to
184 // exit") on a clockwise roundabout (as seen from above, typical for
200 // exit") on a counter-clockwise roundabout (as seen from above, typical
237 // The roundabout exit number, starting from 1 to designate the first exit
[all …]
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageUtils.java70 final ConnectivityManager conn = ConnectivityManager.from(context); in hasEthernet()
75 final TelephonyManager telephonyManager = TelephonyManager.from(context); in hasEthernet()
97 ConnectivityManager connectivityManager = ConnectivityManager.from(context); in hasMobileData()
110 SubscriptionManager.from(context).getActiveSubscriptionInfoList(true); in hasReadyMobileRadio()
118 final TelephonyManager tele = TelephonyManager.from(context); in hasReadyMobileRadio()
127 final ConnectivityManager conn = ConnectivityManager.from(context); in hasReadyMobileRadio()
146 final ConnectivityManager connectivityManager = ConnectivityManager.from(context); in hasWifiRadio()
163 SubscriptionManager subManager = SubscriptionManager.from(context); in getDefaultSubscriptionId()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DMasterSwitchPreferenceTest.java64 LayoutInflater.from(mContext).inflate( in setChecked_shouldUpdateButtonCheckedState()
80 LayoutInflater.from(mContext).inflate( in setSwitchEnabled_shouldUpdateButtonEnabledState()
96 LayoutInflater.from(mContext).inflate( in setSwitchEnabled_shouldUpdateButtonEnabledState_beforeViewBound()
108 final LayoutInflater inflater = LayoutInflater.from(mContext); in clickWidgetView_shouldToggleButton()
128 final LayoutInflater inflater = LayoutInflater.from(mContext); in clickWidgetView_shouldNotToggleButtonIfDisabled()
147 LayoutInflater.from(mContext).inflate(R.layout.preference_two_target, null)); in clickWidgetView_shouldNotifyPreferenceChanged()
166 LayoutInflater.from(mContext) in setDisabledByAdmin_hasEnforcedAdmin_shouldDisableButton()
180 LayoutInflater.from(mContext) in setDisabledByAdmin_noEnforcedAdmin_shouldEnableButton()
194 LayoutInflater.from(mContext) in onBindViewHolder_toggleButtonShouldHaveContentDescription()
DMasterCheckBoxPreferenceTest.java62 LayoutInflater.from(mContext).inflate( in setChecked_shouldUpdateCheckBoxCheckedState()
77 LayoutInflater.from(mContext).inflate( in setEnabled_shouldUpdateCheckBoxEnabledState()
92 LayoutInflater.from(mContext).inflate( in setCheckboxEnabled_shouldOnlyUpdateCheckBoxEnabledState()
109 LayoutInflater.from(mContext).inflate( in onBindViewHolder_shouldSetCheckboxEnabledState()
126 final LayoutInflater inflater = LayoutInflater.from(mContext); in clickWidgetView_shouldToggleCheckBox()
145 final LayoutInflater inflater = LayoutInflater.from(mContext); in clickWidgetView_shouldNotToggleCheckBoxIfDisabled()
163 LayoutInflater.from(mContext).inflate(R.layout.preference_two_target, null)); in clickWidgetView_shouldNotifyPreferenceChanged()
181 LayoutInflater.from(mContext) in onBindViewHolder_checkBoxShouldHaveContentDescription()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DNotificationChannelSliceTest.java125 final SliceMetadata metadata = SliceMetadata.from(mContext, slice); in getSlice_hasSuggestedApp_shouldHaveNotificationChannelTitle()
169 final SliceMetadata metadata = SliceMetadata.from(mContext, slice); in getSlice_noRecentlyInstalledApp_shouldHaveNoSuggestedAppTitle()
182 final SliceMetadata metadata = SliceMetadata.from(mContext, slice); in getSlice_noMultiChannelApp_shouldHaveNoSuggestedAppTitle()
196 final SliceMetadata metadata = SliceMetadata.from(mContext, slice); in getSlice_insufficientNotificationSentCount_shouldHaveNoSuggestedAppTitle()
208 final SliceMetadata metadata = SliceMetadata.from(mContext, slice); in getSlice_isSystemApp_shouldHaveNoSuggestedAppTitle()
221 final SliceMetadata metadata = SliceMetadata.from(mContext, slice); in getSlice_isNotificationBanned_shouldHaveNoSuggestedAppTitle()
252 final SliceMetadata metadata = SliceMetadata.from(mContext, slice); in getSlice_channelCountIsLessThanDefaultRows_subTitleShouldNotHaveTapToManagerAll()
268 final SliceMetadata metadata = SliceMetadata.from(mContext, slice); in getSlice_channelCountIsEqualToDefaultRows_subTitleShouldNotHaveTapToManagerAll()
283 final SliceMetadata metadata = SliceMetadata.from(mContext, slice); in getSlice_channelCountIsMoreThanDefaultRows_subTitleShouldHaveTapToManagerAll()
299 final SliceMetadata metadata = SliceMetadata.from(mContext, slice); in getSlice_isAllDisplayableChannelBlocked_shouldHaveNoSuggestedAppTitle()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DNotificationAppPreferenceTest.java62 final LayoutInflater inflater = LayoutInflater.from(mContext); in setChecked_shouldUpdateButtonCheckedState()
80 final LayoutInflater inflater = LayoutInflater.from(mContext); in setSwitchEnabled_shouldUpdateButtonEnabledState()
98 final LayoutInflater inflater = LayoutInflater.from(mContext); in setSwitchEnabled_shouldUpdateButtonEnabledState_beforeViewBound()
113 final LayoutInflater inflater = LayoutInflater.from(mContext); in clickWidgetView_shouldToggleButton()
133 final LayoutInflater inflater = LayoutInflater.from(mContext); in clickWidgetView_shouldNotToggleButtonIfDisabled()
152 LayoutInflater.from(mContext).inflate(R.layout.preference_app, null)); in clickWidgetView_shouldNotifyPreferenceChanged()
171 final LayoutInflater inflater = LayoutInflater.from(mContext); in setDisabledByAdmin_hasEnforcedAdmin_shouldDisableButton()
187 final LayoutInflater inflater = LayoutInflater.from(mContext); in setDisabledByAdmin_noEnforcedAdmin_shouldEnableButton()
203 final LayoutInflater inflater = LayoutInflater.from(mContext); in onBindViewHolder_toggleButtonShouldHaveContentDescription()
DZenModeSliceBuilderTest.java64 final SliceMetadata metadata = SliceMetadata.from(mContext, dndSlice); in getZenModeSlice_correctSliceContent()
79 NotificationManager.from(mContext).setZenMode(Settings.Global.ZEN_MODE_OFF, null, ""); in handleUriChange_turnOn_zenModeTurnsOn()
83 final int zenMode = NotificationManager.from(mContext).getZenMode(); in handleUriChange_turnOn_zenModeTurnsOn()
91 NotificationManager.from(mContext).setZenMode( in handleUriChange_turnOff_zenModeTurnsOff()
96 final int zenMode = NotificationManager.from(mContext).getZenMode(); in handleUriChange_turnOff_zenModeTurnsOff()
/packages/services/BuiltInPrintService/src/com/android/bips/render/
DPdfRenderService.java250 int from, to; in writeRgb() local
251 for (from = 0, to = 0; from < alphaPixelSize; from += 4, to += 3) { in writeRgb()
252 array[to] = array[from]; in writeRgb()
253 array[to + 1] = array[from + 1]; in writeRgb()
254 array[to + 2] = array[from + 2]; in writeRgb()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DTestViewHelpers.java140 private static void movePointer(long downTime, Point from, Point to) { in movePointer() argument
141 while (!from.equals(to)) { in movePointer()
147 from.x = getNextMoveValue(to.x, from.x); in movePointer()
148 from.y = getNextMoveValue(to.y, from.y); in movePointer()
149 sendPointer(downTime, MotionEvent.ACTION_MOVE, from); in movePointer()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DMimeMessage.java62 private Address[] from; field in MimeMessage
129 from = null; in init()
333 if (from == null) { in getFrom()
338 from = Address.parse(list); in getFrom()
340 return from; in getFrom()
344 public void setFrom(Address from) throws MessagingException { in setFrom() argument
346 if (from != null) { in setFrom()
347 setHeader("From", MimeUtility.fold(from.toHeader(), fromLength)); in setFrom()
348 this.from = new Address[] {from}; in setFrom()
350 this.from = null; in setFrom()
/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()
/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/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DPieRenderer.java776 private float from = 1f; field in PieRenderer.ScaleAnimation
783 public void setScale(float from, float to) { in setScale() argument
784 this.from = from; in setScale()
790 dialAngle = (int) (from + (to - from) * interpolatedTime); in applyTransformation()
795 private float from; field in PieRenderer.LinearAnimation
799 public LinearAnimation(float from, float to) { in LinearAnimation() argument
802 this.from = from; in LinearAnimation()
812 value = (from + (to - from) * interpolatedTime); in applyTransformation()
/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 …]

12345678910>>...35