This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.android.internal.telephony; | |
/** | |
* Interface used to interact with extended MMI/USSD network service. | |
*/ | |
interface IExtendedNetworkService { | |
/** | |
* Set a MMI/USSD command to ExtendedNetworkService for further process. | |
* This should be called when a MMI command is placed from panel. | |
* @param number the dialed MMI/USSD number. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public int pointToPosition(int x, int y) { | |
ArrayList<CarouselItem> fitting = new ArrayList<CarouselItem>(); | |
for(int i = 0; i < mAdapter.getCount(); i++){ | |
CarouselItem item = (CarouselItem)getChildAt(i); | |
Matrix mm = item.getCIMatrix(); | |
float[] pts = new float[3]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.username.ussd; | |
import android.app.Service; | |
import android.content.Intent; | |
import android.content.SharedPreferences; | |
import android.os.IBinder; | |
import android.os.RemoteException; | |
import android.preference.PreferenceManager; | |
import android.util.Log; | |