Searched defs:mode (Results 226 - 250 of 409) sorted by relevance

1234567891011>>

/frameworks/base/services/core/java/com/android/server/display/
H A DColorFade.java136 * @param mode The desired mode for the upcoming animation.
139 public boolean prepare(Context context, int mode) { argument
141 Slog.d(TAG, "prepare: mode=" + mode);
144 mMode = mode;
184 if (mode == MODE_COOL_DOWN) {
/frameworks/base/services/core/java/com/android/server/wm/
H A DSession.java234 public void setInTouchMode(boolean mode) { argument
236 mService.mInTouchMode = mode;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DBackingStore.java33 /** Access mode None: Frame data will not be accessed at all. */
35 /** Access mode Bytes: Frame data will be accessed as a ByteBuffer. */
37 /** Access mode Texture: Frame data will be accessed as a TextureSource. */
39 /** Access mode RenderTarget: Frame data will be accessed as a RenderTarget. */
41 /** Access mode Object: Frame data will be accessed as a generic Object. */
43 /** Access mode Bitmap: Frame data will be accessed as a Bitmap. */
45 /** Access mode Allocation: Frame data will be accessed as a RenderScript Allocation. */
84 public Object lockData(int mode, int accessFormat) { argument
85 return lockBacking(mode, accessFormat).lock(accessFormat);
88 public Backing lockBacking(int mode, in argument
186 fetchBacking(int mode, int access) argument
201 getBacking(int mode, int access) argument
215 attachNewBacking(int mode, int access) argument
224 createBacking(int mode, int access) argument
296 lock(Backing backingToLock, int mode) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBlendComposite.java103 private BlendingMode mode; field in class:BlendComposite
105 private BlendComposite(BlendingMode mode) { argument
106 this(mode, 1.0f);
109 private BlendComposite(BlendingMode mode, float alpha) { argument
110 this.mode = mode;
114 public static BlendComposite getInstance(BlendingMode mode) { argument
115 return new BlendComposite(mode);
118 public static BlendComposite getInstance(BlendingMode mode, float alpha) { argument
119 return new BlendComposite(mode, alph
122 derive(BlendingMode mode) argument
[all...]
/frameworks/native/opengl/libagl/
H A Dlight.cpp94 c->lighting.colorMaterial.mode = GL_AMBIENT_AND_DIFFUSE;
96 c->fog.mode = GL_EXP;
600 c->fog.mode = param;
604 c->fog.mode = param;
608 c->fog.mode = param;
633 void glShadeModel(GLenum mode) argument
636 if (ggl_unlikely(mode != GL_SMOOTH && mode != GL_FLAT)) {
640 c->lighting.shadeModel = mode;
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.cpp330 void DisplayDevice::setPowerMode(int mode) { argument
331 mPowerMode = mode;
343 void DisplayDevice::setActiveConfig(int mode) { argument
344 mActiveConfig = mode;
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp777 status_t HWComposer::setPowerMode(int disp, int mode) { argument
780 if (mode == HWC_POWER_MODE_OFF) {
784 return (status_t)mHwc->setPowerMode(mHwc, disp, mode);
787 mode == HWC_POWER_MODE_OFF ? 1 : 0);
793 status_t HWComposer::setActiveConfig(int disp, int mode) { argument
796 dd.currentConfig = mode;
798 return (status_t)mHwc->setActiveConfig(mHwc, disp, mode);
800 LOG_FATAL_IF(mode != 0);
/frameworks/opt/net/ims/src/java/com/android/ims/internal/
H A DImsCallSession.java334 * @param mode mode of the USSD message (REQUEST / NOTIFY)
338 int mode, String ussdMessage) {
371 * Called when TTY mode of remote party changed
374 * @param mode TTY mode of remote party
377 int mode) {
765 * Updates the current call's properties (ex. call mode change: video upgrade / downgrade).
1162 int mode, String ussdMessage) {
1164 mListener.callSessionUssdMessageReceived(ImsCallSession.this, mode, ussdMessag
337 callSessionUssdMessageReceived(ImsCallSession session, int mode, String ussdMessage) argument
376 callSessionTtyModeReceived(ImsCallSession session, int mode) argument
1161 callSessionUssdMessageReceived(IImsCallSession session, int mode, String ussdMessage) argument
1195 callSessionTtyModeReceived(IImsCallSession session, int mode) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DActionBarActivity.java207 * Notifies the Activity that a support action mode has been started.
210 * @param mode The new action mode.
212 public void onSupportActionModeStarted(ActionMode mode) { argument
216 * Notifies the activity that a support action mode has finished.
219 * @param mode The action mode that just finished.
221 public void onSupportActionModeFinished(ActionMode mode) { argument
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DDecorToolbar.java80 void setNavigationMode(int mode); argument
/frameworks/av/media/libstagefright/
H A DAVIExtractor.cpp1174 int64_t timeUs, MediaSource::ReadOptions::SeekMode mode,
1209 if (mode == MediaSource::ReadOptions::SEEK_CLOSEST) {
1239 switch (mode) {
1172 getSampleIndexAtTime( size_t trackIndex, int64_t timeUs, MediaSource::ReadOptions::SeekMode mode, size_t *sampleIndex) const argument
H A DFLACExtractor.cpp757 ReadOptions::SeekMode mode; local
758 if ((NULL != options) && options->getSeekTo(&seekTimeUs, &mode)) {
H A DMediaCodec.cpp395 CryptoPlugin::Mode mode,
410 msg->setInt32("mode", mode);
1246 ALOGI("MediaCodec will operate in async mode");
1410 ALOGE("dequeueOutputBuffer can't be used in async mode");
1490 ALOGE("dequeueOutputBuffer can't be used in async mode");
1869 CryptoPlugin::Mode mode = CryptoPlugin::kMode_Unencrypted; local
1872 // secure mode, by fabricating a single unencrypted subSample.
1896 CHECK(msg->findInt32("mode", &tmp));
1898 mode
388 queueSecureInputBuffer( size_t index, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, int64_t presentationTimeUs, uint32_t flags, AString *errorDetailMsg) argument
[all...]
H A DOggExtractor.cpp180 ReadOptions::SeekMode mode; local
181 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A DvoAMRWBEnc.c152 Word16 * mode, /* input : used mode */
155 Word16 * ser_size, /* output: bit rate of the used mode */
217 *ser_size = nb_of_bits[*mode];
218 codec_mode = *mode;
381 /* Note that mode may change here */
382 tx_dtx_handler(st->dtx_encSt, vad_flag, mode);
383 *ser_size = nb_of_bits[*mode];
386 if(*mode != MRDTX)
544 if(*mode
151 coder( Word16 * mode, Word16 speech16k[], Word16 prms[], Word16 * ser_size, void *spe_state, Word16 allow_dtx ) argument
1566 Word16 coding_mode = 0, nb_bits, allow_dtx, mode, reset_flag; local
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
H A DomxVCM4P10_MotionEstimationMB.c61 * Calculate SAD value for the selected MB encoding mode and update
140 /* Create predicted MB Intra4x4 mode */
195 * Update neighbouring Pred mode array which will be used for
469 * choosing the best mode
482 * function with best mode predicted values
484 * [in] pIntra4x4PredMode - Array of Intra 4x4 prediction mode for the MB.
486 * [in] pBestCost - Cost for the Best Intra 4x4 mode
503 OMX_S32 i, j, x, y, BlockX, BlockY, mode; local
548 /* Go through each mode for minim cost */
549 for (mode
1141 OMX_S32 mode; local
1402 OMX_S32 i, j, x, y, mode; local
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DANetworkSession.cpp105 void setMode(Mode mode);
231 void ANetworkSession::Session::setMode(Mode mode) { argument
232 mMode = mode;
963 Mode mode,
979 (mode == kModeCreateUDPSession) ? SOCK_DGRAM : SOCK_STREAM,
987 if (mode == kModeCreateRTSPServer
988 || mode == kModeCreateTCPDatagramSessionPassive) {
998 if (mode == kModeCreateUDPSession) {
1014 } else if (mode == kModeCreateTCPDatagramSessionActive) {
1042 if (mode
962 createClientOrServer( Mode mode, const struct in_addr *localAddr, unsigned port, const char *remoteHost, unsigned remotePort, const sp<AMessage> &notify, int32_t *sessionID) argument
[all...]
/frameworks/av/media/libstagefright/matroska/
H A DMatroskaExtractor.cpp565 ReadOptions::SeekMode mode; local
566 if (options && options->getSeekTo(&seekTimeUs, &mode)
576 if (mode == ReadOptions::SEEK_CLOSEST) {
/frameworks/av/media/libstagefright/mpeg2ts/
H A DESQueue.cpp39 ElementaryStreamQueue::ElementaryStreamQueue(Mode mode, uint32_t flags) argument
40 : mMode(mode),
/frameworks/base/cmds/am/src/com/android/commands/am/
H A DAm.java225 "am screen-compat: control screen compatibility mode of <PACKAGE>.\n" +
1542 String mode = nextArgRequired();
1544 if ("on".equals(mode)) {
1546 } else if ("off".equals(mode)) {
1549 System.err.println("Error: enabled mode must be 'on' or 'off' at " + mode);
1600 * Set or reset "raw mode". In "raw mode", all bundles are dumped. In "pretty mode",
1602 * @param rawMode true for raw mode, fals
1867 openForSystemServer(File file, int mode) argument
[all...]
/frameworks/base/core/java/android/app/
H A DActionBar.java82 * your activity, you can enable an action mode that offers actions specific to the selected
101 * Standard navigation mode. Consists of either a logo or icon
114 * List navigation mode. Instead of static title text this mode
126 * Tab navigation mode. Instead of static title text this mode
209 * Set the action bar into custom navigation mode, supplying a view
223 * Set the action bar into custom navigation mode, supplying a view
243 * Set the action bar into custom navigation mode, supplying a view
322 * Set the adapter and navigation callback for list navigation mode
596 setNavigationMode(@avigationMode int mode) argument
[all...]
H A DAppOpsManager.java64 * <p></p>When checking operations, the result is a "mode" integer indicating the current
100 * use its default security check. This mode is not normally used; it should only be used
567 * This specifies the default mode for each operation.
775 * Retrieve the default mode for the operation.
864 public OpEntry(int op, int mode, long time, long rejectTime, int duration) { argument
866 mMode = mode;
982 public void setMode(int code, int uid, String packageName, int mode) { argument
984 mService.setMode(code, uid, packageName, mode);
996 * @param mode The restriction mode (MODE_IGNORE
1000 setRestriction(int code, @AttributeUsage int usage, int mode, String[] exceptionPackages) argument
[all...]
H A DDialog.java1005 * to the superclass implementation by calling super.onActionModeStarted(mode).
1007 public void onActionModeStarted(ActionMode mode) { argument
1008 mActionMode = mode;
1015 * to the superclass implementation by calling super.onActionModeFinished(mode).
1017 public void onActionModeFinished(ActionMode mode) { argument
1018 if (mode == mActionMode) {
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothAdapter.java157 * Activity Action: Show a system activity that requests discoverable mode.
160 * <p>Discoverable mode is equivalent to {@link
175 * for global notification whenever the scan mode changes. For example, an
212 * Broadcast Action: Indicates the Bluetooth scan mode of the local Adapter
225 * intents to request the current scan mode. Possible values are:
233 * intents to request the previous scan mode. Possible values are:
561 * such as Airplane mode, or the adapter is already turned on.
719 * Get the current Bluetooth scan mode of the local Bluetooth adapter.
720 * <p>The Bluetooth scan mode determines if the local adapter is
732 * @return scan mode
772 setScanMode(int mode, int duration) argument
783 setScanMode(int mode) argument
[all...]
/frameworks/base/core/java/android/content/
H A DContentProvider.java336 String callingPkg, Uri uri, String mode, ICancellationSignal cancellationSignal,
340 enforceFilePermission(callingPkg, uri, mode, callerToken);
344 uri, mode, CancellationSignal.fromTransport(cancellationSignal));
352 String callingPkg, Uri uri, String mode, ICancellationSignal cancellationSignal)
356 enforceFilePermission(callingPkg, uri, mode, null);
360 uri, mode, CancellationSignal.fromTransport(cancellationSignal));
435 private void enforceFilePermission(String callingPkg, Uri uri, String mode, argument
437 if (mode != null && mode.indexOf('w') != -1) {
1177 * @param mode Acces
335 openFile( String callingPkg, Uri uri, String mode, ICancellationSignal cancellationSignal, IBinder callerToken) argument
351 openAssetFile( String callingPkg, Uri uri, String mode, ICancellationSignal cancellationSignal) argument
1194 openFile(Uri uri, String mode) argument
1264 openFile(Uri uri, String mode, CancellationSignal signal) argument
1320 openAssetFile(Uri uri, String mode) argument
1383 openAssetFile(Uri uri, String mode, CancellationSignal signal) argument
1402 openFileHelper(Uri uri, String mode) argument
[all...]

Completed in 656 milliseconds

1234567891011>>