Home
last modified time | relevance | path

Searched refs:si (Results 1 – 25 of 40) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/applications/
DRunningState.java497 ServiceItem si = mServices.get(service.service); in updateService() local
498 if (si == null) { in updateService()
500 si = new ServiceItem(mUserId); in updateService()
501 si.mRunningService = service; in updateService()
503 si.mServiceInfo = ActivityThread.getPackageManager().getServiceInfo( in updateService()
507 if (si.mServiceInfo == null) { in updateService()
514 si.mDisplayLabel = makeLabel(pm, in updateService()
515 si.mRunningService.service.getClassName(), si.mServiceInfo); in updateService()
517 si.mPackageInfo = si.mServiceInfo.applicationInfo; in updateService()
518 mServices.put(service.service, si); in updateService()
[all …]
DRunningServiceDetails.java95 RunningState.ServiceItem si = mServiceItem; in stopActiveService() local
97 if ((si.mServiceInfo.applicationInfo.flags&ApplicationInfo.FLAG_SYSTEM) != 0) { in stopActiveService()
98 showConfirmStopDialog(si.mRunningService.service); in stopActiveService()
102 getActivity().stopService(new Intent().setComponent(si.mRunningService.service)); in stopActiveService()
246 void addServiceDetailsView(RunningState.ServiceItem si, RunningState.MergedItem mi, in addServiceDetailsView() argument
258 RunningState.BaseItem bi = si != null ? si : mi; in addServiceDetailsView()
265 detail.mServiceItem = si; in addServiceDetailsView()
273 if (si != null && si.mRunningService.clientLabel != 0) { in addServiceDetailsView()
275 si.mRunningService.service); in addServiceDetailsView()
289 if (si != null && si.mServiceInfo.descriptionRes != 0) { in addServiceDetailsView()
[all …]
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DDelaunay.cpp371 int m,sij,si,sj,sL,sk; in rcssort() local
379 si = lowelt; sj = highelt; in rcssort()
381 sij = (sj+si) >> 1; in rcssort()
384 if ( (this->*comparison)( si,sij ) > 0 ) { in rcssort()
385 (this->*swap)( si,sij ); in rcssort()
389 if ( (this->*comparison)( si,sij ) > 0 ) { in rcssort()
390 (this->*swap)( si,sij ); in rcssort()
396 sk = si; sL = sj; in rcssort()
410 if ( sL-si > sj-sk ) { in rcssort()
411 if ( sL-si < QQ ) { in rcssort()
[all …]
DBlend.cpp840 double si = ii + rect.left; in ComputeMask() local
842 double dself = hypotSq(csite->getVCenter().x - si, csite->getVCenter().y - sj); in ComputeMask()
855 double d1 = hypotSq(m_AllSites[ce->second].getVCenter().x - si, in ComputeMask()
924 double si = ii + rect.left; in ProcessPyramidForThisFrame() local
965 MosaicToFrame(inv_trs, si, sj, xx, yy); in ProcessPyramidForThisFrame()
/packages/apps/Camera/jni/feature_mos/src/mosaic/
DDelaunay.cpp371 int m,sij,si,sj,sL,sk; in rcssort() local
379 si = lowelt; sj = highelt; in rcssort()
381 sij = (sj+si) >> 1; in rcssort()
384 if ( (this->*comparison)( si,sij ) > 0 ) { in rcssort()
385 (this->*swap)( si,sij ); in rcssort()
389 if ( (this->*comparison)( si,sij ) > 0 ) { in rcssort()
390 (this->*swap)( si,sij ); in rcssort()
396 sk = si; sL = sj; in rcssort()
410 if ( sL-si > sj-sk ) { in rcssort()
411 if ( sL-si < QQ ) { in rcssort()
[all …]
DBlend.cpp860 double si = ii + rect.left; in ComputeMask() local
862 double dself = hypotSq(csite->getVCenter().x - si, csite->getVCenter().y - sj); in ComputeMask()
875 double d1 = hypotSq(m_AllSites[ce->second].getVCenter().x - si, in ComputeMask()
944 double si = ii + rect.left; in ProcessPyramidForThisFrame() local
985 MosaicToFrame(inv_trs, si, sj, xx, yy); in ProcessPyramidForThisFrame()
/packages/apps/Settings/src/com/android/settings/notification/
DZenModeExternalRuleSettings.java69 final ServiceInfo si = ServiceListing.findService(mContext, in onCreateInternal() local
71 if (DEBUG) Log.d(TAG, "ServiceInfo: " + si); in onCreateInternal()
72 final RuleInfo ri = getRuleInfo(si); in onCreateInternal()
109 public static RuleInfo getRuleInfo(ServiceInfo si) { in getRuleInfo() argument
110 if (si == null || si.metaData == null) return null; in getRuleInfo()
111 final String ruleType = si.metaData.getString(MD_RULE_TYPE); in getRuleInfo()
112 final String defaultConditionId = si.metaData.getString(MD_DEFAULT_CONDITION_ID); in getRuleInfo()
113 final String configurationActivity = si.metaData.getString(MD_CONFIGURATION_ACTIVITY); in getRuleInfo()
116 ri.serviceComponent = new ComponentName(si.packageName, si.name); in getRuleInfo()
DZenRuleNameDialog.java209 for (ServiceInfo si : services) {
210 final RuleInfo ri = ZenModeExternalRuleSettings.getRuleInfo(si);
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherModel.java289 ShortcutInfo si = (ShortcutInfo) info; in setPackageState()
290 ComponentName cn = si.getTargetComponent(); in setPackageState()
291 if (si.isPromise() && (cn != null) in setPackageState()
293 si.setInstallProgress(installInfo.progress); in setPackageState()
297 si.status &= ~ShortcutInfo.FLAG_INSTALL_SESSION_ACTIVE; in setPackageState()
299 updates.add(si); in setPackageState()
343 ShortcutInfo si = (ShortcutInfo) info; in updateSessionDisplayInfo()
344 ComponentName cn = si.getTargetComponent(); in updateSessionDisplayInfo()
345 if (si.isPromise() && (cn != null) in updateSessionDisplayInfo()
347 if (si.hasStatusFlag(ShortcutInfo.FLAG_AUTOINTALL_ICON)) { in updateSessionDisplayInfo()
[all …]
DFolder.java1201 ShortcutInfo si = mCurrentDragInfo; in onDrop() local
1203 currentDragView = mContent.createAndAddViewForRank(si, mEmptyCellRank); in onDrop()
1207 mLauncher, si, mInfo.id, 0, si.cellX, si.cellY); in onDrop()
1216 mContent.addViewForRank(currentDragView, si, mEmptyCellRank); in onDrop()
1239 mInfo.add(si); in onDrop()
DWorkspace.java4343 ShortcutInfo si = (ShortcutInfo) info;
4348 shortcut.applyFromShortcutInfo(si, mIconCache,
4349 si.isPromise() != oldPromiseState);
DLauncher.java4196 for (ShortcutInfo si : removed) { in bindShortcutsChanged()
4197 removedComponents.add(si.getTargetComponent()); in bindShortcutsChanged()
/packages/apps/Settings/src/com/android/settings/location/
DSettingsInjector.java156 ServiceInfo si = service.serviceInfo; in parseServiceInfo() local
157 ApplicationInfo ai = si.applicationInfo; in parseServiceInfo()
169 parser = si.loadXmlMetaData(pm, SettingInjectorService.META_DATA_NAME); in parseServiceInfo()
172 + " meta-data for " + service + ": " + si); in parseServiceInfo()
188 Resources res = pm.getResourcesForApplicationAsUser(si.packageName, in parseServiceInfo()
190 return parseAttributes(si.packageName, si.name, userHandle, res, attrs); in parseServiceInfo()
193 "Unable to load resources for package " + si.packageName); in parseServiceInfo()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerReceiver.java108 Intent si = new Intent(); in onReceive() local
109 si.setClass(context, TimerRingService.class); in onReceive()
110 context.startService(si); in onReceive()
213 Intent si = new Intent(); in stopRingtoneIfNoTimesup() local
214 si.setClass(context, TimerRingService.class); in stopRingtoneIfNoTimesup()
215 context.stopService(si); in stopRingtoneIfNoTimesup()
/packages/inputmethods/LatinIME/native/jni/src/
Ddefines.h51 int si = 0; in intArrayToCharArray() local
53 while (si < sourceSize && di < destLimit && 0 != source[si]) { in intArrayToCharArray()
54 const int codePoint = source[si++]; in intArrayToCharArray()
/packages/apps/Settings/src/com/android/settings/voice/
DVoiceInputHelper.java163 ServiceInfo si = resolveInfo.serviceInfo; in buildUi() local
167 parser = si.loadXmlMetaData(mContext.getPackageManager(), in buildUi()
171 " meta-data for " + si.packageName); in buildUi()
175 si.applicationInfo); in buildUi()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DAndroidSpellCheckerSession.java60 final SuggestionsInfo si = ssi.getSuggestionsInfoAt(i); in fixWronglyInvalidatedWordWithSingleQuote() local
61 final int flags = si.getSuggestionsAttributes(); in fixWronglyInvalidatedWordWithSingleQuote()
94 newSi.setCookieAndSequence(si.getCookie(), si.getSequence()); in fixWronglyInvalidatedWordWithSingleQuote()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DRegisteredServicesCache.java240 ServiceInfo si = resolvedService.serviceInfo; in getInstalledServices() local
241 ComponentName componentName = new ComponentName(si.packageName, si.name); in getInstalledServices()
243 if (pm.checkPermission(android.Manifest.permission.NFC, si.packageName) != in getInstalledServices()
251 si.permission)) { in getInstalledServices()
/packages/apps/Launcher2/src/com/android/launcher2/
DInstallShortcutReceiver.java257 int si = screen + (int) ((i / 2f) + 0.5f) * ((i % 2 == 1) ? 1 : -1); in processInstallShortcut() local
258 if (0 <= si && si < Launcher.SCREEN_COUNT) { in processInstallShortcut()
259 found = installShortcut(context, data, items, name, intent, si, exists, sp, in processInstallShortcut()
DFolder.java1011 ShortcutInfo si = (ShortcutInfo) mCurrentDragView.getTag(); in onDrop() local
1013 si.cellX = lp.cellX = mEmptyCell[0]; in onDrop()
1014 si.cellX = lp.cellY = mEmptyCell[1]; in onDrop()
/packages/services/Telephony/src/com/android/phone/
DMobileNetworkSettings.java301 SubscriptionInfo si = siIterator.hasNext() ? siIterator.next() : null; in initializeSubscriptions() local
304 if (si != null && si.getSimSlotIndex() == simSlotIndex) { in initializeSubscriptions()
306 tabName = String.valueOf(si.getDisplayName()); in initializeSubscriptions()
307 si = siIterator.hasNext() ? siIterator.next() : null; in initializeSubscriptions()
/packages/inputmethods/LatinIME/dictionaries/
Dlt_wordlist.combined.gz1dictionary=main:lt,locale=lt,description=Lietuvių,date=1393228136, ...
Dpl_wordlist.combined.gz
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...
Dfi_wordlist.combined.gz1dictionary=main:fi,locale=fi,description=Suomi,date=1393228135, ...

12