Searched refs:from (Results 451 - 475 of 511) sorted by relevance

<<11121314151617181920>>

/frameworks/base/core/java/com/android/internal/app/
H A DAlertController.java571 final LayoutInflater inflater = LayoutInflater.from(mContext);
628 // Apply the padding from the icon to ensure the title is
771 // inheriting from a framework style.
/frameworks/base/media/java/android/media/tv/
H A DTvView.java57 * TV programs from various TV sources that implement {@link TvInputService}. (Note that the list of
233 // from WindowLayoutParam as well as changes window type.
275 public void setStreamVolume(@FloatRange(from = 0.0, to = 1.0) float volume) {
329 // any session is created (e.g. when quickly tuning to a channel from input A and then
330 // to another channel from input B), only the callback for the last createSession()
333 // MySessionCallback.this is different from mSessionCallback, we know that this callback
579 * asynchronously from where the event is dispatched. It gives the host application a chance to
996 * This is invoked when a custom event from the bound TV input is sent to this view.
1030 * <p>This is called asynchronously from where the event is dispatched. It gives the host
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPageAdapter.java212 // optimize and ask for all pages whose count we get from the renderer.
463 LayoutInflater inflater = LayoutInflater.from(mContext);
605 // This call might come from a recylerview that is currently updating. Hence delay to
642 Log.i(LOG_TAG, "Requesting from end");
680 Log.i(LOG_TAG, "Requesting from start");
/frameworks/base/packages/Shell/tests/src/com/android/shell/
H A DBugreportReceiverTest.java395 * is too complex and getting it from the notification text object would be to fragile
516 // TODO: get ok and dontShowAgain from the dialog reference above
574 NotificationManager nm = NotificationManager.from(mContext);
588 // TODO: need a way to get the ProgresBar from the "android:id/progress" UIObject...
1003 * Takes focus away from the name field so it can be validated.
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DRecentsImpl.java82 * be called remotely from the system user.
91 // The duration within which the user releasing the alt tab (from when they pressed alt tab)
182 LayoutInflater inflater = LayoutInflater.from(mContext);
209 * This is only called from the system user's Recents. Secondary users will instead proxy their
222 * This is only called from the system user's Recents. Secondary users will instead proxy their
585 * be different from the current window rect if recents is resizing
865 // If there is no thumbnail transition, but is launching from home into recents, then
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DRecentsView.java141 LayoutInflater inflater = LayoutInflater.from(context);
167 * Called from RecentsActivity when it is relaunched.
204 * Called from RecentsActivity when the task stack is updated.
241 /** Launches the focused task from the first stack if possible */
260 /** Launches the task that recents was launched from if possible */
394 // If launched via dragging from the nav bar, then we should translate the whole view
512 // We translated the view but we need to animate it back from the current layout-space
770 // Calculate the absolute alpha to animate from
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DKeyboardShortcuts.java566 LayoutInflater inflater = LayoutInflater.from(mContext);
H A DSignalClusterView.java580 ViewGroup root = (ViewGroup) LayoutInflater.from(context)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBar.java589 // visible notifications from the set of previously visible
965 (NotificationOverflowContainer) LayoutInflater.from(mContext).inflate(
1012 SignalClusterView newCluster = (SignalClusterView) LayoutInflater.from(mContext)
1032 mEmptyShadeView = (EmptyShadeView) LayoutInflater.from(mContext).inflate(
1038 mDismissView = (DismissView) LayoutInflater.from(mContext).inflate(
1198 // We're currently holding onto this notification, but from the apps point of
1586 // we need to ensure that the view is actually properly removed from the viewstate
2029 Log.v(TAG, "DEBUG_MEDIA: Disconnecting from old controller: "
2059 * Refresh or remove lockscreen artwork from media metadata or the lockscreen wallpaper.
2162 Log.v(TAG, "DEBUG_MEDIA: Crossfading album artwork from "
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DNetworkControllerImpl.java142 SubscriptionManager.from(context), Config.readConfig(context), bgLooper,
288 // When there are no active subscriptions, determine emengency state from last
307 if (DEBUG) Log.d(TAG, "Getting emergency from " + voiceSubId);
828 * Used to register listeners from the BG Looper, this way the PhoneStateListeners that
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DNotificationChildrenContainer.java304 return LayoutInflater.from(mContext).inflate(
/frameworks/base/services/core/java/com/android/server/
H A DMountService.java304 /** Map from disk ID to disk */
307 /** Map from volume ID to disk */
311 /** Map from UUID to record */
319 /** Map from disk ID to latches */
489 /** Map from raw paths to {@link ObbState}. */
970 * Callback from NativeDaemonConnector
1016 Slog.d(TAG, "Got locale " + systemLocale + " from mount service");
1023 Slog.e(TAG, "Error setting system locale from mount service", e);
1027 Slog.d(TAG, "Setting system properties to " + systemLocale + " from mount service");
1032 * Callback from NativeDaemonConnecto
[all...]
/frameworks/base/services/core/java/com/android/server/policy/
H A DGlobalActions.java687 return action.create(mContext, convertView, parent, LayoutInflater.from(mContext));
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbDeviceManager.java167 * Listens for uevent messages from the kernel to monitor the USB state
235 final StorageManager storageManager = StorageManager.from(mContext);
545 // We are entering accessory mode if we have received a request from the host
766 // avoid leaking sensitive data from previous user
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSubscriptionInfoUpdater.java82 * SIM_CHANGED : a valid SIM insert in slot i and is different SIM from last time
122 mSubscriptionManager = SubscriptionManager.from(mContext);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DRuimRecords.java493 //transfer length from byte to bit
508 //transfer length from byte to bit
801 SubscriptionManager.from(mContext).setDisplayNumber(mMdn, subIds[0]);
/frameworks/support/design/tests/src/android/support/design/widget/
H A DNavigationViewTest.java362 final LayoutInflater inflater = LayoutInflater.from(mActivityTestRule.getActivity());
379 // Add another "copy" of the header from the just-added layout and check that we now
518 // since the current navigation listener returns false from its callback
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DBackgroundManager.java64 * released, the continuity service is updated from the BackgroundManager state.
66 * current state from the continuity service.
70 * <p>Backgrounds consist of several layers, from back to front:
793 * Overrides the window background drawable from the theme. This should
815 View backgroundView = LayoutInflater.from(mContext).inflate(
864 * released, the continuity service is updated from the BackgroundManager
866 * inherits the current state from the continuity service.
1180 // previous one from the view
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DAlertController.java599 final LayoutInflater inflater = LayoutInflater.from(mContext);
656 // Apply the padding from the icon to ensure the title is
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DGridLayoutManager.java58 // re-used variable to acquire decor insets from RecyclerView
92 * @param reverseLayout When set to true, layouts from end to start.
108 "GridLayoutManager does not support stack from end."
220 public void onItemsMoved(RecyclerView recyclerView, int from, int to, int itemCount) { argument
574 // Unless the child has MATCH_PARENT, measure it from its specs before adding insets.
698 * @param maxSizeInOther The maximum size per span ratio from the measurement of the children.
746 // make sure we traverse from min position to max position
756 if (mOrientation == VERTICAL && isLayoutRTL()) { // start from last span
877 * disabled, default implementation traverses all items from 0 to
878 * <code>position</code>. When caching is enabled, it calculates from th
[all...]
H A DStaggeredGridLayoutManager.java455 * Sets whether LayoutManager should start laying out items from the end of the UI. The order
462 * When set to true, If {@link RecyclerView} is LTR, than it will layout from RTL, if
463 * {@link RecyclerView}} is RTL, it will layout from LTR.
546 * Calculates the views' layout order. (e.g. from end to start or start to end)
548 * {@link #getReverseLayout()} is {@code true}, elements will be laid out starting from left.
811 Log.d(TAG, "Deciding anchor info from fresh state");
1465 public void onItemsMoved(RecyclerView recyclerView, int from, int to, int itemCount) { argument
1466 handleUpdate(from, to, AdapterHelper.UpdateOp.MOVE);
2030 * Scroll to the specified adapter position with the given offset from layout start.
2206 // either could not find from th
[all...]
/frameworks/av/media/libmedia/
H A DAudioTrack.cpp153 // When called from createTrack, speed is 1.0f (normal speed).
271 ALOGV("~AudioTrack, releasing session id %d from %d on behalf of %d",
378 // these below should probably come from the audioFlinger too...
594 // the counters are realistic (i.e. start from zero after this time).
835 // FIXME use Proxy return channel to update the rate from server and avoid polling here
1410 "session ID changed from %d to %d", originalSessionId, mSessionId);
1484 ALOGW("Client adjusted notificationFrames from %u to %zu for frameCount %zu",
1619 // keep them from going away if another thread re-creates the track during obtainBuffer()
1666 // FIXME starts the requested timeout and elapsed over from scratch
1813 // are notified because they have been cleared from mCbl
2170 restoreTrack_l(const char *from) argument
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DTelephonyManager.java143 mSubscriptionManager = SubscriptionManager.from(mContext);
167 // a static instance with no context set preventing us from
169 // effort and get the context from the current activity thread.
244 public static TelephonyManager from(Context context) { method in class:TelephonyManager
299 * <p>The intent contains a URI (available from {@link android.content.Intent#getData})
317 * &lt;!-- Service that delivers SMS messages received from the phone "quick response" -->
1007 * from NeighboringCellInfo.
1088 // read from the system property.
1092 // read from the system property.
1225 /** Pattern for selecting the product type from th
[all...]
/frameworks/av/services/audioflinger/
H A DThreads.h19 #error This header file should only be included from AudioFlinger.h
71 // 4. sendConfigEvent_l() reads status from event->mStatus;
79 // 4. Remove first entry from mConfigEvents
265 // Can temporarily release the lock if waiting for a reply from
314 // remove an effect chain from the chain list (mEffectChains)
697 // suspend count, > 0 means suspended. While suspended, the thread continues to pull from
1070 // called from threadLoop, addOutputTrack, removeOutputTrack
1092 /* The ResamplerBufferProvider is used to retrieve recorded input data from the
1105 // skipping any previous data read from the hal.
1126 size_t mRsmpInUnrel; // unreleased frames remaining from
[all...]
/frameworks/base/core/java/android/app/
H A DFragment.java174 * tied to the Activity it is in, and can not be used apart from one. Though
313 * and will return false from {@link #isInLayout}. (The code here also shows
387 // When instantiated from saved state, this is the saved state.
412 // If set this fragment is being removed from its activity.
415 // Set to true if this fragment was instantiated from a layout file.
421 // True if this fragment has been restored from previously saved state.
429 // from all transactions.
459 // from the user.
514 * State information that has been retrieved from a fragment instance
581 * want to implement {@link #onInflate} to retrieve attributes from
[all...]

Completed in 892 milliseconds

<<11121314151617181920>>