Home
last modified time | relevance | path

Searched refs:position (Results 1 – 25 of 28) sorted by relevance

12

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidDoubleClickStrategy.java65 Point position = super.getWord(string, cursor); in getWord() local
67 assert cursor >= position.x && cursor <= position.y; in getWord()
71 if (string.startsWith(PREFIX_RESOURCE_REF, position.x) || in getWord()
72 string.startsWith(PREFIX_THEME_REF, position.x)) { in getWord()
73 int nameStart = string.indexOf('/', position.x + 1); in getWord()
75 position.x = nameStart + 1; in getWord()
76 return position; in getWord()
83 if (lastDot >= position.x && lastDot < position.y - 1) { in getWord()
85 if (next == -1 || next > position.y) { in getWord()
86 position.x = lastDot + 1; in getWord()
[all …]
DCompletionProposal.java191 Position position = new Position(mReplacementOffset); in apply() local
192 document.addPosition(position); in apply()
222 mReplacementOffset = position.getOffset(); in apply()
223 document.removePosition(position); in apply()
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/
DDropDownEditor.java45 public View getDropDownView(int position, View convertView, ViewGroup parent) { in bindEditor()
46 TextView v = (TextView) super.getDropDownView(position, convertView, parent); in bindEditor()
49 v.setText(v.getResources().getString(getItem(position))); in bindEditor()
54 public View getView(int position, View convertView, ViewGroup parent) { in bindEditor()
55 TextView v = (TextView) super.getView(position, convertView, parent); in bindEditor()
58 v.setText(v.getResources().getString(getItem(position))); in bindEditor()
70 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { in bindEditor()
72 Object newValue = adapter.getItem(position); in bindEditor()
/sdk/templates/activities/MasterDetailFlow/root/src/app_package/
DContentListFragment.java.ftl25 * activated item position. Only used on tablets.
36 * The current activated item position. Only used on tablets.
85 // Restore the previously serialized activated item position.
113 public void onListItemClick(ListView listView, View view, int position, long id) {
114 super.onListItemClick(listView, view, position, id);
118 mCallbacks.onItemSelected(DummyContent.ITEMS.get(position).id);
125 // Serialize and persist the activated item position.
142 private void setActivatedPosition(int position) {
143 if (position == ListView.INVALID_POSITION) {
146 getListView().setItemChecked(position, true);
[all …]
/sdk/templates/activities/BlankActivity/root/src/app_package/
DDropdownActivity.java.ftl24 * current dropdown position.
75 // Restore the previously serialized current dropdown position.
84 // Serialize the current dropdown position.
93 public boolean onNavigationItemSelected(int position, long id) {
98 args.putInt(DummySectionFragment.ARG_SECTION_NUMBER, position + 1);
DTabsAndPagerActivity.java.ftl71 public void onPageSelected(int position) {
72 actionBar.setSelectedNavigationItem(position);
119 public Fragment getItem(int position) {
125 args.putInt(DummySectionFragment.ARG_SECTION_NUMBER, position + 1);
137 public CharSequence getPageTitle(int position) {
139 switch (position) {
DTabsActivity.java.ftl21 * current tab position.
46 // Restore the previously serialized current tab position.
55 // Serialize the current tab position.
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/lib/
DChannel.java94 mMessageSize = message.position(); in SdkControllerMessage()
486 sendMessage(socket, msg_type, msg.array(), msg.position()); in sendMessage()
595 return (qresp != null) ? sendQueryResponse(query_id, qresp.array(), qresp.position()) : in sendQueryResponse()
632 header.position(0); in runIOLooper()
649 header.position(0); in runIOLooper()
666 header.position(0); in runIOLooper()
773 ByteBuffer ret = ByteBuffer.allocate(buff.position() + extra); in ExpandIf()
775 ret.put(buff.array(), 0, buff.position()); in ExpandIf()
DConnection.java306 handshake.position(0); in onAccept()
340 handshake.position(0); in onAccept()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSelectionHandle.java100 public SelectionHandle(int centerX, int centerY, Position position) { in SelectionHandle() argument
101 mPosition = position; in SelectionHandle()
DGestureManager.java385 Pair<Boolean,Boolean> position = mCurrentGesture.getTooltipPosition(); in updateMessage() local
386 boolean below = position.getFirst(); in updateMessage()
390 boolean toRightOf = position.getSecond(); in updateMessage()
DRenderPreviewManager.java546 Rect position = packer.occupy(previewWidth, previewHeight); in layoutFullFit() local
547 if (position != null) { in layoutFullFit()
548 preview.setPosition(position.x, position.y); in layoutFullFit()
/sdk/templates/docs/
Ddefault.css67 position: fixed;
106 position: relative;
112 position: absolute;
185 list-style-position: outside;
191 list-style-position: outside;
/sdk/templates/other/ListFragment/root/src/app_package/
DListFragment.java.ftl147 public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
151 mListener.onFragmentInteraction(DummyContent.ITEMS.get(position).id);
169 public void onListItemClick(ListView l, View v, int position, long id) {
170 super.onListItemClick(l, v, position, id);
175 mListener.onFragmentInteraction(DummyContent.ITEMS.get(position).id);
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/
DBufferSubDataTransform.java56 bb.position(mOffset); in apply()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
DResourceValueCompleter.java63 public IContentProposal[] getProposals(String contents, int position) { in getProposals() argument
69 this.xmlProperty.mDescriptor, contents.substring(0, position)); in getProposals()
DValueCompleter.java63 public IContentProposal[] getProposals(String contents, int position) { in getProposals() argument
116 descriptor, contents.substring(0, position)); in getProposals()
/sdk/eclipse/sites/external/web/
Dsite.xsl32 <xsl:when test="(position() mod 2 = 1)">
104 <xsl:when test="position() mod 2 = 1">
/sdk/eclipse/sites/internal/web/
Dsite.xsl32 <xsl:when test="(position() mod 2 = 1)">
104 <xsl:when test="position() mod 2 = 1">
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/handlers/
DSensorChannel.java601 mChangeMsg.position(0); in onSensorChanged()
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/
DMultiTouchActivity.java307 bb.position(header_size); in onFrameBuffer()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DEclipseLintClient.java1201 lombok.ast.Position position = node.getPosition(); in getLocation() local
1203 position.getStart(), position.getEnd()); in getLocation()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DLinearLayoutRule.java636 public MatchPos(int distance, int position) {
638 mPosition = position;
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
Dcompletion5-expected-completion40.txt50 …side of its frozen icicle in addition to meta-data such as the current cursor position. [boolean]
96 android:scrollbarStyle : Controls the scrollbar style and position. [enum]
Dcompletion1-expected-completion39.txt50 …side of its frozen icicle in addition to meta-data such as the current cursor position. [boolean]
96 android:scrollbarStyle : Controls the scrollbar style and position. [enum]

12