/frameworks/base/libs/hwui/ |
H A D | SkiaCanvas.cpp | 114 virtual void drawColor(int color, SkXfermode::Mode mode) override; 187 SkCanvas::PointMode mode); 533 void SkiaCanvas::drawColor(int color, SkXfermode::Mode mode) { argument 534 mCanvas->drawColor(color, mode); 546 SkCanvas::PointMode mode) { 554 mCanvas->drawPoints(mode, count, pts.get(), paint); 545 drawPoints(const float* points, int count, const SkPaint& paint, SkCanvas::PointMode mode) argument
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLES30.java | 338 // C function void glReadBuffer ( GLenum mode ) 341 int mode 344 // C function void glDrawRangeElements ( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices ) 347 int mode, 355 // C function void glDrawRangeElements ( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, GLsizei offset ) 358 int mode, 1364 // C function void glDrawArraysInstanced ( GLenum mode, GLint first, GLsizei count, GLsizei instanceCount ) 1367 int mode, 1373 // C function void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount ) 1376 int mode, 346 glDrawRangeElements( int mode, int start, int end, int count, int type, java.nio.Buffer indices ) argument 357 glDrawRangeElements( int mode, int start, int end, int count, int type, int offset ) argument 1366 glDrawArraysInstanced( int mode, int first, int count, int instanceCount ) argument 1375 glDrawElementsInstanced( int mode, int count, int type, java.nio.Buffer indices, int instanceCount ) argument 1385 glDrawElementsInstanced( int mode, int count, int type, int indicesOffset, int instanceCount ) argument [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | SurfaceFlinger.cpp | 656 void SurfaceFlinger::setActiveConfigInternal(const sp<DisplayDevice>& hw, int mode) { argument 657 ALOGD("Set active config mode=%d, type=%d flinger=%p", mode, hw->getDisplayType(), 662 if (mode == currentMode) { 663 ALOGD("Screen type=%d is already mode=%d", hw->getDisplayType(), mode); 672 hw->setActiveConfig(mode); 673 getHwComposer().setActiveConfig(type, mode); 676 status_t SurfaceFlinger::setActiveConfig(const sp<IBinder>& display, int mode) { argument 683 int mode) 682 MessageSetActiveConfig(SurfaceFlinger& flinger, const sp<IBinder>& disp, int mode) argument 2474 setPowerModeInternal(const sp<DisplayDevice>& hw, int mode) argument 2519 setPowerMode(const sp<IBinder>& display, int mode) argument 2525 MessageSetPowerMode(SurfaceFlinger& flinger, const sp<IBinder>& disp, int mode) argument [all...] |
H A D | SurfaceFlinger_hwc1.cpp | 690 void SurfaceFlinger::setActiveConfigInternal(const sp<DisplayDevice>& hw, int mode) { argument 691 ALOGD("Set active config mode=%d, type=%d flinger=%p", mode, hw->getDisplayType(), 696 if (mode == currentMode) { 697 ALOGD("Screen type=%d is already mode=%d", hw->getDisplayType(), mode); 706 hw->setActiveConfig(mode); 707 getHwComposer().setActiveConfig(type, mode); 710 status_t SurfaceFlinger::setActiveConfig(const sp<IBinder>& display, int mode) { argument 717 int mode) 716 MessageSetActiveConfig(SurfaceFlinger& flinger, const sp<IBinder>& disp, int mode) argument 2535 setPowerMode(const sp<IBinder>& display, int mode) argument 2541 MessageSetPowerMode(SurfaceFlinger& flinger, const sp<IBinder>& disp, int mode) argument [all...] |
/frameworks/native/opengl/include/GLES3/ |
H A D | gl32.h | 393 typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); 412 typedef void (GL_APIENTRYP PFNGLCULLFACEPROC) (GLenum mode); 425 typedef void (GL_APIENTRYP PFNGLDRAWARRAYSPROC) (GLenum mode, GLint first, GLsizei count); 426 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices); 433 typedef void (GL_APIENTRYP PFNGLFRONTFACEPROC) (GLenum mode); 465 typedef void (GL_APIENTRYP PFNGLHINTPROC) (GLenum target, GLenum mode); 536 GL_APICALL void GL_APIENTRY glBlendEquation (GLenum mode); 555 GL_APICALL void GL_APIENTRY glCullFace (GLenum mode); 568 GL_APICALL void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count); 569 GL_APICALL void GL_APIENTRY glDrawElements (GLenum mode, GLsize [all...] |
H A D | gl31.h | 393 typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); 412 typedef void (GL_APIENTRYP PFNGLCULLFACEPROC) (GLenum mode); 425 typedef void (GL_APIENTRYP PFNGLDRAWARRAYSPROC) (GLenum mode, GLint first, GLsizei count); 426 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices); 433 typedef void (GL_APIENTRYP PFNGLFRONTFACEPROC) (GLenum mode); 465 typedef void (GL_APIENTRYP PFNGLHINTPROC) (GLenum target, GLenum mode); 536 GL_APICALL void GL_APIENTRY glBlendEquation (GLenum mode); 555 GL_APICALL void GL_APIENTRY glCullFace (GLenum mode); 568 GL_APICALL void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count); 569 GL_APICALL void GL_APIENTRY glDrawElements (GLenum mode, GLsize [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaPlayer.java | 296 * <li>If the looping mode was being set to <var>true</var>with 299 * <li>If the looping mode was set to <var>false 756 /* Do not change these video scaling mode values below without updating 762 * Specifies a video scaling mode. The content is stretched to the 767 * there is no content cropping with this video scaling mode. 772 * Specifies a video scaling mode. The content is scaled, maintaining 779 * Sets video scaling mode. To make the target video scaling mode 782 * scaling mode is {@link #VIDEO_SCALING_MODE_SCALE_TO_FIT}. 790 * @param mode targe 796 setVideoScalingMode(int mode) argument 1271 setWakeMode(Context context, int mode) argument 3522 isVideoScalingModeSupported(int mode) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | IActivityManager.java | 300 public int checkUriPermission(Uri uri, int pid, int uid, int mode, int userId, argument 303 int mode, int userId) throws RemoteException; 304 public void revokeUriPermission(IApplicationThread caller, Uri uri, int mode, int userId) argument 438 Uri uri, int mode, int sourceUserId, int targetUserId) throws RemoteException; 440 int mode, int userId) throws RemoteException; 454 public void setFrontActivityScreenCompatMode(int mode) throws RemoteException; argument 456 public void setPackageScreenCompatMode(String packageName, int mode) argument 302 grantUriPermission(IApplicationThread caller, String targetPkg, Uri uri, int mode, int userId) argument 437 grantUriPermissionFromOwner(IBinder owner, int fromUid, String targetPkg, Uri uri, int mode, int sourceUserId, int targetUserId) argument 439 revokeUriPermissionFromOwner(IBinder owner, Uri uri, int mode, int userId) argument
|
/frameworks/native/libs/gui/ |
H A D | Surface.cpp | 681 int mode = va_arg(args, int); local 682 return setScalingMode(mode); 1017 int Surface::setScalingMode(int mode) argument 1020 ALOGV("Surface::setScalingMode(%d)", mode); 1022 switch (mode) { 1029 ALOGE("unknown scaling mode: %d", mode); 1034 mScalingMode = mode;
|
/frameworks/base/core/jni/ |
H A D | android_util_AssetManager.cpp | 224 jstring fileName, jint mode) 239 if (mode != Asset::ACCESS_UNKNOWN && mode != Asset::ACCESS_RANDOM 240 && mode != Asset::ACCESS_STREAMING && mode != Asset::ACCESS_BUFFER) { 241 jniThrowException(env, "java/lang/IllegalArgumentException", "Bad access mode"); 245 Asset* a = am->open(fileName8.c_str(), (Asset::AccessMode)mode); 319 jint mode) 333 if (mode != Asset::ACCESS_UNKNOWN && mode ! 223 android_content_AssetManager_openAsset(JNIEnv* env, jobject clazz, jstring fileName, jint mode) argument 316 android_content_AssetManager_openNonAssetNative(JNIEnv* env, jobject clazz, jint cookie, jstring fileName, jint mode) argument [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | Serializer.cpp | 117 const char AudioGainTraits::Attributes::mode[] = "mode"; member in class:android::AudioGainTraits::Attributes 132 string mode = getXmlAttribute(root, Attributes::mode); local 133 if (!mode.empty()) { 134 gain->setMode(GainModeConverter::maskFromString(mode)); 177 ALOGV("%s: adding new gain mode %08x channel mask %08x min mB %d max mB %d", __FUNCTION__,
|
/frameworks/base/core/java/android/widget/ |
H A D | ImageView.java | 118 // AdjustViewBounds behavior will be in compatibility mode for older apps. 179 // blending mode SRC_ATOP. Preserve that default behavior. 543 * mode, which is {@link PorterDuff.Mode#SRC_IN} by default. 546 * mutate the drawable and apply the specified tint and tint mode using 573 * Specifies the blending mode used to apply the tint specified by 575 * mode is {@link PorterDuff.Mode#SRC_IN}. 577 * @param tintMode the blending mode used to apply the tint, may be 591 * @return the blending mode used to apply the tint to the image drawable 731 * @param scaleType The desired scaling mode. 1354 * @param mode Ho 1359 setColorFilter(int color, PorterDuff.Mode mode) argument 1382 setXfermode(Xfermode mode) argument [all...] |
/frameworks/base/libs/hwui/renderthread/ |
H A D | CanvasContext.cpp | 221 mAnimationContext->startFrame(info.mode); 224 // real time mode. In case of a window, the primary node is the window content and the other 226 info.mode = (node.get() == target ? TreeInfo::MODE_FULL : TreeInfo::MODE_RT_ONLY); 579 DrawGlInfo::Mode mode = DrawGlInfo::kModeProcessNoContext; local 581 mode = DrawGlInfo::kModeProcess; 584 thread.renderState().invokeFunctor(functor, mode, nullptr);
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | BaseActivity.java | 535 * Set mode based on explicit user action. 537 void setViewMode(@ViewMode int mode) { argument 538 if (mode == State.MODE_GRID) { 540 } else if (mode == State.MODE_LIST) { 544 LocalPreferences.setViewMode(this, getCurrentRoot(), mode); 545 mState.derivedMode = mode;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | CommandParamsFactory.java | 830 LaunchBrowserMode mode; 834 mode = LaunchBrowserMode.LAUNCH_IF_NOT_ALREADY_LAUNCHED; 837 mode = LaunchBrowserMode.USE_EXISTING_BROWSER; 840 mode = LaunchBrowserMode.LAUNCH_NEW_BROWSER; 844 mCmdParams = new LaunchBrowserParams(cmdDet, confirmMsg, url, mode);
|
/frameworks/rs/ |
H A D | rsFont.cpp | 163 RenderMode mode, Rect *bounds, 169 if (mode == Font::MEASURE) { 203 switch (mode) { 747 Font::RenderMode mode, 775 mode, bounds, bitmap, bitmapW, bitmapH); 161 renderUTF(const char *text, uint32_t len, int32_t x, int32_t y, uint32_t start, int32_t numGlyphs, RenderMode mode, Rect *bounds, uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH) argument 745 renderText(const char *text, uint32_t len, int32_t x, int32_t y, uint32_t startIndex, int32_t numGlyphs, Font::RenderMode mode, Font::Rect *bounds, uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH) argument
|
/frameworks/av/media/libstagefright/ |
H A D | StagefrightMetadataRetriever.cpp | 190 ALOGE("Unknown seek mode: %d", seekMode); 195 MediaSource::ReadOptions::SeekMode mode = local 204 options.setSeekTo(thumbNailTime, mode); 207 options.setSeekTo(frameTimeUs, mode);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | combined_decode.cpp | 27 /* Purpose : Decode a frame of MPEG4 bitstream in combined mode. */ 34 /* 04/13/2000 : Rewrote this combined mode path completely */ 533 uint mode = video->headerInfo.Mode[mbnum]; local 574 if (mode & INTRA_MASK) /* MODE_INTRA || MODE_INTRA_Q */ 658 status = PV_GetMBvectors(video, mode);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | combined_encode.cpp | 31 /* Purpose : Encode a frame of MPEG4 bitstream in Combined mode. */ 173 if (!currVol->shortVideoHeader) /* Not in ShortVideoHeader mode */ 255 /* Purpose : Encode a slice of MPEG4 bitstream in Combined mode and save */ 267 UChar mode = MODE_INTRA; local 440 mode = Mode[mbnum]; 461 /* Not in ShortVideoHeader mode and RESYNC MARKER MODE */ 491 Mode[mbnum] = mode; 674 /* Purpose : Encode a frame of MPEG4 bitstream in Combined mode. */
|
/frameworks/base/core/java/android/hardware/ |
H A D | SystemSensorManager.java | 267 // The HAL does not support injection OR SensorService hasn't been set in DI mode. 269 Log.e(TAG, "Data Injection mode not enabled"); 292 Log.e(TAG, "Data injection mode not activated before calling injectSensorData"); 498 String packageName, int mode, String opPackageName); 516 BaseEventQueue(Looper looper, SystemSensorManager manager, int mode, String packageName) { argument 520 packageName, mode, manager.mContext.getOpPackageName()); 539 // Try continuous mode if batching fails. 496 nativeInitBaseEventQueue(long nativeManager, WeakReference<BaseEventQueue> eventQWeak, MessageQueue msgQ, String packageName, int mode, String opPackageName) argument
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | Drawable.java | 541 public void setXfermode(@Nullable Xfermode mode) { argument 565 * Specify a color and Porter-Duff mode to be the color filter for this 575 public void setColorFilter(@ColorInt int color, @NonNull PorterDuff.Mode mode) { argument 576 setColorFilter(new PorterDuffColorFilter(color, mode)); 623 * Specifies a tint blending mode for this drawable. 626 * before it is drawn to screen. Default tint mode is {@link PorterDuff.Mode#SRC_IN}. 633 * @param tintMode A Porter-Duff blending mode 1143 // Special stuff for compatibility mode: if the target density is not 1147 // an application in compatibility mode, without scaling those down 1404 * mode [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
H A D | AccountManagerServiceTest.java | 397 public SQLiteDatabase openOrCreateDatabase(String file, int mode, argument 399 Log.i(TAG, "openOrCreateDatabase " + file + " mode " + mode); 400 return mTestContext.openOrCreateDatabase(file, mode, factory,errorHandler);
|
/frameworks/native/opengl/libagl/ |
H A D | context.h | 249 void dump_stats(GLenum mode); 261 GLenum mode; member in struct:android::gl::fog_t 321 GLenum mode; member in struct:android::gl::color_material_t
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | ToolbarActionBar.java | 207 "setSelectedNavigationIndex not valid for current navigation mode"); 318 public void setNavigationMode(@NavigationMode int mode) { argument 319 if (mode == ActionBar.NAVIGATION_MODE_TABS) { 322 mDecorToolbar.setNavigationMode(mode);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 965 * specified RGB color, using srcover porterduff mode. 977 * specified ARGB color, using srcover porterduff mode. 990 * specified color, using srcover porterduff mode. 1003 * @param mode the porter-duff mode to apply to the color 1005 public void drawColor(@ColorInt int color, @NonNull PorterDuff.Mode mode) { argument 1006 native_drawColor(mNativeCanvasWrapper, color, mode.nativeInt); 1322 * then the bitmap will be drawn as if it were in a Shader with CLAMP mode. 1348 * then the bitmap will be drawn as if it were in a Shader with CLAMP mode. 1395 * then the bitmap will be drawn as if it were in a Shader with CLAMP mode 1616 drawVertices(@onNull VertexMode mode, int vertexCount, @NonNull float[] verts, int vertOffset, @Nullable float[] texs, int texOffset, @Nullable int[] colors, int colorOffset, @Nullable short[] indices, int indexOffset, int indexCount, @NonNull Paint paint) argument 2049 native_drawColor(long nativeCanvas, int color, int mode) argument 2113 nativeDrawVertices(long nativeCanvas, int mode, int n, float[] verts, int vertOffset, float[] texs, int texOffset, int[] colors, int colorOffset, short[] indices, int indexOffset, int indexCount, long nativePaint) argument [all...] |