/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
ClipRegion3Activity.java | 22 import android.graphics.Path; 51 private final Path mClipPath = new Path(); 63 mClipPath.addCircle(0.0f, 0.0f, getWidth() / 4.0f, Path.Direction.CW);
|
TextPathActivity.java | 23 import android.graphics.Path; 61 Path path = new Path(); local 64 drawTextAsPath(canvas, "Hello", path); 67 drawTextAsPath(canvas, "OpenGL", path); 70 private void drawTextAsPath(Canvas canvas, String text, Path path) { 72 mHugePaint.getTextPath(text, 0, count, 0, 0, path); 73 path.close() [all...] |
/frameworks/compile/mclinker/include/mcld/Support/ |
PathCache.h | 15 #include "mcld/Support/Path.h" 22 mcld::sys::fs::Path,
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
CameraShortcutImage.java | 26 public CameraShortcutImage(Path path, GalleryApp application) { 27 super(path, application, R.drawable.placeholder_camera);
|
Clustering.java | 24 public abstract ArrayList<Path> getCluster(int index);
|
EmptyAlbumImage.java | 26 public EmptyAlbumImage(Path path, GalleryApp application) { 27 super(path, application, R.drawable.placeholder_empty);
|
UnlockImage.java | 26 public UnlockImage(Path path, GalleryApp application) { 27 super(path, application, R.drawable.placeholder_locked);
|
DataManager.java | 49 // path. And it's used to identify a specific media set even if the process is 75 // This is the path for the media set seen by the user at top level. 157 // MediaObject object = peekMediaObject(path); 162 public MediaObject peekMediaObject(Path path) { 163 return path.getObject(); 166 public MediaObject getMediaObject(Path path) { 168 MediaObject obj = path.getObject(); 171 MediaSource source = mSourceMap.get(path.getPrefix()) 225 Path path = list.get(i); local 271 Path path = source.findPathByUri(uri, type); local 358 Path path = findPathByUri(uri, null); local [all...] |
FilterTypeSet.java | 29 private final ArrayList<Path> mPaths = new ArrayList<Path>(); 32 public FilterTypeSet(Path path, DataManager dataManager, MediaSet baseSet, 34 super(path, INVALID_DATA_VERSION); 100 final Path[] buf = new Path[total]; 107 Path path = item.getPath(); 108 buf[index] = path; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/project/ |
ProjectHelperTest.java | 21 import org.eclipse.core.runtime.Path; 48 // create a project with a path to an android .zip 51 Mocks.createClasspathEntry(new Path("Project/src"), //$NON-NLS-1$ 53 Mocks.createClasspathEntry(new Path(OLD_CONTAINER_ID), 56 new Path("Project/bin"));
|
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/ |
PathShapeTest.java | 27 import android.graphics.Path; 39 new PathShape(new Path(), 1f, 5f); 41 new PathShape(new Path(), -1f, -1f); 51 Path path = new Path(); local 52 path.moveTo(50, 0); 53 path.lineTo(0, 50); 54 path.lineTo(50, 100); 55 path.lineTo(100, 50) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
PathEffects.java | 35 private Path mPath; 100 private static Path makeFollowPath() { 101 Path p = new Path(); 109 private static Path makePathDash() { 110 Path p = new Path();
|
/external/llvm/lib/LibDriver/ |
LibDriver.cpp | 23 #include "llvm/Support/Path.h" 64 llvm::sys::path::replace_extension(Val, ".lib"); 71 // Add current directory as first item of the search path. 84 StringRef Path; 85 std::tie(Path, Env) = Env.split(';'); 86 Ret.push_back(Path); 94 SmallString<128> Path = Dir; 95 sys::path::append(Path, File); 96 if (sys::fs::exists(Path)) [all...] |
/art/test/970-iface-super-resolution-generated/util-src/ |
generate_java.py | 24 from pathlib import Path 32 sys.path.append(str(Path(BUILD_TOP)/"art"/"test"/"utils"/"python")) 54 final_java_dir = Path(argv[1]) 58 initial_java_dir = Path(argv[2]) 62 expected_txt = Path(argv[3])
|
/cts/tests/tests/gesture/src/android/gesture/cts/ |
GestureStrokeTest.java | 22 import android.graphics.Path; 44 // null path currently returned 53 Path emptyPath = emptyStroke.getPath(); 63 Path linePath = lineStroke.getPath(); 69 * for a single line, where the given toPath bounds exceeds the expected path. 74 // bound the path by the endpoint 75 Path linePath = lineStroke.toPath(LineGestureStrokeHelper.LINE_END_POINT, 86 * truncates the expected path. 91 // bound the path by the midpoint 92 Path linePath = lineStroke.toPath(LineGestureStrokeHelper.LINE_MIDWAY_POINT [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/Misc/ |
Stats.cs | 41 using Path = System.IO.Path; 119 Directory.CreateDirectory( Path.GetDirectoryName( absoluteFilename ) ); 126 return personalFolder + Path.DirectorySeparatorChar + 127 ANTLRWORKS_DIR + Path.DirectorySeparatorChar +
|
/frameworks/base/core/java/android/util/ |
PathParser.java | 17 import android.graphics.Path; 26 * @param pathString The string representing a path, the same as "d" string in svg file. 27 * @return the generated Path object. 29 public static Path createPathFromPathData(String pathString) { 31 throw new IllegalArgumentException("Path string can not be null."); 33 Path path = new Path(); local 34 nParseStringForPath(path.mNativePath, pathString, pathString.length()); 35 return path; [all...] |
/frameworks/compile/mclinker/include/mcld/MC/ |
Input.h | 16 #include "mcld/Support/Path.h" 51 const sys::fs::Path& pPath, 56 const sys::fs::Path& pPath, 67 const sys::fs::Path& path() const { return m_Path; } function in class:mcld::Input 69 void setPath(const sys::fs::Path& pPath) { m_Path = pPath; } 112 sys::fs::Path m_Path;
|
CommandAction.h | 14 #include "mcld/Support/Path.h" 30 InputFileAction(unsigned int pPosition, const sys::fs::Path& pPath); 34 const sys::fs::Path& path() const { return m_Path; } function in class:mcld::InputFileAction 39 sys::fs::Path m_Path; 61 BitcodeAction(unsigned int pPosition, const sys::fs::Path& pPath); 63 const sys::fs::Path& path() const { return m_Path; } function in class:mcld::BitcodeAction 68 sys::fs::Path m_Path;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
SelectionManager.java | 23 import com.android.gallery3d.data.Path; 37 private Set<Path> mClickedSet; 49 public void onSelectionChange(Path path, boolean selected); 54 mClickedSet = new HashSet<Path>(); 107 public boolean isItemSelected(Path itemId) { 130 public void toggle(Path path) { 131 if (mClickedSet.contains(path)) { 132 mClickedSet.remove(path); [all...] |
/external/llvm/lib/Support/ |
Path.cpp | 1 //===-- Path.cpp - Implement OS Path Concept ------------------------------===// 10 // This file implements the operating system Path API. 19 #include "llvm/Support/Path.h" 35 using llvm::sys::path::is_separator; 45 StringRef find_first_component(StringRef path) { 52 if (path.empty()) 53 return path; 57 if (path.size() >= 2 && std::isalpha(static_cast<unsigned char>(path[0])) & 230 namespace path { namespace in namespace:llvm::sys [all...] |
/developers/build/prebuilts/gradle/Interpolator/Application/src/main/java/com/example/android/interpolator/ |
InterpolatorFragment.java | 20 import android.graphics.Path; 37 * This sample demonstrates the use of animation interpolators and path animations for 40 * view (scale X and Y) along a path. 66 * Path for in (shrinking) animation, from 100% scale to 20%. 68 private Path mPathIn; 70 * Path for out (growing) animation, from 20% to 100%. 72 private Path mPathOut; 102 // selected: the Interpolator, duration and animation path 111 // Animation path is based on whether animating in or out 112 Path path = mIsOut ? mPathIn : mPathOut [all...] |
/developers/samples/android/ui/Interpolator/Application/src/main/java/com/example/android/interpolator/ |
InterpolatorFragment.java | 20 import android.graphics.Path; 37 * This sample demonstrates the use of animation interpolators and path animations for 40 * view (scale X and Y) along a path. 66 * Path for in (shrinking) animation, from 100% scale to 20%. 68 private Path mPathIn; 70 * Path for out (growing) animation, from 20% to 100%. 72 private Path mPathOut; 102 // selected: the Interpolator, duration and animation path 111 // Animation path is based on whether animating in or out 112 Path path = mIsOut ? mPathIn : mPathOut [all...] |
/development/samples/browseable/Interpolator/src/com.example.android.interpolator/ |
InterpolatorFragment.java | 20 import android.graphics.Path; 37 * This sample demonstrates the use of animation interpolators and path animations for 40 * view (scale X and Y) along a path. 66 * Path for in (shrinking) animation, from 100% scale to 20%. 68 private Path mPathIn; 70 * Path for out (growing) animation, from 20% to 100%. 72 private Path mPathOut; 102 // selected: the Interpolator, duration and animation path 111 // Animation path is based on whether animating in or out 112 Path path = mIsOut ? mPathIn : mPathOut [all...] |
/frameworks/compile/mclinker/lib/Support/ |
Directory.cpp | 26 const Path dot_path("."); 27 const Path dot_dot_path(".."); 43 Directory::Directory(const Path& pPath, FileStatus st, FileStatus symlink_st) 57 : Directory(sys::fs::Path(pPath), st, symlink_st) { 83 void Directory::assign(const Path& pPath, 156 Path* DirIterator::path() { function in class:mcld::sys::fs::DirIterator 162 const Path* DirIterator::path() const { function in class:mcld::sys::fs::DirIterator 223 const Path* x_path = path() [all...] |