Searched refs:from (Results 226 - 250 of 595) sorted by relevance

1234567891011>>

/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DLoginActivityFromResources.java51 TransitionInflater inflater = TransitionInflater.from(this);
/frameworks/native/cmds/installd/
H A Dcommands.cpp131 LOG(DEBUG) << "Detected label change from " << before << " to " << after << " at " << path
256 << " is not active; migrating from " << source;
428 auto from = create_data_app_package_path(from_uuid, data_app_name); local
439 (char*) from.c_str(),
443 LOG(DEBUG) << "Copying " << from << " to " << to;
447 LOG(ERROR) << "Failed copying " << from << " to " << to
486 auto from = create_data_user_de_package_path(from_uuid, user, package_name); local
488 argv[6] = (char*) from.c_str();
491 LOG(DEBUG) << "Copying " << from << " to " << to;
494 LOG(ERROR) << "Failed copying " << from << " t
499 auto from = create_data_user_ce_package_path(from_uuid, user, package_name); local
2134 unlink_and_rename(const char* from, const char* to) argument
[all...]
/frameworks/opt/setupwizard/library/full-support/test/src/com/android/setupwizardlib/test/
H A DGlifRecyclerLayoutTest.java52 LayoutInflater inflater = LayoutInflater.from(mContext);
89 assertSame("Adapter got from GlifRecyclerLayout should be same as set",
H A DSetupWizardRecyclerLayoutTest.java52 LayoutInflater inflater = LayoutInflater.from(mContext);
89 assertSame("Adapter got from SetupWizardLayout should be same as set",
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
H A DTemplateLayout.java35 * inflating this layout from XML, the {@code android:layout} and {@code suwContainer} attributes
88 final LayoutInflater inflater = LayoutInflater.from(getContext());
127 * views retrieved from findViewById, or other view operations that need to be done in code.
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
H A DGlifListLayoutTest.java67 LayoutInflater inflater = LayoutInflater.from(mContext);
92 assertSame("Adapter got from GlifListLayout should be same as set",
H A DSetupWizardListLayoutTest.java64 LayoutInflater inflater = LayoutInflater.from(mContext);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DSubscriptionInfoUpdaterTest.java257 SubscriptionManager mSubscriptionManager = SubscriptionManager.from(mContext);
305 SubscriptionManager mSubscriptionManager = SubscriptionManager.from(mContext);
349 SubscriptionManager mSubscriptionManager = SubscriptionManager.from(mContext);
382 SubscriptionManager mSubscriptionManager = SubscriptionManager.from(mContext);
/frameworks/support/design/tests/src/android/support/design/widget/
H A DBottomSheetBehaviorTouchTest.java91 assertThat(mBehavior, is(sameInstance(BottomSheetBehavior.from(mBottomSheet))));
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
H A DSharingReceiverSupport.java51 ShareCompat.IntentReader intentReader = ShareCompat.IntentReader.from(this);
82 Log.e(TAG, "File not found from share.", e);
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/
H A DCharacterCardView.java34 LayoutInflater.from(getContext()).inflate(R.layout.character_card, this);
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
H A DSharingReceiverSupport.java51 ShareCompat.IntentReader intentReader = ShareCompat.IntentReader.from(this);
82 Log.e(TAG, "File not found from share.", e);
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/
H A DCharacterCardView.java34 LayoutInflater.from(getContext()).inflate(R.layout.character_card, this);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DControlButtonPresenterSelector.java87 View v = LayoutInflater.from(parent.getContext())
H A DRowContainerView.java48 LayoutInflater inflater = LayoutInflater.from(context);
/frameworks/base/core/java/android/service/notification/
H A DZenModeConfig.java95 private static final String ALLOW_ATT_FROM = "from";
262 public static Diff diff(ZenModeConfig from, ZenModeConfig to) { argument
263 if (from == null) {
270 return from.diff(to);
428 final int from = safeInt(parser, ALLOW_ATT_FROM, -1);
434 } else if (isValidSource(from)) {
435 Slog.i(TAG, "Migrating existing shared 'from': " + sourceToString(from));
436 rt.allowCallsFrom = from;
437 rt.allowMessagesFrom = from;
1151 appendDiff(Diff d, String item, ZenRule from, ZenRule to) argument
1381 addLine(String item, String subitem, Object from, Object to) argument
1385 addLine(String item, Object from, Object to) argument
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkFactory.java121 ConnectivityManager.from(mContext).registerNetworkFactory(mMessenger, LOG_TAG);
128 ConnectivityManager.from(mContext).unregisterNetworkFactory(mMessenger);
/frameworks/base/core/java/com/android/internal/util/
H A DPreconditions.java165 public static @IntRange(from = 0) int checkArgumentNonnegative(final int value,
182 public static @IntRange(from = 0) int checkArgumentNonnegative(final int value) {
/frameworks/base/core/java/com/android/internal/view/menu/
H A DStandardMenuPopup.java118 final LayoutInflater inflater = LayoutInflater.from(context);
186 (FrameLayout) LayoutInflater.from(mContext).inflate(
/frameworks/base/core/tests/coretests/src/android/widget/
H A DSimpleCursorAdapterTest.java68 * Borrowed from CursorWindowTest.java
94 // Now see if we can pull 2 rows from the adapter
116 // Now see if we can pull 2 rows from the adapter
124 // Now see if we can pull 5 rows from the adapter
135 // Now see if we can pull 2 rows from the adapter
173 * Test that you can safely construct with a null cursor *and* null to/from arrays.
183 * Test going from a null cursor to a non-null cursor *and* setting the to/from arrays
206 * Test going from one mapping to a different mapping
258 String[] from, in
257 TestSimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) argument
[all...]
/frameworks/base/packages/DocumentsUI/
H A DAndroid.mk19 # Not quite sure why it is necessary to explicitly pull in resources from the
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DNavigationView.java194 convertView = LayoutInflater.from(parent.getContext())
214 convertView = LayoutInflater.from(parent.getContext())
/frameworks/base/services/
H A DAndroid.mk65 # services that we depend on. This differs from the above condition
/frameworks/base/tools/layoutlib/bridge/src/android/util/
H A DPathParser_Delegate.java38 * Most of the code has been taken from the implementation in
117 PathParser_Delegate from = sManager.getDelegate(fromDataPtr);
119 if (out == null || from == null || to == null) {
122 int length = from.mPathDataNodes.length;
125 "Cannot interpolate path data with different lengths (from " + length + " to " +
134 out.mPathDataNodes[i] = new PathDataNode(from.mPathDataNodes[i]);
136 out.mPathDataNodes[i].interpolatePathDataNode(from.mPathDataNodes[i],
161 PathParser_Delegate from = sManager.getDelegate(fromDataPtr);
162 if (from == null || out == null) {
165 out.mPathDataNodes = deepCopyNodes(from
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCarrierServiceBindHelper.java93 int numPhones = TelephonyManager.from(context).getPhoneCount();
155 TelephonyManager.from(mContext).getCarrierPackageNamesForIntentAndPhone(
167 // If we are binding to a different package, unbind from the current one.
244 log("Unbinding from carrier app");
271 log("Disconnected from carrier app: " + name.flattenToString());

Completed in 717 milliseconds

1234567891011>>