/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
AdapterViewRule.java | 26 import com.android.ide.common.api.Point; 58 @Nullable DropFeedback feedback, @NonNull Point p) {
|
AbsoluteLayoutRule.java | 34 import com.android.ide.common.api.Point; 95 // Get the drop point 96 Point p = (Point) feedback.userData; 110 // the drop point. 119 // just draw cross hairs to the drop point. 135 @Nullable DropFeedback feedback, @NonNull Point p) { 151 final @Nullable DropFeedback feedback, final @NonNull Point p) { 167 Point offset = null; 188 offset = new Point(x - be.x, y - be.y) [all...] |
FrameLayoutRule.java | 37 import com.android.ide.common.api.Point; 83 // Get the drop point 84 Point p = (Point) feedback.userData; 120 @Nullable DropFeedback feedback, @NonNull Point p) { 134 final @Nullable DropFeedback feedback, final @NonNull Point p) {
|
/external/chromium/chrome/browser/tab_contents/ |
web_drop_target_win.cc | 19 #include "ui/gfx/point.h" 97 POINT cursor_position, 117 POINT client_pt = cursor_position; 120 gfx::Point(client_pt.x, client_pt.y), 121 gfx::Point(cursor_position.x, cursor_position.y), 141 POINT cursor_position, 150 POINT client_pt = cursor_position; 153 gfx::Point(client_pt.x, client_pt.y), 154 gfx::Point(cursor_position.x, cursor_position.y), 190 POINT cursor_position [all...] |
/external/chromium/chrome/browser/ui/touch/tabs/ |
touch_tab_strip.cc | 52 bool TouchTabStrip::IsPositionInWindowCaption(const gfx::Point& point) { 57 void TouchTabStrip::SetBackgroundOffset(const gfx::Point& offset) { 157 const gfx::Point& location, 200 void TouchTabStrip::BeginScroll(const gfx::Point& point ) { 201 initial_mouse_x_ = point.x(); 203 initial_tab_ = static_cast<TouchTab*>(GetTabAtLocal(point)); 206 void TouchTabStrip::ContinueScroll(const gfx::Point& point) { [all...] |
/external/chromium/chrome/browser/ui/views/ |
browser_actions_container.h | 105 virtual void ShowContextMenu(const gfx::Point& p, 338 virtual void RunMenu(View* source, const gfx::Point& pt) OVERRIDE; 342 const gfx::Point& press_pt, 345 const gfx::Point& p) OVERRIDE; 347 const gfx::Point& press_pt, 348 const gfx::Point& p) OVERRIDE;
|
/external/clang/test/SemaTemplate/ |
example-dynarray.cpp | 120 struct Point { 121 Point() { x = y = z = 0.0; } 122 Point(const Point& other) : x(other.x), y(other.y), z(other.z) { } 172 dynarray<Point> dp; 173 dp.push_back(Point());
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
GCWrapper.java | 24 import com.android.ide.common.api.Point; 258 public void drawLine(@NonNull Point p1, @NonNull Point p2) { 276 public void drawRect(@NonNull Point p1, @NonNull Point p2) { 303 public void fillRect(@NonNull Point p1, @NonNull Point p2) { 330 public void drawOval(Point p1, Point p2) { 354 public void fillOval(Point p1, Point p2) [all...] |
GestureToolTip.java | 23 import org.eclipse.swt.graphics.Point; 136 Point location = mShell.getDisplay().getCursorLocation(); 155 Point size = mShell.getSize();
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/ |
CCombo3.java | 20 import org.eclipse.swt.graphics.Point; 220 Point displayLocation = m_text.toDisplay(new Point(event.x, event.y)); 221 Point tableLocation = m_table.toControl(displayLocation); 328 Point comboSize = getSize(); 329 Point popupLocation; 332 popupLocation = toDisplay(new Point(0, 0)); 503 Point buttonSize = m_arrow.computeSize(areaHeight, areaHeight); 504 Point textSize = m_text.computeSize(areaWidth - buttonSize.x, areaHeight);
|
/external/chromium/chrome/browser/ui/gtk/ |
gtk_util.h | 16 #include "ui/gfx/point.h" 150 gfx::Point GetWidgetScreenPosition(GtkWidget* widget); 158 // Converts a point in a widget to screen coordinates. The point |p| is 160 void ConvertWidgetPointToScreen(GtkWidget* widget, gfx::Point* p); 195 // Returns the mirrored x value for the point |x| if the layout is RTL; 232 gfx::Point ScreenPoint(GtkWidget* widget); 235 gfx::Point ClientPoint(GtkWidget* widget); 237 // Reverses a point in RTL mode. Used in making vectors of GdkPoints for window 254 const gfx::Point& tabstrip_origin [all...] |
tab_contents_drag_source.cc | 73 const gfx::Point& image_offset) { 158 gfx::Point client = gtk_util::ClientPoint(GetContentNativeView()); 277 gfx::Point root = gtk_util::ScreenPoint(GetContentNativeView()); 278 gfx::Point client = gtk_util::ClientPoint(GetContentNativeView()); 349 gfx::Point root = gtk_util::ScreenPoint(GetContentNativeView()); 350 gfx::Point client = gtk_util::ClientPoint(GetContentNativeView());
|
/external/chromium/chrome/browser/ui/views/location_bar/ |
location_bar_view.h | 155 gfx::Point GetLocationEntryOrigin() const; 220 const gfx::Point& press_pt, 223 const gfx::Point& p) OVERRIDE; 225 const gfx::Point& press_pt, 226 const gfx::Point& p) OVERRIDE;
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/camera/ |
CameraManager.java | 23 import android.graphics.Point; 184 Point screenResolution = configManager.getScreenResolution(); 216 Point cameraResolution = configManager.getCameraResolution(); 220 Point screenResolution = configManager.getScreenResolution(); 239 Point screenResolution = configManager.getScreenResolution();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
GuidelinePainter.java | 32 import com.android.ide.common.api.Point; 176 Point fromCenter = fromBounds.center(); 179 List<Point> points = new ArrayList<Point>(); 187 Point toCenter = to.getBounds().center();
|
/external/chromium/chrome/browser/ui/views/tabs/ |
dragged_tab_controller.cc | 179 // Returns the the x-coordinate of |point| if the type of tabstrip is horizontal 181 int MajorAxisValue(const gfx::Point& point, BaseTabStrip* tabstrip) { 183 point.x() : point.y(); 354 const gfx::Point& mouse_offset, 394 Attach(source_tabstrip_, gfx::Point()); 558 // GetWindowCreatePoint() to get the start point of the docked window) when 570 gfx::Point DraggedTabController::GetWindowCreatePoint() const { 571 gfx::Point cursor_point = GetCursorScreenPoint() [all...] |
/external/chromium/chrome/browser/ui/views/bookmarks/ |
bookmark_menu_controller_views.h | 87 virtual std::wstring GetTooltipText(int id, const gfx::Point& p); 105 const gfx::Point& p, 114 const gfx::Point& screen_point,
|
/external/chromium/chrome/browser/ui/views/download/ |
download_item_view.h | 89 virtual bool GetTooltipText(const gfx::Point& p, 91 virtual void ShowContextMenu(const gfx::Point& p, 235 gfx::Point drag_start_point_;
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/ui/ |
ConfigTab.java | 29 import org.eclipse.swt.graphics.Point; 83 Point tableOrigin, tableSize; 168 Point cellPosition = currentCellPosition(e.x, e.y); 185 Point cellPosition = currentCellPosition(e.x, e.y); 189 Point location = ConfigTab.this.table.toDisplay(new Point(e.x, e.y)); 213 void createToolTip(String toolTipText, String toolTipMessage, int toolTipStyle, Point position) { 222 * Get the current cell position (column, row) from a point position. 224 Point currentCellPosition(int x, int y) { 228 this.tableOrigin = new Point(0, this.table.getHeaderHeight()) [all...] |
/external/v8/test/mjsunit/ |
debug-references.js | 85 // Evaluate Point. 87 '"arguments":{"expression":"Point"}}'; 89 assertTrue(response.success, "Evaluation of Point failed"); 109 function Point(x, y) { this.x_ = x; this.y_ = y;} 110 p = new Point(0,0); 111 q = new Point(1,2);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
ShirtPocket.java | 29 import android.graphics.Point; 167 public void onProvideShadowMetrics(Point shadowSize, Point shadowTouchPoint) { 215 public void onProvideShadowMetrics(Point shadowSize, Point shadowTouchPoint) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/ |
ConvertSwitchDialog.java | 28 import org.eclipse.swt.graphics.Point; 44 * and point to a web page for more info. 106 protected Point getInitialSize() { 107 return new Point(500, 400);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
LocaleMenuListener.java | 29 import org.eclipse.swt.graphics.Point; 119 Point location = new Point(bounds.x, bounds.y + bounds.height);
|
TargetMenuListener.java | 28 import org.eclipse.swt.graphics.Point; 121 Point location = new Point(bounds.x, bounds.y + bounds.height);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
BarGraph.java | 20 import org.eclipse.swt.graphics.Point; 98 Point es= gc.stringExtent(bars[i].title); 168 Point es3= gc.stringExtent(s3); 172 Point es4= gc.stringExtent(s4); 249 Point labelExtent= gc.stringExtent(label); 264 Point e= gc.stringExtent(title);
|