/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
D | Delaunay.cpp | 197 if (!(sa = (CSite*) malloc(size))) { in allocMemory() 200 sp = (SitePointer *) (sa + n); in allocMemory() 204 return sa; in allocMemory() 209 if (sa) { in freeMemory() 210 free(sa); in freeMemory() 211 sa = (CSite*)NULL; in freeMemory() 272 double d = sa[(i>=0)?sp[i]:sp1].X() - sa[(j>=0)?sp[j]:sp1].X(); in xcmpsp() 279 d = sa[(i>=0)?sp[i]:sp1].Y() - sa[(j>=0)?sp[j]:sp1].Y(); in xcmpsp() 291 double d = sa[(i>=0)?sp[i]:sp1].Y() - sa[(j>=0)?sp[j]:sp1].Y(); in ycmpsp() 298 d = sa[(i>=0)?sp[i]:sp1].X() - sa[(j>=0)?sp[j]:sp1].X(); in ycmpsp() [all …]
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | Delaunay.cpp | 197 if (!(sa = (CSite*) malloc(size))) { in allocMemory() 200 sp = (SitePointer *) (sa + n); in allocMemory() 204 return sa; in allocMemory() 209 if (sa) { in freeMemory() 210 free(sa); in freeMemory() 211 sa = (CSite*)NULL; in freeMemory() 272 double d = sa[(i>=0)?sp[i]:sp1].X() - sa[(j>=0)?sp[j]:sp1].X(); in xcmpsp() 279 d = sa[(i>=0)?sp[i]:sp1].Y() - sa[(j>=0)?sp[j]:sp1].Y(); in xcmpsp() 291 double d = sa[(i>=0)?sp[i]:sp1].Y() - sa[(j>=0)?sp[j]:sp1].Y(); in ycmpsp() 298 d = sa[(i>=0)?sp[i]:sp1].X() - sa[(j>=0)?sp[j]:sp1].X(); in ycmpsp() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
D | BrowseInfo.java | 232 TypedArray sa = mContext.getResources().obtainAttributes(attrs, in handleRequestedNode() local 234 final int headerId = sa.getResourceId( in handleRequestedNode() 237 String title = getStringFromTypedArray(sa, in handleRequestedNode() 239 sa.recycle(); in handleRequestedNode() 240 sa = context.getResources().obtainAttributes(attrs, R.styleable.CanvasSettings); in handleRequestedNode() 241 int preferenceRes = sa.getResourceId(R.styleable.CanvasSettings_preference, 0); in handleRequestedNode() 242 sa.recycle(); in handleRequestedNode() 270 TypedArray sa = context.getResources().obtainAttributes(attrs, in handleRequestedNode() local 273 String key = getStringFromTypedArray(sa, in handleRequestedNode() 275 String title = getStringFromTypedArray(sa, in handleRequestedNode() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
D | AccountSyncSettings.java | 211 final SyncAdapterType sa = syncAdapters[i]; in getActions() local 212 if (sa.isUserVisible()) { in getActions() 213 ArrayList<String> authorities = accountTypeToAuthorities.get(sa.accountType); in getActions() 216 accountTypeToAuthorities.put(sa.accountType, authorities); in getActions() 219 Log.d(TAG, "onAccountUpdated: added authority " + sa.authority in getActions() 220 + " to accountType " + sa.accountType); in getActions() 222 authorities.add(sa.authority); in getActions() 226 mInvisibleAdapters.add(sa); in getActions()
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | AuthenticatorHelper.java | 262 final SyncAdapterType sa = syncAdapters[i]; in buildAccountTypeToAuthoritiesMap() local 263 ArrayList<String> authorities = mAccountTypeToAuthorities.get(sa.accountType); in buildAccountTypeToAuthoritiesMap() 266 mAccountTypeToAuthorities.put(sa.accountType, authorities); in buildAccountTypeToAuthoritiesMap() 269 Log.d(TAG, "Added authority " + sa.authority + " to accountType " in buildAccountTypeToAuthoritiesMap() 270 + sa.accountType); in buildAccountTypeToAuthoritiesMap() 272 authorities.add(sa.authority); in buildAccountTypeToAuthoritiesMap()
|
D | ChooseAccountActivity.java | 191 final SyncAdapterType sa = syncAdapters[i]; in getAuthoritiesForAccountType() local 192 ArrayList<String> authorities = mAccountTypeToAuthorities.get(sa.accountType); in getAuthoritiesForAccountType() 195 mAccountTypeToAuthorities.put(sa.accountType, authorities); in getAuthoritiesForAccountType() 198 Log.d(TAG, "added authority " + sa.authority + " to accountType " in getAuthoritiesForAccountType() 199 + sa.accountType); in getAuthoritiesForAccountType() 201 authorities.add(sa.authority); in getAuthoritiesForAccountType()
|
D | ManageAccountsSettings.java | 215 SyncAdapterType sa = syncAdapters[j]; in requestOrCancelSyncForAccounts() local 217 && ContentResolver.getSyncAutomaticallyAsUser(account, sa.authority, in requestOrCancelSyncForAccounts() 220 ContentResolver.requestSyncAsUser(account, sa.authority, userId, in requestOrCancelSyncForAccounts() 223 ContentResolver.cancelSyncAsUser(account, sa.authority, userId); in requestOrCancelSyncForAccounts() 261 final SyncAdapterType sa = syncAdapters[k]; in showSyncState() local 262 if (sa.isUserVisible()) { in showSyncState() 263 userFacing.add(sa.authority); in showSyncState()
|
D | AccountSyncSettings.java | 488 final SyncAdapterType sa = syncAdapters[i]; in updateAccountSwitches() local 490 if (!sa.accountType.equals(mAccount.type)) continue; in updateAccountSwitches() 491 if (sa.isUserVisible()) { in updateAccountSwitches() 493 Log.d(TAG, "updateAccountSwitches: added authority " + sa.authority in updateAccountSwitches() 494 + " to accountType " + sa.accountType); in updateAccountSwitches() 496 authorities.add(sa.authority); in updateAccountSwitches() 500 mInvisibleAdapters.add(sa); in updateAccountSwitches()
|
/packages/apps/Settings/src/com/android/settings/ |
D | SettingsActivity.java | 1021 TypedArray sa = obtainStyledAttributes( in loadCategoriesFromResource() local 1023 category.id = sa.getResourceId( in loadCategoriesFromResource() 1027 TypedValue tv = sa.peekValue( in loadCategoriesFromResource() 1036 sa.recycle(); in loadCategoriesFromResource() 1049 sa = obtainStyledAttributes( in loadCategoriesFromResource() 1051 tile.id = sa.getResourceId( in loadCategoriesFromResource() 1054 tv = sa.peekValue( in loadCategoriesFromResource() 1063 tv = sa.peekValue( in loadCategoriesFromResource() 1072 tile.iconRes = sa.getResourceId( in loadCategoriesFromResource() 1074 tile.fragment = sa.getString( in loadCategoriesFromResource() [all …]
|
D | TrustAgentUtils.java | 92 TypedArray sa = in getSettingsComponent() local 95 sa.getString(com.android.internal.R.styleable.TrustAgent_summary); in getSettingsComponent() 97 sa.getString(com.android.internal.R.styleable.TrustAgent_title); in getSettingsComponent() 98 cn = sa.getString(com.android.internal.R.styleable.TrustAgent_settingsActivity); in getSettingsComponent() 99 sa.recycle(); in getSettingsComponent()
|
D | SettingsPreferenceFragment.java | 501 SettingsActivity sa = (SettingsActivity) activity; in startFragment() local 502 sa.startPreferencePanel(fragmentClass, extras, titleRes, null, caller, requestCode); in startFragment() 505 PreferenceActivity sa = (PreferenceActivity) activity; in startFragment() local 506 sa.startPreferencePanel(fragmentClass, extras, titleRes, null, caller, requestCode); in startFragment()
|
D | EncryptionInterstitial.java | 196 SettingsActivity sa = (SettingsActivity)getActivity(); in setRequirePasswordState() local 197 Intent resultIntentData = sa.getResultIntentData(); in setRequirePasswordState() 200 sa.setResultIntentData(resultIntentData); in setRequirePasswordState()
|
D | DreamBackend.java | 264 TypedArray sa = res.obtainAttributes(attrs, com.android.internal.R.styleable.Dream); in getSettingsComponentName() local 265 cn = sa.getString(com.android.internal.R.styleable.Dream_settingsActivity); in getSettingsComponentName() 266 sa.recycle(); in getSettingsComponentName()
|
D | ConfirmLockPassword.java | 152 final SettingsActivity sa = (SettingsActivity) activity; in onCreateView() local 155 sa.setTitle(title); in onCreateView()
|
D | UserDictionarySettings.java | 195 SettingsActivity sa = (SettingsActivity) getActivity(); in showAddOrEditDialog() local 196 sa.startPreferencePanel( in showAddOrEditDialog()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | PowerUsageDetail.java | 462 SettingsActivity sa = (SettingsActivity) getActivity(); in startApplicationDetailsActivity() local 463 sa.startPreferencePanel(InstalledAppDetails.class.getName(), args, in startApplicationDetailsActivity() 468 SettingsActivity sa = (SettingsActivity)getActivity(); in doAction() local 471 sa.startPreferencePanel(DisplaySettings.class.getName(), null, in doAction() 475 sa.startPreferencePanel(WifiSettings.class.getName(), null, in doAction() 479 sa.startPreferencePanel(BluetoothSettings.class.getName(), null, in doAction() 483 sa.startPreferencePanel(WirelessSettings.class.getName(), null, in doAction() 490 sa.startPreferencePanel(LocationSettings.class.getName(), null, in doAction()
|
D | PowerUsageSummary.java | 166 SettingsActivity sa = (SettingsActivity) getActivity(); in onPreferenceTreeClick() local 167 sa.startPreferencePanel(BatteryHistoryDetail.class.getName(), args, in onPreferenceTreeClick() 221 final SettingsActivity sa = (SettingsActivity) getActivity(); in onOptionsItemSelected() local 222 sa.startPreferencePanel(BatterySaverSettings.class.getName(), null, in onOptionsItemSelected()
|
/packages/apps/Settings/src/com/android/settings/location/ |
D | SettingsInjector.java | 207 TypedArray sa = res.obtainAttributes(attrs, android.R.styleable.SettingInjectorService); in parseAttributes() local 211 final String title = sa.getString(android.R.styleable.SettingInjectorService_title); in parseAttributes() 213 sa.getResourceId(android.R.styleable.SettingInjectorService_icon, 0); in parseAttributes() 215 sa.getString(android.R.styleable.SettingInjectorService_settingsActivity); in parseAttributes() 223 sa.recycle(); in parseAttributes()
|
/packages/apps/Email/tests/src/com/android/email/activity/setup/ |
D | AccountSetupOptionsTests.java | 154 SpinnerAdapter sa = mCheckFrequencyView.getAdapter(); in frequencySpinnerHasValue() local 156 for (int i = 0; i < sa.getCount(); ++i) { in frequencySpinnerHasValue() 157 SpinnerOption so = (SpinnerOption) sa.getItem(i); in frequencySpinnerHasValue()
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
D | SearchResultsSummary.java | 186 final SettingsActivity sa = (SettingsActivity) getActivity(); in onCreateView() 187 sa.needToRevertToInitialFragment(); in onCreateView() 193 Utils.startWithFragment(sa, className, args, null, 0, -1, screenTitle); in onCreateView() 208 sa.startActivity(intent); in onCreateView()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/display/daydream/ |
D | DreamInfoAction.java | 174 TypedArray sa = res.obtainAttributes(attrs, com.android.internal.R.styleable.Dream); in getSettingsComponentName() local 175 cn = sa.getString(com.android.internal.R.styleable.Dream_settingsActivity); in getSettingsComponentName() 176 sa.recycle(); in getSettingsComponentName()
|
/packages/apps/Settings/src/com/android/settings/search/ |
D | Index.java | 1101 final TypedArray sa = context.obtainStyledAttributes(set, attrs); in getData() local 1102 final TypedValue tv = sa.peekValue(resId); in getData() 1116 final TypedArray sa = context.obtainStyledAttributes(set, attrs); in getDataEntries() local 1117 final TypedValue tv = sa.peekValue(resId); in getDataEntries() 1138 final TypedArray sa = context.obtainStyledAttributes(set, attrs); in getResId() local 1139 final TypedValue tv = sa.peekValue(resId); in getResId()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | UserDictionaryAddWordFragment.java | 140 SettingsActivity sa = (SettingsActivity)getActivity(); in onItemSelected() local 141 sa.startPreferenceFragment(new UserDictionaryLocalePicker(this), true); in onItemSelected()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppOpsDetails.java | 164 SettingsActivity sa = (SettingsActivity)getActivity(); in setIntentAndFinish() local 165 sa.finishPreferencePanel(this, Activity.RESULT_OK, intent); in setIntentAndFinish()
|
D | AppOpsCategory.java | 336 SettingsActivity sa = (SettingsActivity) getActivity(); in startApplicationDetailsActivity() local 337 sa.startPreferencePanel(AppOpsDetails.class.getName(), args, in startApplicationDetailsActivity()
|