/frameworks/base/tools/aapt2/xml/ |
H A D | XmlDom.cpp | 192 std::unique_ptr<XmlResource> Inflate(std::istream* in, IDiagnostics* diag, const Source& source) { argument 208 diag->Error(DiagMessage(source) << strerror(errno)); 214 diag->Error(DiagMessage(source.WithLine(XML_GetCurrentLineNumber(parser))) 222 return util::make_unique<XmlResource>(ResourceFile{{}, {}, source}, StringPool{}, 262 const Source& source) { 261 Inflate(const void* data, size_t data_len, IDiagnostics* diag, const Source& source) argument
|
H A D | XmlDom.h | 138 * An XML resource with a source, name, and XML tree. 156 std::unique_ptr<XmlResource> Inflate(std::istream* in, IDiagnostics* diag, const Source& source); 163 const Source& source);
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
H A D | PathParser_Delegate.java | 80 PathParser_Delegate source = sManager.getDelegate(outPathPtr); 81 if (source == null || path_delegate == null) { 84 PathDataNode.nodesToPath(source.mPathDataNodes, path_delegate); 95 PathParser_Delegate source = sManager.getDelegate(nativePtr); 96 if (source == null) { 99 PathParser_Delegate dest = new PathParser_Delegate(deepCopyNodes(source.mPathDataNodes)); 197 * @param source The array of PathDataNode to be duplicated. 199 * @return a deep copy of the <code>source</code>. 202 public static PathDataNode[] deepCopyNodes(@NonNull PathDataNode[] source) { argument 203 PathDataNode[] copy = new PathDataNode[source 240 updateNodes(PathDataNode[] target, PathDataNode[] source) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | ShadowPainter.java | 38 * If shadowSize is less or equals to 1, no shadow will be painted and the source image will be 41 * @param source the source image 45 * @return an image with the shadow painted in or the source image if shadowSize <= 1 48 public static BufferedImage createDropShadow(BufferedImage source, int shadowSize) { argument 51 return createDropShadow(source, shadowSize, 0.7f, 0); 61 * @param source the source image to be shadowed 66 * @return a new image with the source image on top of its shadow when shadowSize > 0 or the 67 * source imag 70 createDropShadow(BufferedImage source, int shadowSize, float shadowOpacity, int shadowRgb) argument 183 createRectangularDropShadow(BufferedImage source) argument 210 createSmallRectangularDropShadow(BufferedImage source) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/tests/ |
H A D | Android.mk | 19 # Only compile source java files in this lib.
|
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/gradle/wrapper/ |
H A D | gradle-wrapper.jar | META-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/gradle/wrapper/ org/gradle/wrapper/Download ... |
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/ |
H A D | ImageUtils.java | 200 * @param source the image to be scaled 206 public static BufferedImage scale(@NonNull BufferedImage source, double xScale, double yScale) { argument 208 int sourceWidth = source.getWidth(); 209 int sourceHeight = source.getHeight(); 212 int imageType = source.getType(); 224 g2.drawImage(source, 0, 0, null); 227 g2.drawImage(source, 0, 0, destWidth, destHeight, 0, 0, sourceWidth, sourceHeight, 259 int nearestWidth = destWidth; // Width closest to source width that = 2^x, x is integer 271 g2.drawImage(source, 0, 0, nearestWidth, nearestHeight, 0, 0, sourceWidth, sourceHeight, 277 source [all...] |
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
H A D | AsmAnalyzer.java | 54 /** The input source JAR to parse. */ 73 * @param osJarPath The input source JARs to parse. 373 /** All classes found in the source JAR. */ 391 * @param zipClasses All classes found in the source JAR. 619 public void visitSource(String source, String debug) { argument
|
H A D | ClassHasNativeVisitor.java | 98 public void visitSource(String source, String debug) { argument
|
H A D | DependencyFinder.java | 69 * @param osJarPath The input source JARs to parse. 102 mLog.info("++++++ %d Entries found in source JARs", deps.size()); 120 mLog.info("------ %d Entries missing from source JARs", missing.size()); 500 public void visitSource(String source, String debug) { argument
|
/frameworks/base/tools/layoutlib/create/tests/ |
H A D | Android.mk | 18 # Only compile source java files in this lib.
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | NotificationTemplateViewWrapper.java | 217 private static int interpolateColor(int source, int target, float t) { argument 218 int aSource = Color.alpha(source); 219 int rSource = Color.red(source); 220 int gSource = Color.green(source); 221 int bSource = Color.blue(source);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | KeyguardBottomAreaView.java | 505 public void launchCamera(String source) { argument 507 intent.putExtra(EXTRA_CAMERA_LAUNCH_SOURCE, source);
|
H A D | NotificationPanelView.java | 2373 public void launchCamera(boolean animate, int source) { argument 2374 if (source == StatusBarManager.CAMERA_LAUNCH_SOURCE_POWER_DOUBLE_TAP) { 2376 } else if (source == StatusBarManager.CAMERA_LAUNCH_SOURCE_WIGGLE) {
|
H A D | StatusBar.java | 3291 && event.getAction() == MotionEvent.ACTION_OUTSIDE // touch outside the source bar 3299 if (event.getAction() == MotionEvent.ACTION_OUTSIDE // touch outside the source bar 5005 public void onCameraLaunchGestureDetected(int source) { argument 5006 mLastCameraLaunchSource = source; 5032 mNotificationPanel.launchCamera(mDeviceInteractive /* animate */, source);
|
/frameworks/base/packages/SystemUI/tests/ |
H A D | Android.mk | 68 # This is needed because the SystemUITests compile SystemUI source directly, rather than using 74 # Generate a comma separated list of patterns based on the test source files under src/
|
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ |
H A D | ConfirmDialog.java | 112 public Drawable getDrawable(String source) { argument
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
H A D | BitmapUtils.java | 178 public static Bitmap rotateBitmap(Bitmap source, int rotation, boolean recycle) { argument 179 if (rotation == 0) return source; 180 int w = source.getWidth(); 181 int h = source.getHeight(); 184 Bitmap bitmap = Bitmap.createBitmap(source, 0, 0, w, h, m, true); 185 if (recycle) source.recycle();
|
H A D | Utils.java | 219 float source, float target, float progress) { 220 // interpolate the angle from source to target 222 // shortest path to change source to target. 223 float diff = target - source; 227 float result = source + diff * progress; 232 float source, float target, float progress) { 233 return source + progress * (target - source); 319 public static String[] copyOf(String[] source, int newSize) { argument 321 newSize = Math.min(source 218 interpolateAngle( float source, float target, float progress) argument 231 interpolateScale( float source, float target, float progress) argument [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | GLCanvas.java | 99 // Draws the source rectangle part of the texture to the target rectangle. 100 public abstract void drawTexture(BasicTexture texture, RectF source, RectF target); argument
|
H A D | GLES20Canvas.java | 336 // add the source code to the shader and compile it 607 public void drawTexture(BasicTexture texture, RectF source, RectF target) { argument 611 mTempSourceRect.set(source); 628 private void drawTextureRect(BasicTexture texture, RectF source, RectF target) { argument 629 setTextureMatrix(source); 633 private void setTextureMatrix(RectF source) { argument 634 mTempTextureMatrix[0] = source.width(); 635 mTempTextureMatrix[5] = source.height(); 636 mTempTextureMatrix[12] = source.left; 637 mTempTextureMatrix[13] = source 643 convertCoordinate(RectF source, RectF target, BasicTexture texture) argument 765 drawMixed(BasicTexture texture, int toColor, float ratio, RectF source, RectF target) argument [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/ |
H A D | BitmapRegionTileSource.java | 379 public BitmapRegionTileSource(Context context, BitmapSource source) { argument 381 mRotation = source.getRotation(); 382 mDecoder = source.getBitmapRegionDecoder(); 390 int previewSize = source.getPreviewSize(); 395 // thread. Thus to simplify, this source will decode its own bitmap. 396 Bitmap preview = decodePreview(source, previewSize); 501 private Bitmap decodePreview(BitmapSource source, int targetSize) { argument 502 Bitmap result = source.getPreviewBitmap();
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
H A D | TiledImageRenderer.java | 131 * If the source does not care about the tile size, it should use 598 RectF source = mSourceRect; 601 source.set(0, 0, mTileSize, mTileSize); 618 if (drawTile(tile, canvas, source, target)) { 626 source.set(tx * scaleX, ty * scaleY, (tx + size) * scaleX, 628 canvas.drawTexture(mPreview, source, target); 633 Tile tile, GLCanvas canvas, RectF source, RectF target) { 636 canvas.drawTexture(tile, source, target); 646 source.left /= 2f; 647 source 632 drawTile( Tile tile, GLCanvas canvas, RectF source, RectF target) argument [all...] |
H A D | TiledImageView.java | 67 public TileSource source; field in class:TiledImageView.ImageRendererWrapper 152 public void setTileSource(TileSource source, Runnable isReadyCallback) { argument 157 mRenderer.source = source; 159 mRenderer.centerX = source != null ? source.getImageWidth() / 2 : 0; 160 mRenderer.centerY = source != null ? source.getImageHeight() / 2 : 0; 161 mRenderer.rotation = source != null ? source [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
H A D | CropView.java | 71 final float imageWidth = mRenderer.source.getImageWidth(); 72 final float imageHeight = mRenderer.source.getImageHeight(); 89 float initialCenterX = mRenderer.source.getImageWidth() / 2f; 90 float initialCenterY = mRenderer.source.getImageHeight() / 2f; 133 return new Point(mRenderer.source.getImageWidth(), mRenderer.source.getImageHeight()); 136 public void setTileSource(TileSource source, Runnable isReadyCallback) { argument 137 super.setTileSource(source, isReadyCallback); 144 updateMinScale(getWidth(), getHeight(), source, true); 148 updateMinScale(w, h, mRenderer.source, fals 157 updateMinScale(int w, int h, TileSource source, boolean resetScale) argument [all...] |