/frameworks/native/opengl/libagl/ |
H A D | state.cpp | 254 void glCullFace(GLenum mode) argument 257 switch (mode) { 265 c->cull.cullFace = mode; 268 void glFrontFace(GLenum mode) argument 271 switch (mode) { 279 c->cull.frontFace = mode; 282 void glHint(GLenum target, GLenum mode) argument 292 GGL_POINT_SMOOTH_NICE, mode==GL_NICEST); 295 c->perspective = (mode == GL_NICEST) ? 1 : 0;
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | ActionBarContextView.java | 126 // Allow full screen width in split mode. 209 public void initForMode(final ActionMode mode) { argument 221 mode.finish(); 225 final MenuBuilder menu = (MenuBuilder) mode.getMenu(); 240 // Allow full screen width in split mode. 525 // Action mode started
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
H A D | MockDrmCryptoPlugin.cpp | 730 Mode mode, const void *srcPtr, const SubSample *subSamples, 733 ALOGD("MockCryptoPlugin::decrypt(secure=%d, key=%s, iv=%s, mode=%d, src=%p, " 738 (int)mode, srcPtr, 729 decrypt(bool secure, const uint8_t key[16], const uint8_t iv[16], Mode mode, const void *srcPtr, const SubSample *subSamples, size_t numSubSamples, void *dstPtr, AString *errorDetailMsg) argument
|
/frameworks/av/media/libstagefright/ |
H A D | CameraSource.cpp | 813 ReadOptions::SeekMode mode; local 814 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
|
H A D | MP3Extractor.cpp | 43 // protection, bitrate, padding, private bits, mode, mode extension, 480 ReadOptions::SeekMode mode; local 483 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) {
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | pvdec_api.cpp | 68 int32 *volbuf_size, int nLayers, int width, int height, MP4DecodingMode mode) 206 if (mode == MPEG4_MODE) 237 mode = H263_MODE; 238 /* Set max width and height. In H.263 mode, we use */ 761 OSCL_EXPORT_REF void PVSetPostProcType(VideoDecControls *decCtrl, int mode) argument 764 video->postFilterType = mode; 857 /* Return : This function returns the decoding mode of the baselayer */ 67 PVInitVideoDecoder(VideoDecControls *decCtrl, uint8 *volbuf[], int32 *volbuf_size, int nLayers, int width, int height, MP4DecodingMode mode) argument
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | motion_comp.cpp | 108 Int mode = video->headerInfo.Mode[mbnum]; /* get mode */ local 130 if (mode == MODE_INTER || mode == MODE_INTER_Q) 161 else if (mode == MODE_INTER4V)
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_intra_prediction.c | 201 Perform intra 16x16 prediction mode for luma pixels and add 257 macroblock array 'data'. The intra 4x4 prediction mode for each 268 u32 mode; local 301 mode = DetermineIntra4x4PredMode(mbLayer, 304 pMb->intra4x4PredMode[block] = (u8)mode; 351 (OMXVCM4P10Intra4x4PredMode)mode, 451 specified prediction mode. Writes the final macroblock 616 Perform intra 16x16 prediction mode for luma pixels and add 691 macroblock array 'data'. The intra 4x4 prediction mode for each 704 u32 mode; local [all...] |
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | MPEG2PSExtractor.cpp | 543 ElementaryStreamQueue::Mode mode; local 547 mode = ElementaryStreamQueue::H264; 550 mode = ElementaryStreamQueue::AAC; 554 mode = ElementaryStreamQueue::MPEG_AUDIO; 559 mode = ElementaryStreamQueue::MPEG_VIDEO; 563 mode = ElementaryStreamQueue::MPEG4_VIDEO; 572 mQueue = new ElementaryStreamQueue(mode);
|
/frameworks/av/media/libstagefright/wifi-display/rtp/ |
H A D | RTPSender.cpp | 185 const sp<ABuffer> &buffer, uint8_t packetType, PacketizationMode mode) { 188 switch (mode) { 184 queueBuffer( const sp<ABuffer> &buffer, uint8_t packetType, PacketizationMode mode) argument
|
/frameworks/av/media/ndk/ |
H A D | NdkMediaCodec.cpp | 365 cryptoinfo_mode_t mode; member in struct:AMediaCodecCryptoInfo 392 (CryptoPlugin::Mode) crypto->mode, 410 cryptoinfo_mode_t mode, 424 ret->mode = mode; 477 return ci->mode; 406 AMediaCodecCryptoInfo_new( int numsubsamples, uint8_t key[16], uint8_t iv[16], cryptoinfo_mode_t mode, size_t *clearbytes, size_t *encryptedbytes) argument
|
/frameworks/av/services/camera/libcameraservice/api1/ |
H A D | CameraClient.cpp | 333 // async mode for the old camera API, where many applications depend 362 // start preview mode 368 // start recording mode 375 status_t CameraClient::startCameraMode(camera_mode mode) { argument 376 LOG1("startCameraMode(%d)", mode); 381 switch(mode) { 437 // start recording mode 447 // stop preview mode 460 // stop recording mode 591 // the camera2 api legacy mode ca [all...] |
/frameworks/base/core/java/android/app/ |
H A D | NativeActivity.java | 330 void showIme(int mode) { argument 331 mIMM.showSoftInput(mNativeContentView, mode); 334 void hideIme(int mode) { argument 335 mIMM.hideSoftInputFromWindow(mNativeContentView.getWindowToken(), mode);
|
/frameworks/base/core/java/android/hardware/input/ |
H A D | InputManager.java | 651 * The synchronization mode determines whether the method blocks while waiting for 662 * @param mode The synchronization mode. One of: 670 public boolean injectInputEvent(InputEvent event, int mode) { argument 674 if (mode != INJECT_INPUT_EVENT_MODE_ASYNC 675 && mode != INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH 676 && mode != INJECT_INPUT_EVENT_MODE_WAIT_FOR_RESULT) { 677 throw new IllegalArgumentException("mode is invalid"); 681 return mIm.injectInputEvent(event, mode);
|
/frameworks/base/core/java/android/os/ |
H A D | ParcelFileDescriptor.java | 102 * There are no guarantees that this access mode will remain on 118 * There are no guarantees that this access mode will remain on 187 * @param mode The desired access mode, must be one of 195 * be opened with the requested mode. 198 public static ParcelFileDescriptor open(File file, int mode) throws FileNotFoundException { argument 199 final FileDescriptor fd = openInternal(file, mode); 209 * @param mode The desired access mode, must be one of 220 * be opened with the requested mode 223 open( File file, int mode, Handler handler, OnCloseListener listener) argument 246 openInternal(File file, int mode) argument 476 parseMode(String mode) argument [all...] |
H A D | PowerManager.java | 197 * This is used by the dream manager to implement doze mode. It currently 360 * reboot into recovery mode (for applying system updates, doing 761 * such as "ambient mode" may cause the main screen to remain on (albeit in a 805 * Returns true if the device is currently in power save mode. When in this mode, 810 * @return Returns true if currently in low power mode, else false. 821 * Set the current power save mode. 829 public boolean setPowerSaveMode(boolean mode) { argument 831 return mService.setPowerSaveMode(mode); 856 public static final String EXTRA_POWER_SAVE_MODE = "mode"; [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | DecorToolbar.java | 82 void setNavigationMode(int mode); argument
|
/frameworks/base/core/jni/ |
H A D | android_os_Parcel.cpp | 442 jstring name, jint mode) 457 switch (mode&0x30000000) { 470 if (mode&0x08000000) flags |= O_CREAT; 471 if (mode&0x04000000) flags |= O_TRUNC; 472 if (mode&0x02000000) flags |= O_APPEND; 475 if (mode&0x00000001) realMode |= S_IROTH; 476 if (mode&0x00000002) realMode |= S_IWOTH; 673 // mode policy in sync for the libcore 441 android_os_Parcel_openFileDescriptor(JNIEnv* env, jclass clazz, jstring name, jint mode) argument
|
H A D | com_android_internal_content_NativeLibraryHelper.cpp | 257 // Set the mode to 755 258 static const mode_t mode = S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH; local 259 if (chmod(localTmpFileName, mode) < 0) {
|
/frameworks/base/libs/hwui/ |
H A D | Caches.cpp | 63 ALOGD("Enabling debug mode %d", mDebugLevel); 339 void Caches::flush(FlushMode mode) { argument 340 FLUSH_LOGD("Flushing caches (mode %d)", mode); 343 if (mode > kFlushMode_Layers) { 347 switch (mode) {
|
H A D | Layer.h | 158 inline void setAlpha(int alpha, SkXfermode::Mode mode) { argument 160 this->mode = mode; 168 return mode; 401 * Blending mode of the layer. 403 SkXfermode::Mode mode; member in class:android::uirenderer::Layer
|
/frameworks/base/libs/hwui/font/ |
H A D | Font.cpp | 387 int numGlyphs, int x, int y, RenderMode mode, uint8_t *bitmap, 401 RenderGlyph render = gRenderGlyph[(mode << 1) + !mIdentityTransform]; 386 render(const SkPaint* paint, const char* text, uint32_t start, uint32_t len, int numGlyphs, int x, int y, RenderMode mode, uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH, Rect* bounds, const float* positions) argument
|
/frameworks/base/media/java/android/media/audiofx/ |
H A D | Visualizer.java | 47 * <p>In addition to the polling capture mode described above with {@link #getWaveForm(byte[])} and 48 * {@link #getFft(byte[])} methods, a callback mode is also available by installing a listener by 90 * Defines a capture mode where amplification is applied based on the content of the captured 91 * data. This is the default Visualizer mode, and is suitable for music visualization. 95 * Defines a capture mode where the playback volume will affect (scale) the range of the 101 * Defines a measurement mode in which no measurements are performed. 106 * Defines a measurement mode which computes the peak and RMS value in mB, where 0mB is the 335 * @param mode see {@link #SCALING_MODE_NORMALIZED} 341 public int setScalingMode(int mode) argument 348 return native_setScalingMode(mode); 377 setMeasurementMode(int mode) argument 733 native_setScalingMode(int mode) argument 737 native_setMeasurementMode(int mode) argument [all...] |
/frameworks/base/media/jni/audioeffect/ |
H A D | android_media_Visualizer.cpp | 528 android_media_visualizer_native_setScalingMode(JNIEnv *env, jobject thiz, jint mode) argument 535 return translateError(lpVisualizer->setScalingMode(mode)); 549 android_media_visualizer_native_setMeasurementMode(JNIEnv *env, jobject thiz, jint mode) argument 555 return translateError(lpVisualizer->setMeasurementMode(mode));
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | AppOpsService.java | 119 public int mode; field in class:AppOpsService.Op 129 mode = AppOpsManager.opToDefaultMode(op); 290 resOps.add(new AppOpsManager.OpEntry(curOp.op, curOp.mode, curOp.time, 300 resOps.add(new AppOpsManager.OpEntry(curOp.op, curOp.mode, curOp.time, 373 public void setMode(int code, int uid, String packageName, int mode) { argument 384 if (op.mode != mode) { 385 op.mode = mode; 400 if (mode 612 setAudioRestriction(int code, int usage, int uid, int mode, String[] exceptionPackages) argument 1263 int mode; field in class:AppOpsService.Restriction [all...] |