/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/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/TvSettings/Settings/src/com/android/tv/settings/ |
D | BrowseInfo.java | 226 TypedArray sa = mContext.getResources().obtainAttributes(attrs, in handleRequestedNode() local 228 final int headerId = sa.getResourceId( in handleRequestedNode() 231 String title = getStringFromTypedArray(sa, in handleRequestedNode() 233 sa.recycle(); in handleRequestedNode() 234 sa = context.getResources().obtainAttributes(attrs, R.styleable.CanvasSettings); in handleRequestedNode() 235 int preferenceRes = sa.getResourceId(R.styleable.CanvasSettings_preference, 0); in handleRequestedNode() 236 sa.recycle(); in handleRequestedNode() 264 TypedArray sa = context.getResources().obtainAttributes(attrs, in handleRequestedNode() local 267 String key = getStringFromTypedArray(sa, in handleRequestedNode() 269 String title = getStringFromTypedArray(sa, in handleRequestedNode() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
D | AccountSyncSettings.java | 210 final SyncAdapterType sa = syncAdapters[i]; in getActions() local 211 if (sa.isUserVisible()) { in getActions() 212 ArrayList<String> authorities = accountTypeToAuthorities.get(sa.accountType); in getActions() 215 accountTypeToAuthorities.put(sa.accountType, authorities); in getActions() 218 Log.d(TAG, "onAccountUpdated: added authority " + sa.authority in getActions() 219 + " to accountType " + sa.accountType); in getActions() 221 authorities.add(sa.authority); in getActions() 225 mInvisibleAdapters.add(sa); in getActions()
|
/packages/apps/Settings/src/com/android/settings/ |
D | SettingsActivity.java | 1095 TypedArray sa = context.obtainStyledAttributes( in loadCategoriesFromResource() local 1097 category.id = sa.getResourceId( in loadCategoriesFromResource() 1101 TypedValue tv = sa.peekValue( in loadCategoriesFromResource() 1110 sa.recycle(); in loadCategoriesFromResource() 1111 sa = context.obtainStyledAttributes(attrs, in loadCategoriesFromResource() 1113 tv = sa.peekValue( in loadCategoriesFromResource() 1122 sa.recycle(); in loadCategoriesFromResource() 1135 sa = context.obtainStyledAttributes( in loadCategoriesFromResource() 1137 tile.id = sa.getResourceId( in loadCategoriesFromResource() 1140 tv = sa.peekValue( in loadCategoriesFromResource() [all …]
|
D | TrustAgentUtils.java | 93 TypedArray sa = in getSettingsComponent() local 96 sa.getString(com.android.internal.R.styleable.TrustAgent_summary); in getSettingsComponent() 98 sa.getString(com.android.internal.R.styleable.TrustAgent_title); in getSettingsComponent() 99 cn = sa.getString(com.android.internal.R.styleable.TrustAgent_settingsActivity); in getSettingsComponent() 100 sa.recycle(); in getSettingsComponent()
|
D | SettingsPreferenceFragment.java | 518 SettingsActivity sa = (SettingsActivity) activity; in startFragment() local 519 sa.startPreferencePanel(fragmentClass, extras, titleRes, null, caller, requestCode); in startFragment() 522 PreferenceActivity sa = (PreferenceActivity) activity; in startFragment() local 523 sa.startPreferencePanel(fragmentClass, extras, titleRes, null, caller, requestCode); in startFragment()
|
D | EncryptionInterstitial.java | 214 SettingsActivity sa = (SettingsActivity)getActivity(); in setRequirePasswordState() local 215 Intent resultIntentData = sa.getResultIntentData(); in setRequirePasswordState() 218 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()
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | AuthenticatorHelper.java | 263 final SyncAdapterType sa = syncAdapters[i]; in buildAccountTypeToAuthoritiesMap() local 264 ArrayList<String> authorities = mAccountTypeToAuthorities.get(sa.accountType); in buildAccountTypeToAuthoritiesMap() 267 mAccountTypeToAuthorities.put(sa.accountType, authorities); in buildAccountTypeToAuthoritiesMap() 270 Log.d(TAG, "Added authority " + sa.authority + " to accountType " in buildAccountTypeToAuthoritiesMap() 271 + sa.accountType); in buildAccountTypeToAuthoritiesMap() 273 authorities.add(sa.authority); in buildAccountTypeToAuthoritiesMap()
|
D | ChooseAccountActivity.java | 198 final SyncAdapterType sa = syncAdapters[i]; in getAuthoritiesForAccountType() local 199 ArrayList<String> authorities = mAccountTypeToAuthorities.get(sa.accountType); in getAuthoritiesForAccountType() 202 mAccountTypeToAuthorities.put(sa.accountType, authorities); in getAuthoritiesForAccountType() 205 Log.d(TAG, "added authority " + sa.authority + " to accountType " in getAuthoritiesForAccountType() 206 + sa.accountType); in getAuthoritiesForAccountType() 208 authorities.add(sa.authority); in getAuthoritiesForAccountType()
|
D | ManageAccountsSettings.java | 221 SyncAdapterType sa = syncAdapters[j]; in requestOrCancelSyncForAccounts() local 223 && ContentResolver.getSyncAutomaticallyAsUser(account, sa.authority, in requestOrCancelSyncForAccounts() 226 ContentResolver.requestSyncAsUser(account, sa.authority, userId, in requestOrCancelSyncForAccounts() 229 ContentResolver.cancelSyncAsUser(account, sa.authority, userId); in requestOrCancelSyncForAccounts() 267 final SyncAdapterType sa = syncAdapters[k]; in showSyncState() local 268 if (sa.isUserVisible()) { in showSyncState() 269 userFacing.add(sa.authority); in showSyncState()
|
D | AccountSyncSettings.java | 504 final SyncAdapterType sa = syncAdapters[i]; in updateAccountSwitches() local 506 if (!sa.accountType.equals(mAccount.type)) continue; in updateAccountSwitches() 507 if (sa.isUserVisible()) { in updateAccountSwitches() 509 Log.d(TAG, "updateAccountSwitches: added authority " + sa.authority in updateAccountSwitches() 510 + " to accountType " + sa.accountType); in updateAccountSwitches() 512 authorities.add(sa.authority); in updateAccountSwitches() 516 mInvisibleAdapters.add(sa); in updateAccountSwitches()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | PowerUsageDetail.java | 501 SettingsActivity sa = (SettingsActivity) getActivity(); in startApplicationDetailsActivity() local 502 sa.startPreferencePanel(InstalledAppDetails.class.getName(), args, in startApplicationDetailsActivity() 507 SettingsActivity sa = (SettingsActivity)getActivity(); in doAction() local 510 sa.startPreferencePanel(DisplaySettings.class.getName(), null, in doAction() 514 sa.startPreferencePanel(WifiSettings.class.getName(), null, in doAction() 518 sa.startPreferencePanel(BluetoothSettings.class.getName(), null, in doAction() 522 sa.startPreferencePanel(WirelessSettings.class.getName(), null, in doAction() 529 sa.startPreferencePanel(LocationSettings.class.getName(), null, in doAction()
|
D | PowerUsageSummary.java | 152 final SettingsActivity sa = (SettingsActivity) getActivity(); in onOptionsItemSelected() local 163 sa.startPreferencePanel(BatterySaverSettings.class.getName(), null, in onOptionsItemSelected() 170 sa.startPreferencePanel(ManageApplications.class.getName(), args, in onOptionsItemSelected()
|
D | BatteryHistoryPreference.java | 63 SettingsActivity sa = (SettingsActivity) getContext(); in performClick() local 64 sa.startPreferencePanel(BatteryHistoryDetail.class.getName(), args, in performClick()
|
/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/TvSettings/Settings/src/com/android/tv/settings/device/display/daydream/ |
D | DreamInfoAction.java | 173 TypedArray sa = res.obtainAttributes(attrs, com.android.internal.R.styleable.Dream); in getSettingsComponentName() local 174 cn = sa.getString(com.android.internal.R.styleable.Dream_settingsActivity); in getSettingsComponentName() 175 sa.recycle(); in getSettingsComponentName()
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
D | SearchResultsSummary.java | 189 final SettingsActivity sa = (SettingsActivity) getActivity(); in onCreateView() 190 sa.needToRevertToInitialFragment(); in onCreateView() 196 Utils.startWithFragment(sa, className, args, null, 0, -1, screenTitle); in onCreateView() 211 sa.startActivity(intent); in onCreateView()
|
/packages/apps/Settings/src/com/android/settings/search/ |
D | Index.java | 1108 final TypedArray sa = context.obtainStyledAttributes(set, attrs); in getData() local 1109 final TypedValue tv = sa.peekValue(resId); in getData() 1123 final TypedArray sa = context.obtainStyledAttributes(set, attrs); in getDataEntries() local 1124 final TypedValue tv = sa.peekValue(resId); in getDataEntries() 1145 final TypedArray sa = context.obtainStyledAttributes(set, attrs); in getResId() local 1146 final TypedValue tv = sa.peekValue(resId); in getResId()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | UserDictionaryAddWordFragment.java | 146 SettingsActivity sa = (SettingsActivity)getActivity(); in onItemSelected() local 147 sa.startPreferenceFragment(new UserDictionaryLocalePicker(this), true); in onItemSelected()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | InstalledAppDetails.java | 698 SettingsActivity sa = (SettingsActivity) getActivity(); 699 sa.startPreferencePanel(fragment.getName(), args, -1, title, this, SUB_INFO_FRAGMENT); 755 SettingsActivity sa = (SettingsActivity) getActivity(); 756 sa.startPreferencePanel(DataUsageSummary.class.getName(), args, -1,
|
D | AppInfoBase.java | 142 SettingsActivity sa = (SettingsActivity)getActivity(); in setIntentAndFinish() local 143 sa.finishPreferencePanel(this, Activity.RESULT_OK, intent); in setIntentAndFinish()
|
D | AppOpsDetails.java | 153 SettingsActivity sa = (SettingsActivity)getActivity(); in setIntentAndFinish() local 154 sa.finishPreferencePanel(this, Activity.RESULT_OK, intent); in setIntentAndFinish()
|