Searched refs:from (Results 326 - 350 of 511) sorted by relevance

<<11121314151617181920>>

/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
H A DListMenuItemView.java288 mInflater = LayoutInflater.from(getContext());
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DPreferenceDialogFragmentCompat.java220 LayoutInflater inflater = LayoutInflater.from(context);
H A DPreferenceGroupAdapter.java44 * The group that we are providing data from.
273 final LayoutInflater inflater = LayoutInflater.from(parent.getContext());
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/
H A DSetterStore.java961 private MethodDescription getConversionMethod(ModelClass from, ModelClass to, argument
963 if (from != null && to != null) {
970 if (canUseForConversion(from, convertFrom)) {
993 private boolean canUseForConversion(ModelClass from, ModelClass to) { argument
994 if (from.isIncomplete() || to.isIncomplete()) {
995 from = from.erasure();
998 return from.equals(to) || ModelMethod.isBoxingConversion(from, to) ||
999 to.isAssignableFrom(from);
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DFloatingToolbar.java409 * from.
1326 final ImageButton overflowButton = (ImageButton) LayoutInflater.from(mContext)
1579 menuButton = (TextView) LayoutInflater.from(mContext)
1599 menuButton = LayoutInflater.from(mContext).inflate(
1632 View imageMenuItemButton = LayoutInflater.from(context)
1640 Button menuItemButton = (Button) LayoutInflater.from(context)
1648 ViewGroup contentContainer = (ViewGroup) LayoutInflater.from(context)
/frameworks/av/media/libstagefright/
H A DStagefrightMetadataRetriever.cpp310 // we don't expect an output from codec config buffer
415 ALOGE("Unable to convert from format 0x%08x to RGB565", srcFormat);
567 int from; member in struct:android::Map
595 if (meta->findCString(kMap[i].from, &value)) {
/frameworks/av/media/libstagefright/colorconversion/
H A DColorConverter.cpp28 OMX_COLOR_FORMATTYPE from, OMX_COLOR_FORMATTYPE to)
29 : mSrcFormat(from),
27 ColorConverter( OMX_COLOR_FORMATTYPE from, OMX_COLOR_FORMATTYPE to) argument
/frameworks/base/core/java/android/os/
H A DFileUtils.java153 public static void copyPermissions(File from, File to) throws IOException { argument
155 final StructStat stat = Os.stat(from.getAbsolutePath());
199 // copy a file from srcFile to destFile, return true if succeed, return
218 * Copy data from a source stream to destFile.
654 // Extract requested extension from display name
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSPanel.java87 mBrightnessView = LayoutInflater.from(context).inflate(
105 mTileLayout = (QSTileLayout) LayoutInflater.from(mContext).inflate(
/frameworks/base/telephony/java/android/telephony/
H A DSubscriptionManager.java46 * a reference to an instance through {@link #from}.
163 * The name_source is from the SIM
169 * The name_source is from the user
414 * Get an instance of the SubscriptionManager from the Context.
421 public static SubscriptionManager from(Context context) { method in class:SubscriptionManager
1399 SubscriptionManager.from(context).getActiveSubscriptionInfo(subId);
/frameworks/support/v4/api21/android/support/v4/app/
H A DFragmentTransitionCompat21.java106 * Exclude (or remove the exclude) of shared element views from the enter and exit transitions.
128 * we can prevent any view from being targeted at the beginning of the transition.
176 String from = entry.getKey();
177 view.setTransitionName(from);
427 * This method removes the views from transitions that target ONLY those views.
/frameworks/support/v4/java/android/support/v4/app/
H A DShareCompat.java50 * method {@link IntentBuilder#from(Activity)}.
57 * to call out the app that the content was shared from.
164 * Retrieve the name of the package that launched calledActivity from a share intent.
184 * Retrieve the ComponentName of the activity that launched calledActivity from a share intent.
272 * Create a new IntentBuilder for launching a sharing action from launchingActivity.
274 * @param launchingActivity Activity that the share will be launched from
277 public static IntentBuilder from(Activity launchingActivity) { method in class:ShareCompat.IntentBuilder
650 * from shared posts if desired.</p>
674 public static IntentReader from(Activity activity) { method in class:ShareCompat.IntentReader
861 * was not started for a result, IntentBuilder will read this from extr
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
H A DSortedList.java218 * Remove duplicate items, leaving only the last item from each group of "same" items.
266 private int findSameItem(T item, T[] items, int from, int to) { argument
267 for (int pos = from; pos < to; pos++) {
331 throw new IllegalStateException("Cannot call this method from within addAll");
417 * Removes the provided item from the list and calls {@link Callback#onRemoved(int, int)}.
419 * @param item The item to be removed from the list.
560 // The call is made from a callback during addAll execution. The data is split
663 * Removes all items from the SortedList.
708 * Called by the SortedList when an item is removed from the given position.
797 * Other method calls (e.g. {@link #compare(Object, Object)} from
[all...]
/frameworks/wilhelm/tests/sandbox/
H A Dplaybq.c52 static void swab(const void *from, void *to, ssize_t n) argument
54 // from and to as char pointers
55 const char *from_ch = (const char *) from;
96 // on underrun from pipe, substitute silence
113 // This thread reads from a (slow) filesystem with unpredictable latency and writes to pipe
541 // create thread to read from file
H A Dplaybq.cpp52 static void swab(const void *from, void *to, ssize_t n) argument
54 // from and to as char pointers
55 const char *from_ch = (const char *) from;
96 // on underrun from pipe, substitute silence
113 // This thread reads from a (slow) filesystem with unpredictable latency and writes to pipe
541 // create thread to read from file
/frameworks/av/services/audioflinger/
H A DEffects.h19 #error This header file should only be included from AudioFlinger.h
35 // from different client threads. It keeps a list of EffectHandle objects corresponding
145 const effect_descriptor_t mDescriptor;// effect descriptor received from effect engine
357 // types or implementations from the suspend/restore mechanism.
/frameworks/base/core/java/android/app/
H A DProgressDialog.java122 LayoutInflater inflater = LayoutInflater.from(mContext);
/frameworks/base/core/java/android/preference/
H A DDialogPreference.java353 LayoutInflater inflater = LayoutInflater.from(mBuilder.getContext());
/frameworks/base/core/java/android/transition/
H A DTransitionInflater.java40 * This class inflates scenes and transitions from resource files.
61 * Obtains the TransitionInflater from the given context.
63 public static TransitionInflater from(Context context) { method in class:TransitionInflater
68 * Loads a {@link Transition} object from a resource
96 * Loads a {@link TransitionManager} object from a resource
/frameworks/base/core/java/android/widget/
H A DDayPickerPagerAdapter.java67 mInflater = LayoutInflater.from(context);
/frameworks/base/core/java/com/android/internal/app/
H A DLocaleStore.java183 TelephonyManager tm = TelephonyManager.from(context);
206 * So at the time the cache is filled, the info from the SIM might not be available.
/frameworks/base/core/java/com/android/internal/view/menu/
H A DListMenuItemView.java287 mInflater = LayoutInflater.from(mContext);
/frameworks/base/keystore/java/android/security/keystore/
H A DKeyGenParameterSpec.java51 * {@link KeyProperties}.{@code KEY_ALGORITHM} constants) from the {@code AndroidKeyStore} provider
56 * Keystore under the alias specified in this spec. To obtain the secret or private key from the
59 * To obtain the public key from the Android Keystore use
131 * // The key pair can also be obtained from the Android Keystore any time as follows:
157 * // The key pair can also be obtained from the Android Keystore any time as follows:
184 * // The key pair can also be obtained from the Android Keystore any time as follows:
210 * // The key can also be obtained from the Android Keystore any time as follows:
229 * // The key can also be obtained from the Android Keystore any time as follows:
360 * Returns the requested key size. If {@code -1}, the size should be looked up from
599 * Returns {@code true} if the key will remain authorized only until the device is removed from
[all...]
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/
H A DCaptivePortalLoginActivity.java74 mCm = ConnectivityManager.from(this);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRecentsCreateFragment.java242 final LayoutInflater inflater = LayoutInflater.from(context);

Completed in 605 milliseconds

<<11121314151617181920>>