Home
last modified time | relevance | path

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

12345678910>>...36

/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/Car/libs/car-ui-lib/src/com/android/car/ui/preference/
DPreferenceFragment.java302 private static Preference copyPreference(Preference from, Preference to) { in copyPreference() argument
305 to.setTitle(from.getTitle()); in copyPreference()
306 to.setOnPreferenceClickListener(from.getOnPreferenceClickListener()); in copyPreference()
307 to.setOnPreferenceChangeListener(from.getOnPreferenceChangeListener()); in copyPreference()
308 to.setIcon(from.getIcon()); in copyPreference()
309 to.setFragment(from.getFragment()); in copyPreference()
310 to.setIntent(from.getIntent()); in copyPreference()
311 to.setKey(from.getKey()); in copyPreference()
312 to.setOrder(from.getOrder()); in copyPreference()
313 to.setSelectable(from.isSelectable()); in copyPreference()
[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/car-lib/src/android/car/navigation/
Dnavigation_state.proto47 // A URI defining the location that the image can be retrieved from.
49 // When requesting the image from this URI, a desired image size must be
122 // No turn, from 0 (included) to 10 (excluded) degrees. Used when we just
127 // No turn, from 0 (included) to 10 (excluded) degrees. Used when we just
133 // Slight left turn at an intersection, from 10 (included) to 45 (excluded)
136 // Slight right turn at an intersection, from 10 (included) to 45 (excluded)
140 // Regular left turn at an intersection, from 45 (included) to 135
143 // Regular right turn at an intersection, from 45 (included) to 135
147 // Sharp left turn at an intersection, from 135 (included) to 175 (excluded)
150 // Sharp right turn at an intersection, from 135 (included) to 175
[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/modules/NetworkStack/tests/integration/src/android/net/netlink/
DInetDiagSocketIntegrationTest.java81 Connection(String to, String from) throws Exception { in Connection() argument
83 if (from != null) { in Connection()
84 localAddress = InetAddress.getByName(from); in Connection()
104 TcpConnection(String to, String from) throws Exception { in TcpConnection() argument
105 super(to, from); in TcpConnection()
128 UdpConnection(String to, String from) throws Exception { in UdpConnection() argument
129 super(to, from); in UdpConnection()
166 public void checkGetConnectionOwnerUid(String to, String from) throws Exception { in checkGetConnectionOwnerUid() argument
167 TcpConnection tcp = new TcpConnection(to, from); in checkGetConnectionOwnerUid()
174 UdpConnection udp = new UdpConnection(to, from); in checkGetConnectionOwnerUid()
/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/apps/Settings/tests/robotests/src/com/android/settings/widget/
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/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/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/Launcher3/protos/
Dlauncher_atom.proto78 // Container from where search was invoked.
101 BACKUP_RESTORE = 2; // icon layout restored from backup
102 PINITEM = 3; // from another app (e.g., Chrome's "Add to Home screen")
106 ALLAPPS_PREDICTION = 7; // from prediction bar in all apps container
107 HOTSEAT_PREDICTION = 8; // from prediction bar in hotseat container
113 // and different from any of suggested values.
141 optional string package_name = 4; // only populated during snapshot if from workspace
142 optional string component_name = 5; // only populated during snapshot if from workspace
206 // Eg: When a folder label is updated from empty string.
210 // Eg: When a folder label is updated from a user-entered value.
[all …]
/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/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/modules/DnsResolver/tests/
Dgolddata.proto29 // Values from bionic/libc/include/sys/socket.h
79 // Values from bionic/libc/include/sys/socket.h
91 // Values from bionic/libc/kernel/uapi/linux/in.h
122 // Values from bionic/libc/include/netdb.h
123 // Values from system/netd/resolv/include/netd_resolv/resolv.h
147 // the query packet, it returns the corresponding response packet from |packet_mapping.response|.
195 // Expected return values from DNS query API.
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DZenModeSliceBuilderTest.java65 final SliceMetadata metadata = SliceMetadata.from(mContext, dndSlice); in getZenModeSlice_correctSliceContent()
80 NotificationManager.from(mContext).setZenMode(Settings.Global.ZEN_MODE_OFF, null, ""); in handleUriChange_turnOn_zenModeTurnsOn()
84 final int zenMode = NotificationManager.from(mContext).getZenMode(); in handleUriChange_turnOn_zenModeTurnsOn()
92 NotificationManager.from(mContext).setZenMode( in handleUriChange_turnOff_zenModeTurnsOff()
97 final int zenMode = NotificationManager.from(mContext).getZenMode(); in handleUriChange_turnOff_zenModeTurnsOff()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/list/
DSearchAdapter.java66 LayoutInflater.from(context).inflate(R.layout.search_contact_row, root, false), in onCreateViewHolder()
70 LayoutInflater.from(context).inflate(R.layout.search_contact_row, root, false), in onCreateViewHolder()
76 LayoutInflater.from(context).inflate(R.layout.header_layout, root, false)); in onCreateViewHolder()
79 LayoutInflater.from(context).inflate(R.layout.search_contact_row, root, false), in onCreateViewHolder()
83 LayoutInflater.from(context).inflate(R.layout.search_action_layout, root, false), in onCreateViewHolder()
87 LayoutInflater.from(context).inflate(R.layout.location_permission_row, root, false), in onCreateViewHolder()

12345678910>>...36