Search in sources :

Example 6 with Path_Delegate

use of android.graphics.Path_Delegate in project android_frameworks_base by AOSPA.

the class PathParser_Delegate method nParseStringForPath.

@LayoutlibDelegate
static /*package*/
void nParseStringForPath(long pathPtr, @NonNull String pathString, int stringLength) {
    Path_Delegate path_delegate = Path_Delegate.getDelegate(pathPtr);
    if (path_delegate == null) {
        return;
    }
    assert pathString.length() == stringLength;
    PathDataNode.nodesToPath(createNodesFromPathData(pathString), path_delegate);
}
Also used : Path_Delegate(android.graphics.Path_Delegate) LayoutlibDelegate(com.android.tools.layoutlib.annotations.LayoutlibDelegate)

Example 7 with Path_Delegate

use of android.graphics.Path_Delegate in project android_frameworks_base by AOSPA.

the class PathParser_Delegate method nCreatePathFromPathData.

@LayoutlibDelegate
static /*package*/
void nCreatePathFromPathData(long outPathPtr, long pathData) {
    Path_Delegate path_delegate = Path_Delegate.getDelegate(outPathPtr);
    PathParser_Delegate source = sManager.getDelegate(outPathPtr);
    if (source == null || path_delegate == null) {
        return;
    }
    PathDataNode.nodesToPath(source.mPathDataNodes, path_delegate);
}
Also used : Path_Delegate(android.graphics.Path_Delegate) LayoutlibDelegate(com.android.tools.layoutlib.annotations.LayoutlibDelegate)

Example 8 with Path_Delegate

use of android.graphics.Path_Delegate in project android_frameworks_base by ResurrectionRemix.

the class PathParser_Delegate method nParseStringForPath.

@LayoutlibDelegate
static /*package*/
void nParseStringForPath(long pathPtr, @NonNull String pathString, int stringLength) {
    Path_Delegate path_delegate = Path_Delegate.getDelegate(pathPtr);
    if (path_delegate == null) {
        return;
    }
    assert pathString.length() == stringLength;
    PathDataNode.nodesToPath(createNodesFromPathData(pathString), path_delegate);
}
Also used : Path_Delegate(android.graphics.Path_Delegate) LayoutlibDelegate(com.android.tools.layoutlib.annotations.LayoutlibDelegate)

Example 9 with Path_Delegate

use of android.graphics.Path_Delegate in project android_frameworks_base by crdroidandroid.

the class PathParser_Delegate method nCreatePathFromPathData.

@LayoutlibDelegate
static /*package*/
void nCreatePathFromPathData(long outPathPtr, long pathData) {
    Path_Delegate path_delegate = Path_Delegate.getDelegate(outPathPtr);
    PathParser_Delegate source = sManager.getDelegate(outPathPtr);
    if (source == null || path_delegate == null) {
        return;
    }
    PathDataNode.nodesToPath(source.mPathDataNodes, path_delegate);
}
Also used : Path_Delegate(android.graphics.Path_Delegate) LayoutlibDelegate(com.android.tools.layoutlib.annotations.LayoutlibDelegate)

Example 10 with Path_Delegate

use of android.graphics.Path_Delegate in project android_frameworks_base by crdroidandroid.

the class PathParser_Delegate method nParseStringForPath.

@LayoutlibDelegate
static /*package*/
void nParseStringForPath(long pathPtr, @NonNull String pathString, int stringLength) {
    Path_Delegate path_delegate = Path_Delegate.getDelegate(pathPtr);
    if (path_delegate == null) {
        return;
    }
    assert pathString.length() == stringLength;
    PathDataNode.nodesToPath(createNodesFromPathData(pathString), path_delegate);
}
Also used : Path_Delegate(android.graphics.Path_Delegate) LayoutlibDelegate(com.android.tools.layoutlib.annotations.LayoutlibDelegate)

Aggregations

Path_Delegate (android.graphics.Path_Delegate)10 LayoutlibDelegate (com.android.tools.layoutlib.annotations.LayoutlibDelegate)10